---
openapi: 3.0.1
info:
  title: MongoDB Atlas Administration API
  description: |-
    The MongoDB Atlas Administration API allows developers to manage all components in MongoDB Atlas.

    The Atlas Administration API uses OAuth Service Accounts or HTTP Digest Authentication to authenticate requests. Provide a programmatic API public key and corresponding private key as the username and password when constructing the HTTP request. For example, to [return database access history](#tag/Access-Tracking/operation/listAccessLogsByClusterName) with [cURL](https://en.wikipedia.org/wiki/CURL), run the following command in the terminal:

    ```
    curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \
      --digest \
      --header "Accept: application/json" \
      -X GET "https://cloud.mongodb.com/api/atlas/v1.0/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true"
    ```

    To learn more, see [Get Started with the Atlas Administration API](https://www.mongodb.com/docs/atlas/configure-api-access/). For support, see [MongoDB Support](https://www.mongodb.com/support/get-started).
  termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
  license:
    name: CC BY-NC-SA 3.0 US
    url: https://creativecommons.org/licenses/by-nc-sa/3.0/us/
  version: '1.0'
externalDocs:
  description: Back to Atlas Docs
  url: https://www.mongodb.com/docs/atlas/
servers:
- url: https://cloud.mongodb.com
security:
- ServiceAccounts: []
- DigestAuth: []
tags:
- name: Access Tracking
  description: Returns access logs for authentication attempts made to Atlas database
    deployments. To view database access history, you must have either the Project
    Owner or Organization Owner role.
- name: Alert Configurations
  description: Returns and edits the conditions that trigger alerts and how MongoDB
    Cloud notifies users. This collection remains under revision and may change.
- name: Alerts
  description: Returns and acknowledges alerts that MongoDB Cloud triggers based on
    the alert conditions that you define. This collection remains under revision and
    may change.
- name: Atlas Search
  description: Returns, adds, edits, and removes Atlas Search indexes for the specified
    cluster. Also returns and updates user-defined analyzers for the specified cluster.
- name: Auditing
  description: Returns and edits database auditing settings for MongoDB Cloud projects.
- name: AWS Clusters DNS
  description: Returns and edits custom DNS configurations for MongoDB Cloud database
    deployments on AWS. The resource requires your Project ID. If you use the VPC
    peering on AWS and you use your own DNS servers instead of Amazon Route 53, enable
    custom DNS. Before 31 March 2020, applications deployed within AWS using custom
    DNS services and VPC-peered with MongoDB Cloud couldn't connect over private IP
    addresses. Custom DNS resolved to public IP addresses. AWS internal DNS resolved
    to private IP addresses. Applications deployed with custom DNS services in AWS
    should use Private IP for Peering connection strings.
- name: Cloud Backups
  description: Manages Cloud Backup snapshots, snapshot export buckets, restore jobs,
    and schedules. This resource applies only to clusters that use Cloud Backups.
- name: Cloud Migration Service
  description: Manages the Cloud Migration Service. Source organizations, projects,
    and MongoDB clusters reside on Cloud Manager or Ops Manager. Destination organizations,
    projects, and MongoDB clusters reside on MongoDB Cloud. Source databases can't
    use any authentication except SCRAM-SHA.
- name: Cloud Provider Access
  description: Returns, adds, authorizes, and removes AWS IAM roles in Atlas.
- name: Cluster Outage Simulation
  description: Returns, starts, or ends a cluster outage simulation.
- name: Clusters
  description: Returns, adds, edits, and removes database deployments. Changes to
    cluster configurations can affect costs. This resource requires your Project ID.
- name: Custom Database Roles
  description: Returns, adds, edits, and removes custom database user privilege roles.
    Use custom roles to specify custom sets of actions that the MongoDB Cloud built-in
    roles can't describe. You define custom roles at the project level, for all clusters
    in the project. This resource supports a subset of MongoDB privilege actions.
    You can create a subset of custom role actions. To create a wider list of custom
    role actions, use the MongoDB Cloud user interface. Custom roles must include
    actions that all project's clusters support, and that are compatible with each
    MongoDB version that your project's clusters use. For example, if your project
    has MongoDB 4.2 clusters, you can't create custom roles that use actions introduced
    in MongoDB 4.4.
- name: Data Federation
  description: Returns, adds, edits, and removes Federated Database Instances. This
    resource requires your project ID. Changes to federated database instance configurations
    can affect costs.
- name: Data Lake Pipelines
  description: Returns, edits, and removes Atlas Data Lake Pipelines and associated
    runs.
  externalDocs:
    description: Data Lake Pipelines are deprecated. Please see Data Lake Deprecation
      Guide.
    url: https://dochub.mongodb.org/core/data-lake-deprecation
- name: Database Users
  description: Returns, adds, edits, and removes database users.
- name: Encryption at Rest using Customer Key Management
  description: Returns and edits the Encryption at Rest using Customer Key Management
    configuration. MongoDB Cloud encrypts all storage whether or not you use your
    own key management.
- name: Events
  description: Returns events. This collection remains under revision and may change.
- name: Federated Authentication
  description: Returns, adds, edits, and removes federation-related features such
    as role mappings and connected organization configurations.
- name: Global Clusters
  description: |-
    Returns, adds, and removes Global Cluster managed namespaces and custom zone mappings. Each collection in a Global Cluster is associated with a managed namespace. When you create a managed namespace for a Global Cluster, MongoDB Cloud creates an empty collection for that namespace. Creating a managed namespace doesn't populate a collection with data. Similarly, deleting a managed namespace doesn't delete the associated collection.
    MongoDB Cloud shards the empty collection using the required location field and a custom shard key. For example, if your custom shard key is `city`, the compound shard key is `location, city`. Each Global Cluster is also associated with one or more Global Writes Zones. When a user creates a Global Cluster, MongoDB Cloud automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. For example, a use case might require mapping a location code to a geographically distant zone. Administrators can manage custom zone mappings with the APIs below and the **Global Cluster Configuration** pane when you create or modify your Global Cluster.
- name: Invoices
  description: Returns invoices.
- name: LDAP Configuration
  description: Returns, edits, verifies, and removes LDAP configurations. An LDAP
    configuration defines settings for MongoDB Cloud to connect to your LDAP server
    over TLS for user authentication and authorization. Your LDAP server must be visible
    to the internet or connected to your MongoDB Cloud cluster with VPC Peering. Also,
    your LDAP server must use TLS. You must have the MongoDB Cloud admin user privilege
    to use these endpoints. Also, to configure user authentication and authorization
    with LDAPS, your cluster must run MongoDB 3.6 or higher. Groups for which you
    have configured LDAPS can't create a cluster using a version of MongoDB 3.6 or
    lower.
- name: Legacy Backup
  description: Manages Legacy Backup snapshots, restore jobs, schedules and checkpoints.
- name: Maintenance Windows
  description: Returns, edits, and removes maintenance windows. The maintenance procedure
    that MongoDB Cloud performs requires at least one replica set election during
    the maintenance window per replica set. You can defer a scheduled maintenance
    event for a project up to two times. Deferred maintenance events occur during
    your preferred maintenance window exactly one week after the previously scheduled
    date and time.
- name: MongoDB Cloud Users
  description: Returns, adds, and edits MongoDB Cloud users.
- name: Monitoring and Logs
  description: Returns database deployment monitoring and logging data.
- name: Multi-Cloud Clusters
  description: |-
    Returns, adds, edits, or removes multi-cloud clusters. Changes to cluster configurations can affect costs.

    The total number of nodes in clusters spanning across regions has a specific constraint on a per-project basis. MongoDB Cloud limits the total number of nodes in other regions in one project to a total of 40. This total excludes Google Cloud regions communicating with each other, shared-tier clusters, or serverless clusters. The total number of nodes between any two regions must meet this constraint. For example, if a project has nodes in clusters spread across three regions: 30 nodes in Region A, 10 nodes in Region B, and 5 nodes in Region C, you can add only 5 more nodes to Region C because if you exclude Region C, Region A + Region B = 40. If you exclude Region B, Region A + Region C = 35, <= 40. If you exclude Region A, Region B + Region C = 15, <= 40. Each combination of regions with the added 5 nodes still meets the per-project constraint. Region A + B = 40. Region A + C = 40. Region B + C = 20. You can't create a multi-region cluster in a project if it has one or more clusters spanning 40 or more nodes in other regions. Each project supports up to 25 database deployments.

    If your MongoDB Cloud project contains a custom role that uses actions introduced in a specific MongoDB version, you must delete that role before you create clusters with an earlier MongoDB version. MongoDB Cloud clusters created after July 2020 use TLS version 1.2 by default. When you create a cluster, MongoDB Cloud creates a network container in the project for the cloud provider to which you deploy the cluster if one doesn't already exist.
- name: Network Peering
  description: |-
    Returns, adds, edits, and removes network peering containers and peering connections.
    When you deploy an M10+ dedicated cluster, Atlas creates a VPC for the selected provider and region or regions if no existing VPC or VPC peering connection exists for that provider and region. Atlas assigns the VPC a Classless Inter-Domain Routing (CIDR) block.
- name: Online Archive
  description: Returns, adds, edits, or removes an online archive.
- name: Organizations
  description: Returns, adds, and edits organizational units in MongoDB Cloud.
- name: Performance Advisor
  description: Returns suggested indexes and slow query data for a database deployment.
    Also enables or disables MongoDB Cloud-managed slow operation thresholds. To view
    field values in a sample query, you must have the Project Data Access Read Only
    role or higher. Otherwise, MongoDB Cloud returns redacted data rather than the
    field values.
- name: Private Endpoint Services
  description: Returns, adds, edits, and removes private endpoint services.
- name: Programmatic API Keys
  description: Returns, adds, edits, and removes access tokens to use the MongoDB
    Cloud API. MongoDB Cloud applies these keys to organizations. These resources
    can return, assign, or revoke use of these keys within a specified project.
- name: Project IP Access List
  description: Returns, adds, edits, and removes network access limits to database
    deployments in Atlas. This resource replaces the whitelist resource. Atlas removed
    whitelists in July 2021. Update your applications to use this new resource. This
    resource manages a project's IP Access List and supports creating temporary Access
    List entries that automatically expire within a user-configurable 7-day period.
- name: Projects
  description: Returns, adds, and edits collections of clusters and users in MongoDB
    Cloud.
- name: Rolling Index
  description: Creates one index to a database deployment in a rolling manner. Rolling
    indexes build indexes on the applicable nodes sequentially and may reduce the
    performance impact of an index build if your deployment's average CPU utilization
    exceeds (N-1)/N-10% where N is the number of CPU threads available to mongod of
    if the WiredTiger cache fill ratio regularly exceeds 90%. If your deployment does
    not meet this criteria, use the default index build. You can't create a rolling
    index on an `M0` free cluster or `M2/M5` shared cluster.
- name: Root
  description: Returns details that describe the MongoDB Cloud build and the access
    token that requests this resource. This starts the MongoDB Cloud API.
- name: Serverless Instances
  description: Returns, adds, edits, and removes serverless instances.
- name: Serverless Private Endpoints
  description: Returns, adds, edits, and removes private endpoints for serverless
    instances. To learn more, see the Atlas Administration API tab on the following
    tutorial.
  externalDocs:
    description: Set Up a Private Endpoint for a Serverless Instance Tutorial
    url: https://dochub.mongodb.org/core/serverless-private-endpoint
- name: Shared-Tier Restore Jobs
  description: Returns and adds restore jobs for shared-tier database deployments.
- name: Shared-Tier Snapshots
  description: Returns and requests to download shared-tier database deployment snapshots.
- name: Teams
  description: Returns, adds, edits, or removes teams.
- name: Third-Party Integrations
  description: |-
    Returns, adds, edits, and removes third-party service integration configurations. MongoDB Cloud sends alerts to each third-party service that you configure.

    **IMPORTANT**: Each project can only have one configuration per `integrationType`.
- name: X.509 Authentication
  description: Returns, edits, and removes user-managed X.509 configurations. Also
    returns and generates MongoDB Cloud-managed X.509 certificates for database users.
    The following resources help manage database users who authenticate using X.509
    certificates. You can manage these X.509 certificates or let MongoDB Cloud do
    it for you. If MongoDB Cloud manages your certificates, it also manages your Certificate
    Authority and can generate certificates for your database users. No additional
    X.509 configuration is required. If you manage your certificates, you must provide
    a Certificate Authority and generate certificates for your database users.
  externalDocs:
    description: Self-Managed X.509 Certificates
    url: https://www.mongodb.com/docs/atlas/security-self-managed-x509/
paths:
  "/api/atlas/v1.0":
    get:
      description: This resource returns information about the MongoDB application
        along with API key meta data.
      operationId: getSystemStatus
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/SystemStatus"
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ApiError"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return the status of this MongoDB application
      tags:
      - Root
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Root/operation/getSystemStatus
  "/api/atlas/v1.0/alertConfigs/matchers/fieldNames":
    get:
      description: Get all field names that the `matchers.fieldName` parameter accepts
        when you create or update an Alert Configuration. You can successfully call
        this endpoint with any assigned role.
      operationId: listAlertConfigurationMatchersFieldNames
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/MatcherFieldView"
                x-xgen-IPA-exception:
                  xgen-IPA-124-array-max-items: Schema predates IPA validation.
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Alert Configuration Matchers Field Names
      tags:
      - Alert Configurations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Alert-Configurations/operation/listAlertConfigurationMatchersFieldNames
  "/api/atlas/v1.0/clusters":
    get:
      description: Returns the details for all clusters in all projects to which you
        have access. Clusters contain a group of hosts that maintain the same data
        set. The response does not include multi-cloud clusters. To use this resource,
        the requesting Service Account or API Key can have any cluster-level role.
      operationId: listClustersForAllProjects
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedOrgGroupView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Authorized Clusters in All Projects
      tags:
      - Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Clusters/operation/listClustersForAllProjects
  "/api/atlas/v1.0/federationSettings/{federationSettingsId}":
    delete:
      description: 'Deletes the federation settings instance and all associated data,
        including identity providers and domains. To use this resource, the requesting
        Service Account or API Key must have the Organization Owner role in the last
        remaining connected organization. **Note**: requests to this resource will
        fail if there is more than one connected organization in the federation.'
      operationId: deleteFederationApp
      parameters:
      - "$ref": "#/components/parameters/federationSettingsId"
      responses:
        '204':
          description: No Content
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Delete One Federation Settings Instance
      tags:
      - Federated Authentication
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Federated-Authentication/operation/deleteFederationApp
  "/api/atlas/v1.0/federationSettings/{federationSettingsId}/connectedOrgConfigs":
    get:
      description: Returns all connected organization configurations in the specified
        federation. To use this resource, the requesting Service Account or API Key
        must have the Organization Owner role in one of the connected organizations.
      operationId: listConnectedOrgConfigs
      parameters:
      - "$ref": "#/components/parameters/federationSettingsId"
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedConnectedOrgConfigsView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Organization Configurations from One Federation
      tags:
      - Federated Authentication
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Federated-Authentication/operation/listConnectedOrgConfigs
  "/api/atlas/v1.0/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}":
    delete:
      description: 'Removes one connected organization configuration from the specified
        federation. To use this resource, the requesting Service Account or API Key
        must have the Organization Owner role. Note: This request fails if only one
        connected organization exists in the federation.'
      operationId: removeConnectedOrgConfig
      parameters:
      - "$ref": "#/components/parameters/federationSettingsId"
      - "$ref": "#/components/parameters/envelope"
      - description: Unique 24-hexadecimal digit string that identifies the connected
          organization configuration to remove.
        in: path
        name: orgId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 32b6e34b3d91647abb20e7b8
      responses:
        '204':
          description: This endpoint does not return a response body.
          content:
            application/json: {}
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Organization Configuration from One Federation
      tags:
      - Federated Authentication
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Federated-Authentication/operation/removeConnectedOrgConfig
    get:
      description: Returns the specified connected organization configuration from
        the specified federation. To use this resource, the requesting Service Account
        or API Key must have the Organization Owner role in the connected org.
      operationId: getConnectedOrgConfig
      parameters:
      - "$ref": "#/components/parameters/federationSettingsId"
      - "$ref": "#/components/parameters/envelope"
      - description: Unique 24-hexadecimal digit string that identifies the connected
          organization configuration to return.
        in: path
        name: orgId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 32b6e34b3d91647abb20e7b8
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ConnectedOrgConfig"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Organization Configuration from One Federation
      tags:
      - Federated Authentication
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Federated-Authentication/operation/getConnectedOrgConfig
    patch:
      description: "Updates one connected organization configuration from the specified
        federation. To use this resource, the requesting Service Account or API Key
        must have the Organization Owner role. \n\n**Note** If the organization configuration
        has no associated identity provider, you can't use this resource to update
        role mappings or post authorization role grants.  \n\n**Note**: The `domainRestrictionEnabled`
        field defaults to false if not provided in the request. \n\n**Note**: If the
        `identityProviderId` field is not provided, you will disconnect the organization
        and the identity provider. \n\n**Note**: Currently connected data access identity
        providers missing from the `dataAccessIdentityProviderIds` field will be disconnected."
      operationId: updateConnectedOrgConfig
      parameters:
      - "$ref": "#/components/parameters/federationSettingsId"
      - "$ref": "#/components/parameters/envelope"
      - description: Unique 24-hexadecimal digit string that identifies the connected
          organization configuration to update.
        in: path
        name: orgId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 32b6e34b3d91647abb20e7b8
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/ConnectedOrgConfig"
        description: The connected organization configuration that you want to update.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ConnectedOrgConfig"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Organization Configuration in One Federation
      tags:
      - Federated Authentication
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Federated-Authentication/operation/updateConnectedOrgConfig
  "/api/atlas/v1.0/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings":
    get:
      description: Returns all role mappings from the specified organization in the
        specified federation. To use this resource, the requesting Service Account
        or API Key must have the Organization Owner role.
      operationId: listRoleMappings
      parameters:
      - "$ref": "#/components/parameters/federationSettingsId"
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedRoleMappingView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Role Mappings from One Organization
      tags:
      - Federated Authentication
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Federated-Authentication/operation/listRoleMappings
    post:
      description: Adds one role mapping to the specified organization in the specified
        federation. To use this resource, the requesting Service Account or API Key
        must have the Organization Owner role.
      operationId: createRoleMapping
      parameters:
      - "$ref": "#/components/parameters/federationSettingsId"
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/AuthFederationRoleMapping"
        description: The role mapping that you want to create.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/AuthFederationRoleMapping"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Role Mapping in One Organization Configuration
      tags:
      - Federated Authentication
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Federated-Authentication/operation/createRoleMapping
  "/api/atlas/v1.0/federationSettings/{federationSettingsId}/connectedOrgConfigs/{orgId}/roleMappings/{id}":
    delete:
      description: Removes one role mapping in the specified organization from the
        specified federation. To use this resource, the requesting Service Account
        or API Key must have the Organization Owner role.
      operationId: deleteRoleMapping
      parameters:
      - "$ref": "#/components/parameters/federationSettingsId"
      - description: Unique 24-hexadecimal digit string that identifies the role mapping
          that you want to remove.
        in: path
        name: id
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 32b6e34b3d91647abb20e7b8
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      responses:
        '204':
          description: No Content
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Role Mapping from One Organization
      tags:
      - Federated Authentication
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Federated-Authentication/operation/deleteRoleMapping
    get:
      description: Returns one role mapping from the specified organization in the
        specified federation. To use this resource, the requesting Service Account
        or API Key must have the Organization Owner role.
      operationId: getRoleMapping
      parameters:
      - "$ref": "#/components/parameters/federationSettingsId"
      - description: Unique 24-hexadecimal digit string that identifies the role mapping
          that you want to return.
        in: path
        name: id
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 32b6e34b3d91647abb20e7b8
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/AuthFederationRoleMapping"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Role Mapping from One Organization
      tags:
      - Federated Authentication
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Federated-Authentication/operation/getRoleMapping
    put:
      description: Updates one role mapping in the specified organization in the specified
        federation. To use this resource, the requesting Service Account or API Key
        must have the Organization Owner role.
      operationId: updateRoleMapping
      parameters:
      - "$ref": "#/components/parameters/federationSettingsId"
      - description: Unique 24-hexadecimal digit string that identifies the role mapping
          that you want to update.
        in: path
        name: id
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 32b6e34b3d91647abb20e7b8
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/AuthFederationRoleMapping"
        description: The role mapping that you want to update.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/AuthFederationRoleMapping"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Role Mapping in One Organization
      tags:
      - Federated Authentication
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Federated-Authentication/operation/updateRoleMapping
  "/api/atlas/v1.0/federationSettings/{federationSettingsId}/identityProviders":
    get:
      description: Returns all identity providers with the provided protocol and type
        in the specified federation. If no protocol is specified, only SAML identity
        providers will be returned. If no `idpType` is specified, only WORKFORCE identity
        providers will be returned. To use this resource, the requesting Service Account
        or API Key must have the Organization Owner role in one of the connected organizations.
      operationId: listIdentityProviders
      parameters:
      - "$ref": "#/components/parameters/federationSettingsId"
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - description: The protocols of the target identity providers.
        in: query
        name: protocol
        schema:
          type: array
          items:
            type: string
            enum:
            - SAML
            - OIDC
            default: SAML
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
      - description: The types of the target identity providers.
        in: query
        name: idpType
        schema:
          type: array
          items:
            type: string
            enum:
            - WORKFORCE
            - WORKLOAD
            default: WORKFORCE
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedFederationIdentityProvider"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Identity Providers in One Federation
      tags:
      - Federated Authentication
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Federated-Authentication/operation/listIdentityProviders
  "/api/atlas/v1.0/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}":
    get:
      description: Returns one SAML identity provider from the specified federation.
        To use this resource, the requesting Service Account or API Key must have
        the Organization Owner role in one of the connected organizations.
      operationId: getIdentityProvider
      parameters:
      - "$ref": "#/components/parameters/federationSettingsId"
      - "$ref": "#/components/parameters/identityProviderId"
      - "$ref": "#/components/parameters/envelope"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/FederationSamlIdentityProvider"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Identity Provider by ID
      tags:
      - Federated Authentication
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Federated-Authentication/operation/getIdentityProvider
  "/api/atlas/v1.0/federationSettings/{federationSettingsId}/identityProviders/{identityProviderId}/metadata.xml":
    get:
      description: Returns the metadata of one identity provider in the specified
        federation. To use this resource, the requesting Service Account or API Key
        must have the Organization Owner role in one of the connected organizations.
      operationId: getIdentityProviderMetadata
      parameters:
      - "$ref": "#/components/parameters/federationSettingsId"
      - "$ref": "#/components/parameters/identityProviderId"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '405':
          "$ref": "#/components/responses/methodNotAllowed"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Metadata of One Identity Provider
      tags:
      - Federated Authentication
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Federated-Authentication/operation/getIdentityProviderMetadata
  "/api/atlas/v1.0/groups":
    get:
      description: Returns details about all projects. Projects group clusters into
        logical collections that support an application environment, workload, or
        both. Each project can have its own users, teams, security, tags, and alert
        settings. To use this resource, the requesting Service Account or API Key
        must have the Organization Read Only role or higher.
      operationId: listProjects
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedAtlasGroupView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Projects
      tags:
      - Projects
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Projects/operation/listProjects
    post:
      description: Creates one project. Projects group clusters into logical collections
        that support an application environment, workload, or both. Each project can
        have its own users, teams, security, tags, and alert settings. To use this
        resource, the requesting Service Account or API Key must have the Read Write
        role.
      operationId: createProject
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the MongoDB
          Cloud user to whom to grant the Project Owner role on the specified project.
          If you set this parameter, it overrides the default value of the oldest
          Organization Owner.
        in: query
        name: projectOwnerId
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/Group"
        description: Creates one project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Group"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Project
      tags:
      - Projects
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Projects/operation/createProject
  "/api/atlas/v1.0/groups/byName/{groupName}":
    get:
      description: Returns details about the specified project. Projects group clusters
        into logical collections that support an application environment, workload,
        or both. Each project can have its own users, teams, security, tags, and alert
        settings. To use this resource, the requesting Service Account or API Key
        must have the Project Read Only role.
      operationId: getProjectByName
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies this project.
        in: path
        name: groupName
        required: true
        schema:
          maxLength: 64
          minLength: 1
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Group"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Project by Name
      tags:
      - Projects
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Projects/operation/getProjectByName
  "/api/atlas/v1.0/groups/{groupId}":
    delete:
      description: Removes the specified project. Projects group clusters into logical
        collections that support an application environment, workload, or both. Each
        project can have its own users, teams, security, tags, and alert settings.
        You can delete a project only if there are no Online Archives for the clusters
        in the project. To use this resource, the requesting Service Account or API
        Key must have the Project Owner role.
      operationId: deleteProject
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '204':
          description: This endpoint does not return a response body.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Project
      tags:
      - Projects
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Projects/operation/deleteProject
    get:
      description: Returns details about the specified project. Projects group clusters
        into logical collections that support an application environment, workload,
        or both. Each project can have its own users, teams, security, tags, and alert
        settings. To use this resource, the requesting Service Account or API Key
        must have the Project Read Only role.
      operationId: getProject
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Group"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Project
      tags:
      - Projects
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Projects/operation/getProject
    patch:
      description: Updates the human-readable label that identifies the specified
        project, the tags associated with the project, or the default alert settings.
        To use this resource, the requesting Service Account or API Key must have
        the Project Owner role.
      operationId: updateProject
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/GroupUpdate"
        description: Project to update.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Group"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Project
      tags:
      - Projects
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Projects/operation/updateProject
  "/api/atlas/v1.0/groups/{groupId}/accessList":
    get:
      description: Returns all access list entries from the specified project's IP
        access list. Each entry in the project's IP access list contains either one
        IP address or one CIDR-notated block of IP addresses. MongoDB Cloud only allows
        client connections to the cluster from entries in the project's IP access
        list. To use this resource, the requesting Service Account or API Key must
        have the Project Read Only or Project Charts Admin roles. This resource replaces
        the whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update
        your applications to use this new resource. The `/groups/{GROUP-ID}/accessList`
        endpoint manages the database IP access list. This endpoint is distinct from
        the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist` endpoint, which manages
        the access list for MongoDB Cloud organizations.
      externalDocs:
        description: IP access list
        url: https://docs.atlas.mongodb.com/security/ip-access-list/#std-label-access-list
      operationId: listProjectIpAccessLists
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedNetworkAccessView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Project IP Access List Entries
      tags:
      - Project IP Access List
      x-xgen-changelog:
        '2025-05-08': Corrects an issue where the endpoint would include Atlas internal
          entries.
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Project-IP-Access-List/operation/listProjectIpAccessLists
    post:
      description: Adds one or more access list entries to the specified project.
        MongoDB Cloud only allows client connections to the cluster from entries in
        the project's IP access list. Write each entry as either one IP address or
        one CIDR-notated block of IP addresses. To use this resource, the requesting
        Service Account or API Key must have the Project Owner or Project Charts Admin
        roles. This resource replaces the whitelist resource. MongoDB Cloud removed
        whitelists in July 2021. Update your applications to use this new resource.
        The `/groups/{GROUP-ID}/accessList` endpoint manages the database IP access
        list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist`
        endpoint, which manages the access list for MongoDB Cloud organizations. This
        endpoint doesn't support concurrent `POST` requests. You must submit multiple
        `POST` requests synchronously.
      externalDocs:
        description: IP access list
        url: https://docs.atlas.mongodb.com/security/ip-access-list/#std-label-access-list
      operationId: createProjectIpAccessList
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                "$ref": "#/components/schemas/NetworkPermissionEntry"
              x-xgen-IPA-exception:
                xgen-IPA-124-array-max-items: Schema predates IPA validation.
        description: One or more access list entries to add to the specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedNetworkAccessView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Add Entries to Project IP Access List
      tags:
      - Project IP Access List
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Project-IP-Access-List/operation/createProjectIpAccessList
  "/api/atlas/v1.0/groups/{groupId}/accessList/{entryValue}":
    delete:
      description: Removes one access list entry from the specified project's IP access
        list. Each entry in the project's IP access list contains one IP address,
        one CIDR-notated block of IP addresses, or one AWS Security Group ID. MongoDB
        Cloud only allows client connections to the cluster from entries in the project's
        IP access list. To use this resource, the requesting Service Account or API
        Key must have the Project Owner role. This resource replaces the whitelist
        resource. MongoDB Cloud removed whitelists in July 2021. Update your applications
        to use this new resource. The `/groups/{GROUP-ID}/accessList` endpoint manages
        the database IP access list. This endpoint is distinct from the `orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist`
        endpoint, which manages the access list for MongoDB Cloud organizations.
      externalDocs:
        description: IP access list
        url: https://docs.atlas.mongodb.com/security/ip-access-list/#std-label-access-list
      operationId: deleteProjectIpAccessList
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: |-
          Access list entry that you want to remove from the project's IP access list. This value can use one of the following: one AWS security group ID, one IP address, or one CIDR block of addresses. For CIDR blocks that use a subnet mask, replace the forward slash (`/`) with its URL-encoded value (`%2F`). When you remove an entry from the IP access list, existing connections from the removed address or addresses may remain open for a variable amount of time. The amount of time it takes MongoDB Cloud to close the connection depends upon several factors, including:

          - how your application established the connection,
          - how MongoDB Cloud or the driver using the address behaves, and
          - which protocol (like TCP or UDP) the connection uses.
        in: path
        name: entryValue
        required: true
        schema:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(%2[fF][0-9]{1,3})?|([0-9a-f]{1,4}\\:){7}[0-9a-f]{1,4}(%2[fF][0-9]{1,3})?|([0-9a-f]{1,4}\\:){1,6}\\:(%2[fF][0-9]{1,3})|(sg\\-[a-f0-9]{8})?$"
          type: string
          example: 'IPv4: 192.0.2.0%2F24 or IPv6: 2001:db8:85a3:8d3:1319:8a2e:370:7348
            or IPv4 CIDR: 198.51.100.0%2f24 or IPv6 CIDR: 2001:db8::%2f58 or AWS SG:
            sg-903004f8'
      responses:
        '204':
          description: This endpoint does not return a response body.
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Entry from One Project IP Access List
      tags:
      - Project IP Access List
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Project-IP-Access-List/operation/deleteProjectIpAccessList
    get:
      description: Returns one access list entry from the specified project's IP access
        list. Each entry in the project's IP access list contains either one IP address
        or one CIDR-notated block of IP addresses. MongoDB Cloud only allows client
        connections to the cluster from entries in the project's IP access list. To
        use this resource, the requesting Service Account or API Key must have the
        Project Read Only or Project Charts Admin roles. This resource replaces the
        whitelist resource. MongoDB Cloud removed whitelists in July 2021. Update
        your applications to use this new resource. This endpoint (`/groups/{GROUP-ID}/accessList`)
        manages the Project IP Access List. It doesn't manage the access list for
        MongoDB Cloud organizations. The Programmatic API Keys endpoint (`/orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist`)
        manages those access lists.
      externalDocs:
        description: IP access list
        url: https://docs.atlas.mongodb.com/security/ip-access-list/#std-label-access-list
      operationId: getProjectIpList
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: 'Access list entry that you want to return from the project''s
          IP access list. This value can use one of the following: one AWS security
          group ID, one IP address, or one CIDR block of addresses. For CIDR blocks
          that use a subnet mask, replace the forward slash (`/`) with its URL-encoded
          value (`%2F`).'
        in: path
        name: entryValue
        required: true
        schema:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(%2[fF][0-9]{1,3})?|([0-9a-f]{1,4}\\:){7}[0-9a-f]{1,4}(%2[fF][0-9]{1,3})?|([0-9a-f]{1,4}\\:){1,6}\\:(%2[fF][0-9]{1,3})|(sg\\-[a-f0-9]{8})?$"
          type: string
          example: 'IPv4: 192.0.2.0%2F24 or IPv6: 2001:db8:85a3:8d3:1319:8a2e:370:7348
            or IPv4 CIDR: 198.51.100.0%2f24 or IPv6 CIDR: 2001:db8::%2f58 or AWS SG:
            sg-903004f8'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/NetworkPermissionEntry"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Project IP Access List Entry
      tags:
      - Project IP Access List
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Project-IP-Access-List/operation/getProjectIpList
  "/api/atlas/v1.0/groups/{groupId}/accessList/{entryValue}/status":
    get:
      description: Returns the status of one project IP access list entry. This resource
        checks if the provided project IP access list entry applies to all cloud providers
        serving clusters from the specified project.
      operationId: getProjectIpAccessListStatus
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Network address or cloud provider security construct that identifies
          which project access list entry to be verified.
        in: path
        name: entryValue
        required: true
        schema:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(%2[fF][0-9]{1,3})?|([0-9a-f]{1,4}\\:){7}[0-9a-f]{1,4}(%2[fF][0-9]{1,3})?|([0-9a-f]{1,4}\\:){1,6}\\:(%2[fF][0-9]{1,3})|(sg\\-[a-f0-9]{8})?$"
          type: string
          example: 'IPv4: 192.0.2.0%2F24 or IPv6: 2001:db8:85a3:8d3:1319:8a2e:370:7348
            or IPv4 CIDR: 198.51.100.0%2f24 or IPv6 CIDR: 2001:db8::%2f58 or AWS SG:
            sg-903004f8'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/NetworkPermissionEntryStatus"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Status of One Project IP Access List Entry
      tags:
      - Project IP Access List
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Project-IP-Access-List/operation/getProjectIpAccessListStatus
  "/api/atlas/v1.0/groups/{groupId}/alertConfigs":
    get:
      description: |-
        Returns all alert configurations for one project. These alert configurations apply to any component in the project. Alert configurations define the triggers and notification methods for alerts. To use this resource, the requesting Service Account or API Key must have the Project Read Only role.

        This resource remains under revision and may change.
      operationId: listAlertConfigurations
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedAlertConfigView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Alert Configurations in One Project
      tags:
      - Alert Configurations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Alert-Configurations/operation/listAlertConfigurations
    post:
      description: |-
        Creates one alert configuration for the specified project. Alert configurations define the triggers and notification methods for alerts. To use this resource, the requesting Service Account or API Key must have the Project Alerts Manager, Project Monitoring Admin, Organization Owner, or Project Owner role.

        This resource remains under revision and may change.
      operationId: createAlertConfiguration
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/GroupAlertsConfig"
        description: Creates one alert configuration for the specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/GroupAlertsConfig"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Alert Configuration in One Project
      tags:
      - Alert Configurations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Alert-Configurations/operation/createAlertConfiguration
  "/api/atlas/v1.0/groups/{groupId}/alertConfigs/{alertConfigId}":
    delete:
      description: |-
        Removes one alert configuration from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Alerts Manager, Project Monitoring Admin, Organization Owner, or Project Owner role. Use the Return All Alert Configurations for One Project endpoint to retrieve all alert configurations to which the authenticated user has access.

        This resource remains under revision and may change.
      externalDocs:
        description: Return All Alert Configurations for One Project
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurations
      operationId: deleteAlertConfiguration
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the alert
          configuration.
        in: path
        name: alertConfigId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 32b6e34b3d91647abb20e7b8
      responses:
        '204':
          description: No Content
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Alert Configuration from One Project
      tags:
      - Alert Configurations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Alert-Configurations/operation/deleteAlertConfiguration
    get:
      description: |-
        Returns the specified alert configuration from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. Use the Return All Alert Configurations for One Project endpoint to retrieve all alert configurations to which the authenticated user has access.

        This resource remains under revision and may change.
      externalDocs:
        description: Return All Alert Configurations for One Project
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurations
      operationId: getAlertConfiguration
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the alert
          configuration.
        in: path
        name: alertConfigId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 32b6e34b3d91647abb20e7b8
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/GroupAlertsConfig"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Alert Configuration from One Project
      tags:
      - Alert Configurations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Alert-Configurations/operation/getAlertConfiguration
    patch:
      description: |-
        Enables or disables the specified alert configuration in the specified project. The resource enables the specified alert configuration if currently enabled. The resource disables the specified alert configuration if currently disabled. To use this resource, the requesting Service Account or API Key must have the Project Alerts Manager, Project Monitoring Admin, Organization Owner, or Project Owner role.

        **NOTE**: This endpoint updates only the enabled/disabled state for the alert configuration. To update more than just this configuration, see Update One Alert Configuration.

        This resource remains under revision and may change.
      externalDocs:
        description: Update One Alert Configuration
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/updateAlertConfiguration
      operationId: toggleAlertConfiguration
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the alert
          configuration that triggered this alert.
        in: path
        name: alertConfigId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 32b6e34b3d91647abb20e7b8
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/AlertsToggle"
        description: Enables or disables the specified alert configuration in the
          specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/GroupAlertsConfig"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Toggle State of One Alert Configuration in One Project
      tags:
      - Alert Configurations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Alert-Configurations/operation/toggleAlertConfiguration
    put:
      description: |-
        Updates one alert configuration in the specified project. Alert configurations define the triggers and notification methods for alerts. To use this resource, the requesting Service Account or API Key must have the Project Alerts Manager, Project Monitoring Admin, Organization Owner, or Project Owner role.

        **NOTE**: To enable or disable the alert configuration, see Toggle One State of One Alert Configuration in One Project.

        This resource remains under revision and may change.
      externalDocs:
        description: Toggle One State of One Alert Configuration in One Project
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/toggleAlertConfiguration
      operationId: updateAlertConfiguration
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the alert
          configuration.
        in: path
        name: alertConfigId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 32b6e34b3d91647abb20e7b8
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/GroupAlertsConfig"
        description: Updates one alert configuration in the specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/GroupAlertsConfig"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Alert Configuration in One Project
      tags:
      - Alert Configurations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Alert-Configurations/operation/updateAlertConfiguration
  "/api/atlas/v1.0/groups/{groupId}/alertConfigs/{alertConfigId}/alerts":
    get:
      description: |-
        Returns all open alerts that the specified alert configuration triggers. These alert configurations apply to the specified project only. Alert configurations define the triggers and notification methods for alerts. Open alerts have been triggered but remain unacknowledged. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. Use the Return All Alert Configurations for One Project endpoint to retrieve all alert configurations to which the authenticated user has access.

        This resource remains under revision and may change.
      externalDocs:
        description: Return All Alert Configurations for One Project
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alert-Configurations/operation/listAlertConfigurations
      operationId: listAlertsByAlertConfigurationId
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the alert
          configuration.
        in: path
        name: alertConfigId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 32b6e34b3d91647abb20e7b8
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedAlertView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Open Alerts for One Alert Configuration
      tags:
      - Alerts
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Alerts/operation/listAlertsByAlertConfigurationId
  "/api/atlas/v1.0/groups/{groupId}/alerts":
    get:
      description: |-
        Returns all alerts. These alerts apply to all components in one project. You receive an alert when a monitored component meets or exceeds a value you set. To use this resource, the requesting Service Account or API Key must have the Project Read Only role.

        This resource remains under revision and may change.
      operationId: listAlerts
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Status of the alerts to return. Omit this parameter to return
          all alerts in all statuses. TRACKING indicates the alert condition exists
          but has not persisted for the minimum notification delay. OPEN indicates
          the alert condition currently exists. CLOSED indicates the alert condition
          has been resolved.
        in: query
        name: status
        schema:
          type: string
          enum:
          - OPEN
          - TRACKING
          - CLOSED
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedAlertView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Alerts from One Project
      tags:
      - Alerts
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Alerts/operation/listAlerts
  "/api/atlas/v1.0/groups/{groupId}/alerts/{alertId}":
    get:
      description: |-
        Returns one alert. This alert applies to any component in one project. You receive an alert when a monitored component meets or exceeds a value you set. To use this resource, the requesting Service Account or API Key must have the Project Read Only role.

        This resource remains under revision and may change.
      operationId: getAlert
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the alert.
        in: path
        name: alertId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/AlertViewForNdsGroup"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Alert from One Project
      tags:
      - Alerts
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Alerts/operation/getAlert
    patch:
      description: |-
        Confirms receipt of one existing alert. This alert applies to any component in one project. Acknowledging an alert prevents successive notifications. You receive an alert when a monitored component meets or exceeds a value you set until you acknowledge the alert. To use this resource, the requesting Service Account or API Key must have the Project Alerts Manager, Project Monitoring Admin, Organization Owner, or Project Owner role.

        This resource remains under revision and may change.
      operationId: acknowledgeAlert
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the alert.
        in: path
        name: alertId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/AlertView"
        description: Acknowledges or unacknowledges one alert.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/AlertViewForNdsGroup"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Acknowledge One Alert from One Project
      tags:
      - Alerts
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Alerts/operation/acknowledgeAlert
  "/api/atlas/v1.0/groups/{groupId}/alerts/{alertId}/alertConfigs":
    get:
      description: |-
        Returns all alert configurations set for the specified alert. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. Use the Return All Alerts from One Project endpoint to retrieve all alerts to which the authenticated user has access.

        This resource remains under revision and may change.
      externalDocs:
        description: Return All Alerts from One Project
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Alerts/operation/listAlerts
      operationId: listAlertConfigurationsByAlertId
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - description: Unique 24-hexadecimal digit string that identifies the alert.
        in: path
        name: alertId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedAlertConfigView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Alert Configurations Set for One Alert
      tags:
      - Alert Configurations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Alert-Configurations/operation/listAlertConfigurationsByAlertId
  "/api/atlas/v1.0/groups/{groupId}/apiKeys":
    get:
      description: Returns all organization API keys that you assigned to the specified
        project. Users with the Project Owner role in the project associated with
        the API key can use the organization API key to access the resources. To use
        this resource, the requesting Service Account or API Key must have the Project
        Owner role.
      externalDocs:
        description: Programmatic API Keys
        url: https://docs.atlas.mongodb.com/configure-api-access/#std-label-atlas-prog-api-key
      operationId: listProjectApiKeys
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedApiApiUserView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Organization API Keys Assigned to One Project
      tags:
      - Programmatic API Keys
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Programmatic-API-Keys/operation/listProjectApiKeys
    post:
      description: Creates and assigns the specified organization API key to the specified
        project. Users with the Project Owner role in the project associated with
        the API key can use the organization API key to access the resources. To use
        this resource, the requesting Service Account or API Key must have the Project
        Owner role.
      operationId: createProjectApiKey
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/CreateAtlasProjectApiKey"
        description: Organization API key to be created and assigned to the specified
          project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ApiKeyUserDetails"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create and Assign One Organization API Key to One Project
      tags:
      - Programmatic API Keys
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Programmatic-API-Keys/operation/createProjectApiKey
  "/api/atlas/v1.0/groups/{groupId}/apiKeys/{apiUserId}":
    delete:
      description: Removes one organization API key from the specified project. To
        use this resource, the requesting Service Account or API Key must have the
        Project Owner role.
      externalDocs:
        description: Programmatic API Keys
        url: https://docs.atlas.mongodb.com/configure-api-access/#std-label-atlas-prog-api-key
      operationId: removeProjectApiKey
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Unique 24-hexadecimal digit string that identifies this organization
          API key that you want to unassign from one project.
        in: path
        name: apiUserId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      - "$ref": "#/components/parameters/pretty"
      responses:
        '204':
          description: This endpoint does not return a response body.
          content:
            application/json: {}
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Unassign One Organization API Key from One Project
      tags:
      - Programmatic API Keys
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Programmatic-API-Keys/operation/removeProjectApiKey
    patch:
      description: Updates the roles of the organization API key that you specify
        for the project that you specify. You must specify at least one valid role
        for the project. The application removes any roles that you do not include
        in this request if they were previously set in the organization API key that
        you specify for the project.
      operationId: updateApiKeyRoles
      parameters:
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/envelope"
      - description: Unique 24-hexadecimal digit string that identifies this organization
          API key that you want to unassign from one project.
        in: path
        name: apiUserId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/UpdateAtlasProjectApiKey"
        description: Organization API Key to be updated. This request requires a minimum
          of one of the two body parameters.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ApiKeyUserDetails"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update Organization API Key Roles for One Project
      tags:
      - Programmatic API Keys
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Programmatic-API-Keys/operation/updateApiKeyRoles
    post:
      description: Assigns the specified organization API key to the specified project.
        Users with the Project Owner role in the project associated with the API key
        can then use the organization API key to access the resources. To use this
        resource, the requesting Service Account or API Key must have the Project
        Owner role.
      operationId: addProjectApiKey
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Unique 24-hexadecimal digit string that identifies this organization
          API key that you want to assign to one project.
        in: path
        name: apiUserId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              type: array
              description: Explanatory text that describes this API key, the list
                of roles to grant this API key, or both.
              items:
                "$ref": "#/components/schemas/UserAccessRoleAssignment"
              x-xgen-IPA-exception:
                xgen-IPA-124-array-max-items: Schema predates IPA validation.
        description: Organization API key to be assigned to the specified project.
        required: true
      responses:
        '204':
          description: This endpoint does not return a response body.
          content:
            application/json: {}
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Assign One Organization API Key to One Project
      tags:
      - Programmatic API Keys
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Programmatic-API-Keys/operation/addProjectApiKey
  "/api/atlas/v1.0/groups/{groupId}/auditLog":
    get:
      description: Returns the auditing configuration for the specified project. The
        auditing configuration defines the events that MongoDB Cloud records in the
        audit log. To use this resource, the requesting Service Account or API Key
        must have the Project Owner role. This feature isn't available for `M0`, `M2`,
        `M5`, or serverless clusters.
      operationId: getAuditingConfiguration
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/AuditLog"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Auditing Configuration for One Project
      tags:
      - Auditing
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Auditing/operation/getAuditingConfiguration
    patch:
      description: Updates the auditing configuration for the specified project. The
        auditing configuration defines the events that MongoDB Cloud records in the
        audit log. To use this resource, the requesting Service Account or API Key
        must have the Project Owner role. This feature isn't available for `M0`, `M2`,
        `M5`, or serverless clusters.
      operationId: updateAuditingConfiguration
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/AuditLog"
        description: Updated auditing configuration for the specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/AuditLog"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update Auditing Configuration for One Project
      tags:
      - Auditing
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Auditing/operation/updateAuditingConfiguration
  "/api/atlas/v1.0/groups/{groupId}/awsCustomDNS":
    get:
      description: Returns the custom DNS configuration for AWS clusters in the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Read Only role.
      operationId: getAwsCustomDns
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/AWSCustomDNSEnabledView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Custom DNS Configuration for Atlas Clusters on AWS
      tags:
      - AWS Clusters DNS
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/AWS-Clusters-DNS/operation/getAwsCustomDns
    patch:
      description: Enables or disables the custom DNS configuration for AWS clusters
        in the specified project. Enable custom DNS if you use AWS VPC peering and
        use your own DNS servers. To use this resource, the requesting Service Account
        or API Key must have the Project Atlas Admin role.
      operationId: toggleAwsCustomDns
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/AWSCustomDNSEnabledView"
        description: Enables or disables the custom DNS configuration for AWS clusters
          in the specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/AWSCustomDNSEnabledView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update State of One Custom DNS Configuration for Atlas Clusters on
        AWS
      tags:
      - AWS Clusters DNS
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/AWS-Clusters-DNS/operation/toggleAwsCustomDns
  "/api/atlas/v1.0/groups/{groupId}/backup/exportBuckets":
    get:
      description: Returns all Export Buckets associated with the specified project.
        To use this resource, the requesting Service Account or API Key must have
        the Project Read Only role or Project Backup Manager role.
      operationId: listExportBuckets
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedBackupSnapshotExportBucketView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Snapshot Export Buckets
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/listExportBuckets
    post:
      description: Creates an Export Bucket for a given AWS S3 Bucket. Once created,
        snapshots can be exported to the Export Bucket and its referenced AWS S3 Bucket.
        To use this resource, the requesting Service Account or API Key must have
        the Project Backup Manager role.
      operationId: createExportBucket
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/DiskBackupSnapshotAWSExportBucketRequest"
        description: Specifies the AWS S3 Bucket and IAM role that the Export Bucket
          should reference.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DiskBackupSnapshotAWSExportBucketResponse"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Snapshot Export Bucket
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/createExportBucket
  "/api/atlas/v1.0/groups/{groupId}/backup/exportBuckets/{exportBucketId}":
    delete:
      description: Deletes an Export Bucket. Auto export must be disabled on all clusters
        in this Project exporting to this Export Bucket before revoking access. To
        use this resource, the requesting Service Account or API Key must have the
        Project Backup Manager role.
      operationId: deleteExportBucket
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Unique 24-hexadecimal character string that identifies the Export
          Bucket.
        in: path
        name: exportBucketId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 32b6e34b3d91647abb20e7b8
      responses:
        '204':
          description: This endpoint does not return a response body.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Delete One Snapshot Export Bucket
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/deleteExportBucket
    get:
      description: Returns one Export Bucket associated with the specified Project.
        To use this resource, the requesting Service Account or API Key must have
        the Project Read Only role or Project Backup Manager role.
      operationId: getExportBucket
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Unique 24-hexadecimal character string that identifies the Export
          Bucket.
        in: path
        name: exportBucketId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 32b6e34b3d91647abb20e7b8
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DiskBackupSnapshotAWSExportBucketResponse"
              examples:
                AWS:
                  description: AWS
                  value:
                    _id: 32b6e34b3d91647abb20e7b8
                    cloudProvider: AWS
                    bucketName: export-bucket
                    iamRoleId: 668c5f0ed436263134491592
                    links:
                    - href: https://cloud.mongodb.com/api/atlas
                      rel: self
                    region: us-east-1
                    requirePrivateNetworking: true
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Snapshot Export Bucket
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/getExportBucket
  "/api/atlas/v1.0/groups/{groupId}/backupCompliancePolicy":
    get:
      description: Returns the Backup Compliance Policy settings with the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Owner role.
      operationId: getDataProtectionSettings
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DataProtectionSettings"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Backup Compliance Policy Settings
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/getDataProtectionSettings
    put:
      description: Updates the Backup Compliance Policy settings for the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Owner role.
      operationId: updateDataProtectionSettings
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Flag that indicates whether to overwrite non complying backup
          policies with the new data protection settings or not.
        in: query
        name: overwriteBackupPolicies
        schema:
          type: boolean
          default: true
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/DataProtectionSettings"
        description: The new Backup Compliance Policy settings.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DataProtectionSettings"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update Backup Compliance Policy Settings
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/updateDataProtectionSettings
  "/api/atlas/v1.0/groups/{groupId}/cloudProviderAccess":
    get:
      description: Returns all cloud provider access roles with access to the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Owner role.
      operationId: listCloudProviderAccessRoles
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/CloudProviderAccessRoles"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Cloud Provider Access Roles
      tags:
      - Cloud Provider Access
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Provider-Access/operation/listCloudProviderAccessRoles
    post:
      description: Creates one access role for the specified cloud provider. Some
        MongoDB Cloud features use these cloud provider access roles for authentication.
        To use this resource, the requesting Service Account or API Key must have
        the Project Owner role. For the GCP provider, if the project folder is not
        yet provisioned, Atlas will now create the role asynchronously. An intermediate
        role with status `IN_PROGRESS` will be returned, and the final service account
        will be provisioned. Once the GCP project is set up, subsequent requests will
        create the service account synchronously.
      externalDocs:
        description: Set Up Access to Cloud Providers
        url: https://www.mongodb.com/docs/atlas/security/cloud-provider-access/
      operationId: createCloudProviderAccessRole
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/CloudProviderAccessRoleRequest"
        description: Creates one role for the specified cloud provider.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/CloudProviderAccessRole"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Cloud Provider Access Role
      tags:
      - Cloud Provider Access
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Provider-Access/operation/createCloudProviderAccessRole
  "/api/atlas/v1.0/groups/{groupId}/cloudProviderAccess/{cloudProvider}/{roleId}":
    delete:
      description: Revokes access to the specified project for the specified access
        role. To use this resource, the requesting Service Account or API Key must
        have the Project Owner role.
      operationId: deauthorizeCloudProviderAccessRole
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cloud provider of the
          role to deauthorize.
        in: path
        name: cloudProvider
        required: true
        schema:
          type: string
          enum:
          - AWS
          - AZURE
          - GCP
      - description: Unique 24-hexadecimal digit string that identifies the role.
        in: path
        name: roleId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '204':
          description: No Content
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Deauthorize One Cloud Provider Access Role
      tags:
      - Cloud Provider Access
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Provider-Access/operation/deauthorizeCloudProviderAccessRole
  "/api/atlas/v1.0/groups/{groupId}/cloudProviderAccess/{roleId}":
    get:
      description: Returns the access role with the specified id and with access to
        the specified project. To use this resource, the requesting Service Account
        or API Key must have the Project Owner role.
      operationId: getCloudProviderAccessRole
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the role.
        in: path
        name: roleId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/CloudProviderAccessRole"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Cloud Provider Access Role
      tags:
      - Cloud Provider Access
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Provider-Access/operation/getCloudProviderAccessRole
    patch:
      description: Grants access to the specified project for the specified access
        role. To use this resource, the requesting Service Account or API Key must
        have the Project Owner role. This API endpoint is one step in a procedure
        to create unified access for MongoDB Cloud services. This is not required
        for GCP service account access.
      externalDocs:
        description: Set Up Access to Cloud Providers
        url: https://www.mongodb.com/docs/atlas/security/cloud-provider-access/
      operationId: authorizeCloudProviderAccessRole
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the role.
        in: path
        name: roleId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/CloudProviderAccessRoleRequestUpdate"
        description: Grants access to the specified project for the specified access
          role.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/CloudProviderAccessRole"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Authorize One Cloud Provider Access Role
      tags:
      - Cloud Provider Access
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Provider-Access/operation/authorizeCloudProviderAccessRole
  "/api/atlas/v1.0/groups/{groupId}/clusters":
    get:
      description: |-
        Returns the details for all clusters in the specific project to which you have access. Clusters contain a group of hosts that maintain the same data set. The response does not include multi-cloud clusters. To return multi-cloud clusters, use Get All Advanced Clusters. To use this resource, the requesting Service Account or API Key must have the Project Read Only role.

        This endpoint can also be used on Flex clusters that were created using the [Create Cluster](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/createCluster) endpoint or former M2/M5 clusters that have been migrated to Flex clusters until January 2026. Please use the List Flex Clusters endpoint for Flex clusters instead.
      externalDocs:
        description: List Flex Clusters
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/listFlexClusters
      operationId: listLegacyClusters
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Flag that indicates whether to return Clusters with retain backups.
        in: query
        name: includeDeletedWithRetainedBackups
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedLegacyClusterView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Clusters in One Project
      tags:
      - Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Clusters/operation/listLegacyClusters
    post:
      description: |-
        Creates one cluster in the specific project. Clusters contain a group of hosts that maintain the same data set. This resource does not create multi-cloud clusters. To create a multi-cloud cluster, use Create One Advanced Cluster. To use this resource, the requesting Service Account or API Key must have the Project Owner role.

         When you deploy an M10+ dedicated cluster, Atlas creates a VPC for the selected provider and region or regions if no existing VPC or VPC peering connection exists for that provider and region. Atlas assigns the VPC a Classless Inter-Domain Routing (CIDR) block.

        Please note that using an `instanceSize` of M2 or M5 will create a Flex cluster instead. Support for the `instanceSize` of M2 or M5 will be discontinued on January 22, 2026. We recommend using the Create Flex Cluster API for such configurations moving forward.
      externalDocs:
        description: Create Flex Cluster
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/createFlexCluster
      operationId: createLegacyCluster
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/LegacyAtlasCluster"
        description: Cluster to create in this project.
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/LegacyAtlasCluster"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '402':
          "$ref": "#/components/responses/paymentRequired"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Cluster
      tags:
      - Clusters
      x-xgen-changelog:
        '2025-06-05': Fixed a bug that previously permitted users to configure multiple
          regionConfigs for the same region and cloud provider within a replicationSpec
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Clusters/operation/createLegacyCluster
  "/api/atlas/v1.0/groups/{groupId}/clusters/provider/regions":
    get:
      description: Returns the list of regions available for the specified cloud provider
        at the specified tier. To use this resource, the requesting Service Account
        or API Key must have the Project Read Only role.
      operationId: listCloudProviderRegions
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Cloud providers whose regions to retrieve. When you specify multiple
          providers, the response can return only tiers and regions that support multi-cloud
          clusters.
        in: query
        name: providers
        schema:
          type: array
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
      - description: Cluster tier for which to retrieve the regions.
        in: query
        name: tier
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedApiAtlasProviderRegionsView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Cloud Provider Regions
      tags:
      - Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Clusters/operation/listCloudProviderRegions
  "/api/atlas/v1.0/groups/{groupId}/clusters/tenantUpgrade":
    post:
      description: "Upgrades a shared-tier cluster to a Flex or Dedicated (M10+) cluster
        in the specified project. To use this resource, the requesting Service Account
        or API Key must have the Project Cluster Manager role. Each project supports
        up to 25 clusters. \n\nThis endpoint can also be used to upgrade Flex clusters
        that were created using the [Create Cluster](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/createCluster)
        API or former M2/M5 clusters that have been migrated to Flex clusters, using
        `instanceSizeName` to “M2” or “M5” until January 2026. This functionality
        will be available until January 22, 2026, after which it will only be available
        for M0 clusters. Please use the Upgrade Flex Cluster endpoint instead."
      externalDocs:
        description: Upgrade Flex Cluster
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/upgradeFlexCluster
      operationId: upgradeSharedCluster
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/LegacyAtlasTenantClusterUpgradeRequest"
        description: Details of the shared-tier cluster upgrade in the specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/LegacyAtlasCluster"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '402':
          "$ref": "#/components/responses/paymentRequired"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Upgrade One Shared-Tier Cluster
      tags:
      - Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Clusters/operation/upgradeSharedCluster
  "/api/atlas/v1.0/groups/{groupId}/clusters/tenantUpgradeToServerless":
    post:
      deprecated: true
      description: |-
        This endpoint has been deprecated as of February 2025 as we no longer support the creation of new serverless instances. Please use the Upgrade Flex Cluster endpoint to upgrade Flex clusters.

         Upgrades a shared-tier cluster to a serverless instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Cluster Manager role.
      externalDocs:
        description: Upgrade Flex Cluster
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/upgradeFlexCluster
      operationId: upgradeSharedClusterToServerless
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/ServerlessInstanceDescription"
        description: Details of the shared-tier cluster upgrade in the specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ServerlessInstanceDescription"
              x-sunset: '2025-02-05'
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '402':
          "$ref": "#/components/responses/paymentRequired"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Upgrade One Shared-Tier Cluster to One Serverless Instance
      tags:
      - Clusters
      x-xgen-changelog:
        '2025-02-06': Deprecating Tenant Upgrade to Serverless due to Flex GA. Atlas
          no longer supports the creation of new serverless instances.
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Clusters/operation/upgradeSharedClusterToServerless
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}":
    delete:
      description: |-
        Removes one cluster in the specific project. Clusters contain a group of hosts that maintain the same data set. The cluster must have termination protection disabled in order to be deleted. To use this resource, the requesting Service Account or API Key must have the Project Owner role.

        This endpoint can also be used on Flex clusters that were created using the [Create Cluster](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/createCluster) endpoint or former M2/M5 clusters that have been migrated to Flex clusters until January 2026. Please use the Delete Flex Cluster endpoint for Flex clusters instead.
      externalDocs:
        description: Delete Flex Cluster
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/deleteFlexCluster
      operationId: deleteLegacyCluster
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Flag that indicates whether to retain backup snapshots for the
          deleted dedicated cluster.
        in: query
        name: retainBackups
        schema:
          type: boolean
      responses:
        '202':
          description: Accepted
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Cluster
      tags:
      - Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Clusters/operation/deleteLegacyCluster
    get:
      description: |-
        Returns the details for one cluster in the specified project. Clusters contain a group of hosts that maintain the same data set. The response does not include multi-cloud clusters. To return a multi-cloud cluster, use Get One Advanced Cluster. To use this resource, the requesting Service Account or API Key must have the Project Read Only role.

        This endpoint can also be used on Flex clusters that were created using the [Create Cluster](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/createCluster) endpoint or former M2/M5 clusters that have been migrated to Flex clusters until January 2026. Please use the Get Flex Cluster endpoint for Flex clusters instead.
      externalDocs:
        description: Get Flex Cluster
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/getFlexCluster
      operationId: getLegacyCluster
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies this cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/LegacyAtlasCluster"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Cluster in One Project
      tags:
      - Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Clusters/operation/getLegacyCluster
    patch:
      description: |-
        Update the details for one cluster in the specified project. Clusters contain a group of hosts that maintain the same data set. This resource does not update multi-cloud clusters. To update a multi-cloud cluster, use Update One Advanced Cluster. You can upgrade your cluster only one major version at a time. You can't skip any major versions. Each major version contains some features that might not be backward-compatible with previous versions. Check the Release Notes for changes that might affect your applications. After you upgrade the MongoDB major version, you will not be able to downgrade to previous versions.

         As of MongoDB version 4.2, Legacy Backups are deprecated in favor of Cloud Backups. When you upgrade to version 4.2 or later, your backup system upgrades to Cloud Backups if it is currently set to Legacy Backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the [Cloud Backup documentation](https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule).

         To use this resource, the requesting Service Account or API Key must have the Project Cluster Manager role. This feature isn't available for `M0` free clusters, `M2` and `M5` shared-tier, and Flex clusters.

         The total number of nodes in clusters spanning across regions has a specific constraint on a per-project basis. MongoDB Cloud limits the total number of nodes in other regions in one project to a total of 40. This total excludes Google Cloud regions communicating with each other, free clusters, or shared clusters. The total number of nodes between any two regions must meet this constraint. For example, if a project has nodes in clusters spread across three regions: 30 nodes in Region A, 10 nodes in Region B, and 5 nodes in Region C, you can add only 5 more nodes to Region C because if you exclude Region C, Region A + Region B = 40. If you exclude Region B, Region A + Region C = 35, <= 40. If you exclude Region A, Region B + Region C = 15, <= 40. Each combination of regions with the added 5 nodes still meets the per-project constraint: Region A + B = 40, Region A + C = 40, and Region B + C = 20. You can't create a multi-region cluster in a project if it has one or more clusters spanning 40 or more nodes in other regions.
      operationId: updateClusterConfiguration
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/LegacyAtlasCluster"
        description: Cluster to update in the specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/LegacyAtlasCluster"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update Configuration of One Cluster
      tags:
      - Clusters
      x-xgen-changelog:
        '2025-06-05': Fixed a bug that previously permitted users to configure multiple
          regionConfigs for the same region and cloud provider within a replicationSpec
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Clusters/operation/updateClusterConfiguration
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/backup/exports":
    get:
      description: Returns all Cloud Backup Snapshot Export Jobs associated with the
        specified Atlas cluster. To use this resource, the requesting Service Account
        or API Key must have the Project Atlas Admin role.
      operationId: listBackupExportJobs
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedApiAtlasDiskBackupExportJobView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Snapshot Export Jobs
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/listBackupExportJobs
    post:
      description: Exports one backup Snapshot for dedicated Atlas cluster using Cloud
        Backups to an Export Bucket. To use this resource, the requesting Service
        Account or API Key must have the Project Atlas Admin role.
      operationId: createBackupExportJob
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/DiskBackupExportJobRequest"
        description: Information about the Cloud Backup Snapshot Export Job to create.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DiskBackupExportJob"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Snapshot Export Job
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/createBackupExportJob
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/backup/exports/{exportId}":
    get:
      description: Returns one Cloud Backup Snapshot Export Job associated with the
        specified Atlas cluster. To use this resource, the requesting Service Account
        or API Key must have the Project Atlas Admin role.
      operationId: getBackupExportJob
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Unique 24-hexadecimal character string that identifies the Export
          Job.
        in: path
        name: exportId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 32b6e34b3d91647abb20e7b8
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DiskBackupExportJob"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Snapshot Export Job
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/getBackupExportJob
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs":
    get:
      description: Returns all cloud backup restore jobs for one cluster from the
        specified project. To use this resource, the requesting Service Account or
        API Key must have the Project Backup Manager role.
      operationId: listBackupRestoreJobs
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster with the restore
          jobs you want to return.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedCloudBackupRestoreJobView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Restore Jobs for One Cluster
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/listBackupRestoreJobs
    post:
      description: |-
        Restores one snapshot of one cluster from the specified project. Atlas takes on-demand snapshots immediately and scheduled snapshots at regular intervals. If an on-demand snapshot with a status of `queued` or `inProgress` exists, before taking another snapshot, wait until Atlas completes processing the previously taken on-demand snapshot.

         To use this resource, the requesting Service Account or API Key must have the Project Backup Manager role.
      operationId: createBackupRestoreJob
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/DiskBackupSnapshotRestoreJob"
        description: Restores one snapshot of one cluster from the specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DiskBackupSnapshotRestoreJob"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Restore One Snapshot of One Cluster
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/createBackupRestoreJob
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/backup/restoreJobs/{restoreJobId}":
    delete:
      description: Cancels one cloud backup restore job of one cluster from the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Backup Manager role.
      operationId: cancelBackupRestoreJob
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the restore
          job to remove.
        in: path
        name: restoreJobId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '204':
          description: This endpoint does not return a response body.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '405':
          "$ref": "#/components/responses/methodNotAllowed"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Cancel One Restore Job for One Cluster
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/cancelBackupRestoreJob
    get:
      description: Returns one cloud backup restore job for one cluster from the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Backup Manager role.
      operationId: getBackupRestoreJob
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster with the restore
          jobs you want to return.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the restore
          job to return.
        in: path
        name: restoreJobId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DiskBackupSnapshotRestoreJob"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Restore Job for One Cluster
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/getBackupRestoreJob
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/backup/schedule":
    delete:
      description: Removes all cloud backup schedules for the specified cluster. This
        schedule defines when MongoDB Cloud takes scheduled snapshots and how long
        it stores those snapshots. To use this resource, the requesting Service Account
        or API Key must have the Project Atlas Admin role.
      operationId: deleteAllBackupSchedules
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DiskBackupSnapshotSchedule"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove All Cloud Backup Schedules
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/deleteAllBackupSchedules
    get:
      description: Returns the cloud backup schedule for the specified cluster within
        the specified project. This schedule defines when MongoDB Cloud takes scheduled
        snapshots and how long it stores those snapshots. To use this resource, the
        requesting Service Account or API Key must have the Project Read Only role.
      operationId: getBackupSchedule
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DiskBackupSnapshotSchedule"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Cloud Backup Schedule
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/getBackupSchedule
    patch:
      description: Updates the cloud backup schedule for one cluster within the specified
        project. This schedule defines when MongoDB Cloud takes scheduled snapshots
        and how long it stores those snapshots. To use this resource, the requesting
        Service Account or API Key must have the Project Owner role.
      operationId: updateBackupSchedule
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/DiskBackupSnapshotSchedule"
        description: |-
          Updates the cloud backup schedule for one cluster within the specified project.

          **Note**: In the request body, provide only the fields that you want to update.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DiskBackupSnapshotSchedule"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update Cloud Backup Schedule for One Cluster
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/updateBackupSchedule
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/backup/snapshots":
    get:
      description: Returns all snapshots of one cluster from the specified project.
        To use this resource, the requesting Service Account or API Key must have
        the Project Read Only role or Project Backup Manager role.
      operationId: listReplicaSetBackups
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedCloudBackupReplicaSetView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Replica Set Cloud Backups
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/listReplicaSetBackups
    post:
      description: |-
        Takes one on-demand snapshot for the specified cluster. Atlas takes on-demand snapshots immediately and scheduled snapshots at regular intervals. If an on-demand snapshot with a status of `queued` or `inProgress` exists, before taking another snapshot, wait until Atlas completes processing the previously taken on-demand snapshot.

         To use this resource, the requesting Service Account or API Key must have the Project Backup Manager role.
      operationId: takeSnapshot
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/DiskBackupOnDemandSnapshotRequest"
        description: Takes one on-demand snapshot.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DiskBackupSnapshot"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Take One On-Demand Snapshot
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/takeSnapshot
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedCluster/{snapshotId}":
    delete:
      description: Removes one snapshot of one sharded cluster from the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Backup Manager role.
      operationId: deleteShardedClusterBackup
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the desired
          snapshot.
        in: path
        name: snapshotId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '204':
          description: This endpoint does not return a response body.
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Sharded Cluster Cloud Backup
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/deleteShardedClusterBackup
    get:
      description: Returns one snapshot of one sharded cluster from the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Read Only role or Project Backup Manager role.
      operationId: getShardedClusterBackup
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the desired
          snapshot.
        in: path
        name: snapshotId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DiskBackupShardedClusterSnapshot"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Sharded Cluster Cloud Backup
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/getShardedClusterBackup
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/backup/snapshots/shardedClusters":
    get:
      description: Returns all snapshots of one sharded cluster from the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Read Only role or Project Backup Manager role.
      operationId: listShardedClusterBackups
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedCloudBackupShardedClusterSnapshotView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Sharded Cluster Cloud Backups
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/listShardedClusterBackups
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/backup/snapshots/{snapshotId}":
    delete:
      description: Removes the specified snapshot. To use this resource, the requesting
        Service Account or API Key must have the Project Backup Manager role.
      operationId: deleteReplicaSetBackup
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the desired
          snapshot.
        in: path
        name: snapshotId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '204':
          description: This endpoint does not return a response body.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Replica Set Cloud Backup
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/deleteReplicaSetBackup
    get:
      description: Returns one snapshot from the specified cluster. To use this resource,
        the requesting Service Account or API Key must have the Project Read Only
        role or Project Backup Manager role.
      operationId: getReplicaSetBackup
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the desired
          snapshot.
        in: path
        name: snapshotId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DiskBackupReplicaSet"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Replica Set Cloud Backup
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/getReplicaSetBackup
    patch:
      description: Changes the expiration date for one cloud backup snapshot for one
        cluster in the specified project, the requesting Service Account or API Key
        must have the Project Backup Manager role.
      operationId: updateSnapshotRetention
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the desired
          snapshot.
        in: path
        name: snapshotId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/BackupSnapshotRetention"
        description: Changes the expiration date for one cloud backup snapshot for
          one cluster in the specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DiskBackupReplicaSet"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update Expiration Date for One Cloud Backup
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/updateSnapshotRetention
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/backupCheckpoints":
    get:
      deprecated: true
      description: Returns all legacy backup checkpoints for one cluster in the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Read Only role.
      operationId: listLegacyBackupCheckpoints
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster that contains
          the checkpoints that you want to return.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedApiAtlasCheckpointView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Legacy Backup Checkpoints
      tags:
      - Legacy Backup
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Legacy-Backup/operation/listLegacyBackupCheckpoints
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/backupCheckpoints/{checkpointId}":
    get:
      deprecated: true
      description: Returns one legacy backup checkpoint for one cluster in the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Read Only role.
      operationId: getLegacyBackupCheckpoint
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the checkpoint.
        in: path
        name: checkpointId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      - description: Human-readable label that identifies the cluster that contains
          the checkpoints that you want to return.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ApiAtlasCheckpointView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Legacy Backup Checkpoint
      tags:
      - Legacy Backup
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Legacy-Backup/operation/getLegacyBackupCheckpoint
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/fts/analyzers":
    get:
      description: Returns all Atlas Search custom analyzers that the specified cluster
        uses in the specified project. Custom analyzers define the operations to perform
        to index a field. To use this resource, the requesting Service Account or
        API Key must have the Project Data Access Read Write role.
      externalDocs:
        description: Custom Analyzers
        url: https://dochub.mongodb.org/core/custom-fts
      operationId: listAnalyzers
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Name of the cluster that contains the collection with one or
          more Atlas Search indexes.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                description: List of user-defined methods to convert database field
                  text into searchable words.
                items:
                  "$ref": "#/components/schemas/ApiAtlasFTSAnalyzersViewManual"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All User-Defined Analyzers for One Cluster
      tags:
      - Atlas Search
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Atlas-Search/operation/listAnalyzers
    put:
      description: Updates one or more Atlas Search custom analyzers on the specified
        cluster. Custom analyzers define the operations to perform to index a field.
        To use this resource, the requesting Service Account or API Key must have
        the Project Data Access Admin role.
      externalDocs:
        description: Custom Analyzers
        url: https://dochub.mongodb.org/core/custom-fts
      operationId: updateAllAnalyzers
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Name of the cluster that contains the collection with one or
          more Atlas Search indexes.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: array
              description: List of user-defined methods to convert database field
                text into searchable words.
              items:
                "$ref": "#/components/schemas/ApiAtlasFTSAnalyzersViewManual"
        description: Updates one or more Atlas Search custom analyzers on the specified
          cluster.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                description: List of user-defined methods to convert database field
                  text into searchable words.
                items:
                  "$ref": "#/components/schemas/ApiAtlasFTSAnalyzersViewManual"
        '400':
          "$ref": "#/components/responses/badRequest"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update All User-Defined Analyzers for One Cluster
      tags:
      - Atlas Search
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Atlas-Search/operation/updateAllAnalyzers
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/fts/indexes":
    post:
      description: Creates one Atlas Search index on the specified collection. Atlas
        Search indexes define the fields on which to create the index and the analyzers
        to use when creating the index. Only clusters running MongoDB v4.2 or later
        can use Atlas Search. To use this resource, the requesting Service Account
        or API Key must have the Project Data Access Admin role.
      externalDocs:
        description: Atlas Search Indexes
        url: https://dochub.mongodb.org/core/index-definitions-fts
      operationId: createAtlasSearchIndexDeprecated
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Name of the cluster that contains the collection on which to
          create an Atlas Search index.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/ClusterSearchIndex"
        description: Creates one Atlas Search index on the specified collection.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ClusterSearchIndex"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Atlas Search Index
      tags:
      - Atlas Search
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Atlas-Search/operation/createAtlasSearchIndexDeprecated
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/fts/indexes/{databaseName}/{collectionName}":
    get:
      description: Returns all Atlas Search indexes on the specified collection. Atlas
        Search indexes contain the indexed fields and the analyzers used to create
        the indexes. To use this resource, the requesting Service Account or API Key
        must have the Project Data Access Read Write role.
      externalDocs:
        description: Atlas Search Indexes
        url: https://dochub.mongodb.org/core/index-definitions-fts
      operationId: listAtlasSearchIndexesDeprecated
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Name of the cluster that contains the collection with one or
          more Atlas Search indexes.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Name of the collection that contains one or more Atlas Search
          indexes.
        in: path
        name: collectionName
        required: true
        schema:
          type: string
      - description: Human-readable label that identifies the database that contains
          the collection with one or more Atlas Search indexes.
        in: path
        name: databaseName
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                description: List of Atlas Search indexes that MongoDB Cloud returns
                  for this request.
                items:
                  "$ref": "#/components/schemas/ClusterSearchIndex"
                x-xgen-IPA-exception:
                  xgen-IPA-124-array-max-items: Schema predates IPA validation.
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Atlas Search Indexes for One Collection
      tags:
      - Atlas Search
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Atlas-Search/operation/listAtlasSearchIndexesDeprecated
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/fts/indexes/{indexId}":
    delete:
      description: Removes one Atlas Search index that you identified with its unique
        ID. To use this resource, the requesting Service Account or API Key must have
        the Project Data Access Admin role.
      externalDocs:
        description: Atlas Search Indexes
        url: https://dochub.mongodb.org/core/index-definitions-fts
      operationId: deleteAtlasSearchIndexDeprecated
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Name of the cluster that contains the database and collection
          with one or more Application Search indexes.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the Atlas
          Search index. Use the [Get All Atlas Search Indexes for a Collection API](https://docs.atlas.mongodb.com/reference/api/fts-indexes-get-all/)
          endpoint to find the IDs of all Atlas Search indexes.
        in: path
        name: indexId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '204':
          description: This endpoint does not return a response body.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Atlas Search Index
      tags:
      - Atlas Search
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Atlas-Search/operation/deleteAtlasSearchIndexDeprecated
    get:
      description: Returns one Atlas Search index in the specified project. You identify
        this index using its unique ID. Atlas Search index contains the indexed fields
        and the analyzers used to create the index. To use this resource, the requesting
        Service Account or API Key must have the Project Data Access Read Write role.
      externalDocs:
        description: Atlas Search Indexes
        url: https://dochub.mongodb.org/core/index-definitions-fts
      operationId: getAtlasSearchIndexDeprecated
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Name of the cluster that contains the collection with one or
          more Atlas Search indexes.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the Application
          Search [index](https://dochub.mongodb.org/core/index-definitions-fts). Use
          the [Get All Application Search Indexes for a Collection API](https://docs.atlas.mongodb.com/reference/api/fts-indexes-get-all/)
          endpoint to find the IDs of all Application Search indexes.
        in: path
        name: indexId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ClusterSearchIndex"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Atlas Search Index
      tags:
      - Atlas Search
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Atlas-Search/operation/getAtlasSearchIndexDeprecated
    patch:
      description: Updates one Atlas Search index that you identified with its unique
        ID. Atlas Search indexes define the fields on which to create the index and
        the analyzers to use when creating the index. To use this resource, the requesting
        Service Account or API Key must have the Project Data Access Admin role.
      externalDocs:
        description: Atlas Search Indexes
        url: https://dochub.mongodb.org/core/index-definitions-fts
      operationId: updateAtlasSearchIndexDeprecated
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Name of the cluster that contains the collection whose Atlas
          Search index to update.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the Atlas
          Search [index](https://dochub.mongodb.org/core/index-definitions-fts). Use
          the [Get All Atlas Search Indexes for a Collection API](https://docs.atlas.mongodb.com/reference/api/fts-indexes-get-all/)
          endpoint to find the IDs of all Atlas Search indexes.
        in: path
        name: indexId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/ClusterSearchIndex"
        description: Details to update on the Atlas Search index.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ClusterSearchIndex"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Atlas Search Index
      tags:
      - Atlas Search
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Atlas-Search/operation/updateAtlasSearchIndexDeprecated
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/globalWrites":
    get:
      description: Returns all managed namespaces and custom zone mappings for the
        specified global cluster. Managed namespaces identify collections using the
        database name, the dot separator, and the collection name. Custom zone mappings
        matches ISO 3166-2 location codes to zones in your global cluster. To use
        this resource, the requesting Service Account or API Key must have the Project
        Read Only role.
      externalDocs:
        description: Global Clusters
        url: https://www.mongodb.com/docs/atlas/global-clusters/
      operationId: getGeoSharding
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies this cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/GeoSharding"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Global Clusters Data
      tags:
      - Global Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Global-Clusters/operation/getGeoSharding
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping":
    delete:
      description: Removes all custom zone mappings for the specified global cluster.
        A custom zone mapping matches one ISO 3166-2 location code to a zone in your
        global cluster. Removing the custom zone mappings restores the default mapping.
        By default, MongoDB Cloud maps each location code to the closest geographical
        zone. To use this resource, the requesting Service Account or API Key must
        have the Project Owner role.
      externalDocs:
        description: Global Clusters
        url: https://www.mongodb.com/docs/atlas/global-clusters/
      operationId: deleteAllLegacyCustomZoneMappings
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies this cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/GeoSharding"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove All Custom Zone Mappings from One Global Cluster
      tags:
      - Global Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Global-Clusters/operation/deleteAllLegacyCustomZoneMappings
    post:
      description: Add one or more custom zone mappings to the specified global cluster.
        A custom zone mapping matches one ISO 3166-2 location code to a zone in your
        global cluster. By default, MongoDB Cloud maps each location code to the closest
        geographical zone. To use this resource, the requesting Service Account or
        API Key must have the Project Owner role.
      externalDocs:
        description: Global Clusters
        url: https://www.mongodb.com/docs/atlas/global-clusters/
      operationId: addAllCustomZoneMappings
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies this cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/CustomZoneMappings"
        description: Custom zone mapping to add to the specified global cluster.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/GeoSharding"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Add Custom Zone Mappings to One Global Cluster
      tags:
      - Global Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Global-Clusters/operation/addAllCustomZoneMappings
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces":
    delete:
      description: Removes one managed namespace within the specified global cluster.
        A managed namespace identifies a collection using the database name, the dot
        separator, and the collection name. Deleting a managed namespace does not
        remove the associated collection or data. To use this resource, the requesting
        Service Account or API Key must have the Project Data Access Admin role.
      externalDocs:
        description: Global Clusters
        url: https://www.mongodb.com/docs/atlas/global-clusters/
      operationId: deleteLegacyManagedNamespace
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies this cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Human-readable label that identifies the database that contains
          the collection.
        in: query
        name: db
        schema:
          type: string
      - description: Human-readable label that identifies the collection associated
          with the managed namespace.
        in: query
        name: collection
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/GeoSharding"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Managed Namespace from One Global Cluster
      tags:
      - Global Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Global-Clusters/operation/deleteLegacyManagedNamespace
    post:
      description: Creates one managed namespace within the specified global cluster.
        A managed namespace identifies a collection using the database name, the dot
        separator, and the collection name. To use this resource, the requesting Service
        Account or API Key must have the Project Data Access Admin role.
      externalDocs:
        description: Global Clusters
        url: https://www.mongodb.com/docs/atlas/global-clusters/
      operationId: createLegacyManagedNamespace
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies this cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/ManagedNamespaces"
        description: Managed namespace to create within the specified global cluster.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/GeoSharding"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '405':
          "$ref": "#/components/responses/methodNotAllowed"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Managed Namespace in One Global Cluster
      tags:
      - Global Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Global-Clusters/operation/createLegacyManagedNamespace
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/index":
    post:
      description: Creates an index on the cluster identified by its name in a rolling
        manner. Creating the index in this way allows index builds on one replica
        set member as a standalone at a time, starting with the secondary members.
        Creating indexes in this way requires at least one replica set election. To
        use this resource, the requesting Service Account or API Key must have the
        Project Data Access Admin role.
      externalDocs:
        description: Rolling Index Builds on Replica Sets
        url: https://docs.mongodb.com/manual/tutorial/build-indexes-on-replica-sets/
      operationId: createRollingIndex
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster on which MongoDB
          Cloud creates an index.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/DatabaseRollingIndexRequest"
            examples:
              2dspere Index:
                description: 2dspere Index
                value:
                  collation:
                    alternate: non-ignorable
                    backwards: false
                    caseFirst: lower
                    caseLevel: false
                    locale: af
                    maxVariable: punct
                    normalization: false
                    numericOrdering: false
                    strength: 3
                  collection: accounts
                  db: sample_airbnb
                  keys:
                  - property_type: '1'
                  options:
                    name: PartialIndexTest
                    partialFilterExpression:
                      limit:
                        "$gt": 900
              Partial Index:
                description: Partial Index
                value:
                  collation:
                    alternate: non-ignorable
                    backwards: false
                    caseFirst: lower
                    caseLevel: false
                    locale: af
                    maxVariable: punct
                    normalization: false
                    numericOrdering: false
                    strength: 3
                  collection: accounts
                  db: sample_airbnb
                  keys:
                  - property_type: '1'
                  options:
                    name: PartialIndexTest
                    partialFilterExpression:
                      limit:
                        "$gt": 900
              Sparse Index:
                description: Sparse Index
                value:
                  collation:
                    alternate: non-ignorable
                    backwards: false
                    caseFirst: lower
                    caseLevel: false
                    locale: af
                    maxVariable: punct
                    normalization: false
                    numericOrdering: false
                    strength: 3
                  collection: accounts
                  db: sample_airbnb
                  keys:
                  - test_field: '1'
                  options:
                    name: SparseIndexTest
                    sparse: true
        description: Rolling index to create on the specified cluster.
        required: true
      responses:
        '202':
          description: Accepted
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '429':
          "$ref": "#/components/responses/tooManyRequests"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Rolling Index
      tags:
      - Rolling Index
      x-xgen-changelog:
        '2025-05-08': Corrects an issue where the endpoint would allow a rolling index
          build to be initiated while there was already an index build in progress.
          The endpoint now returns 400 if an index build is already in progress.
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Rolling-Index/operation/createRollingIndex
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/onlineArchives":
    get:
      description: Returns details of all online archives. This archive stores data
        from one cluster within one project. To use this resource, the requesting
        Service Account or API Key must have the Project Read Only role.
      externalDocs:
        description: Online Archive
        url: https://docs.atlas.mongodb.com/online-archive/manage-online-archive/#std-label-manage-online-archive
      operationId: listOnlineArchives
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster that contains
          the collection for which you want to return the online archives.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedOnlineArchiveView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Online Archives for One Cluster
      tags:
      - Online Archive
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Online-Archive/operation/listOnlineArchives
    post:
      description: Creates one online archive. This archive stores data from one cluster
        within one project. To use this resource, the requesting Service Account or
        API Key must have the Project Data Access Admin role.
      externalDocs:
        description: Online Archive
        url: https://docs.atlas.mongodb.com/online-archive/manage-online-archive/#std-label-manage-online-archive
      operationId: createOnlineArchive
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster that contains
          the collection for which you want to create one online archive.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/BackupOnlineArchiveCreate"
        description: Creates one online archive.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/BackupOnlineArchive"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Online Archive
      tags:
      - Online Archive
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Online-Archive/operation/createOnlineArchive
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz":
    get:
      description: 'Downloads query logs for the specified online archive. To use
        this resource, the requesting Service Account or API Key must have the Project
        Data Access Read Only or higher role. The API does not support direct calls
        with the json response schema. You must request a gzip response schema using
        an accept header of the format: "Accept: application/gzip".'
      externalDocs:
        description: Online Archive
        url: https://docs.atlas.mongodb.com/online-archive/manage-online-archive/#std-label-manage-online-archive
      operationId: downloadOnlineArchiveQueryLogs
      parameters:
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/envelope"
      - description: Date and time that specifies the starting point for the range
          of log messages to return. This resource expresses this value in the number
          of seconds that have elapsed since the [UNIX epoch](https://en.wikipedia.org/wiki/Unix_time).
        in: query
        name: startDate
        schema:
          minimum: 1199145600
          type: integer
          format: int64
          example: 1636481348
      - description: Date and time that specifies the end point for the range of log
          messages to return. This resource expresses this value in the number of
          seconds that have elapsed since the [UNIX epoch](https://en.wikipedia.org/wiki/Unix_time).
        in: query
        name: endDate
        schema:
          minimum: 1199145600
          type: integer
          format: int64
          example: 1636481348
      - description: Human-readable label that identifies the cluster that contains
          the collection for which you want to return the query logs from one online
          archive.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Flag that indicates whether to download logs for queries against
          your online archive only or both your online archive and cluster.
        in: query
        name: archiveOnly
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: OK
          content:
            application/gzip:
              schema:
                type: string
                description: This resource downloads a compressed log file to your
                  current working directory. You can specify its name using the `--output`
                  option or use the default filename using the `-OJ` option. The default
                  filename varies based on whether you download logs for queries of
                  your online archive only or both your online archive and cluster.
                format: binary
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Download Online Archive Query Logs
      tags:
      - Online Archive
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Online-Archive/operation/downloadOnlineArchiveQueryLogs
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/onlineArchives/{archiveId}":
    delete:
      description: Removes one online archive. This archive stores data from one cluster
        within one project. To use this resource, the requesting Service Account or
        API Key must have the Project Data Access Admin role.
      externalDocs:
        description: Online Archive
        url: https://docs.atlas.mongodb.com/online-archive/manage-online-archive/#std-label-manage-online-archive
      operationId: deleteOnlineArchive
      parameters:
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the online
          archive to delete.
        in: path
        name: archiveId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      - description: Human-readable label that identifies the cluster that contains
          the collection from which you want to remove an online archive.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '204':
          description: This endpoint does not return a response body.
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Online Archive
      tags:
      - Online Archive
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Online-Archive/operation/deleteOnlineArchive
    get:
      description: Returns one online archive for one cluster. This archive stores
        data from one cluster within one project. To use this resource, the requesting
        Service Account or API Key must have the Project Read Only role.
      externalDocs:
        description: Online Archive
        url: https://docs.atlas.mongodb.com/online-archive/manage-online-archive/#std-label-manage-online-archive
      operationId: getOnlineArchive
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the online
          archive to return.
        in: path
        name: archiveId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      - description: Human-readable label that identifies the cluster that contains
          the specified collection from which Application created the online archive.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/BackupOnlineArchive"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Online Archive
      tags:
      - Online Archive
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Online-Archive/operation/getOnlineArchive
    patch:
      description: Updates, pauses, or resumes one online archive. This archive stores
        data from one cluster within one project. To use this resource, the requesting
        Service Account or API Key must have the Project Data Access Admin role.
      externalDocs:
        description: Online Archive
        url: https://docs.atlas.mongodb.com/online-archive/manage-online-archive/#std-label-manage-online-archive
      operationId: updateOnlineArchive
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the online
          archive to update.
        in: path
        name: archiveId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      - description: Human-readable label that identifies the cluster that contains
          the specified collection from which Application created the online archive.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/BackupOnlineArchive"
        description: Updates, pauses, or resumes one online archive.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/BackupOnlineArchive"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Online Archive
      tags:
      - Online Archive
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Online-Archive/operation/updateOnlineArchive
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/outageSimulation":
    delete:
      description: Ends a cluster outage simulation.
      externalDocs:
        description: Cluster Outage Simulation
        url: https://dochub.mongodb.org/core/test-regional-outage
      operationId: endOutageSimulation
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the cluster that is undergoing
          outage simulation.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ClusterOutageSimulation"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: End One Outage Simulation
      tags:
      - Cluster Outage Simulation
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cluster-Outage-Simulation/operation/endOutageSimulation
    get:
      description: Returns one outage simulation for one cluster.
      externalDocs:
        description: Cluster Outage Simulation
        url: https://dochub.mongodb.org/core/test-regional-outage
      operationId: getOutageSimulation
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the cluster that is undergoing
          outage simulation.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ClusterOutageSimulation"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Outage Simulation
      tags:
      - Cluster Outage Simulation
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cluster-Outage-Simulation/operation/getOutageSimulation
    post:
      description: Starts a cluster outage simulation.
      externalDocs:
        description: Cluster Outage Simulation
        url: https://dochub.mongodb.org/core/test-regional-outage
      operationId: startOutageSimulation
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the cluster to undergo an
          outage simulation.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/ClusterOutageSimulation"
        description: Describes the outage simulation.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ClusterOutageSimulation"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Start One Outage Simulation
      tags:
      - Cluster Outage Simulation
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cluster-Outage-Simulation/operation/startOutageSimulation
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/processArgs":
    get:
      description: Returns the advanced configuration details for one cluster in the
        specified project. Clusters contain a group of hosts that maintain the same
        data set. Advanced configuration details include the read/write concern, index
        and oplog limits, and other database settings. This feature isn't available
        for `M0` free clusters, `M2` and `M5` shared-tier clusters, flex clusters,
        or serverless clusters. To use this resource, the requesting Service Account
        or API Key must have the Project Read Only role.
      externalDocs:
        description: Global Clusters
        url: https://www.mongodb.com/docs/atlas/global-clusters/
      operationId: getClusterAdvancedConfiguration
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ClusterDescriptionProcessArgs"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Advanced Configuration Options for One Cluster
      tags:
      - Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Clusters/operation/getClusterAdvancedConfiguration
    patch:
      description: Updates the advanced configuration details for one cluster in the
        specified project. Clusters contain a group of hosts that maintain the same
        data set. Advanced configuration details include the read/write concern, index
        and oplog limits, and other database settings. To use this resource, the requesting
        Service Account or API Key must have the Project Cluster Manager role. This
        feature isn't available for `M0` free clusters, `M2` and `M5` shared-tier
        clusters, flex clusters, or serverless clusters.
      externalDocs:
        description: Global Clusters
        url: https://www.mongodb.com/docs/atlas/global-clusters/
      operationId: updateClusterAdvancedConfiguration
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/ClusterDescriptionProcessArgs"
        description: Advanced configuration details to add for one cluster in the
          specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ClusterDescriptionProcessArgs"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update Advanced Configuration Options for One Cluster
      tags:
      - Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Clusters/operation/updateClusterAdvancedConfiguration
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/restartPrimaries":
    post:
      description: Starts a failover test for the specified cluster in the specified
        project. Clusters contain a group of hosts that maintain the same data set.
        A failover test checks how MongoDB Cloud handles the failure of the cluster's
        primary node. During the test, MongoDB Cloud shuts down the primary node and
        elects a new primary. To use this resource, the requesting Service Account
        or API Key must have the Project Cluster Manager role.
      operationId: testLegacyFailover
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Test Failover for One Cluster
      tags:
      - Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Clusters/operation/testLegacyFailover
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/restoreJobs":
    get:
      deprecated: true
      description: |-
        Returns all legacy backup restore jobs for one cluster in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role.

         Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the Cloud Backup documentation. If you use the `BATCH-ID` query parameter, you can retrieve all restore jobs in the specified batch. When creating a restore job for a sharded cluster, MongoDB Cloud creates a separate job for each shard, plus another for the config server. Each of those jobs are part of a batch. However, a batch can't include a restore job for a replica set.
      externalDocs:
        description: Cloud Backup Documentation
        url: https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule
      operationId: listLegacyBackupRestoreJobs
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the batch
          of restore jobs to return. Timestamp in ISO 8601 date and time format in
          UTC when creating a restore job for a sharded cluster, Application creates
          a separate job for each shard, plus another for the config host. Each of
          these jobs comprise one batch. A restore job for a replica set can't be
          part of a batch.
        in: query
        name: batchId
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      - description: Human-readable label that identifies the cluster with the snapshot
          you want to return.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedRestoreJobView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Legacy Backup Restore Jobs
      tags:
      - Legacy Backup
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Legacy-Backup/operation/listLegacyBackupRestoreJobs
    post:
      deprecated: true
      description: Restores one legacy backup for one cluster in the specified project.
        To use this resource, the requesting Service Account or API Key must have
        the Project Owner role. Effective 23 March 2020, all new clusters can use
        only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to
        cloud backup if it is currently set to legacy backup. After this upgrade,
        all your existing legacy backup snapshots remain available. They expire over
        time in accordance with your retention policy. Your backup policy resets to
        the default schedule. If you had a custom backup policy in place with legacy
        backups, you must re-create it with the procedure outlined in the Cloud Backup
        documentation. This endpoint doesn't support creating checkpoint restore jobs
        for sharded clusters, or creating restore jobs for queryable backup snapshots.
        If you create an automated restore job by specifying `delivery.methodName`
        of `AUTOMATED_RESTORE` in your request body, MongoDB Cloud removes all existing
        data on the target cluster prior to the restore.
      externalDocs:
        description: Cloud Backup Documentation
        url: https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule
      operationId: createLegacyBackupRestoreJob
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster with the snapshot
          you want to return.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/BackupRestoreJob"
        description: Legacy backup to restore to one cluster in the specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedRestoreJobView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Legacy Backup Restore Job
      tags:
      - Legacy Backup
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Legacy-Backup/operation/createLegacyBackupRestoreJob
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/restoreJobs/{jobId}":
    get:
      deprecated: true
      description: |-
        Returns one legacy backup restore job for one cluster in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role.

         Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the Cloud Backup documentation.
      externalDocs:
        description: Cloud Backup Documentation
        url: https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule
      operationId: getLegacyBackupRestoreJob
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster with the snapshot
          you want to return.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the restore
          job.
        in: path
        name: jobId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/BackupRestoreJob"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Legacy Backup Restore Job
      tags:
      - Legacy Backup
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Legacy-Backup/operation/getLegacyBackupRestoreJob
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/snapshotSchedule":
    get:
      deprecated: true
      description: |-
        Returns the snapshot schedule for one cluster in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role.

         Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the Cloud Backup documentation.
      externalDocs:
        description: Cloud Backup Documentation
        url: https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule
      operationId: getLegacySnapshotSchedule
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster with the snapshot
          you want to return.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ApiAtlasSnapshotScheduleView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Snapshot Schedule
      tags:
      - Legacy Backup
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Legacy-Backup/operation/getLegacySnapshotSchedule
    patch:
      deprecated: true
      description: |-
        Updates the snapshot schedule for one cluster in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role.

         Effective 23 March 2020, all new clusters can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades to cloud backup if it is currently set to legacy backup. After this upgrade, all your existing legacy backup snapshots remain available. They expire over time in accordance with your retention policy. Your backup policy resets to the default schedule. If you had a custom backup policy in place with legacy backups, you must re-create it with the procedure outlined in the Cloud Backup documentation.
      externalDocs:
        description: Cloud Backup Documentation
        url: https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule
      operationId: updateLegacySnapshotSchedule
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the cluster with the snapshot
          you want to return.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/ApiAtlasSnapshotScheduleView"
        description: Update the snapshot schedule for one cluster in the specified
          project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ApiAtlasSnapshotScheduleView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update Snapshot Schedule for One Cluster
      tags:
      - Legacy Backup
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Legacy-Backup/operation/updateLegacySnapshotSchedule
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/snapshots":
    get:
      deprecated: true
      description: Returns all legacy backup snapshots for one cluster in the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Read Only role. Effective 23 March 2020, all new clusters
        can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades
        to cloud backup if it is currently set to legacy backup. After this upgrade,
        all your existing legacy backup snapshots remain available. They expire over
        time in accordance with your retention policy. Your backup policy resets to
        the default schedule. If you had a custom backup policy in place with legacy
        backups, you must re-create it with the procedure outlined in the Cloud Backup
        documentation.
      externalDocs:
        description: Cloud Backup Documentation
        url: https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule
      operationId: listLegacySnapshots
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Human-readable label that specifies whether to return only completed,
          incomplete, or all snapshots. By default, MongoDB Cloud only returns completed
          snapshots.
        in: query
        name: completed
        schema:
          type: string
          enum:
          - all
          - 'true'
          - 'false'
          default: 'true'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedSnapshotView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Legacy Backup Snapshots
      tags:
      - Legacy Backup
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Legacy-Backup/operation/listLegacySnapshots
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/snapshots/{snapshotId}":
    delete:
      deprecated: true
      description: Removes one legacy backup snapshot for one cluster in the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Owner role. Effective 23 March 2020, all new clusters can
        use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades
        to cloud backup if it is currently set to legacy backup. After this upgrade,
        all your existing legacy backup snapshots remain available. They expire over
        time in accordance with your retention policy. Your backup policy resets to
        the default schedule. If you had a custom backup policy in place with legacy
        backups, you must re-create it with the procedure outlined in the Cloud Backup
        documentation.
      externalDocs:
        description: Cloud Backup Documentation
        url: https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule
      operationId: deleteLegacySnapshot
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the desired
          snapshot.
        in: path
        name: snapshotId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '204':
          description: This endpoint does not return a response body.
          content:
            application/json: {}
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Legacy Backup Snapshot
      tags:
      - Legacy Backup
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Legacy-Backup/operation/deleteLegacySnapshot
    get:
      deprecated: true
      description: Returns one legacy backup snapshot for one cluster in the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Read Only role. Effective 23 March 2020, all new clusters
        can use only Cloud Backups. When you upgrade to 4.2, your backup system upgrades
        to cloud backup if it is currently set to legacy backup. After this upgrade,
        all your existing legacy backup snapshots remain available. They expire over
        time in accordance with your retention policy. Your backup policy resets to
        the default schedule. If you had a custom backup policy in place with legacy
        backups, you must re-create it with the procedure outlined in the Cloud Backup
        documentation.
      externalDocs:
        description: Cloud Backup Documentation
        url: https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule
      operationId: getLegacySnapshot
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the desired
          snapshot.
        in: path
        name: snapshotId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/BackupSnapshot"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Legacy Backup Snapshot
      tags:
      - Legacy Backup
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Legacy-Backup/operation/getLegacySnapshot
    patch:
      deprecated: true
      description: Changes the expiration date for one legacy backup snapshot for
        one cluster in the specified project. To use this resource, the requesting
        Service Account or API Key must have the Project Owner role. Effective 23
        March 2020, all new clusters can use only Cloud Backups. When you upgrade
        to 4.2, your backup system upgrades to cloud backup if it is currently set
        to legacy backup. After this upgrade, all your existing legacy backup snapshots
        remain available. They expire over time in accordance with your retention
        policy. Your backup policy resets to the default schedule. If you had a custom
        backup policy in place with legacy backups, you must re-create it with the
        procedure outlined in the Cloud Backup documentation.
      externalDocs:
        description: Cloud Backup Documentation
        url: https://www.mongodb.com/docs/atlas/backup/cloud-backup/scheduling/#std-label-cloud-provider-backup-schedule
      operationId: updateLegacySnapshotRetention
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the desired
          snapshot.
        in: path
        name: snapshotId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/BackupSnapshot"
        description: Changes One Legacy Backup Snapshot Expiration.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/BackupSnapshot"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update Expiration Date for One Legacy Backup Snapshot
      tags:
      - Legacy Backup
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Legacy-Backup/operation/updateLegacySnapshotRetention
  "/api/atlas/v1.0/groups/{groupId}/clusters/{clusterName}/status":
    get:
      description: Returns the status of all changes that you made to the specified
        cluster in the specified project. Use this resource to check the progress
        MongoDB Cloud has made in processing your changes. The response does not include
        the deployment of new dedicated clusters. To use this resource, the requesting
        Service Account or API Key must have the Project Read Only role.
      operationId: getClusterStatus
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ClusterStatus"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Status of All Cluster Operations
      tags:
      - Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Clusters/operation/getClusterStatus
  "/api/atlas/v1.0/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz":
    get:
      description: 'Returns a compressed (.gz) log file that contains a range of log
        messages for the specified host for the specified project. MongoDB updates
        process and audit logs from the cluster backend infrastructure every five
        minutes. Logs are stored in chunks approximately five minutes in length, but
        this duration may vary. If you poll the API for log files, we recommend polling
        every five minutes even though consecutive polls could contain some overlapping
        logs. This feature isn''t available for `M0` free clusters, `M2`, `M5`, flex,
        or serverless clusters. To use this resource, the requesting Service Account
        or API Key must have the Project Data Access Read Only or higher role. The
        API does not support direct calls with the json response schema. You must
        request a gzip response schema using an accept header of the format: "Accept:
        application/vnd.atlas.YYYY-MM-DD+gzip".'
      operationId: downloadHostLogs
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Specifies the date and time for the ending point of the range
          of log messages to retrieve, in the number of seconds that have elapsed
          since the UNIX epoch. This value will default to 24 hours after the start
          date. If the start date is also unspecified, the value will default to the
          time of the request.
        in: query
        name: endDate
        schema:
          minimum: 1199145600
          type: integer
          format: int64
      - description: Human-readable label that identifies the host that stores the
          log files that you want to download.
        in: path
        name: hostName
        required: true
        schema:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?$"
          type: string
      - description: Human-readable label that identifies the log file that you want
          to return. To return audit logs, enable *Database Auditing* for the specified
          project.
        in: path
        name: logName
        required: true
        schema:
          type: string
          externalDocs:
            description: Set up Database Auditing
            url: https://docs.atlas.mongodb.com/database-auditing/
          enum:
          - mongodb
          - mongos
          - mongodb-audit-log
          - mongos-audit-log
      - description: Specifies the date and time for the starting point of the range
          of log messages to retrieve, in the number of seconds that have elapsed
          since the UNIX epoch. This value will default to 24 hours prior to the end
          date. If the end date is also unspecified, the value will default to 24
          hours prior to the time of the request.
        in: query
        name: startDate
        schema:
          minimum: 1199145600
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/gzip:
              schema:
                type: string
                description: Compressed (.gz) log file that contains a range of log
                  messages for the specified host for the specified project
                format: binary
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Download Logs for One Cluster Host in One Project
      tags:
      - Monitoring and Logs
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Monitoring-and-Logs/operation/downloadHostLogs
  "/api/atlas/v1.0/groups/{groupId}/containers":
    get:
      description: Returns details about all network peering containers in the specified
        project for the specified cloud provider. If you do not specify the cloud
        provider, MongoDB Cloud returns details about all network peering containers
        in the project for Amazon Web Services (AWS). To use this resource, the requesting
        Service Account or API Key must have the Project Read Only role.
      operationId: listPeeringContainerByCloudProvider
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Cloud service provider that serves the desired network peering
          containers.
        in: query
        name: providerName
        required: true
        schema:
          type: string
          enum:
          - AWS
          - AZURE
          - GCP
          default: AWS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedCloudProviderContainerView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Network Peering Containers in One Project for One Cloud
        Provider
      tags:
      - Network Peering
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Network-Peering/operation/listPeeringContainerByCloudProvider
    post:
      description: Creates one new network peering container in the specified project.
        MongoDB Cloud can deploy Network Peering connections in a network peering
        container. GCP can have one container per project. AWS and Azure can have
        one container per cloud provider region. To use this resource, the requesting
        Service Account or API Key must have the Project Owner role.
      operationId: createPeeringContainer
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/CloudProviderContainer"
        description: Creates one new network peering container in the specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/CloudProviderContainer"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Network Peering Container
      tags:
      - Network Peering
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Network-Peering/operation/createPeeringContainer
  "/api/atlas/v1.0/groups/{groupId}/containers/all":
    get:
      description: Returns details about all network peering containers in the specified
        project. Network peering containers contain network peering connections. To
        use this resource, the requesting Service Account or API Key must have the
        Project Read Only role.
      operationId: listPeeringContainers
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedCloudProviderContainerView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Network Peering Containers in One Project
      tags:
      - Network Peering
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Network-Peering/operation/listPeeringContainers
  "/api/atlas/v1.0/groups/{groupId}/containers/{containerId}":
    delete:
      description: Removes one network peering container in the specified project.
        To use this resource, the requesting Service Account or API Key must have
        the Project Owner role.
      operationId: deletePeeringContainer
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the MongoDB
          Cloud network container that you want to remove.
        in: path
        name: containerId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 32b6e34b3d91647abb20e7b8
      responses:
        '204':
          description: This endpoint does not return a response body.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Network Peering Container
      tags:
      - Network Peering
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Network-Peering/operation/deletePeeringContainer
    get:
      description: Returns details about one network peering container in one specified
        project. Network peering containers contain network peering connections. To
        use this resource, the requesting Service Account or API Key must have the
        Project Read Only role.
      operationId: getPeeringContainer
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the MongoDB
          Cloud network container.
        in: path
        name: containerId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 32b6e34b3d91647abb20e7b8
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/CloudProviderContainer"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Network Peering Container
      tags:
      - Network Peering
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Network-Peering/operation/getPeeringContainer
    patch:
      description: Updates the network details and labels of one specified network
        peering container in the specified project. To use this resource, the requesting
        Service Account or API Key must have the Project Owner role.
      operationId: updatePeeringContainer
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the MongoDB
          Cloud network container that you want to remove.
        in: path
        name: containerId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 32b6e34b3d91647abb20e7b8
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/CloudProviderContainer"
        description: Updates the network details and labels of one specified network
          peering container in the specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/CloudProviderContainer"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Network Peering Container
      tags:
      - Network Peering
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Network-Peering/operation/updatePeeringContainer
  "/api/atlas/v1.0/groups/{groupId}/customDBRoles/roles":
    get:
      description: Returns all custom roles for the specified project. To use this
        resource, the requesting Service Account or API Key must have the Project
        Read Only role.
      operationId: listCustomDatabaseRoles
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/UserCustomDBRole"
                x-xgen-IPA-exception:
                  xgen-IPA-124-array-max-items: Schema predates IPA validation.
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Custom Roles in One Project
      tags:
      - Custom Database Roles
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Custom-Database-Roles/operation/listCustomDatabaseRoles
    post:
      description: Creates one custom role in the specified project. To use this resource,
        the requesting Service Account or API Key must have the Project Owner role,
        Project Stream Processing Owner role, or the Project Database Access Admin
        role.
      operationId: createCustomDatabaseRole
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/UserCustomDBRole"
        description: Creates one custom role in the specified project.
        required: true
      responses:
        '202':
          description: Accepted
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/UserCustomDBRole"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Custom Role
      tags:
      - Custom Database Roles
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Custom-Database-Roles/operation/createCustomDatabaseRole
  "/api/atlas/v1.0/groups/{groupId}/customDBRoles/roles/{roleName}":
    delete:
      description: Removes one custom role from the specified project. You can't remove
        a custom role that would leave one or more child roles with no parent roles
        or actions. You also can't remove a custom role that would leave one or more
        database users without roles. To use this resource, the requesting Service
        Account or API Key must have the Project Owner role, Project Stream Processing
        Owner role, or the Project Database Access Admin role.
      operationId: deleteCustomDatabaseRole
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the role for the request.
          This name must be unique for this custom role in this project.
        in: path
        name: roleName
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Custom Role from One Project
      tags:
      - Custom Database Roles
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Custom-Database-Roles/operation/deleteCustomDatabaseRole
    get:
      description: Returns one custom role for the specified project. To use this
        resource, the requesting Service Account or API Key must have the Project
        Read Only role.
      operationId: getCustomDatabaseRole
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the role for the request.
          This name must be unique for this custom role in this project.
        in: path
        name: roleName
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/UserCustomDBRole"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Custom Role in One Project
      tags:
      - Custom Database Roles
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Custom-Database-Roles/operation/getCustomDatabaseRole
    patch:
      description: Updates one custom role in the specified project. To use this resource,
        the requesting Service Account or API Key must have the Project Owner role,
        the Project Stream Processing Owner role, or the Project Database Access Admin
        role.
      operationId: updateCustomDatabaseRole
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the role for the request.
          This name must beunique for this custom role in this project.
        in: path
        name: roleName
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/UpdateCustomDBRole"
        description: Updates one custom role in the specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/UserCustomDBRole"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Custom Role in One Project
      tags:
      - Custom Database Roles
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Custom-Database-Roles/operation/updateCustomDatabaseRole
  "/api/atlas/v1.0/groups/{groupId}/dataFederation":
    get:
      description: Returns the details of all federated database instances in the
        specified project. To use this resource, the requesting Service Account or
        API Key must have the Project Read Only or higher role.
      operationId: listFederatedDatabases
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/groupId"
      - description: Type of Federated Database Instances to return.
        in: query
        name: type
        schema:
          type: string
          enum:
          - USER
          - ONLINE_ARCHIVE
          default: USER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/DataLakeTenant"
                x-xgen-IPA-exception:
                  xgen-IPA-124-array-max-items: Schema predates IPA validation.
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Federated Database Instances in One Project
      tags:
      - Data Federation
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Federation/operation/listFederatedDatabases
    post:
      description: Creates one federated database instance in the specified project.
        To use this resource, the requesting Service Account or API Key must have
        the Project Owner or Project Charts Admin roles.
      operationId: createFederatedDatabase
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/groupId"
      - description: Flag that indicates whether this request should check if the
          requesting IAM role can read from the S3 bucket. AWS checks if the role
          can list the objects in the bucket before writing to it. Some IAM roles
          only need write permissions. This flag allows you to skip that check.
        in: query
        name: skipRoleValidation
        schema:
          type: boolean
          default: false
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/DataLakeTenant"
        description: Details to create one federated database instance in the specified
          project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DataLakeTenant"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Federated Database Instance in One Project
      tags:
      - Data Federation
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Federation/operation/createFederatedDatabase
  "/api/atlas/v1.0/groups/{groupId}/dataFederation/{tenantName}":
    delete:
      description: Removes one federated database instance from the specified project.
        To use this resource, the requesting Service Account or API Key must have
        the Project Owner or Project Charts Admin roles.
      operationId: deleteFederatedDatabase
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the federated database instance
          to remove.
        in: path
        name: tenantName
        required: true
        schema:
          type: string
      responses:
        '204':
          description: This endpoint does not return a response body.
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Federated Database Instance from One Project
      tags:
      - Data Federation
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Federation/operation/deleteFederatedDatabase
    get:
      description: Returns the details of one federated database instance within the
        specified project. To use this resource, the requesting Service Account or
        API Key must have the Project Read Only or Project Charts Admin roles.
      operationId: getFederatedDatabase
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the Federated Database to
          return.
        in: path
        name: tenantName
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DataLakeTenant"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Federated Database Instance in One Project
      tags:
      - Data Federation
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Federation/operation/getFederatedDatabase
    patch:
      description: Updates the details of one federated database instance in the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Owner or higher role.
      operationId: updateFederatedDatabase
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the federated database instance
          to update.
        in: path
        name: tenantName
        required: true
        schema:
          type: string
      - description: Flag that indicates whether this request should check if the
          requesting IAM role can read from the S3 bucket. AWS checks if the role
          can list the objects in the bucket before writing to it. Some IAM roles
          only need write permissions. This flag allows you to skip that check.
        in: query
        name: skipRoleValidation
        required: true
        schema:
          type: boolean
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/DataLakeTenant"
        description: Details of one Federated Database to update in the specified
          project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DataLakeTenant"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Federated Database Instance in One Project
      tags:
      - Data Federation
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Federation/operation/updateFederatedDatabase
  "/api/atlas/v1.0/groups/{groupId}/dataFederation/{tenantName}/limits":
    get:
      description: Returns query limits for a federated databases instance in the
        specified project. To use this resource, the requesting Service Account or
        API Key must have the Project Read Only role.
      operationId: returnFederatedDatabaseQueryLimits
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the federated database instance
          for which you want to retrieve query limits.
        in: path
        name: tenantName
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/DataFederationTenantQueryLimit"
                x-xgen-IPA-exception:
                  xgen-IPA-124-array-max-items: Schema predates IPA validation.
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Query Limits for One Federated Database Instance
      tags:
      - Data Federation
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Federation/operation/returnFederatedDatabaseQueryLimits
  "/api/atlas/v1.0/groups/{groupId}/dataFederation/{tenantName}/limits/{limitName}":
    delete:
      description: Deletes one query limit for one federated database instance. To
        use this resource, the requesting Service Account or API Key must have the
        Project Owner role.
      operationId: deleteOneDataFederationInstanceQueryLimit
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the federated database instance
          to which the query limit applies.
        in: path
        name: tenantName
        required: true
        schema:
          type: string
      - description: |
          Human-readable label that identifies this data federation instance limit.

          | Limit Name | Description | Default |
          | --- | --- | --- |
          | `bytesProcessed.query` | Limit on the number of bytes processed during a single data federation query | N/A |
          | `bytesProcessed.daily` | Limit on the number of bytes processed for the data federation instance for the current day | N/A |
          | `bytesProcessed.weekly` | Limit on the number of bytes processed for the data federation instance for the current week | N/A |
          | `bytesProcessed.monthly` | Limit on the number of bytes processed for the data federation instance for the current month | N/A |
        in: path
        name: limitName
        required: true
        schema:
          type: string
          enum:
          - bytesProcessed.query
          - bytesProcessed.daily
          - bytesProcessed.weekly
          - bytesProcessed.monthly
      responses:
        '204':
          description: This endpoint does not return a response body.
          content:
            application/json: {}
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Delete One Query Limit for One Federated Database Instance
      tags:
      - Data Federation
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Federation/operation/deleteOneDataFederationInstanceQueryLimit
    get:
      description: Returns the details of one query limit for the specified federated
        database instance in the specified project. To use this resource, the requesting
        Service Account or API Key must have the Project Read Only role.
      operationId: returnFederatedDatabaseQueryLimit
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the federated database instance
          to which the query limit applies.
        in: path
        name: tenantName
        required: true
        schema:
          type: string
      - description: |
          Human-readable label that identifies this data federation instance limit.

          | Limit Name | Description | Default |
          | --- | --- | --- |
          | `bytesProcessed.query` | Limit on the number of bytes processed during a single data federation query | N/A |
          | `bytesProcessed.daily` | Limit on the number of bytes processed for the data federation instance for the current day | N/A |
          | `bytesProcessed.weekly` | Limit on the number of bytes processed for the data federation instance for the current week | N/A |
          | `bytesProcessed.monthly` | Limit on the number of bytes processed for the data federation instance for the current month | N/A |
        in: path
        name: limitName
        required: true
        schema:
          type: string
          enum:
          - bytesProcessed.query
          - bytesProcessed.daily
          - bytesProcessed.weekly
          - bytesProcessed.monthly
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DataFederationTenantQueryLimit"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Federated Database Instance Query Limit for One Project
      tags:
      - Data Federation
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Federation/operation/returnFederatedDatabaseQueryLimit
    patch:
      description: Creates or updates one query limit for one federated database instance.
        To use this resource, the requesting Service Account or API Key must have
        the Project Owner role.
      operationId: createOneDataFederationQueryLimit
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the federated database instance
          to which the query limit applies.
        in: path
        name: tenantName
        required: true
        schema:
          type: string
      - description: |
          Human-readable label that identifies this data federation instance limit.

          | Limit Name | Description | Default |
          | --- | --- | --- |
          | `bytesProcessed.query` | Limit on the number of bytes processed during a single data federation query | N/A |
          | `bytesProcessed.daily` | Limit on the number of bytes processed for the data federation instance for the current day | N/A |
          | `bytesProcessed.weekly` | Limit on the number of bytes processed for the data federation instance for the current week | N/A |
          | `bytesProcessed.monthly` | Limit on the number of bytes processed for the data federation instance for the current month | N/A |
        in: path
        name: limitName
        required: true
        schema:
          type: string
          enum:
          - bytesProcessed.query
          - bytesProcessed.daily
          - bytesProcessed.weekly
          - bytesProcessed.monthly
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/DataFederationTenantQueryLimit"
        description: Creates or updates one query limit for one federated database
          instance.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DataFederationTenantQueryLimit"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Configure One Query Limit for One Federated Database Instance
      tags:
      - Data Federation
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Federation/operation/createOneDataFederationQueryLimit
  "/api/atlas/v1.0/groups/{groupId}/dataFederation/{tenantName}/queryLogs.gz":
    get:
      description: 'Downloads the query logs for the specified federated database
        instance. To use this resource, the requesting Service Account or API Key
        must have the Project Owner or Project Data Access Read Write roles. The API
        does not support direct calls with the json response schema. You must request
        a gzip response schema using an accept header of the format: "Accept: application/gzip".'
      operationId: downloadFederatedDatabaseQueryLogs
      parameters:
      - "$ref": "#/components/parameters/groupId"
      - description: Timestamp that specifies the end point for the range of log messages
          to download.  MongoDB Cloud expresses this timestamp in the number of seconds
          that have elapsed since the UNIX epoch.
        in: query
        name: endDate
        schema:
          pattern: '1199145600'
          type: integer
          format: int64
          example: 1636481348
      - description: Timestamp that specifies the starting point for the range of
          log messages to download. MongoDB Cloud expresses this timestamp in the
          number of seconds that have elapsed since the UNIX epoch.
        in: query
        name: startDate
        schema:
          pattern: '1199145600'
          type: integer
          format: int64
          example: 1636466948
      - description: Human-readable label that identifies the federated database instance
          for which you want to download query logs.
        in: path
        name: tenantName
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/gzip:
              schema:
                type: string
                description: Compressed archive labeled `queryLogs.gz` downloads
                format: binary
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Download Query Logs for One Federated Database Instance
      tags:
      - Data Federation
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Federation/operation/downloadFederatedDatabaseQueryLogs
  "/api/atlas/v1.0/groups/{groupId}/databaseUsers":
    get:
      description: Returns all database users that belong to the specified project.
        To use this resource, the requesting Service Account or API Key must have
        the Project Read Only role.
      operationId: listDatabaseUsers
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedApiAtlasDatabaseUserView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Database Users in One Project
      tags:
      - Database Users
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Database-Users/operation/listDatabaseUsers
    post:
      description: Creates one database user in the specified project. This MongoDB
        Cloud supports a maximum of 100 database users per project. If you require
        more than 100 database users on a project, contact Support. To use this resource,
        the requesting Service Account or API Key must have the Project Owner role,
        the Project Charts Admin role, Project Stream Processing Owner role, or the
        Project Database Access Admin role.
      externalDocs:
        description: Contact MongoDB Support
        url: https://cloud.mongodb.com/support
      operationId: createDatabaseUser
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/CloudDatabaseUser"
            examples:
              AWS IAM Authentication:
                description: AWS IAM Authentication
                value:
                  databaseName: "$external"
                  awsIAMType: USER
                  roles:
                  - databaseName: sales
                    roleName: readWrite
                  - databaseName: marketing
                    roleName: read
                  scopes:
                  - name: myCluster
                    type: CLUSTER
                  groupId: 32b6e34b3d91647abb20e7b8
                  username: arn:aws:iam::358363220050:user/mongodb-aws-iam-auth-test-user
              LDAP Authentication:
                description: LDAP Authentication
                value:
                  databaseName: admin
                  ldapAuthType: GROUP
                  roles:
                  - databaseName: sales
                    roleName: readWrite
                  - databaseName: marketing
                    roleName: read
                  scopes:
                  - name: myCluster
                    type: CLUSTER
                  groupId: 32b6e34b3d91647abb20e7b8
                  username: CN=marketing,OU=groups,DC=example,DC=com
              OIDC Workforce Federated Authentication:
                description: OIDC Workforce Federated Authentication
                value:
                  databaseName: admin
                  oidcAuthType: IDP_GROUP
                  roles:
                  - databaseName: sales
                    roleName: readWrite
                  - databaseName: marketing
                    roleName: read
                  scopes:
                  - name: myCluster
                    type: CLUSTER
                  groupId: 32b6e34b3d91647abb20e7b8
                  username: 5dd7496c7a3e5a648454341c/sales
              OIDC Workload Federated Authentication:
                description: OIDC Workload Federated Authentication
                value:
                  databaseName: "$external"
                  oidcAuthType: USER
                  roles:
                  - databaseName: sales
                    roleName: readWrite
                  - databaseName: marketing
                    roleName: read
                  scopes:
                  - name: myCluster
                    type: CLUSTER
                  groupId: 32b6e34b3d91647abb20e7b8
                  username: 5dd7496c7a3e5a648454341c/sales
              SCRAM-SHA Authentication:
                description: SCRAM-SHA Authentication
                value:
                  databaseName: admin
                  password: changeme123
                  roles:
                  - databaseName: sales
                    roleName: readWrite
                  - databaseName: marketing
                    roleName: read
                  scopes:
                  - name: myCluster
                    type: CLUSTER
                  groupId: 32b6e34b3d91647abb20e7b8
                  username: david
              X509 Authentication:
                description: X509 Authentication
                value:
                  databaseName: "$external"
                  x509Type: CUSTOMER
                  roles:
                  - databaseName: sales
                    roleName: readWrite
                  - databaseName: marketing
                    roleName: read
                  scopes:
                  - name: myCluster
                    type: CLUSTER
                  groupId: 32b6e34b3d91647abb20e7b8
                  username: CN=david@example.com,OU=users,DC=example,DC=com
        description: Creates one database user in the specified project.
        required: true
      responses:
        '201':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/CloudDatabaseUser"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Database User in One Project
      tags:
      - Database Users
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Database-Users/operation/createDatabaseUser
  "/api/atlas/v1.0/groups/{groupId}/databaseUsers/{databaseName}/{username}":
    delete:
      description: Removes one database user from the specified project. To use this
        resource, the requesting Service Account or API Key must have the Project
        Owner role, the Project Stream Processing Owner role, or the Project Database
        Access Admin role.
      operationId: deleteDatabaseUser
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: The database against which the database user authenticates. Database
          users must provide both a username and authentication database to log into
          MongoDB. If the user authenticates with AWS IAM, x.509, LDAP, or OIDC Workload
          this value should be `$external`. If the user authenticates with SCRAM-SHA
          or OIDC Workforce, this value should be `admin`.
        in: path
        name: databaseName
        required: true
        schema:
          type: string
      - description: |
          Human-readable label that represents the user that authenticates to MongoDB. The format of this label depends on the method of authentication:

          | Authentication Method | Parameter Needed | Parameter Value | username Format |
          |---|---|---|---|
          | AWS IAM | `awsIAMType` | `ROLE` | <abbr title="Amazon Resource Name">ARN</abbr> |
          | AWS IAM | `awsIAMType` | `USER` | <abbr title="Amazon Resource Name">ARN</abbr> |
          | x.509 | `x509Type` | `CUSTOMER` | [RFC 2253](https://tools.ietf.org/html/2253) Distinguished Name |
          | x.509 | `x509Type` | `MANAGED` | [RFC 2253](https://tools.ietf.org/html/2253) Distinguished Name |
          | LDAP | `ldapAuthType` | `USER` | [RFC 2253](https://tools.ietf.org/html/2253) Distinguished Name |
          | LDAP | `ldapAuthType` | `GROUP` | [RFC 2253](https://tools.ietf.org/html/2253) Distinguished Name |
          | OIDC Workforce | `oidcAuthType` | `IDP_GROUP` | Atlas OIDC IdP ID (found in federation settings), followed by a '/', followed by the IdP group name |
          | OIDC Workload | `oidcAuthType` | `USER` | Atlas OIDC IdP ID (found in federation settings), followed by a '/', followed by the IdP user name |
          | SCRAM-SHA | `awsIAMType`, `x509Type`, `ldapAuthType`, `oidcAuthType` | `NONE` | Alphanumeric string |
        in: path
        name: username
        required: true
        schema:
          type: string
          example: 'SCRAM-SHA: dylan or AWS IAM: arn:aws:iam::123456789012:user/sales/enterprise/DylanBloggs
            or x.509/LDAP: CN=Dylan Bloggs,OU=Enterprise,OU=Sales,DC=Example,DC=COM
            or OIDC: IdPIdentifier/IdPGroupName'
      responses:
        '204':
          description: This endpoint does not return a response body.
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Database User from One Project
      tags:
      - Database Users
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Database-Users/operation/deleteDatabaseUser
    get:
      description: Returns one database user that belong to the specified project.
        To use this resource, the requesting Service Account or API Key must have
        the Project Read Only role.
      operationId: getDatabaseUser
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: The database against which the database user authenticates. Database
          users must provide both a username and authentication database to log into
          MongoDB. If the user authenticates with AWS IAM, x.509, LDAP, or OIDC Workload
          this value should be `$external`. If the user authenticates with SCRAM-SHA
          or OIDC Workforce, this value should be `admin`.
        in: path
        name: databaseName
        required: true
        schema:
          type: string
      - description: |
          Human-readable label that represents the user that authenticates to MongoDB. The format of this label depends on the method of authentication:

          | Authentication Method | Parameter Needed | Parameter Value | username Format |
          |---|---|---|---|
          | AWS IAM | `awsIAMType` | `ROLE` | <abbr title="Amazon Resource Name">ARN</abbr> |
          | AWS IAM | `awsIAMType` | `USER` | <abbr title="Amazon Resource Name">ARN</abbr> |
          | x.509 | `x509Type` | `CUSTOMER` | [RFC 2253](https://tools.ietf.org/html/2253) Distinguished Name |
          | x.509 | `x509Type` | `MANAGED` | [RFC 2253](https://tools.ietf.org/html/2253) Distinguished Name |
          | LDAP | `ldapAuthType` | `USER` | [RFC 2253](https://tools.ietf.org/html/2253) Distinguished Name |
          | LDAP | `ldapAuthType` | `GROUP` | [RFC 2253](https://tools.ietf.org/html/2253) Distinguished Name |
          | OIDC Workforce | `oidcAuthType` | `IDP_GROUP` | Atlas OIDC IdP ID (found in federation settings), followed by a '/', followed by the IdP group name |
          | OIDC Workload | `oidcAuthType` | `USER` | Atlas OIDC IdP ID (found in federation settings), followed by a '/', followed by the IdP user name |
          | SCRAM-SHA | `awsIAMType`, `x509Type`, `ldapAuthType`, `oidcAuthType` | `NONE` | Alphanumeric string |
        in: path
        name: username
        required: true
        schema:
          type: string
          example: 'SCRAM-SHA: dylan or AWS IAM: arn:aws:iam::123456789012:user/sales/enterprise/DylanBloggs
            or x.509/LDAP: CN=Dylan Bloggs,OU=Enterprise,OU=Sales,DC=Example,DC=COM
            or OIDC: IdPIdentifier/IdPGroupName'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/CloudDatabaseUser"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Database User from One Project
      tags:
      - Database Users
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Database-Users/operation/getDatabaseUser
    patch:
      description: Updates one database user that belongs to the specified project.
        To use this resource, the requesting Service Account or API Key must have
        the Project Owner role, Project Charts Admin role, Project Stream Processing
        Owner role, or the Project Database Access Admin role.
      operationId: updateDatabaseUser
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: The database against which the database user authenticates. Database
          users must provide both a username and authentication database to log into
          MongoDB. If the user authenticates with AWS IAM, x.509, LDAP, or OIDC Workload
          this value should be `$external`. If the user authenticates with SCRAM-SHA
          or OIDC Workforce, this value should be `admin`.
        in: path
        name: databaseName
        required: true
        schema:
          type: string
      - description: |
          Human-readable label that represents the user that authenticates to MongoDB. The format of this label depends on the method of authentication:

          | Authentication Method | Parameter Needed | Parameter Value | username Format |
          |---|---|---|---|
          | AWS IAM | `awsIAMType` | `ROLE` | <abbr title="Amazon Resource Name">ARN</abbr> |
          | AWS IAM | `awsIAMType` | `USER` | <abbr title="Amazon Resource Name">ARN</abbr> |
          | x.509 | `x509Type` | `CUSTOMER` | [RFC 2253](https://tools.ietf.org/html/2253) Distinguished Name |
          | x.509 | `x509Type` | `MANAGED` | [RFC 2253](https://tools.ietf.org/html/2253) Distinguished Name |
          | LDAP | `ldapAuthType` | `USER` | [RFC 2253](https://tools.ietf.org/html/2253) Distinguished Name |
          | LDAP | `ldapAuthType` | `GROUP` | [RFC 2253](https://tools.ietf.org/html/2253) Distinguished Name |
          | OIDC Workforce | `oidcAuthType` | `IDP_GROUP` | Atlas OIDC IdP ID (found in federation settings), followed by a '/', followed by the IdP group name |
          | OIDC Workload | `oidcAuthType` | `USER` | Atlas OIDC IdP ID (found in federation settings), followed by a '/', followed by the IdP user name |
          | SCRAM-SHA | `awsIAMType`, `x509Type`, `ldapAuthType`, `oidcAuthType` | `NONE` | Alphanumeric string |
        in: path
        name: username
        required: true
        schema:
          type: string
          example: 'SCRAM-SHA: dylan or AWS IAM: arn:aws:iam::123456789012:user/sales/enterprise/DylanBloggs
            or x.509/LDAP: CN=Dylan Bloggs,OU=Enterprise,OU=Sales,DC=Example,DC=COM
            or OIDC: IdPIdentifier/IdPGroupName'
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/CloudDatabaseUser"
        description: Updates one database user that belongs to the specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/CloudDatabaseUser"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Database User in One Project
      tags:
      - Database Users
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Database-Users/operation/updateDatabaseUser
  "/api/atlas/v1.0/groups/{groupId}/databaseUsers/{username}/certs":
    get:
      description: Returns all unexpired X.509 certificates for the specified MongoDB
        user. This MongoDB user belongs to one project. Atlas manages these certificates
        and the MongoDB user. To use this resource, the requesting Service Account
        or API Key must have the Project Read Only role.
      operationId: listDatabaseUserCertificates
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that represents the MongoDB database user
          account whose certificates you want to return.
        in: path
        name: username
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedUserCertView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All X.509 Certificates Assigned to One Database User
      tags:
      - X.509 Authentication
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/X.509-Authentication/operation/listDatabaseUserCertificates
    post:
      description: |-
        Generates one X.509 certificate for the specified MongoDB user. Atlas manages the certificate and MongoDB user that belong to one project. To use this resource, the requesting Service Account or API Key must have the Project Owner role.

        To get MongoDB Cloud to generate a managed certificate for a database user, set `"x509Type" : "MANAGED"` on the desired MongoDB Database User.

        If you are managing your own Certificate Authority (CA) in Self-Managed X.509 mode, you must generate certificates for database users using your own CA.
      externalDocs:
        description: Self-Managed X.509
        url: https://www.mongodb.com/docs/atlas/security-self-managed-x509/#std-label-self-managed-x509
      operationId: createDatabaseUserCertificate
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that represents the MongoDB database user
          account for whom to create a certificate.
        in: path
        name: username
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/UserCert"
        description: Generates one X.509 certificate for the specified MongoDB user.
        required: true
      responses:
        '201':
          description: This endpoint returns a PEM file with the certificate and private
            key.
          content:
            application/json:
              schema:
                type: string
                description: PEM file that contains the user's X.509 certificate and
                  private key.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One X.509 Certificate for One Database User
      tags:
      - X.509 Authentication
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/X.509-Authentication/operation/createDatabaseUserCertificate
  "/api/atlas/v1.0/groups/{groupId}/dbAccessHistory/clusters/{clusterName}":
    get:
      description: Returns the access logs of one cluster identified by the cluster's
        name. Access logs contain a list of authentication requests made against your
        cluster. You can't use this feature on tenant-tier clusters (M0, M2, M5).
        To use this resource, the requesting Service Account or API Key must have
        the Project Monitoring Admin role or the Project Database Access Admin role.
      externalDocs:
        description: Database Access History
        url: https://docs.atlas.mongodb.com/access-tracking/
      operationId: listAccessLogsByClusterName
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Flag that indicates whether the response returns the successful
          authentication attempts only.
        in: query
        name: authResult
        schema:
          type: boolean
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Date and time when to stop retrieving database history. If you
          specify **end**, you must also specify **start**. This parameter uses UNIX
          epoch time in milliseconds.
        in: query
        name: end
        schema:
          minimum: 1199145600000
          type: integer
          format: int64
      - description: One Internet Protocol address that attempted to authenticate
          with the database.
        in: query
        name: ipAddress
        schema:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
      - description: Maximum number of lines from the log to return.
        in: query
        name: nLogs
        schema:
          maximum: 20000
          minimum: 0
          type: integer
          format: int32
          default: 20000
      - description: Date and time when MongoDB Cloud begins retrieving database history.
          If you specify **start**, you must also specify **end**. This parameter
          uses UNIX epoch time in milliseconds.
        in: query
        name: start
        schema:
          minimum: 1199145600000
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/MongoDBAccessLogsList"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '429':
          "$ref": "#/components/responses/tooManyRequests"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Database Access History for One Cluster by Cluster Name
      tags:
      - Access Tracking
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Access-Tracking/operation/listAccessLogsByClusterName
  "/api/atlas/v1.0/groups/{groupId}/dbAccessHistory/processes/{hostname}":
    get:
      description: Returns the access logs of one cluster identified by the cluster's
        hostname. Access logs contain a list of authentication requests made against
        your clusters. You can't use this feature on tenant-tier clusters (M0, M2,
        M5). To use this resource, the requesting Service Account or API Key must
        have the Project Monitoring Admin role or the Project Database Access Admin
        role.
      externalDocs:
        description: Database Access History
        url: https://docs.atlas.mongodb.com/access-tracking/
      operationId: listAccessLogsByHostname
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Flag that indicates whether the response returns the successful
          authentication attempts only.
        in: query
        name: authResult
        schema:
          type: boolean
      - description: Date and time when to stop retrieving database history. If you
          specify **end**, you must also specify **start**. This parameter uses UNIX
          epoch time in milliseconds.
        in: query
        name: end
        schema:
          minimum: 1199145600000
          type: integer
          format: int64
      - description: Fully qualified domain name or IP address of the MongoDB host
          that stores the log files that you want to download.
        in: path
        name: hostname
        required: true
        schema:
          type: string
      - description: One Internet Protocol address that attempted to authenticate
          with the database.
        in: query
        name: ipAddress
        schema:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
      - description: Maximum number of lines from the log to return.
        in: query
        name: nLogs
        schema:
          maximum: 20000
          minimum: 0
          type: integer
          format: int32
          default: 20000
      - description: Date and time when MongoDB Cloud begins retrieving database history.
          If you specify **start**, you must also specify **end**. This parameter
          uses UNIX epoch time in milliseconds.
        in: query
        name: start
        schema:
          minimum: 1199145600000
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/MongoDBAccessLogsList"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '429':
          "$ref": "#/components/responses/tooManyRequests"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Database Access History for One Cluster by Hostname
      tags:
      - Access Tracking
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Access-Tracking/operation/listAccessLogsByHostname
  "/api/atlas/v1.0/groups/{groupId}/encryptionAtRest":
    get:
      description: |-
        Returns the configuration for encryption at rest using the keys you manage through your cloud provider. MongoDB Cloud encrypts all storage even if you don't use your own key management. This resource requires the requesting Service Account or API Key to have the Project Owner role.

        **LIMITED TO M10 OR GREATER:** MongoDB Cloud limits this feature to dedicated cluster tiers of M10 and greater.
      operationId: getEncryptionAtRest
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/groupId"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/EncryptionAtRest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Configuration for Encryption at Rest using Customer-Managed
        Keys for One Project
      tags:
      - Encryption at Rest using Customer Key Management
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/getEncryptionAtRest
    patch:
      description: |-
        Updates the configuration for encryption at rest using the keys you manage through your cloud provider. MongoDB Cloud encrypts all storage even if you don't use your own key management. This resource requires the requesting Service Account or API Key to have the Project Owner role. This feature isn't available for `M0` free clusters, `M2`, `M5`, or serverless clusters.

         After you configure at least one Encryption at Rest using a Customer Key Management provider for the MongoDB Cloud project, Project Owners can enable Encryption at Rest using Customer Key Management for each MongoDB Cloud cluster for which they require encryption. The Encryption at Rest using Customer Key Management provider doesn't have to match the cluster cloud service provider. MongoDB Cloud doesn't automatically rotate user-managed encryption keys. Defer to your preferred Encryption at Rest using Customer Key Management provider's documentation and guidance for best practices on key rotation. MongoDB Cloud automatically creates a 90-day key rotation alert when you configure Encryption at Rest using Customer Key Management using your Key Management in an MongoDB Cloud project. MongoDB Cloud encrypts all storage whether or not you use your own key management.
      operationId: updateEncryptionAtRest
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/groupId"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/EncryptionAtRest"
        description: |-
          Required parameters depend on whether someone has enabled Encryption at Rest using Customer Key Management:

          If you have enabled Encryption at Rest using Customer Key Management (CMK), Atlas requires all of the parameters for the desired encryption provider.

          - To use AWS Key Management Service (KMS), MongoDB Cloud requires all the fields in the `awsKms` object.
          - To use Azure Key Vault, MongoDB Cloud requires all the fields in the `azureKeyVault` object.
          - To use Google Cloud Key Management Service (KMS), MongoDB Cloud requires all the fields in the `googleCloudKms` object For authentication, you must provide either `serviceAccountKey` (static credentials) or `roleId` (service-account–based authentication) Once `roleId` is configured, `serviceAccountKey` is no longer supported.

           If you enabled Encryption at Rest using Customer Key Management, administrators can pass only the changed fields for the `awsKms`, `azureKeyVault`, or `googleCloudKms` object to update the configuration to this endpoint.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/EncryptionAtRest"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update Encryption at Rest Configuration for One Project
      tags:
      - Encryption at Rest using Customer Key Management
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Encryption-at-Rest-using-Customer-Key-Management/operation/updateEncryptionAtRest
  "/api/atlas/v1.0/groups/{groupId}/events":
    get:
      description: |-
        Returns events for the specified project. Events identify significant database, billing, or security activities or status changes. To use this resource, the requesting Service Account or API Key must have the Project Read Only role.

        This resource remains under revision and may change.
      operationId: listProjectEvents
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: query
        name: clusterNames
        schema:
          type: array
          items:
            pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        style: form
      - description: |-
          Category of incident recorded at this moment in time.

          **IMPORTANT**: The complete list of event type values changes frequently.
        in: query
        name: eventType
        schema:
          type: array
          items:
            "$ref": "#/components/schemas/EventTypeForNdsGroup"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
      - description: |-
          Category of event that you would like to exclude from query results, such as `CLUSTER_CREATED`

          **IMPORTANT**: Event type names change frequently. Verify that you specify the event type correctly by checking the complete list of event types.
        in: query
        name: excludedEventType
        schema:
          type: array
          items:
            "$ref": "#/components/schemas/EventTypeForNdsGroup"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
      - description: Flag that indicates whether to include the raw document in the
          output. The raw document contains additional meta information about the
          event.
        in: query
        name: includeRaw
        schema:
          type: boolean
          default: false
      - description: Date and time from when MongoDB Cloud stops returning events.
          This parameter uses the ISO 8601 timestamp format in UTC.
        in: query
        name: maxDate
        schema:
          type: string
          format: date-time
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      - description: Date and time from when MongoDB Cloud starts returning events.
          This parameter uses the ISO 8601 timestamp format in UTC.
        in: query
        name: minDate
        schema:
          type: string
          format: date-time
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/GroupPaginatedEventView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '429':
          "$ref": "#/components/responses/tooManyRequests"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Events from One Project
      tags:
      - Events
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Events/operation/listProjectEvents
  "/api/atlas/v1.0/groups/{groupId}/events/{eventId}":
    get:
      description: |-
        Returns one event for the specified project. Events identify significant database, billing, or security activities or status changes. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. Use the Return Events from One Project endpoint to retrieve all events to which the authenticated user has access.

        This resource remains under revision and may change.
      externalDocs:
        description: Return Events from One Project
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listProjectEvents
      operationId: getProjectEvent
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the event
          that you want to return.
        in: path
        name: eventId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      - description: Flag that indicates whether to include the raw document in the
          output. The raw document contains additional meta information about the
          event.
        in: query
        name: includeRaw
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/EventViewForNdsGroup"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Event from One Project
      tags:
      - Events
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Events/operation/getProjectEvent
  "/api/atlas/v1.0/groups/{groupId}/hosts/{processId}/fts/metrics":
    get:
      description: Returns all Atlas Search metric types available for one process
        in the specified project. You must have the Project Read Only or higher role
        to view the Atlas Search metric types.
      operationId: listMetricTypes
      parameters:
      - "$ref": "#/components/parameters/processId"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/envelope"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/CloudSearchMetrics"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '429':
          "$ref": "#/components/responses/tooManyRequests"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Atlas Search Metric Types for One Process
      tags:
      - Monitoring and Logs
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Monitoring-and-Logs/operation/listMetricTypes
  "/api/atlas/v1.0/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/measurements":
    get:
      description: Returns the Atlas Search index metrics within the specified time
        range for one namespace in the specified process.
      operationId: listIndexMetrics
      parameters:
      - "$ref": "#/components/parameters/processId"
      - "$ref": "#/components/parameters/databaseName"
      - "$ref": "#/components/parameters/collectionName"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/granularity"
      - "$ref": "#/components/parameters/period"
      - "$ref": "#/components/parameters/start"
      - "$ref": "#/components/parameters/end"
      - "$ref": "#/components/parameters/envelope"
      - description: List that contains the measurements that MongoDB Atlas reports
          for the associated data series.
        in: query
        name: metrics
        required: true
        schema:
          maxItems: 10
          uniqueItems: true
          type: array
          description: List that contains the measurements that MongoDB Atlas reports
            for the associated data series.
          items:
            type: string
            enum:
            - INDEX_SIZE_ON_DISK
            - NUMBER_OF_DELETES
            - NUMBER_OF_ERROR_QUERIES
            - NUMBER_OF_GETMORE_COMMANDS
            - NUMBER_OF_INDEX_FIELDS
            - NUMBER_OF_INSERTS
            - NUMBER_OF_SUCCESS_QUERIES
            - NUMBER_OF_UPDATES
            - REPLICATION_LAG
            - TOTAL_NUMBER_OF_QUERIES
        style: form
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/MeasurementsIndexes"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '429':
          "$ref": "#/components/responses/tooManyRequests"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Atlas Search Index Metrics for One Namespace
      tags:
      - Monitoring and Logs
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Monitoring-and-Logs/operation/listIndexMetrics
  "/api/atlas/v1.0/groups/{groupId}/hosts/{processId}/fts/metrics/indexes/{databaseName}/{collectionName}/{indexName}/measurements":
    get:
      description: Returns the Atlas Search metrics data series within the provided
        time range for one namespace and index name on the specified process. You
        must have the Project Read Only or higher role to view the Atlas Search metric
        types.
      operationId: getIndexMetrics
      parameters:
      - "$ref": "#/components/parameters/processId"
      - "$ref": "#/components/parameters/indexName"
      - "$ref": "#/components/parameters/databaseName"
      - "$ref": "#/components/parameters/collectionName"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/granularity"
      - "$ref": "#/components/parameters/period"
      - "$ref": "#/components/parameters/start"
      - "$ref": "#/components/parameters/end"
      - "$ref": "#/components/parameters/envelope"
      - description: List that contains the measurements that MongoDB Atlas reports
          for the associated data series.
        in: query
        name: metrics
        required: true
        schema:
          maxItems: 10
          uniqueItems: true
          type: array
          description: List that contains the measurements that MongoDB Atlas reports
            for the associated data series.
          items:
            type: string
            enum:
            - INDEX_SIZE_ON_DISK
            - NUMBER_OF_DELETES
            - NUMBER_OF_ERROR_QUERIES
            - NUMBER_OF_GETMORE_COMMANDS
            - NUMBER_OF_INDEX_FIELDS
            - NUMBER_OF_INSERTS
            - NUMBER_OF_SUCCESS_QUERIES
            - NUMBER_OF_UPDATES
            - REPLICATION_LAG
            - TOTAL_NUMBER_OF_QUERIES
        style: form
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/MeasurementsIndexes"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '429':
          "$ref": "#/components/responses/tooManyRequests"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Atlas Search Metrics for One Index in One Namespace
      tags:
      - Monitoring and Logs
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Monitoring-and-Logs/operation/getIndexMetrics
  "/api/atlas/v1.0/groups/{groupId}/hosts/{processId}/fts/metrics/measurements":
    get:
      description: Returns the Atlas Search hardware and status data series within
        the provided time range for one process in the specified project. You must
        have the Project Read Only or higher role to view the Atlas Search metric
        types.
      operationId: getMeasurements
      parameters:
      - "$ref": "#/components/parameters/processId"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/granularity"
      - "$ref": "#/components/parameters/period"
      - "$ref": "#/components/parameters/start"
      - "$ref": "#/components/parameters/end"
      - "$ref": "#/components/parameters/envelope"
      - description: List that contains the metrics that you want MongoDB Atlas to
          report for the associated data series. If you don't set this parameter,
          this resource returns all hardware and status metrics for the associated
          data series.
        in: query
        name: metrics
        required: true
        schema:
          maxItems: 10
          uniqueItems: true
          type: array
          description: List that contains the metrics that you want MongoDB Atlas
            to report for the associated data series. If you don't set this parameter,
            this resource returns all hardware and status metrics for the associated
            data series.
          items:
            type: string
            enum:
            - FTS_DISK_USAGE
            - FTS_PROCESS_CPU_KERNEL
            - FTS_PROCESS_CPU_USER
            - FTS_PROCESS_NORMALIZED_CPU_KERNEL
            - FTS_PROCESS_NORMALIZED_CPU_USER
            - FTS_PROCESS_RESIDENT_MEMORY
            - FTS_PROCESS_SHARED_MEMORY
            - FTS_PROCESS_VIRTUAL_MEMORY
            - JVM_CURRENT_MEMORY
            - JVM_MAX_MEMORY
            - PAGE_FAULTS
        style: form
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/MeasurementsNonIndex"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '429':
          "$ref": "#/components/responses/tooManyRequests"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Atlas Search Hardware and Status Metrics
      tags:
      - Monitoring and Logs
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Monitoring-and-Logs/operation/getMeasurements
  "/api/atlas/v1.0/groups/{groupId}/integrations":
    get:
      description: Returns the settings that permit integrations with all configured
        third-party services. These settings apply to all databases managed in one
        MongoDB Cloud project. To use this resource, the requesting Service Account
        or API Key must have the Project Read Only role.
      operationId: listThirdPartyIntegrations
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedIntegrationView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Active Third-Party Service Integrations
      tags:
      - Third-Party Integrations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Third-Party-Integrations/operation/listThirdPartyIntegrations
  "/api/atlas/v1.0/groups/{groupId}/integrations/{integrationType}":
    delete:
      description: Removes the settings that permit configuring one third-party service
        integration. These settings apply to all databases managed in one MongoDB
        Cloud project. If you delete an integration from a project, you remove that
        integration configuration only for that project. This action doesn't affect
        any other project or organization's configured `{INTEGRATION-TYPE}` integrations.
        To use this resource, the requesting Service Account or API Key must have
        the Organization Owner or Project Owner role.
      operationId: deleteThirdPartyIntegration
      parameters:
      - description: Human-readable label that identifies the service which you want
          to integrate with MongoDB Cloud.
        in: path
        name: integrationType
        required: true
        schema:
          title: Integration Type
          type: string
          enum:
          - PAGER_DUTY
          - SLACK
          - DATADOG
          - NEW_RELIC
          - OPS_GENIE
          - VICTOR_OPS
          - WEBHOOK
          - HIP_CHAT
          - PROMETHEUS
          - MICROSOFT_TEAMS
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '204':
          description: This endpoint does not return a response body.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Third-Party Service Integration
      tags:
      - Third-Party Integrations
      x-xgen-changelog:
        '2026-01-07': Log export to S3, Splunk, and Datadog is not supported by this
          API.
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Third-Party-Integrations/operation/deleteThirdPartyIntegration
    get:
      description: Returns the settings for configuring integration with one third-party
        service. These settings apply to all databases managed in one MongoDB Cloud
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Read Only role.
      operationId: getThirdPartyIntegration
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the service which you want
          to integrate with MongoDB Cloud.
        in: path
        name: integrationType
        required: true
        schema:
          title: Integration Type
          type: string
          enum:
          - PAGER_DUTY
          - SLACK
          - DATADOG
          - NEW_RELIC
          - OPS_GENIE
          - VICTOR_OPS
          - WEBHOOK
          - HIP_CHAT
          - PROMETHEUS
          - MICROSOFT_TEAMS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ThirdPartyIntegration"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Third-Party Service Integration
      tags:
      - Third-Party Integrations
      x-xgen-changelog:
        '2026-01-07': Log export to S3, Splunk, and Datadog is not supported by this
          API.
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Third-Party-Integrations/operation/getThirdPartyIntegration
    post:
      description: Adds the settings for configuring one third-party service integration.
        These settings apply to all databases managed in the specified MongoDB Cloud
        project. Each project can have only one configuration per `{INTEGRATION-TYPE}`.
        To use this resource, the requesting Service Account or API Key must have
        the Organization Owner or Project Owner role.
      operationId: createThirdPartyIntegration
      parameters:
      - description: Human-readable label that identifies the service which you want
          to integrate with MongoDB Cloud.
        in: path
        name: integrationType
        required: true
        schema:
          title: Integration Type
          type: string
          enum:
          - PAGER_DUTY
          - SLACK
          - DATADOG
          - NEW_RELIC
          - OPS_GENIE
          - VICTOR_OPS
          - WEBHOOK
          - HIP_CHAT
          - PROMETHEUS
          - MICROSOFT_TEAMS
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/ThirdPartyIntegration"
        description: Third-party integration that you want to configure for your project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedIntegrationView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Configure One Third-Party Service Integration
      tags:
      - Third-Party Integrations
      x-xgen-changelog:
        '2026-01-07': Log export to S3, Splunk, and Datadog is not supported by this
          API.
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Third-Party-Integrations/operation/createThirdPartyIntegration
    put:
      description: Updates the settings for configuring integration with one third-party
        service. These settings apply to all databases managed in one MongoDB Cloud
        project. To use this resource, the requesting Service Account or API Key must
        have the Organization Owner or Project Owner role.
      operationId: updateThirdPartyIntegration
      parameters:
      - description: Human-readable label that identifies the service which you want
          to integrate with MongoDB Cloud.
        in: path
        name: integrationType
        required: true
        schema:
          title: Integration Type
          type: string
          enum:
          - PAGER_DUTY
          - SLACK
          - DATADOG
          - NEW_RELIC
          - OPS_GENIE
          - VICTOR_OPS
          - WEBHOOK
          - HIP_CHAT
          - PROMETHEUS
          - MICROSOFT_TEAMS
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/ThirdPartyIntegration"
        description: Third-party integration that you want to configure for your project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedIntegrationView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Third-Party Service Integration
      tags:
      - Third-Party Integrations
      x-xgen-changelog:
        '2026-01-07': Log export to S3, Splunk, and Datadog is not supported by this
          API.
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Third-Party-Integrations/operation/updateThirdPartyIntegration
  "/api/atlas/v1.0/groups/{groupId}/invites":
    get:
      description: Returns all pending invitations to the specified project. To use
        this resource, the requesting Service Account or API Key must have the Project
        Owner role.
      operationId: listProjectInvitations
      parameters:
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - description: Email address of the user account invited to this project.
        in: query
        name: username
        schema:
          type: string
          format: email
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/GroupInvitation"
                x-xgen-IPA-exception:
                  xgen-IPA-124-array-max-items: Schema predates IPA validation.
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Project Invitations
      tags:
      - Projects
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Projects/operation/listProjectInvitations
    patch:
      description: Updates the details of one pending invitation to the specified
        project. To specify which invitation to update, provide the username of the
        invited user. To use this resource, the requesting Service Account or API
        Key must have the Project Owner role.
      operationId: updateProjectInvitation
      parameters:
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/GroupInvitationRequest"
        description: Updates the details of one pending invitation to the specified
          project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/GroupInvitation"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Project Invitation
      tags:
      - Projects
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Projects/operation/updateProjectInvitation
    post:
      description: Invites one MongoDB Cloud user to join the specified project. The
        MongoDB Cloud user must accept the invitation to access information within
        the specified project. To use this resource, the requesting Service Account
        or API Key must have the Project Owner role.
      operationId: createProjectInvitation
      parameters:
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/envelope"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/GroupInvitationRequest"
        description: Invites one MongoDB Cloud user to join the specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/GroupInvitation"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Invite One MongoDB Cloud User to One Project
      tags:
      - Projects
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Projects/operation/createProjectInvitation
  "/api/atlas/v1.0/groups/{groupId}/invites/{invitationId}":
    delete:
      description: 'Cancels one pending invitation sent to the specified MongoDB Cloud
        user to join a project. You can''t cancel an invitation that the user accepted.
        To use this resource, the requesting Service Account or API Key must have
        the Project Owner role. Note: deleting a project invitation does not delete
        an organization invitation even if they were created together.'
      operationId: deleteProjectInvitation
      parameters:
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/envelope"
      - description: Unique 24-hexadecimal digit string that identifies the invitation.
        in: path
        name: invitationId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '204':
          description: This endpoint does not return a response body.
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Project Invitation
      tags:
      - Projects
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Projects/operation/deleteProjectInvitation
    get:
      description: Returns the details of one pending invitation to the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Owner role.
      operationId: getProjectInvitation
      parameters:
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the invitation.
        in: path
        name: invitationId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/GroupInvitation"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Project Invitation
      tags:
      - Projects
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Projects/operation/getProjectInvitation
    patch:
      description: Updates the details of one pending invitation to the specified
        project. To specify which invitation to update, provide the unique identification
        string for that invitation. Use the Return All Project Invitations endpoint
        to retrieve IDs for all pending project invitations. To use this resource,
        the requesting Service Account or API Key must have the Project Owner role.
      operationId: updateProjectInvitationById
      parameters:
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/envelope"
      - description: Unique 24-hexadecimal digit string that identifies the invitation.
        in: path
        name: invitationId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/GroupInvitationUpdateRequest"
        description: Updates the details of one pending invitation to the specified
          project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/GroupInvitation"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Project Invitation by Invitation ID
      tags:
      - Projects
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Projects/operation/updateProjectInvitationById
  "/api/atlas/v1.0/groups/{groupId}/limits":
    get:
      description: Returns all the limits for the specified project. To use this resource,
        the requesting Service Account or API Key must have the Project Read Only
        role.
      operationId: listProjectLimits
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/DataFederationLimit"
                x-xgen-IPA-exception:
                  xgen-IPA-124-array-max-items: Schema predates IPA validation.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Limits for One Project
      tags:
      - Projects
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Projects/operation/listProjectLimits
  "/api/atlas/v1.0/groups/{groupId}/limits/{limitName}":
    delete:
      description: Removes the specified project limit. Depending on the limit, Atlas
        either resets the limit to its default value or removes the limit entirely.
        To use this resource, the requesting Service Account or API Key must have
        the Project Owner role.
      operationId: deleteProjectLimit
      parameters:
      - description: |
          Human-readable label that identifies this project limit.

          | Limit Name | Description | Default | API Override Limit |
          | --- | --- | --- | --- |
          | `atlas.project.deployment.clusters` | Limit on the number of clusters in this project | 25 | 100 |
          | `atlas.project.deployment.nodesPerPrivateLinkRegion` | Limit on the number of nodes per Private Link region in this project | 50 | 90 |
          | `atlas.project.security.databaseAccess.customRoles` | Limit on the number of custom roles in this project | 100 | 1400 |
          | `atlas.project.security.databaseAccess.users` | Limit on the number of database users in this project | 100 | 100 |
          | `atlas.project.security.networkAccess.crossRegionEntries` | Limit on the number of cross-region network access entries in this project | 40 | 220 |
          | `atlas.project.security.networkAccess.entries` | Limit on the number of network access entries in this project | 200 | 20 |
          | `dataFederation.bytesProcessed.query` | Limit on the number of bytes processed during a single Data Federation query | N/A | N/A |
          | `dataFederation.bytesProcessed.daily` | Limit on the number of bytes processed across all Data Federation tenants for the current day | N/A | N/A |
          | `dataFederation.bytesProcessed.weekly` | Limit on the number of bytes processed across all Data Federation tenants for the current week | N/A | N/A |
          | `dataFederation.bytesProcessed.monthly` | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A |
          | `atlas.project.deployment.privateServiceConnectionsPerRegionGroup` | Number of Private Service Connections per Region Group | 50 | 100|
          | `atlas.project.deployment.privateServiceConnectionsSubnetMask` | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27|
        in: path
        name: limitName
        required: true
        schema:
          type: string
          enum:
          - atlas.project.security.databaseAccess.users
          - atlas.project.deployment.clusters
          - atlas.project.deployment.serverlessMTMs
          - atlas.project.security.databaseAccess.customRoles
          - atlas.project.security.networkAccess.entries
          - atlas.project.security.networkAccess.crossRegionEntries
          - atlas.project.deployment.nodesPerPrivateLinkRegion
          - dataFederation.bytesProcessed.query
          - dataFederation.bytesProcessed.daily
          - dataFederation.bytesProcessed.weekly
          - dataFederation.bytesProcessed.monthly
          - atlas.project.deployment.privateServiceConnectionsPerRegionGroup
          - atlas.project.deployment.privateServiceConnectionsSubnetMask
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '204':
          description: This endpoint does not return a response body.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Project Limit
      tags:
      - Projects
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Projects/operation/deleteProjectLimit
    get:
      description: Returns the specified limit for the specified project. To use this
        resource, the requesting Service Account or API Key must have the Project
        Read Only role.
      operationId: getProjectLimit
      parameters:
      - description: |
          Human-readable label that identifies this project limit.

          | Limit Name | Description | Default | API Override Limit |
          | --- | --- | --- | --- |
          | `atlas.project.deployment.clusters` | Limit on the number of clusters in this project | 25 | 100 |
          | `atlas.project.deployment.nodesPerPrivateLinkRegion` | Limit on the number of nodes per Private Link region in this project | 50 | 90 |
          | `atlas.project.security.databaseAccess.customRoles` | Limit on the number of custom roles in this project | 100 | 1400 |
          | `atlas.project.security.databaseAccess.users` | Limit on the number of database users in this project | 100 | 100 |
          | `atlas.project.security.networkAccess.crossRegionEntries` | Limit on the number of cross-region network access entries in this project | 40 | 220 |
          | `atlas.project.security.networkAccess.entries` | Limit on the number of network access entries in this project | 200 | 20 |
          | `dataFederation.bytesProcessed.query` | Limit on the number of bytes processed during a single Data Federation query | N/A | N/A |
          | `dataFederation.bytesProcessed.daily` | Limit on the number of bytes processed across all Data Federation tenants for the current day | N/A | N/A |
          | `dataFederation.bytesProcessed.weekly` | Limit on the number of bytes processed across all Data Federation tenants for the current week | N/A | N/A |
          | `dataFederation.bytesProcessed.monthly` | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A |
          | `atlas.project.deployment.privateServiceConnectionsPerRegionGroup` | Number of Private Service Connections per Region Group | 50 | 100|
          | `atlas.project.deployment.privateServiceConnectionsSubnetMask` | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27|
        in: path
        name: limitName
        required: true
        schema:
          type: string
          enum:
          - atlas.project.security.databaseAccess.users
          - atlas.project.deployment.clusters
          - atlas.project.deployment.serverlessMTMs
          - atlas.project.security.databaseAccess.customRoles
          - atlas.project.security.networkAccess.entries
          - atlas.project.security.networkAccess.crossRegionEntries
          - atlas.project.deployment.nodesPerPrivateLinkRegion
          - dataFederation.bytesProcessed.query
          - dataFederation.bytesProcessed.daily
          - dataFederation.bytesProcessed.weekly
          - dataFederation.bytesProcessed.monthly
          - atlas.project.deployment.privateServiceConnectionsPerRegionGroup
          - atlas.project.deployment.privateServiceConnectionsSubnetMask
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DataFederationLimit"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Limit for One Project
      tags:
      - Projects
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Projects/operation/getProjectLimit
    patch:
      description: |-
        Sets the specified project limit. To use this resource, the requesting Service Account or API Key must have the Project Owner role.

        **NOTE**: Increasing the following configuration limits might lead to slower response times in the MongoDB Cloud UI or increased user management overhead leading to authentication or authorization re-architecture. If possible, we recommend that you create additional projects to gain access to more of these resources for a more sustainable growth pattern.
      operationId: setProjectLimit
      parameters:
      - description: |
          Human-readable label that identifies this project limit.

          | Limit Name | Description | Default | API Override Limit |
          | --- | --- | --- | --- |
          | `atlas.project.deployment.clusters` | Limit on the number of clusters in this project | 25 | 100 |
          | `atlas.project.deployment.nodesPerPrivateLinkRegion` | Limit on the number of nodes per Private Link region in this project | 50 | 90 |
          | `atlas.project.security.databaseAccess.customRoles` | Limit on the number of custom roles in this project | 100 | 1400 |
          | `atlas.project.security.databaseAccess.users` | Limit on the number of database users in this project | 100 | 100 |
          | `atlas.project.security.networkAccess.crossRegionEntries` | Limit on the number of cross-region network access entries in this project | 40 | 220 |
          | `atlas.project.security.networkAccess.entries` | Limit on the number of network access entries in this project | 200 | 20 |
          | `dataFederation.bytesProcessed.query` | Limit on the number of bytes processed during a single Data Federation query | N/A | N/A |
          | `dataFederation.bytesProcessed.daily` | Limit on the number of bytes processed across all Data Federation tenants for the current day | N/A | N/A |
          | `dataFederation.bytesProcessed.weekly` | Limit on the number of bytes processed across all Data Federation tenants for the current week | N/A | N/A |
          | `dataFederation.bytesProcessed.monthly` | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A |
          | `atlas.project.deployment.privateServiceConnectionsPerRegionGroup` | Number of Private Service Connections per Region Group | 50 | 100|
          | `atlas.project.deployment.privateServiceConnectionsSubnetMask` | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27|
        in: path
        name: limitName
        required: true
        schema:
          type: string
          enum:
          - atlas.project.security.databaseAccess.users
          - atlas.project.deployment.clusters
          - atlas.project.deployment.serverlessMTMs
          - atlas.project.security.databaseAccess.customRoles
          - atlas.project.security.networkAccess.entries
          - atlas.project.security.networkAccess.crossRegionEntries
          - atlas.project.deployment.nodesPerPrivateLinkRegion
          - dataFederation.bytesProcessed.query
          - dataFederation.bytesProcessed.daily
          - dataFederation.bytesProcessed.weekly
          - dataFederation.bytesProcessed.monthly
          - atlas.project.deployment.privateServiceConnectionsPerRegionGroup
          - atlas.project.deployment.privateServiceConnectionsSubnetMask
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/DataFederationLimit"
        description: Limit to update.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DataFederationLimit"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Set One Project Limit
      tags:
      - Projects
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Projects/operation/setProjectLimit
  "/api/atlas/v1.0/groups/{groupId}/liveMigrations":
    post:
      description: |-
        Migrate one cluster that Cloud or Ops Manager manages to MongoDB Atlas.

         Please make sure to [validate](#tag/Cloud-Migration-Service/operation/validateMigration) your migration before initiating it.

         You can use this API endpoint for push live migrations only. Your API Key must have the Organization Owner role to successfully call this resource.

         **NOTE**: Migrating time-series collections is not yet supported on MongoDB 6.0 or higher. Migrations on MongoDB 6.0 or higher will skip any time-series collections on the source cluster.
      operationId: createPushMigration
      parameters:
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/LiveMigrationRequest"
        description: One migration to be created.
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/LiveMigrationResponse"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Migrate One Local Managed Cluster to MongoDB Atlas
      tags:
      - Cloud Migration Service
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Migration-Service/operation/createPushMigration
  "/api/atlas/v1.0/groups/{groupId}/liveMigrations/validate":
    post:
      description: Verifies whether the provided credentials, available disk space,
        MongoDB versions, and so on meet the requirements of the migration request.
        If the check passes, the migration can proceed. Your API Key must have the
        Organization Owner role to successfully call this resource.
      operationId: validateMigration
      parameters:
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/LiveMigrationRequest"
        description: One migration to be validated.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/LiveImportValidation"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Validate One Migration Request
      tags:
      - Cloud Migration Service
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Migration-Service/operation/validateMigration
  "/api/atlas/v1.0/groups/{groupId}/liveMigrations/validate/{validationId}":
    get:
      description: Return the status of one migration validation job. Your API Key
        must have the Organization Owner role to successfully call this resource.
      operationId: getValidationStatus
      parameters:
      - "$ref": "#/components/parameters/groupId"
      - description: Unique 24-hexadecimal digit string that identifies the validation
          job.
        in: path
        name: validationId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 507f1f77bcf86cd799439011
      - "$ref": "#/components/parameters/envelope"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/LiveImportValidation"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Migration Validation Job
      tags:
      - Cloud Migration Service
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Migration-Service/operation/getValidationStatus
  "/api/atlas/v1.0/groups/{groupId}/liveMigrations/{liveMigrationId}":
    get:
      description: Return details of one cluster migration job. Each push live migration
        job uses one migration host. Your API Key must have the Organization Member
        role to successfully call this resource.
      operationId: getPushMigration
      parameters:
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/liveMigrationId"
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/LiveMigrationResponse"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Migration Job
      tags:
      - Cloud Migration Service
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Migration-Service/operation/getPushMigration
  "/api/atlas/v1.0/groups/{groupId}/liveMigrations/{liveMigrationId}/cutover":
    put:
      description: Cut over the migrated cluster to MongoDB Atlas. Confirm when the
        cut over completes. When the cut over completes, MongoDB Atlas completes the
        live migration process and stops synchronizing with the source cluster. Your
        API Key must have the Organization Owner role to successfully call this resource.
      operationId: cutoverMigration
      parameters:
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/liveMigrationId"
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '202':
          "$ref": "#/components/responses/accepted"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Cut Over One Migrated Cluster
      tags:
      - Cloud Migration Service
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Migration-Service/operation/cutoverMigration
  "/api/atlas/v1.0/groups/{groupId}/maintenanceWindow":
    delete:
      description: Resets the maintenance window for the specified project. To use
        this resource, the requesting Service Account or API Key must have the Project
        Owner role. Urgent maintenance activities such as security patches can't wait
        for your chosen window. MongoDB Cloud starts those maintenance activities
        when needed. After you schedule maintenance for your cluster, you can't change
        your maintenance window until the current maintenance efforts complete. The
        maintenance procedure that MongoDB Cloud performs requires at least one replica
        set election during the maintenance window per replica set. Maintenance always
        begins as close to the scheduled hour as possible, but in-progress cluster
        updates or unexpected system issues could delay the start time. To use this
        resource, the requesting Service Account or API Key must have the Project
        Owner role.
      operationId: resetMaintenanceWindow
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      responses:
        '204':
          description: This endpoint does not return a response body.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Reset One Maintenance Window for One Project
      tags:
      - Maintenance Windows
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Maintenance-Windows/operation/resetMaintenanceWindow
    get:
      description: Returns the maintenance window for the specified project. MongoDB
        Cloud starts those maintenance activities when needed. You can't change your
        maintenance window until the current maintenance efforts complete. The maintenance
        procedure that MongoDB Cloud performs requires at least one replica set election
        during the maintenance window per replica set. Maintenance always begins as
        close to the scheduled hour as possible, but in-progress cluster updates or
        unexpected system issues could delay the start time. To use this resource,
        the requesting Service Account or API Key must have the Project Owner role.
      operationId: getMaintenanceWindow
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/GroupMaintenanceWindow"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Maintenance Window for One Project
      tags:
      - Maintenance Windows
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Maintenance-Windows/operation/getMaintenanceWindow
    patch:
      description: Updates the maintenance window for the specified project. Urgent
        maintenance activities such as security patches can't wait for your chosen
        window. MongoDB Cloud starts those maintenance activities when needed. After
        you schedule maintenance for your cluster, you can't change your maintenance
        window until the current maintenance efforts complete. The maintenance procedure
        that MongoDB Cloud performs requires at least one replica set election during
        the maintenance window per replica set. Maintenance always begins as close
        to the scheduled hour as possible, but in-progress cluster updates or unexpected
        system issues could delay the start time. Updating the maintenance window
        will reset any maintenance deferrals for this project. To use this resource,
        the requesting Service Account or API Key must have the Project Owner role.
      operationId: updateMaintenanceWindow
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/GroupMaintenanceWindow"
        description: Updates the maintenance window for the specified project.
        required: true
      responses:
        '200':
          description: OK
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Maintenance Window for One Project
      tags:
      - Maintenance Windows
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Maintenance-Windows/operation/updateMaintenanceWindow
  "/api/atlas/v1.0/groups/{groupId}/maintenanceWindow/autoDefer":
    post:
      description: Toggles automatic deferral of the maintenance window for the specified
        project. When automatic deferral is enabled, all maintenance windows are deferred
        for one week. This endpoint controls the same underlying feature as the `autoDeferOnceEnabled`
        field in the PATCH `/maintenanceWindow` endpoint. The difference is that this
        endpoint toggles the current value (switches from enabled to disabled or vice
        versa), while the `autoDeferOnceEnabled` field allows you to set a specific
        value. For most use cases, the PATCH endpoint with `autoDeferOnceEnabled`
        is recommended because it allows setting an explicit value rather than toggling.
        To use this resource, the requesting Service Account or API Key must have
        the Project Owner role.
      operationId: toggleMaintenanceAutoDefer
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      responses:
        '200':
          description: OK
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Toggle Automatic Deferral of Maintenance for One Project
      tags:
      - Maintenance Windows
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Maintenance-Windows/operation/toggleMaintenanceAutoDefer
  "/api/atlas/v1.0/groups/{groupId}/maintenanceWindow/defer":
    post:
      description: Defers the maintenance window for the specified project. Urgent
        maintenance activities such as security patches can't wait for your chosen
        window. MongoDB Cloud starts those maintenance activities when needed. After
        you schedule maintenance for your cluster, you can't change your maintenance
        window until the current maintenance efforts complete. The maintenance procedure
        that MongoDB Cloud performs requires at least one replica set election during
        the maintenance window per replica set. Maintenance always begins as close
        to the scheduled hour as possible, but in-progress cluster updates or unexpected
        system issues could delay the start time. To use this resource, the requesting
        Service Account or API Key must have the Project Owner role.
      operationId: deferMaintenanceWindow
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      responses:
        '200':
          description: OK
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Defer One Maintenance Window for One Project
      tags:
      - Maintenance Windows
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Maintenance-Windows/operation/deferMaintenanceWindow
  "/api/atlas/v1.0/groups/{groupId}/managedSlowMs/disable":
    delete:
      description: Disables the slow operation threshold that MongoDB Cloud calculated
        for the specified project. The threshold determines which operations the Performance
        Advisor and Query Profiler considers slow. When enabled, MongoDB Cloud uses
        the average execution time for operations on your cluster to determine slow-running
        queries. As a result, the threshold is more pertinent to your cluster workload.
        The slow operation threshold is enabled by default for dedicated clusters
        (M10+). When disabled, MongoDB Cloud considers any operation that takes longer
        than 100 milliseconds to be slow. To use this resource, the requesting Service
        Account or API Key must have the Project Owner role.
      operationId: disableSlowOperationThresholding
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '204':
          description: This endpoint does not return a response body.
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '429':
          "$ref": "#/components/responses/tooManyRequests"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Disable Managed Slow Operation Threshold
      tags:
      - Performance Advisor
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Performance-Advisor/operation/disableSlowOperationThresholding
  "/api/atlas/v1.0/groups/{groupId}/managedSlowMs/enable":
    post:
      description: Enables MongoDB Cloud to use its slow operation threshold for the
        specified project. The threshold determines which operations the Performance
        Advisor and Query Profiler considers slow. When enabled, MongoDB Cloud uses
        the average execution time for operations on your cluster to determine slow-running
        queries. As a result, the threshold is more pertinent to your cluster workload.
        The slow operation threshold is enabled by default for dedicated clusters
        (M10+). When disabled, MongoDB Cloud considers any operation that takes longer
        than 100 milliseconds to be slow. To use this resource, the requesting Service
        Account or API Key must have the Project Owner role.
      operationId: enableSlowOperationThresholding
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '204':
          description: This endpoint does not return a response body.
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '429':
          "$ref": "#/components/responses/tooManyRequests"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Enable Managed Slow Operation Threshold
      tags:
      - Performance Advisor
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Performance-Advisor/operation/enableSlowOperationThresholding
  "/api/atlas/v1.0/groups/{groupId}/peers":
    get:
      description: Returns details about all network peering connections in the specified
        project. Network peering allows multiple cloud-hosted applications to securely
        connect to the same project. To use this resource, the requesting Service
        Account or API Key must have the Project Read Only role.
      operationId: listPeeringConnections
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Cloud service provider to use for this VPC peering connection.
        in: query
        name: providerName
        schema:
          type: string
          enum:
          - AWS
          - AZURE
          - GCP
          default: AWS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedContainerPeerView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Network Peering Connections in One Project
      tags:
      - Network Peering
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Network-Peering/operation/listPeeringConnections
    post:
      description: Creates one new network peering connection in the specified project.
        Network peering allows multiple cloud-hosted applications to securely connect
        to the same project. To use this resource, the requesting Service Account
        or API Key must have the Project Owner role. To learn more about considerations
        and prerequisites, see the Network Peering Documentation.
      externalDocs:
        description: Azure Network Peering Prerequisites
        url: https://docs.atlas.mongodb.com/reference/api/vpc-create-peering-connection/#prerequisites
      operationId: createPeeringConnection
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/BaseNetworkPeeringConnectionSettings"
        description: Create one network peering connection.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/BaseNetworkPeeringConnectionSettings"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Network Peering Connection
      tags:
      - Network Peering
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Network-Peering/operation/createPeeringConnection
  "/api/atlas/v1.0/groups/{groupId}/peers/{peerId}":
    delete:
      description: Removes one network peering connection in the specified project.
        If you remove the last network peering connection associated with a project,
        MongoDB Cloud also removes any AWS security groups from the project IP access
        list. To use this resource, the requesting Service Account or API Key must
        have the Project Owner role.
      operationId: deletePeeringConnection
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the network
          peering connection that you want to delete.
        in: path
        name: peerId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '202':
          description: Accepted
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/RequestAccepted"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Network Peering Connection
      tags:
      - Network Peering
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Network-Peering/operation/deletePeeringConnection
    get:
      description: Returns details about one specified network peering connection
        in the specified project. To use this resource, the requesting Service Account
        or API Key must have the Project Read Only role.
      operationId: getPeeringConnection
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the network
          peering connection that you want to retrieve.
        in: path
        name: peerId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/BaseNetworkPeeringConnectionSettings"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Network Peering Connection in One Project
      tags:
      - Network Peering
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Network-Peering/operation/getPeeringConnection
    patch:
      description: Updates one specified network peering connection in the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Owner role.
      operationId: updatePeeringConnection
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the network
          peering connection that you want to update.
        in: path
        name: peerId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/BaseNetworkPeeringConnectionSettings"
        description: Modify one network peering connection.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/BaseNetworkPeeringConnectionSettings"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Network Peering Connection
      tags:
      - Network Peering
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Network-Peering/operation/updatePeeringConnection
  "/api/atlas/v1.0/groups/{groupId}/pipelines":
    get:
      deprecated: true
      description: Returns a list of Data Lake Pipelines. To use this resource, the
        requesting Service Account or API Key must have the Project Read Only role.
      operationId: listPipelines
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/DataLakeIngestionPipeline"
                x-xgen-IPA-exception:
                  xgen-IPA-124-array-max-items: Schema predates IPA validation.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Data Lake Pipelines in One Project
      tags:
      - Data Lake Pipelines
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Lake-Pipelines/operation/listPipelines
    post:
      deprecated: true
      description: Creates one Data Lake Pipeline.
      externalDocs:
        description: Data Lake Pipelines are deprecated. Please see Data Lake Deprecation
          Guide.
        url: https://dochub.mongodb.org/core/data-lake-deprecation
      operationId: createPipeline
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/DataLakeIngestionPipeline"
        description: Creates one Data Lake Pipeline.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DataLakeIngestionPipeline"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Data Lake Pipeline
      tags:
      - Data Lake Pipelines
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Lake-Pipelines/operation/createPipeline
  "/api/atlas/v1.0/groups/{groupId}/pipelines/{pipelineName}":
    delete:
      deprecated: true
      description: Removes one Data Lake Pipeline.
      operationId: deletePipeline
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the Data Lake Pipeline.
        in: path
        name: pipelineName
        required: true
        schema:
          pattern: ^[^/\\ "$]{1,64}$
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json: {}
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Data Lake Pipeline
      tags:
      - Data Lake Pipelines
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Lake-Pipelines/operation/deletePipeline
    get:
      deprecated: true
      description: Returns the details of one Data Lake Pipeline within the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Read Only role.
      operationId: getPipeline
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the Data Lake Pipeline.
        in: path
        name: pipelineName
        required: true
        schema:
          pattern: ^[^/\\ "$]{1,64}$
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DataLakeIngestionPipeline"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Data Lake Pipeline
      tags:
      - Data Lake Pipelines
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Lake-Pipelines/operation/getPipeline
    patch:
      deprecated: true
      description: Updates one Data Lake Pipeline.
      operationId: updatePipeline
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the Data Lake Pipeline.
        in: path
        name: pipelineName
        required: true
        schema:
          pattern: ^[^/\\ "$]{1,64}$
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/DataLakeIngestionPipeline"
        description: Updates one Data Lake Pipeline.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DataLakeIngestionPipeline"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Data Lake Pipeline
      tags:
      - Data Lake Pipelines
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Lake-Pipelines/operation/updatePipeline
  "/api/atlas/v1.0/groups/{groupId}/pipelines/{pipelineName}/availableSchedules":
    get:
      deprecated: true
      description: Returns a list of backup schedule policy items that you can use
        as a Data Lake Pipeline source. To use this resource, the requesting Service
        Account or API Key must have the Project Read Only role.
      operationId: listPipelineSchedules
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the Data Lake Pipeline.
        in: path
        name: pipelineName
        required: true
        schema:
          pattern: ^[^/\\ "$]{1,64}$
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/DiskBackupApiPolicyItem"
                x-xgen-IPA-exception:
                  xgen-IPA-124-array-max-items: Schema predates IPA validation.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Ingestion Schedules for One Data Lake Pipeline
      tags:
      - Data Lake Pipelines
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Lake-Pipelines/operation/listPipelineSchedules
  "/api/atlas/v1.0/groups/{groupId}/pipelines/{pipelineName}/availableSnapshots":
    get:
      deprecated: true
      description: Returns a list of backup snapshots that you can use to trigger
        an on demand pipeline run. To use this resource, the requesting Service Account
        or API Key must have the Project Read Only role.
      operationId: listPipelineSnapshots
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Date and time after which MongoDB Cloud created the snapshot.
          If specified, MongoDB Cloud returns available backup snapshots created after
          this time and date only. This parameter expresses its value in the ISO 8601
          timestamp format in UTC.
        in: query
        name: completedAfter
        schema:
          type: string
          format: date-time
      - description: Human-readable label that identifies the Data Lake Pipeline.
        in: path
        name: pipelineName
        required: true
        schema:
          pattern: ^[^/\\ "$]{1,64}$
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedBackupSnapshotView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Backup Snapshots for One Data Lake Pipeline
      tags:
      - Data Lake Pipelines
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Lake-Pipelines/operation/listPipelineSnapshots
  "/api/atlas/v1.0/groups/{groupId}/pipelines/{pipelineName}/pause":
    post:
      deprecated: true
      description: Pauses ingestion for a Data Lake Pipeline within the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Read Only role.
      operationId: pausePipeline
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the Data Lake Pipeline.
        in: path
        name: pipelineName
        required: true
        schema:
          pattern: ^[^/\\ "$]{1,64}$
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DataLakeIngestionPipeline"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Pause One Data Lake Pipeline
      tags:
      - Data Lake Pipelines
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Lake-Pipelines/operation/pausePipeline
  "/api/atlas/v1.0/groups/{groupId}/pipelines/{pipelineName}/resume":
    post:
      deprecated: true
      description: Resumes ingestion for a Data Lake Pipeline within the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Read Only role.
      operationId: resumePipeline
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the Data Lake Pipeline.
        in: path
        name: pipelineName
        required: true
        schema:
          pattern: ^[^/\\ "$]{1,64}$
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/DataLakeIngestionPipeline"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Resume One Data Lake Pipeline
      tags:
      - Data Lake Pipelines
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Lake-Pipelines/operation/resumePipeline
  "/api/atlas/v1.0/groups/{groupId}/pipelines/{pipelineName}/runs":
    get:
      deprecated: true
      description: Returns a list of past Data Lake Pipeline runs. To use this resource,
        the requesting Service Account or API Key must have the Project Read Only
        role.
      operationId: listPipelineRuns
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: If specified, Atlas returns only Data Lake Pipeline runs initiated
          before this time and date.
        in: query
        name: createdBefore
        schema:
          type: string
          format: date-time
      - description: Human-readable label that identifies the Data Lake Pipeline.
        in: path
        name: pipelineName
        required: true
        schema:
          pattern: ^[^/\\ "$]{1,64}$
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedPipelineRunView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Data Lake Pipeline Runs in One Project
      tags:
      - Data Lake Pipelines
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Lake-Pipelines/operation/listPipelineRuns
  "/api/atlas/v1.0/groups/{groupId}/pipelines/{pipelineName}/runs/{pipelineRunId}":
    delete:
      deprecated: true
      description: Deletes dataset that Atlas generated during the specified pipeline
        run.
      operationId: deletePipelineRunDataset
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the Data Lake Pipeline.
        in: path
        name: pipelineName
        required: true
        schema:
          pattern: ^[^/\\ "$]{1,64}$
          type: string
      - description: Unique 24-hexadecimal character string that identifies a Data
          Lake Pipeline run.
        in: path
        name: pipelineRunId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 32b6e34b3d91647abb20e7b8
      responses:
        '202':
          description: Accepted
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/RequestAccepted"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Delete One Pipeline Run Dataset
      tags:
      - Data Lake Pipelines
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Lake-Pipelines/operation/deletePipelineRunDataset
    get:
      deprecated: true
      description: Returns the details of one Data Lake Pipeline run within the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Read Only role.
      operationId: getPipelineRun
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the Data Lake Pipeline.
        in: path
        name: pipelineName
        required: true
        schema:
          pattern: ^[^/\\ "$]{1,64}$
          type: string
      - description: Unique 24-hexadecimal character string that identifies a Data
          Lake Pipeline run.
        in: path
        name: pipelineRunId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 32b6e34b3d91647abb20e7b8
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/IngestionPipelineRun"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Data Lake Pipeline Run
      tags:
      - Data Lake Pipelines
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Lake-Pipelines/operation/getPipelineRun
  "/api/atlas/v1.0/groups/{groupId}/pipelines/{pipelineName}/trigger":
    post:
      deprecated: true
      description: Triggers a Data Lake Pipeline ingestion of a specified snapshot.
      operationId: triggerSnapshotIngestion
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the Data Lake Pipeline.
        in: path
        name: pipelineName
        required: true
        schema:
          pattern: ^[^/\\ "$]{1,64}$
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/TriggerIngestionPipelineRequest"
        description: Triggers a single ingestion run of a snapshot.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/IngestionPipelineRun"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Trigger On-Demand Snapshot Ingestion
      tags:
      - Data Lake Pipelines
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Lake-Pipelines/operation/triggerSnapshotIngestion
  "/api/atlas/v1.0/groups/{groupId}/privateEndpoint/endpointService":
    post:
      description: Creates one private endpoint service for the specified cloud service
        provider. This cloud service provider manages the private endpoint service
        for the project. When you create a private endpoint service, MongoDB Cloud
        creates a network container in the project for the cloud provider for which
        you create the private endpoint service if one doesn't already exist. To learn
        more about private endpoint terminology in MongoDB Cloud, see Private Endpoint
        Concepts. To use this resource, the requesting Service Account or API Key
        must have the Project Owner role.
      externalDocs:
        description: Private Endpoint Concepts
        url: https://dochub.mongodb.org/core/private-endpoint-concepts
      operationId: createPrivateEndpointService
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/CloudProviderEndpointServiceRequest"
        description: Creates one private endpoint for the specified cloud service
          provider.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/EndpointService"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Private Endpoint Service for One Provider
      tags:
      - Private Endpoint Services
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Private-Endpoint-Services/operation/createPrivateEndpointService
  "/api/atlas/v1.0/groups/{groupId}/privateEndpoint/endpointService/{endpointServiceId}":
    patch:
      description: Updates the specified private endpoint service for the project.
        The cloud service provider manages the private endpoint service that belongs
        to the project. To use this resource, the requesting Service Account or API
        Key must have the Project Owner role.
      operationId: updatePrivateEndpointService
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the private
          endpoint service that you want to update.
        in: path
        name: endpointServiceId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/ApiAtlasModifyEndpointServiceRequestView"
        description: Updates to apply to the private endpoint service.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/EndpointService"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Private Endpoint Service for One Provider
      tags:
      - Private Endpoint Services
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Private-Endpoint-Services/operation/updatePrivateEndpointService
  "/api/atlas/v1.0/groups/{groupId}/privateEndpoint/regionalMode":
    get:
      description: Checks whether each region in the specified cloud service provider
        can create multiple private endpoints per region. The cloud service provider
        manages the private endpoint for the project. To use this resource, the requesting
        Service Account or API Key must have the Project Read Only role.
      operationId: getRegionalizedPrivateEndpointSetting
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ProjectSettingItemView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Regionalized Private Endpoint Status
      tags:
      - Private Endpoint Services
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Private-Endpoint-Services/operation/getRegionalizedPrivateEndpointSetting
    patch:
      description: Enables or disables the ability to create multiple private endpoints
        per region in all cloud service providers in one project. The cloud service
        provider manages the private endpoints for the project. Connection strings
        to existing multi-region and global sharded clusters change when you enable
        this setting. You must update your applications to use the new connection
        strings. This might cause downtime. To use this resource, the requesting Service
        Account or API Key must have the Project Owner role and all clusters in the
        deployment must be sharded clusters. Once enabled, you cannot create replica
        sets.
      operationId: toggleRegionalizedPrivateEndpointSetting
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/ProjectSettingItemView"
        description: Enables or disables the ability to create multiple private endpoints
          per region in all cloud service providers in one project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ProjectSettingItemView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Toggle Regionalized Private Endpoint Status
      tags:
      - Private Endpoint Services
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Private-Endpoint-Services/operation/toggleRegionalizedPrivateEndpointSetting
  "/api/atlas/v1.0/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint":
    get:
      deprecated: true
      description: |-
        Returns all private endpoints for one serverless instance. You must have at least the Project Read Only role for the project to successfully call this resource.

        This feature does not work for Flex clusters. To continue using Private Endpoints once Serverless is replaced by Flex, please use a Dedicated cluster instead. This endpoint will be sunset on January 22, 2026.
      operationId: listServerlessPrivateEndpoints
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the serverless instance
          associated with the tenant endpoint.
        in: path
        name: instanceName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/ServerlessTenantEndpoint"
                x-xgen-IPA-exception:
                  xgen-IPA-124-array-max-items: Schema predates IPA validation.
              x-sunset: '2026-01-22'
              x-xgen-IPA-exception:
                xgen-IPA-110-collections-response-define-results-array: Content predates
                  IPA validation.
                xgen-IPA-110-collections-use-paginated-prefix: Content predates IPA
                  validation.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Private Endpoints for One Serverless Instance
      tags:
      - Serverless Private Endpoints
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Serverless-Private-Endpoints/operation/listServerlessPrivateEndpoints
    post:
      deprecated: true
      description: |-
        Creates one private endpoint for one serverless instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role.

         A new endpoint won't be immediately available after creation.  Read the steps in the linked tutorial for detailed guidance.

        This feature does not work for Flex clusters. To continue using Private Endpoints once Serverless is replaced by Flex, please use a Dedicated cluster instead. This endpoint will be sunset on January 22, 2026.
      externalDocs:
        description: Set Up a Private Endpoint for a Serverless Instance Tutorial
        url: https://dochub.mongodb.org/core/serverless-private-endpoint
      operationId: createServerlessPrivateEndpoint
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the serverless instance
          for which the tenant endpoint will be created.
        in: path
        name: instanceName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/ServerlessTenantCreateRequest"
        description: Information about the Private Endpoint to create for the Serverless
          Instance.
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ServerlessTenantEndpoint"
              x-sunset: '2026-01-22'
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Private Endpoint for One Serverless Instance
      tags:
      - Serverless Private Endpoints
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Serverless-Private-Endpoints/operation/createServerlessPrivateEndpoint
  "/api/atlas/v1.0/groups/{groupId}/privateEndpoint/serverless/instance/{instanceName}/endpoint/{endpointId}":
    delete:
      deprecated: true
      description: |-
        Remove one private endpoint from one serverless instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role.

        This feature does not work for Flex clusters. To continue using Private Endpoints once Serverless is replaced by Flex, please use a Dedicated cluster instead. This endpoint will be sunset on January 22, 2026.
      operationId: deleteServerlessPrivateEndpoint
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the serverless instance
          from which the tenant endpoint will be removed.
        in: path
        name: instanceName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the tenant
          endpoint which will be removed.
        in: path
        name: endpointId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '204':
          description: This endpoint does not return a response body.
          content:
            application/json:
              x-sunset: '2026-01-22'
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Private Endpoint for One Serverless Instance
      tags:
      - Serverless Private Endpoints
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Serverless-Private-Endpoints/operation/deleteServerlessPrivateEndpoint
    get:
      deprecated: true
      description: |-
        Return one private endpoint for one serverless instance. Identify this endpoint using its unique ID. You must have at least the Project Read Only role for the project to successfully call this resource.

        This feature does not work for Flex clusters. To continue using Private Endpoints once Serverless is replaced by Flex, please use a Dedicated cluster instead. This endpoint will be sunset on January 22, 2026.
      operationId: getServerlessPrivateEndpoint
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the serverless instance
          associated with the tenant endpoint.
        in: path
        name: instanceName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the tenant
          endpoint.
        in: path
        name: endpointId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ServerlessTenantEndpoint"
              x-sunset: '2026-01-22'
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Private Endpoint for One Serverless Instance
      tags:
      - Serverless Private Endpoints
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Serverless-Private-Endpoints/operation/getServerlessPrivateEndpoint
    patch:
      deprecated: true
      description: |-
        Updates one private endpoint for one serverless instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role.

        This feature does not work for Flex clusters. To continue using Private Endpoints once Serverless is replaced by Flex, please use a Dedicated cluster instead. This endpoint will sunset on January 22, 2026.
      operationId: updateServerlessPrivateEndpoint
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the serverless instance
          associated with the tenant endpoint that will be updated.
        in: path
        name: instanceName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the tenant
          endpoint which will be updated.
        in: path
        name: endpointId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/ServerlessTenantEndpointUpdate"
        description: Object used for update.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ServerlessTenantEndpoint"
              x-sunset: '2026-01-22'
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Private Endpoint for One Serverless Instance
      tags:
      - Serverless Private Endpoints
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Serverless-Private-Endpoints/operation/updateServerlessPrivateEndpoint
  "/api/atlas/v1.0/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService":
    get:
      description: Returns the name, interfaces, and state of all private endpoint
        services for the specified cloud service provider. This cloud service provider
        manages the private endpoint service for the project. To use this resource,
        the requesting Service Account or API Key must have the Project Read Only
        role.
      operationId: listPrivateEndpointServices
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Cloud service provider that manages this private endpoint service.
        in: path
        name: cloudProvider
        required: true
        schema:
          type: string
          enum:
          - AWS
          - AZURE
          - GCP
          default: AWS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/EndpointService"
                x-xgen-IPA-exception:
                  xgen-IPA-124-array-max-items: Schema predates IPA validation.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Private Endpoint Services for One Provider
      tags:
      - Private Endpoint Services
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Private-Endpoint-Services/operation/listPrivateEndpointServices
  "/api/atlas/v1.0/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}":
    delete:
      description: Removes one private endpoint service from the specified project.
        This cloud service provider manages the private endpoint service that belongs
        to the project. To use this resource, the requesting Service Account or API
        Key must have the Project Owner role.
      operationId: deletePrivateEndpointService
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Cloud service provider that manages this private endpoint service.
        in: path
        name: cloudProvider
        required: true
        schema:
          type: string
          enum:
          - AWS
          - AZURE
          - GCP
          default: AWS
      - description: Unique 24-hexadecimal digit string that identifies the private
          endpoint service that you want to delete.
        in: path
        name: endpointServiceId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '204':
          description: This endpoint does not return a response body.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Private Endpoint Service for One Provider
      tags:
      - Private Endpoint Services
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Private-Endpoint-Services/operation/deletePrivateEndpointService
    get:
      description: Returns the name, interfaces, and state of the specified private
        endpoint service from one project. The cloud service provider hosted this
        private endpoint service that belongs to the project. To use this resource,
        the requesting Service Account or API Key must have the Project Read Only
        role.
      operationId: getPrivateEndpointService
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Cloud service provider that manages this private endpoint service.
        in: path
        name: cloudProvider
        required: true
        schema:
          type: string
          enum:
          - AWS
          - AZURE
          - GCP
          default: AWS
      - description: Unique 24-hexadecimal digit string that identifies the private
          endpoint service that you want to return.
        in: path
        name: endpointServiceId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/EndpointService"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Private Endpoint Service for One Provider
      tags:
      - Private Endpoint Services
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Private-Endpoint-Services/operation/getPrivateEndpointService
  "/api/atlas/v1.0/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint":
    post:
      description: Creates one private endpoint for the specified cloud service provider.
        This cloud service provider manages the private endpoint service, which in
        turn manages the private endpoints for the project. To use this resource,
        the requesting Service Account or API Key must have the Project Owner role.
        To learn more about considerations, limitations, and prerequisites, see the
        MongoDB documentation for setting up a private endpoint.
      operationId: createPrivateEndpoint
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Cloud service provider that manages this private endpoint.
        in: path
        name: cloudProvider
        required: true
        schema:
          type: string
          enum:
          - AWS
          - AZURE
          - GCP
          default: AWS
      - description: Unique 24-hexadecimal digit string that identifies the private
          endpoint service for which you want to create a private endpoint.
        in: path
        name: endpointServiceId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/CreateEndpointRequest"
        description: Creates one private endpoint for the specified cloud service
          provider.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PrivateLinkEndpoint"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '402':
          "$ref": "#/components/responses/paymentRequired"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Private Endpoint for One Provider
      tags:
      - Private Endpoint Services
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Private-Endpoint-Services/operation/createPrivateEndpoint
  "/api/atlas/v1.0/groups/{groupId}/privateEndpoint/{cloudProvider}/endpointService/{endpointServiceId}/endpoint/{endpointId}":
    delete:
      description: Removes one private endpoint from the specified project and private
        endpoint service, as managed by the specified cloud service provider. When
        the last private endpoint is removed from a given private endpoint service,
        that private endpoint service is also removed. To use this resource, the requesting
        Service Account or API Key must have the Project Owner role.
      operationId: deletePrivateEndpoint
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Cloud service provider that manages this private endpoint.
        in: path
        name: cloudProvider
        required: true
        schema:
          type: string
          enum:
          - AWS
          - AZURE
          - GCP
          default: AWS
      - description: Unique string that identifies the private endpoint you want to
          delete. The format of the `endpointId` parameter differs for AWS and Azure.
          You must URL encode the `endpointId` for Azure private endpoints.
        in: path
        name: endpointId
        required: true
        schema:
          pattern: "^vpce-[0-9a-f]{17}|^%2[fF]subscriptions%2[fF][0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}%2[fF]resource[gG]roups%2[fF]([-\\w._()]+)%2[fF]providers%2[fF]Microsoft\\.Network%2[fF]privateEndpoints%2[fF]([-\\w._()]+)"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the private
          endpoint service from which you want to delete a private endpoint.
        in: path
        name: endpointServiceId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '204':
          description: This endpoint does not return a response body.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Private Endpoint for One Provider
      tags:
      - Private Endpoint Services
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Private-Endpoint-Services/operation/deletePrivateEndpoint
    get:
      description: Returns the connection state of the specified private endpoint.
        The private endpoint service manages this private endpoint which belongs to
        one project hosted from one cloud service provider. To use this resource,
        the requesting Service Account or API Key must have the Project Read Only
        role.
      operationId: getPrivateEndpoint
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Cloud service provider that manages this private endpoint.
        in: path
        name: cloudProvider
        required: true
        schema:
          type: string
          enum:
          - AWS
          - AZURE
          - GCP
          default: AWS
      - description: Unique string that identifies the private endpoint you want to
          return. The format of the `endpointId` parameter differs for AWS and Azure.
          You must URL encode the `endpointId` for Azure private endpoints.
        in: path
        name: endpointId
        required: true
        schema:
          pattern: "^vpce-[0-9a-f]{17}|^%2[fF]subscriptions%2[fF][0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}%2[fF]resource[gG]roups%2[fF]([-\\w._()]+)%2[fF]providers%2[fF]Microsoft\\.Network%2[fF]privateEndpoints%2[fF]([-\\w._()]+)"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the private
          endpoint service for which you want to return a private endpoint.
        in: path
        name: endpointServiceId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PrivateLinkEndpoint"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Private Endpoint for One Provider
      tags:
      - Private Endpoint Services
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Private-Endpoint-Services/operation/getPrivateEndpoint
  "/api/atlas/v1.0/groups/{groupId}/privateIpMode":
    get:
      deprecated: true
      description: Verifies if someone set the specified project to **Connect via
        Peering Only** mode. To use this resource, the requesting Service Account
        or API Key must have the Project Read Only role.
      externalDocs:
        description: Changes to Connection Strings
        url: https://docs.atlas.mongodb.com/reference/faq/connection-changes/
      operationId: verifyConnectViaPeeringOnlyModeForOneProject
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PrivateIPModeView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Verify Connect via Peering-Only Mode for One Project
      tags:
      - Network Peering
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Network-Peering/operation/verifyConnectViaPeeringOnlyModeForOneProject
    patch:
      deprecated: true
      description: Disables Connect via Peering Only mode for the specified project.
        To use this resource, the requesting Service Account or API Key must have
        the Project Owner role.
      externalDocs:
        description: Changes to Connection Strings
        url: https://docs.atlas.mongodb.com/reference/faq/connection-changes/
      operationId: disablePeering
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/PrivateIPModeView"
        description: Disables Connect via Peering Only mode for the specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PrivateIPModeView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Disable Connect via Peering-Only Mode for One Project
      tags:
      - Network Peering
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Network-Peering/operation/disablePeering
  "/api/atlas/v1.0/groups/{groupId}/privateNetworkSettings/endpointIds":
    get:
      description: Returns all private endpoints for Federated Database Instances
        and Online Archives in the specified project. To use this resource, the requesting
        Service Account or API Key must have the Project Read Only or Project Charts
        Admin roles.
      operationId: listDataFederationPrivateEndpoints
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedPrivateNetworkEndpointIdEntryView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Federated Database Instance and Online Archive Private Endpoints
        in One Project
      tags:
      - Data Federation
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Federation/operation/listDataFederationPrivateEndpoints
    post:
      description: |-
        Adds one private endpoint for Federated Database Instances and Online Archives to the specified projects. If the endpoint ID already exists and the associated comment is unchanged, Atlas Data Federation makes no change to the endpoint ID list. If the endpoint ID already exists and the associated comment is changed, Atlas Data Federation updates the comment value only in the endpoint ID list. If the endpoint ID doesn't exist, Atlas Data Federation appends the new endpoint to the list of endpoints in the endpoint ID list. Each region has an associated service name for the various endpoints in each region.

         `us-east-1` is `com.amazonaws.vpce.us-east-1.vpce-svc-00e311695874992b4`.

         `us-west-1` is `com.amazonaws.vpce.us-west-2.vpce-svc-09d86b19e59d1b4bb`.

         `eu-west-1` is `com.amazonaws.vpce.eu-west-1.vpce-svc-0824460b72e1a420e`.

         `eu-west-2` is `com.amazonaws.vpce.eu-west-2.vpce-svc-052f1840aa0c4f1f9`.

         `eu-central-1` is `com.amazonaws.vpce.eu-central-1.vpce-svc-0ac8ce91871138c0d`.

         `sa-east-1` is `com.amazonaws.vpce.sa-east-1.vpce-svc-0b56e75e8cdf50044`.

         `ap-southeast-2` is `com.amazonaws.vpce.ap-southeast-2.vpce-svc-036f1de74d761706e`.

         `ap-south-1` is `com.amazonaws.vpce.ap-south-1.vpce-svc-03eb8a541f96d356d`.

         To use this resource, the requesting Service Account or API Key must have the Project Owner or Project Charts Admin roles.
      operationId: createDataFederationPrivateEndpoint
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/PrivateNetworkEndpointIdEntry"
        description: Private endpoint for Federated Database Instances and Online
          Archives to add to the specified project.
        required: true
      responses:
        '201':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedPrivateNetworkEndpointIdEntryView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Federated Database Instance and Online Archive Private Endpoint
        for One Project
      tags:
      - Data Federation
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Federation/operation/createDataFederationPrivateEndpoint
  "/api/atlas/v1.0/groups/{groupId}/privateNetworkSettings/endpointIds/{endpointId}":
    delete:
      description: Removes one private endpoint for Federated Database Instances and
        Online Archives in the specified project. To use this resource, the requesting
        Service Account or API Key must have the Project Owner role.
      operationId: deleteDataFederationPrivateEndpoint
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 22-character alphanumeric string that identifies the private
          endpoint to remove. Atlas Data Federation supports AWS private endpoints
          using the AWS PrivateLink feature.
        in: path
        name: endpointId
        required: true
        schema:
          pattern: "^vpce-[0-9a-f]{17}$"
          type: string
      responses:
        '204':
          description: This endpoint does not return a response body.
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Federated Database Instance and Online Archive Private Endpoint
        from One Project
      tags:
      - Data Federation
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Federation/operation/deleteDataFederationPrivateEndpoint
    get:
      description: Returns the specified private endpoint for Federated Database Instances
        or Online Archives in the specified project. To use this resource, the requesting
        Service Account or API Key must have the Project Read Only or Project Charts
        Admin roles.
      operationId: getDataFederationPrivateEndpoint
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 22-character alphanumeric string that identifies the private
          endpoint to return. Atlas Data Federation supports AWS private endpoints
          using the AWS PrivateLink feature.
        in: path
        name: endpointId
        required: true
        schema:
          pattern: "^vpce-[0-9a-f]{17}$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PrivateNetworkEndpointIdEntry"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Federated Database Instance and Online Archive Private Endpoint
        in One Project
      tags:
      - Data Federation
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Data-Federation/operation/getDataFederationPrivateEndpoint
  "/api/atlas/v1.0/groups/{groupId}/processes":
    get:
      description: Returns details of all processes for the specified project. A MongoDB
        process can be either a `mongod` or `mongos`. To use this resource, the requesting
        Service Account or API Key must have the Project Read Only role.
      operationId: listAtlasProcesses
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedHostView_Atlas"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All MongoDB Processes in One Project
      tags:
      - Monitoring and Logs
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Monitoring-and-Logs/operation/listAtlasProcesses
  "/api/atlas/v1.0/groups/{groupId}/processes/{processId}":
    get:
      description: Returns the processes for the specified host for the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Read Only role.
      operationId: getAtlasProcess
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Combination of hostname and Internet Assigned Numbers Authority
          (IANA) port that serves the MongoDB process. The host must be the hostname,
          fully qualified domain name (FQDN), or Internet Protocol address (IPv4 or
          IPv6) of the host that runs the MongoDB process (`mongod` or `mongos`).
          The port must be the IANA port on which the MongoDB process listens for
          requests.
        in: path
        name: processId
        required: true
        schema:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\\:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?(\\:[0-9]{4,5})$"
          type: string
          example: mongodb.example.com:27017
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ApiHostView_Atlas"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One MongoDB Process by ID
      tags:
      - Monitoring and Logs
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Monitoring-and-Logs/operation/getAtlasProcess
  "/api/atlas/v1.0/groups/{groupId}/processes/{processId}/databases":
    get:
      description: Returns the list of databases running on the specified host for
        the specified project. `M0` free clusters, `M2`, `M5`, serverless, and Flex
        clusters have some operational limits. The MongoDB Cloud process must be a
        `mongod`. To use this resource, the requesting Service Account or API Key
        must have the Project Read Only role.
      externalDocs:
        description: Operational Limits
        url: https://www.mongodb.com/docs/atlas/reference/limitations/
      operationId: listDatabases
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Combination of hostname and Internet Assigned Numbers Authority
          (IANA) port that serves the MongoDB process. The host must be the hostname,
          fully qualified domain name (FQDN), or Internet Protocol address (IPv4 or
          IPv6) of the host that runs the MongoDB process (`mongod`). The port must
          be the IANA port on which the MongoDB process listens for requests.
        in: path
        name: processId
        required: true
        schema:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\\:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?(\\:[0-9]{4,5})$"
          type: string
          example: mongodb.example.com:27017
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedDatabaseView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Available Databases for One MongoDB Process
      tags:
      - Monitoring and Logs
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Monitoring-and-Logs/operation/listDatabases
  "/api/atlas/v1.0/groups/{groupId}/processes/{processId}/databases/{databaseName}":
    get:
      description: Returns one database running on the specified host for the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Read Only role.
      operationId: getDatabase
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the database that the specified
          MongoDB process serves.
        in: path
        name: databaseName
        required: true
        schema:
          type: string
      - description: Combination of hostname and Internet Assigned Numbers Authority
          (IANA) port that serves the MongoDB process. The host must be the hostname,
          fully qualified domain name (FQDN), or Internet Protocol address (IPv4 or
          IPv6) of the host that runs the MongoDB process (`mongod` or `mongos`).
          The port must be the IANA port on which the MongoDB process listens for
          requests.
        in: path
        name: processId
        required: true
        schema:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\\:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?(\\:[0-9]{4,5})$"
          type: string
          example: mongodb.example.com:27017
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/MesurementsDatabase"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Database for One MongoDB Process
      tags:
      - Monitoring and Logs
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Monitoring-and-Logs/operation/getDatabase
  "/api/atlas/v1.0/groups/{groupId}/processes/{processId}/databases/{databaseName}/measurements":
    get:
      description: Returns the measurements of one database for the specified host
        for the specified project. Returns the database's on-disk storage space based
        on the MongoDB `dbStats` command output. To calculate some metric series,
        Atlas takes the rate between every two adjacent points. For these metric series,
        the first data point has a null value because Atlas can't calculate a rate
        for the first data point given the query time range. Atlas retrieves database
        metrics every 20 minutes but reduces frequency when necessary to optimize
        database performance. To use this resource, the requesting Service Account
        or API Key must have the Project Read Only role.
      operationId: getDatabaseMeasurements
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the database that the specified
          MongoDB process serves.
        in: path
        name: databaseName
        required: true
        schema:
          type: string
      - description: One or more types of measurement to request for this MongoDB
          process. If omitted, the resource returns all measurements. To specify multiple
          values for `m`, repeat the `m` parameter for each value. Specify measurements
          that apply to the specified host. MongoDB Cloud returns an error if you
          specified any invalid measurements.
        in: query
        name: m
        schema:
          maxItems: 10
          minItems: 1
          uniqueItems: true
          type: array
          items:
            type: string
            description: One measurement requested for this MongoDB process.
            enum:
            - DATABASE_AVERAGE_OBJECT_SIZE
            - DATABASE_COLLECTION_COUNT
            - DATABASE_DATA_SIZE
            - DATABASE_STORAGE_SIZE
            - DATABASE_INDEX_SIZE
            - DATABASE_INDEX_COUNT
            - DATABASE_EXTENT_COUNT
            - DATABASE_OBJECT_COUNT
            - DATABASE_VIEW_COUNT
        style: form
      - description: Combination of hostname and Internet Assigned Numbers Authority
          (IANA) port that serves the MongoDB process. The host must be the hostname,
          fully qualified domain name (FQDN), or Internet Protocol address (IPv4 or
          IPv6) of the host that runs the MongoDB process (`mongod` or `mongos`).
          The port must be the IANA port on which the MongoDB process listens for
          requests.
        in: path
        name: processId
        required: true
        schema:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\\:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?(\\:[0-9]{4,5})$"
          type: string
          example: mongodb.example.com:27017
      - "$ref": "#/components/parameters/granularity"
      - "$ref": "#/components/parameters/period"
      - "$ref": "#/components/parameters/start"
      - "$ref": "#/components/parameters/end"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ApiMeasurementsGeneralView_Atlas"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Measurements for One Database in One MongoDB Process
      tags:
      - Monitoring and Logs
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Monitoring-and-Logs/operation/getDatabaseMeasurements
  "/api/atlas/v1.0/groups/{groupId}/processes/{processId}/disks":
    get:
      description: Returns the list of disks or partitions for the specified host
        for the specified project. To use this resource, the requesting Service Account
        or API Key must have the Project Read Only role.
      operationId: listDiskPartitions
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Combination of hostname and Internet Assigned Numbers Authority
          (IANA) port that serves the MongoDB process. The host must be the hostname,
          fully qualified domain name (FQDN), or Internet Protocol address (IPv4 or
          IPv6) of the host that runs the MongoDB process (`mongod` or `mongos`).
          The port must be the IANA port on which the MongoDB process listens for
          requests.
        in: path
        name: processId
        required: true
        schema:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\\:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?(\\:[0-9]{4,5})$"
          type: string
          example: mongodb.example.com:27017
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedDiskPartitionView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Available Disks for One MongoDB Process
      tags:
      - Monitoring and Logs
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Monitoring-and-Logs/operation/listDiskPartitions
  "/api/atlas/v1.0/groups/{groupId}/processes/{processId}/disks/{partitionName}":
    get:
      description: Returns measurement details for one disk or partition for the specified
        host for the specified project. To use this resource, the requesting Service
        Account or API Key must have the Project Read Only role.
      operationId: listDiskMeasurements
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - description: Human-readable label of the disk or partition to which the measurements
          apply.
        in: path
        name: partitionName
        required: true
        schema:
          type: string
      - "$ref": "#/components/parameters/groupId"
      - description: Combination of hostname and Internet Assigned Numbers Authority
          (IANA) port that serves the MongoDB process. The host must be the hostname,
          fully qualified domain name (FQDN), or Internet Protocol address (IPv4 or
          IPv6) of the host that runs the MongoDB process (`mongod` or `mongos`).
          The port must be the IANA port on which the MongoDB process listens for
          requests.
        in: path
        name: processId
        required: true
        schema:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\\:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?(\\:[0-9]{4,5})$"
          type: string
          example: mongodb.example.com:27017
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/MeasurementDiskPartition"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Measurements for One Disk
      tags:
      - Monitoring and Logs
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Monitoring-and-Logs/operation/listDiskMeasurements
  "/api/atlas/v1.0/groups/{groupId}/processes/{processId}/disks/{partitionName}/measurements":
    get:
      description: |-
        Returns the measurements of one disk or partition for the specified host for the specified project. Returned value can be one of the following:
        - Throughput of I/O operations for the disk partition used for the MongoDB process
        - Percentage of time during which requests the partition issued and serviced
        - Latency per operation type of the disk partition used for the MongoDB process
        - Amount of free and used disk space on the disk partition used for the MongoDB process

        To use this resource, the requesting Service Account or API Key must have the Project Read Only role.
      operationId: getDiskMeasurements
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: One or more types of measurement to request for this MongoDB
          process. If omitted, the resource returns all measurements. To specify multiple
          values for `m`, repeat the `m` parameter for each value. Specify measurements
          that apply to the specified host. MongoDB Cloud returns an error if you
          specified any invalid measurements.
        in: query
        name: m
        schema:
          maxItems: 10
          minItems: 1
          uniqueItems: true
          type: array
          items:
            type: string
            description: One measurement requested for this MongoDB process.
            enum:
            - DISK_PARTITION_IOPS_READ
            - MAX_DISK_PARTITION_IOPS_READ
            - DISK_PARTITION_IOPS_WRITE
            - MAX_DISK_PARTITION_IOPS_WRITE
            - DISK_PARTITION_IOPS_TOTAL
            - MAX_DISK_PARTITION_IOPS_TOTAL
            - DISK_PARTITION_LATENCY_READ
            - MAX_DISK_PARTITION_LATENCY_READ
            - DISK_PARTITION_LATENCY_WRITE
            - MAX_DISK_PARTITION_LATENCY_WRITE
            - DISK_PARTITION_SPACE_FREE
            - MAX_DISK_PARTITION_SPACE_FREE
            - DISK_PARTITION_SPACE_USED
            - MAX_DISK_PARTITION_SPACE_USED
            - DISK_PARTITION_SPACE_PERCENT_FREE
            - MAX_DISK_PARTITION_SPACE_PERCENT_FREE
            - DISK_PARTITION_SPACE_PERCENT_USED
            - MAX_DISK_PARTITION_SPACE_PERCENT_USED
            - DISK_PARTITION_THROUGHPUT_READ
            - DISK_PARTITION_THROUGHPUT_WRITE
            - DISK_QUEUE_DEPTH
        style: form
      - description: Human-readable label of the disk or partition to which the measurements
          apply.
        in: path
        name: partitionName
        required: true
        schema:
          type: string
      - description: Combination of hostname and Internet Assigned Numbers Authority
          (IANA) port that serves the MongoDB process. The host must be the hostname,
          fully qualified domain name (FQDN), or Internet Protocol address (IPv4 or
          IPv6) of the host that runs the MongoDB process (`mongod` or `mongos`).
          The port must be the IANA port on which the MongoDB process listens for
          requests.
        in: path
        name: processId
        required: true
        schema:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\\:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?(\\:[0-9]{4,5})$"
          type: string
          example: mongodb.example.com:27017
      - "$ref": "#/components/parameters/period"
      - "$ref": "#/components/parameters/granularity"
      - "$ref": "#/components/parameters/start"
      - "$ref": "#/components/parameters/end"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ApiMeasurementsGeneralView_Atlas"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Measurements of One Disk for One MongoDB Process
      tags:
      - Monitoring and Logs
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Monitoring-and-Logs/operation/getDiskMeasurements
  "/api/atlas/v1.0/groups/{groupId}/processes/{processId}/measurements":
    get:
      description: |-
        Returns disk, partition, or host measurements per process for the specified host for the specified project. Returned value can be one of the following:
        - Throughput of I/O operations for the disk partition used for the MongoDB process
        - Percentage of time during which requests the partition issued and serviced
        - Latency per operation type of the disk partition used for the MongoDB process
        - Amount of free and used disk space on the disk partition used for the MongoDB process
        - Measurements for the host, such as CPU usage or number of I/O operations

        To use this resource, the requesting Service Account or API Key must have the Project Read Only role.
      operationId: getHostMeasurements
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: One or more types of measurement to request for this MongoDB
          process. If omitted, the resource returns all measurements. To specify multiple
          values for `m`, repeat the `m` parameter for each value. Specify measurements
          that apply to the specified host. MongoDB Cloud returns an error if you
          specified any invalid measurements.
        in: query
        name: m
        schema:
          maxItems: 10
          minItems: 1
          uniqueItems: true
          type: array
          items:
            type: string
            description: One measurement requested for this MongoDB process.
            enum:
            - ASSERT_MSG
            - ASSERT_REGULAR
            - ASSERT_USER
            - ASSERT_WARNING
            - BACKGROUND_FLUSH_AVG
            - CACHE_BYTES_READ_INTO
            - CACHE_BYTES_WRITTEN_FROM
            - CACHE_DIRTY_BYTES
            - CACHE_USED_BYTES
            - CACHE_FILL_RATIO
            - DIRTY_FILL_RATIO
            - COMPUTED_MEMORY
            - CONNECTIONS
            - CURSORS_TOTAL_OPEN
            - CURSORS_TOTAL_TIMED_OUT
            - DB_DATA_SIZE_TOTAL
            - DB_STORAGE_TOTAL
            - DOCUMENT_METRICS_DELETED
            - DOCUMENT_METRICS_INSERTED
            - DOCUMENT_METRICS_RETURNED
            - DOCUMENT_METRICS_UPDATED
            - EXTRA_INFO_PAGE_FAULTS
            - FTS_DISK_UTILIZATION
            - FTS_MEMORY_MAPPED
            - FTS_MEMORY_RESIDENT
            - FTS_MEMORY_VIRTUAL
            - FTS_PROCESS_CPU_KERNEL
            - FTS_PROCESS_CPU_USER
            - FTS_PROCESS_NORMALIZED_CPU_KERNEL
            - FTS_PROCESS_NORMALIZED_CPU_USER
            - GLOBAL_ACCESSES_NOT_IN_MEMORY
            - GLOBAL_LOCK_CURRENT_QUEUE_READERS
            - GLOBAL_LOCK_CURRENT_QUEUE_TOTAL
            - GLOBAL_LOCK_CURRENT_QUEUE_WRITERS
            - GLOBAL_PAGE_FAULT_EXCEPTIONS_THROWN
            - INDEX_COUNTERS_BTREE_ACCESSES
            - INDEX_COUNTERS_BTREE_HITS
            - INDEX_COUNTERS_BTREE_MISS_RATIO
            - INDEX_COUNTERS_BTREE_MISSES
            - JOURNALING_COMMITS_IN_WRITE_LOCK
            - JOURNALING_MB
            - JOURNALING_WRITE_DATA_FILES_MB
            - MAX_PROCESS_CPU_CHILDREN_KERNEL
            - MAX_PROCESS_CPU_CHILDREN_USER
            - MAX_PROCESS_CPU_KERNEL
            - MAX_PROCESS_CPU_USER
            - MAX_PROCESS_NORMALIZED_CPU_CHILDREN_KERNEL
            - MAX_PROCESS_NORMALIZED_CPU_CHILDREN_USER
            - MAX_PROCESS_NORMALIZED_CPU_KERNEL
            - MAX_PROCESS_NORMALIZED_CPU_USER
            - MAX_SWAP_USAGE_FREE
            - MAX_SWAP_USAGE_USED
            - MAX_SYSTEM_CPU_GUEST
            - MAX_SYSTEM_CPU_IOWAIT
            - MAX_SYSTEM_CPU_IRQ
            - MAX_SYSTEM_CPU_KERNEL
            - MAX_SYSTEM_CPU_SOFTIRQ
            - MAX_SYSTEM_CPU_STEAL
            - MAX_SYSTEM_CPU_USER
            - MAX_SYSTEM_MEMORY_AVAILABLE
            - MAX_SYSTEM_MEMORY_FREE
            - MAX_SYSTEM_MEMORY_USED
            - MAX_SYSTEM_NETWORK_IN
            - MAX_SYSTEM_NETWORK_OUT
            - MAX_SYSTEM_NORMALIZED_CPU_GUEST
            - MAX_SYSTEM_NORMALIZED_CPU_IOWAIT
            - MAX_SYSTEM_NORMALIZED_CPU_IRQ
            - MAX_SYSTEM_NORMALIZED_CPU_KERNEL
            - MAX_SYSTEM_NORMALIZED_CPU_NICE
            - MAX_SYSTEM_NORMALIZED_CPU_SOFTIRQ
            - MAX_SYSTEM_NORMALIZED_CPU_STEAL
            - MAX_SYSTEM_NORMALIZED_CPU_USER
            - MEMORY_MAPPED
            - MEMORY_RESIDENT
            - MEMORY_VIRTUAL
            - NETWORK_BYTES_IN
            - NETWORK_BYTES_OUT
            - NETWORK_NUM_REQUESTS
            - OP_EXECUTION_TIME_COMMANDS
            - OP_EXECUTION_TIME_READS
            - OP_EXECUTION_TIME_WRITES
            - OPCOUNTER_CMD
            - OPCOUNTER_DELETE
            - OPCOUNTER_TTL_DELETED
            - OPCOUNTER_GETMORE
            - OPCOUNTER_INSERT
            - OPCOUNTER_QUERY
            - OPCOUNTER_REPL_CMD
            - OPCOUNTER_REPL_DELETE
            - OPCOUNTER_REPL_INSERT
            - OPCOUNTER_REPL_UPDATE
            - OPCOUNTER_UPDATE
            - OPERATIONS_SCAN_AND_ORDER
            - OPERATIONS_QUERIES_KILLED
            - OPLOG_MASTER_LAG_TIME_DIFF
            - OPLOG_MASTER_TIME
            - OPLOG_RATE_GB_PER_HOUR
            - OPLOG_SLAVE_LAG_MASTER_TIME
            - OPLOG_REPLICATION_LAG
            - PROCESS_CPU_CHILDREN_KERNEL
            - PROCESS_CPU_CHILDREN_USER
            - PROCESS_CPU_KERNEL
            - PROCESS_CPU_USER
            - PROCESS_NORMALIZED_CPU_CHILDREN_KERNEL
            - PROCESS_NORMALIZED_CPU_CHILDREN_USER
            - PROCESS_NORMALIZED_CPU_KERNEL
            - PROCESS_NORMALIZED_CPU_USER
            - QUERY_EXECUTOR_SCANNED
            - QUERY_EXECUTOR_SCANNED_OBJECTS
            - QUERY_TARGETING_SCANNED_OBJECTS_PER_RETURNED
            - QUERY_TARGETING_SCANNED_PER_RETURNED
            - RESTARTS_IN_LAST_HOUR
            - SWAP_USAGE_FREE
            - SWAP_USAGE_USED
            - SYSTEM_CPU_GUEST
            - SYSTEM_CPU_IOWAIT
            - SYSTEM_CPU_IRQ
            - SYSTEM_CPU_KERNEL
            - SYSTEM_CPU_NICE
            - SYSTEM_CPU_SOFTIRQ
            - SYSTEM_CPU_STEAL
            - SYSTEM_CPU_USER
            - SYSTEM_MEMORY_AVAILABLE
            - SYSTEM_MEMORY_FREE
            - SYSTEM_MEMORY_USED
            - SYSTEM_NETWORK_IN
            - SYSTEM_NETWORK_OUT
            - SYSTEM_NORMALIZED_CPU_GUEST
            - SYSTEM_NORMALIZED_CPU_IOWAIT
            - SYSTEM_NORMALIZED_CPU_IRQ
            - SYSTEM_NORMALIZED_CPU_KERNEL
            - SYSTEM_NORMALIZED_CPU_NICE
            - SYSTEM_NORMALIZED_CPU_SOFTIRQ
            - SYSTEM_NORMALIZED_CPU_STEAL
            - SYSTEM_NORMALIZED_CPU_USER
            - TICKETS_AVAILABLE_READS
            - TICKETS_AVAILABLE_WRITE
            - OPERATION_THROTTLING_REJECTED_OPERATIONS
            - QUERY_SPILL_TO_DISK_DURING_SORT
        style: form
      - "$ref": "#/components/parameters/period"
      - description: Combination of hostname and Internet Assigned Numbers Authority
          (IANA) port that serves the MongoDB process. The host must be the hostname,
          fully qualified domain name (FQDN), or Internet Protocol address (IPv4 or
          IPv6) of the host that runs the MongoDB process (`mongod` or `mongos`).
          The port must be the IANA port on which the MongoDB process listens for
          requests.
        in: path
        name: processId
        required: true
        schema:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\\:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?(\\:[0-9]{4,5})$"
          type: string
          example: mongodb.example.com:27017
      - "$ref": "#/components/parameters/granularity"
      - "$ref": "#/components/parameters/start"
      - "$ref": "#/components/parameters/end"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ApiMeasurementsGeneralView_Atlas"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Measurements for One MongoDB Process
      tags:
      - Monitoring and Logs
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Monitoring-and-Logs/operation/getHostMeasurements
  "/api/atlas/v1.0/groups/{groupId}/processes/{processId}/performanceAdvisor/namespaces":
    get:
      description: Returns up to 20 namespaces for collections experiencing slow queries
        on the specified host. If you specify a secondary member of a replica set
        that hasn't received any database read operations, the endpoint doesn't return
        any namespaces. To use this resource, the requesting Service Account or API
        Key must have the Project Read Only role.
      operationId: listSlowQueryNamespaces
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: |-
          Length of time expressed during which the query finds suggested indexes among the managed namespaces in the cluster. This parameter expresses its value in milliseconds.

          - If you don't specify the **since** parameter, the endpoint returns data covering the duration before the current time.
          - If you specify neither the **duration** nor **since** parameters, the endpoint returns data from the previous 24 hours.
        in: query
        name: duration
        schema:
          type: integer
          format: int64
      - description: Combination of host and port that serves the MongoDB process.
          The host must be the hostname, FQDN, IPv4 address, or IPv6 address of the
          host that runs the MongoDB process (`mongod` or `mongos`). The port must
          be the IANA port on which the MongoDB process listens for requests.
        in: path
        name: processId
        required: true
        schema:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\\:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?(\\:[0-9]{4,5})$"
          type: string
      - description: |-
          Date and time from which the query retrieves the suggested indexes. This parameter expresses its value in the number of milliseconds that have elapsed since the [UNIX epoch](https://en.wikipedia.org/wiki/Unix_time).

          - If you don't specify the **duration** parameter, the endpoint returns data covering from the **since** value and the current time.
          - If you specify neither the **duration** nor the **since** parameters, the endpoint returns data from the previous 24 hours.
        in: query
        name: since
        schema:
          minimum: 1199145600000
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Namespaces"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '429':
          "$ref": "#/components/responses/tooManyRequests"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Namespaces for One Host
      tags:
      - Performance Advisor
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Performance-Advisor/operation/listSlowQueryNamespaces
  "/api/atlas/v1.0/groups/{groupId}/processes/{processId}/performanceAdvisor/slowQueryLogs":
    get:
      description: Returns log lines for slow queries that the Performance Advisor
        and Query Profiler identified. The Performance Advisor monitors queries that
        MongoDB considers slow and suggests new indexes to improve query performance.
        MongoDB Cloud bases the threshold for slow queries on the average time of
        operations on your cluster. This enables workload-relevant recommendations.
        To use this resource, the requesting Service Account or API Key must have
        any Project Data Access role or the Project Observability Viewer role.
      operationId: listSlowQueries
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: |-
          Length of time expressed during which the query finds slow queries among the managed namespaces in the cluster. This parameter expresses its value in milliseconds.

          - If you don't specify the **since** parameter, the endpoint returns data covering the duration before the current time.
          - If you specify neither the **duration** nor **since** parameters, the endpoint returns data from the previous 24 hours.
        in: query
        name: duration
        schema:
          type: integer
          format: int64
      - description: 'Namespaces from which to retrieve slow queries. A namespace
          consists of one database and one collection resource written as `.`: `<database>.<collection>`.
          To include multiple namespaces, pass the parameter multiple times delimited
          with an ampersand (`&`) between each namespace. Omit this parameter to return
          results for all namespaces.'
        in: query
        name: namespaces
        schema:
          type: array
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        style: form
      - description: Maximum number of lines from the log to return.
        in: query
        name: nLogs
        schema:
          maximum: 20000
          minimum: 0
          type: integer
          format: int64
          default: 20000
      - description: Combination of host and port that serves the MongoDB process.
          The host must be the hostname, FQDN, IPv4 address, or IPv6 address of the
          host that runs the MongoDB process (`mongod` or `mongos`). The port must
          be the IANA port on which the MongoDB process listens for requests.
        in: path
        name: processId
        required: true
        schema:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\\:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?(\\:[0-9]{4,5})$"
          type: string
      - description: |-
          Date and time from which the query retrieves the slow queries. This parameter expresses its value in the number of milliseconds that have elapsed since the [UNIX epoch](https://en.wikipedia.org/wiki/Unix_time).

          - If you don't specify the **duration** parameter, the endpoint returns data covering from the **since** value and the current time.
          - If you specify neither the **duration** nor the **since** parameters, the endpoint returns data from the previous 24 hours.
        in: query
        name: since
        schema:
          minimum: 1199145600000
          type: integer
          format: int64
      - description: Whether or not to include metrics extracted from the slow query
          log as separate fields.
        in: query
        name: includeMetrics
        schema:
          type: boolean
          default: false
      - description: Whether or not to include the replica state of the host when
          the slow query log was generated as a separate field.
        in: query
        name: includeReplicaState
        schema:
          type: boolean
          default: false
      - description: Whether or not to include the operation type (read/write/command)
          extracted from the slow query log as a separate field.
        in: query
        name: includeOpType
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PerformanceAdvisorSlowQueryList"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '429':
          "$ref": "#/components/responses/tooManyRequests"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Slow Queries
      tags:
      - Performance Advisor
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Performance-Advisor/operation/listSlowQueries
  "/api/atlas/v1.0/groups/{groupId}/processes/{processId}/performanceAdvisor/suggestedIndexes":
    get:
      description: Returns the indexes that the Performance Advisor suggests. The
        Performance Advisor monitors queries that MongoDB considers slow and suggests
        new indexes to improve query performance. To use this resource, the requesting
        Service Account or API Key must have the Project Read Only role.
      operationId: listSuggestedIndexes
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: |-
          Length of time expressed during which the query finds suggested indexes among the managed namespaces in the cluster. This parameter expresses its value in milliseconds.

          - If you don't specify the **since** parameter, the endpoint returns data covering the duration before the current time.
          - If you specify neither the **duration** nor **since** parameters, the endpoint returns data from the previous 24 hours.
        in: query
        name: duration
        schema:
          type: integer
          format: int64
      - description: 'Namespaces from which to retrieve suggested indexes. A namespace
          consists of one database and one collection resource written as `.`: `<database>.<collection>`.
          To include multiple namespaces, pass the parameter multiple times delimited
          with an ampersand (`&`) between each namespace. Omit this parameter to return
          results for all namespaces.'
        in: query
        name: namespaces
        schema:
          type: array
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        style: form
      - description: Maximum number of example queries that benefit from the suggested
          index.
        in: query
        name: nExamples
        schema:
          type: integer
          format: int64
          default: 5
      - description: Number that indicates the maximum indexes to suggest.
        in: query
        name: nIndexes
        schema:
          type: integer
          format: int64
      - description: Combination of host and port that serves the MongoDB process.
          The host must be the hostname, FQDN, IPv4 address, or IPv6 address of the
          host that runs the MongoDB process (`mongod` or `mongos`). The port must
          be the IANA port on which the MongoDB process listens for requests.
        in: path
        name: processId
        required: true
        schema:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\\:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?(\\:[0-9]{4,5})$"
          type: string
      - description: |-
          Date and time from which the query retrieves the suggested indexes. This parameter expresses its value in the number of milliseconds that have elapsed since the [UNIX epoch](https://en.wikipedia.org/wiki/Unix_time).

          - If you don't specify the **duration** parameter, the endpoint returns data covering from the **since** value and the current time.
          - If you specify neither the **duration** nor the **since** parameters, the endpoint returns data from the previous 24 hours.
        in: query
        name: since
        schema:
          minimum: 1199145600000
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PerformanceAdvisorResponse"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '429':
          "$ref": "#/components/responses/tooManyRequests"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Suggested Indexes
      tags:
      - Performance Advisor
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Performance-Advisor/operation/listSuggestedIndexes
  "/api/atlas/v1.0/groups/{groupId}/sampleDatasetLoad/{name}":
    post:
      description: Requests loading the MongoDB sample dataset into the specified
        cluster. To use this resource, the requesting Service Account or API Key must
        have the Project Owner role.
      operationId: loadSampleDataset
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the cluster into which you
          load the sample dataset.
        in: path
        name: name
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/SampleDatasetStatus"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Load Sample Dataset into One Cluster
      tags:
      - Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Clusters/operation/loadSampleDataset
  "/api/atlas/v1.0/groups/{groupId}/sampleDatasetLoad/{sampleDatasetId}":
    get:
      description: Checks the progress of loading the sample dataset into one cluster.
        To use this resource, the requesting Service Account or API Key must have
        the Project Owner role.
      operationId: getSampleDatasetLoadStatus
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Unique 24-hexadecimal digit string that identifies the loaded
          sample dataset.
        in: path
        name: sampleDatasetId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/SampleDatasetStatus"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Status of Sample Dataset Load for One Cluster
      tags:
      - Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Clusters/operation/getSampleDatasetLoadStatus
  "/api/atlas/v1.0/groups/{groupId}/serverless":
    get:
      deprecated: true
      description: |-
        Returns details for all serverless instances in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role.

        This endpoint also lists Flex clusters that were created using the [Create Serverless Instance](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/createServerlessInstance) endpoint or former Serverless instances that have been migrated to Flex clusters, until January 15, 2026 after which this endpoint will begin returning an empty list. The endpoint will be removed entirely on January 15, 2027.  Continuous backups are not supported and `serverlessContinuousBackupEnabled` will not take effect on these clusters. Please use the List Flex Clusters endpoint instead.
      externalDocs:
        description: List Flex Clusters
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/listFlexClusters
      operationId: listServerlessInstances
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedServerlessInstanceDescriptionView"
              x-sunset: '2027-01-15'
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Serverless Instances in One Project
      tags:
      - Serverless Instances
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Serverless-Instances/operation/listServerlessInstances
  "/api/atlas/v1.0/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs":
    get:
      deprecated: true
      description: |-
        Returns all restore jobs for one serverless instance from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role.

        This API can also be used on Flex clusters that were created with the [Create Serverless Instance](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/createServerlessInstance) endpoint or Flex clusters that were migrated from Serverless instances. This endpoint will be sunset on January 22, 2026. Please use the List Flex Backup Restore Jobs endpoint instead.
      externalDocs:
        description: List Flex Backup Restore Jobs
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/listFlexBackupRestoreJobs
      operationId: listServerlessBackupRestoreJobs
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the serverless instance.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedApiAtlasServerlessBackupRestoreJobView"
              x-sunset: '2026-01-22'
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Restore Jobs for One Serverless Instance
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/listServerlessBackupRestoreJobs
    post:
      deprecated: true
      description: |-
        Restores one snapshot of one serverless instance from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role.

        This API can also be used on Flex clusters that were created with the [Create Serverless Instance](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/createServerlessInstance) endpoint or Flex clusters that were migrated from Serverless instances. This endpoint will be sunset on January 22, 2026. Please use the Create Flex Backup Restore Job endpoint instead.
      externalDocs:
        description: Create Flex Backup Restore Job
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/createFlexBackupRestoreJob
      operationId: createServerlessBackupRestoreJob
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the serverless instance
          whose snapshot you want to restore.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/ServerlessBackupRestoreJob"
        description: Restores one snapshot of one serverless instance from the specified
          project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ServerlessBackupRestoreJob"
              x-sunset: '2026-01-22'
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Restore One Snapshot of One Serverless Instance
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/createServerlessBackupRestoreJob
  "/api/atlas/v1.0/groups/{groupId}/serverless/{clusterName}/backup/restoreJobs/{restoreJobId}":
    get:
      deprecated: true
      description: |-
        Returns one restore job for one serverless instance from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role.

        This API can also be used on Flex clusters that were created with the [Create Serverless Instance](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/createServerlessInstance) endpoint or Flex clusters that were migrated from Serverless instances. This endpoint will be sunset on January 22, 2026. Please use the Get Flex Backup Restore Job endpoint instead.
      externalDocs:
        description: Get Flex Backup Restore Job
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Restore-Jobs/operation/getFlexBackupRestoreJob
      operationId: getServerlessBackupRestoreJob
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the serverless instance.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the restore
          job to return.
        in: path
        name: restoreJobId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ServerlessBackupRestoreJob"
              x-sunset: '2026-01-22'
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Restore Job for One Serverless Instance
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/getServerlessBackupRestoreJob
  "/api/atlas/v1.0/groups/{groupId}/serverless/{clusterName}/backup/snapshots":
    get:
      deprecated: true
      description: |-
        Returns all snapshots of one serverless instance from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role.

        This API can also be used on Flex clusters that were created with the [Create Serverless Instance](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/createServerlessInstance) endpoint or Flex clusters that were migrated from Serverless instances. This endpoint will be sunset on January 22, 2026. Please use the List Flex Backups endpoint instead.
      externalDocs:
        description: List Flex Backups
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/listFlexBackups
      operationId: listServerlessBackups
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - description: Human-readable label that identifies the serverless instance.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedApiAtlasServerlessBackupSnapshotView"
              x-sunset: '2026-01-22'
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Snapshots of One Serverless Instance
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/listServerlessBackups
  "/api/atlas/v1.0/groups/{groupId}/serverless/{clusterName}/backup/snapshots/{snapshotId}":
    get:
      deprecated: true
      description: |-
        Returns one snapshot of one serverless instance from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role.

        This endpoint can also be used on Flex clusters that were created with the [Create Serverless Instance](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/createServerlessInstance) API or Flex clusters that were migrated from Serverless instances. This endpoint will be sunset on January 22, 2026. Please use the Get Flex Backup endpoint instead.
      externalDocs:
        description: Get Flex Backup
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Snapshots/operation/getFlexBackup
      operationId: getServerlessBackup
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the serverless instance.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies the desired
          snapshot.
        in: path
        name: snapshotId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
          example: 32b6e34b3d91647abb20e7b8
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ServerlessBackupSnapshot"
              x-sunset: '2026-01-22'
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Snapshot of One Serverless Instance
      tags:
      - Cloud Backups
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Backups/operation/getServerlessBackup
  "/api/atlas/v1.0/groups/{groupId}/serverless/{name}":
    get:
      deprecated: true
      description: |-
        Returns details for one serverless instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role.

        This API can also be used on Flex clusters that were created with the [Create Serverless Instance](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Serverless-Instances/operation/createServerlessInstance) endpoint or Flex clusters that were migrated from Serverless instances. Continuous backups are not supported and `serverlessContinuousBackupEnabled` will not take effect on these clusters. This endpoint will be sunset on January 15, 2027. Please use the Get Flex Cluster endpoint instead.
      externalDocs:
        description: Get Flex Cluster
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/getFlexCluster
      operationId: getServerlessInstance
      parameters:
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the serverless instance.
        in: path
        name: name
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ServerlessInstanceDescription"
              x-sunset: '2027-01-15'
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Serverless Instance from One Project
      tags:
      - Serverless Instances
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Serverless-Instances/operation/getServerlessInstance
  "/api/atlas/v1.0/groups/{groupId}/settings":
    get:
      description: Returns details about the specified project's settings. To use
        this resource, the requesting Service Account or API Key must have the Project
        Read Only role.
      operationId: getProjectSettings
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/GroupSettings"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Project Settings
      tags:
      - Projects
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Projects/operation/getProjectSettings
    patch:
      description: Updates the settings of the specified project. You can update any
        of the options available. MongoDB cloud only updates the options provided
        in the request. To use this resource, the requesting Service Account or API
        Key must have the Project Owner role.
      operationId: updateProjectSettings
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/GroupSettings"
        description: Settings to update.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/GroupSettings"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update Project Settings
      tags:
      - Projects
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Projects/operation/updateProjectSettings
  "/api/atlas/v1.0/groups/{groupId}/teams":
    get:
      description: Returns all teams to which the authenticated user has access in
        the project specified using its unique 24-hexadecimal digit identifier. All
        members of the team share the same project access. To use this resource, the
        requesting Service Account or API Key must have the Project Read Only role.
      operationId: listProjectTeams
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedTeamRoleView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Teams in One Project
      tags:
      - Teams
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Teams/operation/listProjectTeams
    post:
      description: Adds multiple teams to the specified project. All members of a
        team share the same project access. MongoDB Cloud limits the number of users
        to a maximum of 100 teams per project and a maximum of 250 teams per organization.
        To use this resource, the requesting Service Account or API Key must have
        the Project Owner role.
      externalDocs:
        description: Manage Organization Teams
        url: https://docs.atlas.mongodb.com/access/manage-teams-in-orgs/#std-label-manage-teams
      operationId: addAllTeamsToProject
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/groupId"
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                "$ref": "#/components/schemas/TeamRole"
              x-xgen-IPA-exception:
                xgen-IPA-124-array-max-items: Schema predates IPA validation.
        description: Teams and their roles to be added to the specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedTeamRoleView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Add Multiple Teams to One Project
      tags:
      - Teams
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Teams/operation/addAllTeamsToProject
  "/api/atlas/v1.0/groups/{groupId}/teams/{teamId}":
    delete:
      description: Removes one team specified using its unique 24-hexadecimal digit
        identifier from the project specified using its unique 24-hexadecimal digit
        identifier. To use this resource, the requesting Service Account or API Key
        must have the Project Owner role.
      externalDocs:
        description: Manage Organization Teams
        url: https://docs.atlas.mongodb.com/access/manage-teams-in-orgs/#std-label-manage-teams
      operationId: removeProjectTeam
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Unique 24-hexadecimal digit string that identifies the team that
          you want to remove from the specified project.
        in: path
        name: teamId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '204':
          description: This endpoint does not return a response body.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Team from One Project
      tags:
      - Teams
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Teams/operation/removeProjectTeam
    patch:
      description: Updates the project roles assigned to the specified team. You can
        grant team roles for specific projects and grant project access roles to users
        in the team. All members of the team share the same project access. To use
        this resource, the requesting Service Account or API Key must have the Project
        Owner role.
      externalDocs:
        description: Manage Organization Teams
        url: https://docs.atlas.mongodb.com/access/manage-teams-in-orgs/#std-label-manage-teams
      operationId: updateTeamRoles
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the team for
          which you want to update roles.
        in: path
        name: teamId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/TeamRole"
        description: The project roles assigned to the specified team.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedTeamRoleView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update Team Roles in One Project
      tags:
      - Teams
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Teams/operation/updateTeamRoles
  "/api/atlas/v1.0/groups/{groupId}/userSecurity":
    get:
      description: Returns the current LDAP configuration for the specified project.
        To use this resource, the requesting Service Account or API Key must have
        the Project Owner role.
      operationId: getLdapConfiguration
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/UserSecurity"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return LDAP or X.509 Configuration
      tags:
      - LDAP Configuration
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/LDAP-Configuration/operation/getLdapConfiguration
    patch:
      description: |-
        Edits the LDAP configuration for the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role.

        Updating this configuration triggers a rolling restart of the database.
      operationId: saveLdapConfiguration
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/UserSecurity"
        description: Updates the LDAP configuration for the specified project.
        required: true
      responses:
        '202':
          description: Accepted
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/UserSecurity"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update LDAP or X.509 Configuration
      tags:
      - LDAP Configuration
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/LDAP-Configuration/operation/saveLdapConfiguration
  "/api/atlas/v1.0/groups/{groupId}/userSecurity/customerX509":
    delete:
      description: |-
        Clears the customer-managed X.509 settings on a project, including the uploaded Certificate Authority, which disables self-managed X.509.

         Updating this configuration triggers a rolling restart of the database. You must have the Project Owner role to use this endpoint.
      operationId: disableCustomerManagedX509
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      responses:
        '202':
          description: Accepted
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/UserSecurity"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Disable Customer-Managed X.509
      tags:
      - X.509 Authentication
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/X.509-Authentication/operation/disableCustomerManagedX509
  "/api/atlas/v1.0/groups/{groupId}/userSecurity/ldap/userToDNMapping":
    delete:
      description: Removes the current LDAP Distinguished Name mapping captured in
        the ``userToDNMapping`` document from the LDAP configuration for the specified
        project. To use this resource, the requesting Service Account or API Key must
        have the Project Owner role.
      operationId: deleteLdapConfiguration
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '202':
          description: Accepted
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/UserSecurity"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove LDAP User to DN Mapping
      tags:
      - LDAP Configuration
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/LDAP-Configuration/operation/deleteLdapConfiguration
  "/api/atlas/v1.0/groups/{groupId}/userSecurity/ldap/verify":
    post:
      description: Verifies the LDAP configuration for the specified project. To use
        this resource, the requesting Service Account or API Key must have the Project
        Owner role.
      operationId: verifyLdapConfiguration
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/LDAPVerifyConnectivityJobRequestParams"
        description: The LDAP configuration for the specified project that you want
          to verify.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/LDAPVerifyConnectivityJobRequest"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Verify LDAP Configuration in One Project
      tags:
      - LDAP Configuration
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/LDAP-Configuration/operation/verifyLdapConfiguration
  "/api/atlas/v1.0/groups/{groupId}/userSecurity/ldap/verify/{requestId}":
    get:
      description: Returns the status of one request to verify one LDAP configuration
        for the specified project. To use this resource, the requesting Service Account
        or API Key must have the Project Owner role.
      operationId: getLdapConfigurationStatus
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique string that identifies the request to verify an Lightweight
          Directory Access Protocol (LDAP) configuration.
        in: path
        name: requestId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/LDAPVerifyConnectivityJobRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Status of LDAP Configuration Verification in One Project
      tags:
      - LDAP Configuration
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/LDAP-Configuration/operation/getLdapConfigurationStatus
  "/api/atlas/v1.0/groups/{groupId}/users":
    get:
      description: Returns details about all users in the specified project. Users
        belong to an organization. To use this resource, the requesting Service Account
        or API Key must have the Project Read Only role.
      operationId: listProjectUsers
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: 'Flag that indicates whether the returned list should include
          users who belong to a team with a role in this project. You might not have
          assigned the individual users a role in this project. If `"flattenTeams"
          : false`, this resource returns only users with a role in the project.  If
          `"flattenTeams" : true`, this resource returns both users with roles in
          the project and users who belong to teams with roles in the project.'
        in: query
        name: flattenTeams
        schema:
          type: boolean
          default: false
      - description: 'Flag that indicates whether the returned list should include
          users with implicit access to the project, the Organization Owner or Organization
          Read Only role. You might not have assigned the individual users a role
          in this project. If `"includeOrgUsers": false`, this resource returns only
          users with a role in the project. If `"includeOrgUsers": true`, this resource
          returns both users with roles in the project and users who have implicit
          access to the project through their organization role.'
        in: query
        name: includeOrgUsers
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedAppUserView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All MongoDB Cloud Users in One Project
      tags:
      - Projects
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Projects/operation/listProjectUsers
  "/api/atlas/v1.0/groups/{groupId}/users/{userId}":
    delete:
      description: Removes the specified user from the specified project. To use this
        resource, the requesting Service Account or API Key must have the Project
        Owner role.
      operationId: removeProjectUser
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal string that identifies MongoDB Cloud user
          you want to remove from the specified project. To return a application user's
          ID using their application username, use the Get All application users in
          One Project endpoint.
        in: path
        name: userId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '204':
          description: This endpoint does not return a response body.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One MongoDB Cloud User from One Project
      tags:
      - Projects
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Projects/operation/removeProjectUser
  "/api/atlas/v1.0/orgs":
    get:
      description: Returns all organizations to which the requesting Service Account
        or API Key has access. To use this resource, the requesting Service Account
        or API Key must have the Organization Member role.
      operationId: listOrganizations
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label of the organization to use to filter the
          returned list. Performs a case-insensitive search for an organization that
          starts with the specified name.
        in: query
        name: name
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedOrganizationView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Organizations
      tags:
      - Organizations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Organizations/operation/listOrganizations
    post:
      description: Creates one organization in MongoDB Cloud and links it to the requesting
        Service Account's or API Key's organization. To use this resource, the requesting
        Service Account or API Key must have the Organization Owner role. The requesting
        Service Account's or API Key's organization must be a paying organization.
        To learn more, see Configure a Paying Organization in the MongoDB Atlas documentation.
        Optionally, if `federationSettingsId` is provided, the new Organization will
        be linked to the federation. The requesting Service Account or API Key must
        be an Organization Owner in the federation.
      externalDocs:
        description: Configure a Paying Organization
        url: https://www.mongodb.com/docs/atlas/billing/#configure-a-paying-organization
      operationId: createOrganization
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/CreateOrganizationRequest"
        description: Organization that you want to create.
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/CreateOrganizationResponse"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Organization
      tags:
      - Organizations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Organizations/operation/createOrganization
  "/api/atlas/v1.0/orgs/{orgId}":
    delete:
      description: |-
        Removes one specified organization. MongoDB Cloud imposes the following limits on this resource:

         - Organizations with active projects cannot be removed.
         - All projects in the organization must be removed before you can remove the organization.
         To use this resource, the requesting Service Account or API Key must have the Organization Owner role.
      operationId: deleteOrganization
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      responses:
        '204':
          description: This endpoint does not return a response body.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '402':
          "$ref": "#/components/responses/paymentRequired"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Organization
      tags:
      - Organizations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Organizations/operation/deleteOrganization
    get:
      description: Returns one organization to which the requesting Service Account
        or API Key has access. To use this resource, the requesting Service Account
        or API Key must have the Organization Member role.
      operationId: getOrganization
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/AtlasOrganization"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Organization
      tags:
      - Organizations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Organizations/operation/getOrganization
    patch:
      description: Updates one organization. To use this resource, the requesting
        Service Account or API Key must have the Organization Owner role.
      operationId: updateOrganization
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/AtlasOrganization"
        description: Details to update on the specified organization.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/AtlasOrganization"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Organization
      tags:
      - Organizations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Organizations/operation/updateOrganization
  "/api/atlas/v1.0/orgs/{orgId}/apiKeys":
    get:
      description: Returns all organization API keys for the specified organization.
        The organization API keys grant programmatic access to an organization. You
        can't use the API key to log into MongoDB Cloud through the console. To use
        this resource, the requesting Service Account or API Key must have the Organization
        Member role.
      externalDocs:
        description: Programmatic API Keys
        url: https://docs.atlas.mongodb.com/configure-api-access/#std-label-atlas-prog-api-key
      operationId: listApiKeys
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedApiApiUserView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Organization API Keys
      tags:
      - Programmatic API Keys
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Programmatic-API-Keys/operation/listApiKeys
    post:
      description: Creates one API key for the specified organization. An organization
        API key grants programmatic access to an organization. You can't use the API
        key to log into the console. To use this resource, the requesting Service
        Account or API Key must have the Organization Owner role.
      externalDocs:
        description: Programmatic API Keys
        url: https://docs.atlas.mongodb.com/configure-api-access/#std-label-atlas-prog-api-key
      operationId: createApiKey
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/CreateAtlasOrganizationApiKey"
        description: Organization API Key to be created.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ApiKeyUserDetails"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Organization API Key
      tags:
      - Programmatic API Keys
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Programmatic-API-Keys/operation/createApiKey
  "/api/atlas/v1.0/orgs/{orgId}/apiKeys/{apiUserId}":
    delete:
      description: Removes one organization API key from the specified organization.
        When you remove an API key from an organization, MongoDB Cloud also removes
        that key from any projects that use that key. To use this resource, the requesting
        Service Account or API Key must have the Organization Owner role.
      externalDocs:
        description: Configure Atlas API Access
        url: https://docs.atlas.mongodb.com/configure-api-access/#std-label-enable-api-access-list
      operationId: deleteApiKey
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies this organization
          API key.
        in: path
        name: apiUserId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '204':
          description: This endpoint does not return a response body.
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Organization API Key
      tags:
      - Programmatic API Keys
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Programmatic-API-Keys/operation/deleteApiKey
    get:
      description: Returns one organization API key. The organization API keys grant
        programmatic access to an organization. You can't use the API key to log into
        MongoDB Cloud through the user interface. To use this resource, the requesting
        Service Account or API Key must have the  Organization Member role.
      externalDocs:
        description: Programmatic API Keys
        url: https://docs.atlas.mongodb.com/configure-api-access/#std-label-atlas-prog-api-key
      operationId: getApiKey
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies this organization
          API key that  you want to update.
        in: path
        name: apiUserId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ApiKeyUserDetails"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Organization API Key
      tags:
      - Programmatic API Keys
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Programmatic-API-Keys/operation/getApiKey
    patch:
      description: Updates one organization API key in the specified organization.
        The organization API keys  grant programmatic access to an organization. To
        use this resource, the requesting  API Key must have the Organization Owner
        role.
      externalDocs:
        description: Programmatic API Keys
        url: https://docs.atlas.mongodb.com/configure-api-access/#std-label-atlas-prog-api-key
      operationId: updateApiKey
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies this organization
          API key you  want to update.
        in: path
        name: apiUserId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/UpdateAtlasOrganizationApiKey"
        description: Organization API key to be updated. This request requires a minimum
          of one of the two body parameters.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/ApiKeyUserDetails"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Organization API Key
      tags:
      - Programmatic API Keys
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Programmatic-API-Keys/operation/updateApiKey
  "/api/atlas/v1.0/orgs/{orgId}/apiKeys/{apiUserId}/accessList":
    get:
      description: Returns all access list entries that you configured for the specified
        organization API key. To use this resource, the requesting Service Account
        or API Key must have the Organization Member role.
      externalDocs:
        description: Programmatic API Keys
        url: https://docs.atlas.mongodb.com/configure-api-access/#view-the-details-of-one-api-key-in-one-organization
      operationId: listApiKeyAccessListsEntries
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies this organization
          API key for which you want to return access list entries.
        in: path
        name: apiUserId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedApiUserAccessListResponseView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Access List Entries for One Organization API Key
      tags:
      - Programmatic API Keys
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Programmatic-API-Keys/operation/listApiKeyAccessListsEntries
    post:
      description: Creates the access list entries for the specified organization
        API key. Resources require all API requests originate from IP addresses on
        the API access list. To use this resource, the requesting Service Account
        or API Key must have the Read Write role.
      operationId: createApiKeyAccessList
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies this organization
          API key for which you want to create a new access list entry.
        in: path
        name: apiUserId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                "$ref": "#/components/schemas/UserAccessListRequest"
              x-xgen-IPA-exception:
                xgen-IPA-124-array-max-items: Schema predates IPA validation.
        description: Access list entries to be created for the specified organization
          API key.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedApiUserAccessListResponseView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Access List Entry for One Organization API Key
      tags:
      - Programmatic API Keys
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Programmatic-API-Keys/operation/createApiKeyAccessList
  "/api/atlas/v1.0/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}":
    delete:
      description: Removes the specified access list entry from the specified organization
        API key. Resources require all API requests originate from the IP addresses
        on the API access list. To use this resource, the requesting Service Account
        or API Key must have the Read Write role. In addition, you cannot remove the
        requesting IP address from the requesting organization API key.
      externalDocs:
        description: Configure Atlas API Access
        url: https://docs.atlas.mongodb.com/configure-api-access/#std-label-enable-api-access-list
      operationId: deleteApiKeyAccessListEntry
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies this organization
          API key for which you want to remove access list entries.
        in: path
        name: apiUserId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      - description: One IP address or multiple IP addresses represented as one CIDR
          block to limit requests to API resources in the specified organization.
          When adding a CIDR block with a subnet mask, such as 192.0.2.0/24, use the
          URL-encoded value %2F for the forward slash /.
        in: path
        name: ipAddress
        required: true
        schema:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(%2[fF][0-9]{1,3})?|([0-9a-f]{1,4}\\:){7}[0-9a-f]{1,4}(%2[fF][0-9]{1,3})?|([0-9a-f]{1,4}\\:){1,6}\\:(%2[fF][0-9]{1,3})?$"
          type: string
          example: 192.0.2.0%2F24
      responses:
        '204':
          description: This endpoint does not return a response body.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Access List Entry for One Organization API Key
      tags:
      - Programmatic API Keys
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Programmatic-API-Keys/operation/deleteApiKeyAccessListEntry
    get:
      description: Returns one access list entry for the specified organization API
        key. Resources require  all API requests originate from IP addresses on the
        API access list. To use this resource, the requesting Service Account or API
        Key must have the Organization Member role.
      externalDocs:
        description: Configure Atlas API Access
        url: https://docs.atlas.mongodb.com/configure-api-access/#std-label-enable-api-access-list
      operationId: getApiKeyAccessList
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      - description: One IP address or multiple IP addresses represented as one CIDR
          block to limit  requests to API resources in the specified organization.
          When adding a CIDR block with a subnet mask, such as  192.0.2.0/24, use
          the URL-encoded value %2F for the forward slash /.
        in: path
        name: ipAddress
        required: true
        schema:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(%2[fF][0-9]{1,3})?|([0-9a-f]{1,4}\\:){7}[0-9a-f]{1,4}(%2[fF][0-9]{1,3})?|([0-9a-f]{1,4}\\:){1,6}\\:(%2[fF][0-9]{1,3})?$"
          type: string
          example: 192.0.2.0%2F24
      - description: Unique 24-hexadecimal digit string that identifies this organization
          API key for  which you want to return access list entries.
        in: path
        name: apiUserId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/UserAccessListResponse"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Access List Entry for One Organization API Key
      tags:
      - Programmatic API Keys
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Programmatic-API-Keys/operation/getApiKeyAccessList
  "/api/atlas/v1.0/orgs/{orgId}/events":
    get:
      description: |-
        Returns events for the specified organization. Events identify significant database, billing, or security activities or status changes. To use this resource, the requesting Service Account or API Key must have the Organization Member role.

        This resource remains under revision and may change.
      operationId: listOrganizationEvents
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: |-
          Category of incident recorded at this moment in time.

          **IMPORTANT**: The complete list of event type values changes frequently.
        in: query
        name: eventType
        schema:
          type: array
          items:
            "$ref": "#/components/schemas/EventTypeForOrg"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
      - description: Flag that indicates whether to include the raw document in the
          output. The raw document contains additional meta information about the
          event.
        in: query
        name: includeRaw
        schema:
          type: boolean
          default: false
      - description: Date and time from when MongoDB Cloud stops returning events.
          This parameter uses the ISO 8601 timestamp format in UTC.
        in: query
        name: maxDate
        schema:
          type: string
          format: date-time
      - description: Date and time from when MongoDB Cloud starts returning events.
          This parameter uses the ISO 8601 timestamp format in UTC.
        in: query
        name: minDate
        schema:
          type: string
          format: date-time
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/OrgPaginatedEventView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Events from One Organization
      tags:
      - Events
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Events/operation/listOrganizationEvents
  "/api/atlas/v1.0/orgs/{orgId}/events/{eventId}":
    get:
      description: |-
        Returns one event for the specified organization. Events identify significant database, billing, or security activities or status changes. To use this resource, the requesting Service Account or API Key must have the Organization Member role. Use the Return Events from One Organization endpoint to retrieve all events to which the authenticated user has access.

        This resource remains under revision and may change.
      externalDocs:
        description: Return Events from One Organization
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Events/operation/listOrganizationEvents
      operationId: getOrganizationEvent
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the event
          that you want to return.
        in: path
        name: eventId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      - description: Flag that indicates whether to include the raw document in the
          output. The raw document contains additional meta information about the
          event.
        in: query
        name: includeRaw
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/EventViewForOrg"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Event from One Organization
      tags:
      - Events
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Events/operation/getOrganizationEvent
  "/api/atlas/v1.0/orgs/{orgId}/federationSettings":
    get:
      description: Returns information about the federation settings for the specified
        organization. To use this resource, the requesting Service Account or API
        Key must have the Organization Owner role in the connected organization.
      operationId: getFederationSettings
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/OrgFederationSettings"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Federation Settings for One Organization
      tags:
      - Federated Authentication
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Federated-Authentication/operation/getFederationSettings
  "/api/atlas/v1.0/orgs/{orgId}/groups":
    get:
      description: |-
        Returns multiple projects in the specified organization. Each organization can have multiple projects. Use projects to:

        - Isolate different environments, such as development, test, or production environments, from each other.
        - Associate different MongoDB Cloud users or teams with different environments, or give different permission to MongoDB Cloud users in different environments.
        - Maintain separate cluster security configurations.
        - Create different alert settings.

        To use this resource, the requesting Service Account or API Key must have the Organization Member role.
      operationId: listOrganizationProjects
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label of the project to use to filter the returned
          list. Performs a case-insensitive search for a project within the organization
          which is prefixed by the specified name.
        in: query
        name: name
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedAtlasGroupView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Projects in One Organization
      tags:
      - Organizations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Organizations/operation/listOrganizationProjects
  "/api/atlas/v1.0/orgs/{orgId}/invites":
    get:
      description: Returns all pending invitations to the specified organization.
        To use this resource, the requesting Service Account or API Key must have
        the Organization Owner role.
      operationId: listOrganizationInvitations
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      - description: Email address of the user account invited to this organization.
          If you exclude this parameter, this resource returns all pending invitations.
        in: query
        name: username
        schema:
          type: string
          format: email
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/OrganizationInvitation"
                x-xgen-IPA-exception:
                  xgen-IPA-124-array-max-items: Schema predates IPA validation.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Organization Invitations
      tags:
      - Organizations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Organizations/operation/listOrganizationInvitations
    patch:
      description: Updates the details of one pending invitation to the specified
        organization. To specify which invitation, provide the username of the invited
        user. To use this resource, the requesting Service Account or API Key must
        have the Organization Owner role.
      operationId: updateOrganizationInvitation
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/OrganizationInvitationRequest"
        description: Updates the details of one pending invitation to the specified
          organization.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/OrganizationInvitation"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Organization Invitation
      tags:
      - Organizations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Organizations/operation/updateOrganizationInvitation
    post:
      description: Invites one MongoDB Cloud user to join the specified organization.
        The user must accept the invitation to access information within the specified
        organization. To use this resource, the requesting Service Account or API
        Key must have the Organization Owner role.
      operationId: createOrganizationInvitation
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/OrganizationInvitationRequest"
        description: Invites one MongoDB Cloud user to join the specified organization.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/OrganizationInvitation"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Invite One MongoDB Cloud User to One Atlas Organization
      tags:
      - Organizations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Organizations/operation/createOrganizationInvitation
  "/api/atlas/v1.0/orgs/{orgId}/invites/{invitationId}":
    delete:
      description: Cancels one pending invitation sent to the specified MongoDB Cloud
        user to join an organization. You can't cancel an invitation that the user
        accepted. To use this resource, the requesting Service Account or API Key
        must have the Organization Owner role.
      operationId: deleteOrganizationInvitation
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the invitation.
        in: path
        name: invitationId
        required: true
        schema:
          type: string
      responses:
        '204':
          description: This endpoint does not return a response body.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Organization Invitation
      tags:
      - Organizations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Organizations/operation/deleteOrganizationInvitation
    get:
      description: Returns the details of one pending invitation to the specified
        organization. To use this resource, the requesting Service Account or API
        Key must have the Organization Owner role.
      operationId: getOrganizationInvitation
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - description: Unique 24-hexadecimal digit string that identifies the invitation.
        in: path
        name: invitationId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/OrganizationInvitation"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Organization Invitation
      tags:
      - Organizations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Organizations/operation/getOrganizationInvitation
    patch:
      description: Updates the details of one pending invitation to the specified
        organization. To specify which invitation, provide the unique identification
        string for that invitation. Use the Return All Organization Invitations endpoint
        to retrieve IDs for all pending organization invitations. To use this resource,
        the requesting Service Account or API Key must have the Organization Owner
        role.
      operationId: updateOrganizationInvitationById
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the invitation.
        in: path
        name: invitationId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/OrganizationInvitationUpdateRequest"
        description: Updates the details of one pending invitation to the specified
          organization.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/OrganizationInvitation"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Organization Invitation by Invitation ID
      tags:
      - Organizations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Organizations/operation/updateOrganizationInvitationById
  "/api/atlas/v1.0/orgs/{orgId}/invoices":
    get:
      description: |-
        Returns all invoices that MongoDB issued to the specified organization. This list includes all invoices regardless of invoice status. To use this resource, the requesting Service Account or API Key must have the Organization Billing Viewer, Organization Billing Admin, or Organization Owner role. If you have a cross-organization setup, you can view linked invoices if you have the Organization Billing Admin or Organization Owner role.
        To compute the total owed amount of the invoices - sum up total owed of each invoice. It could be computed as a sum of owed amount of each payment included into the invoice. To compute payment's owed amount - use formula `totalBilledCents` * `unitPrice` + `salesTax` - `startingBalanceCents`.
      operationId: listInvoices
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Flag that indicates whether to return linked invoices in the
          `linkedInvoices` field.
        in: query
        name: viewLinkedInvoices
        schema:
          type: boolean
          default: true
      - description: Statuses of the invoice to be retrieved. Omit to return invoices
          of all statuses.
        in: query
        name: statusNames
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
            enum:
            - PENDING
            - CLOSED
            - FORGIVEN
            - FAILED
            - PAID
            - FREE
            - PREPAID
            - INVOICED
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
      - description: Retrieve the invoices the `startDates` of which are greater than
          or equal to the `fromDate`. If omit, the invoices return will go back to
          earliest `startDate`.
        in: query
        name: fromDate
        schema:
          example: '2023-01-01'
          format: date
          type: string
      - description: Retrieve the invoices the `endDates` of which are smaller than
          or equal to the `toDate`. If omit, the invoices return will go further to
          latest `endDate`.
        in: query
        name: toDate
        schema:
          example: '2023-01-01'
          format: date
          type: string
      - description: Field used to sort the returned invoices by. Use in combination
          with `orderBy` parameter to control the order of the result.
        in: query
        name: sortBy
        schema:
          type: string
          enum:
          - START_DATE
          - END_DATE
          default: END_DATE
      - description: Field used to order the returned invoices by. Use in combination
          of `sortBy` parameter to control the order of the result.
        example: desc
        in: query
        name: orderBy
        schema:
          type: string
          enum:
          - desc
          - asc
          default: desc
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedApiInvoiceMetadataView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Invoices for One Organization
      tags:
      - Invoices
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Invoices/operation/listInvoices
  "/api/atlas/v1.0/orgs/{orgId}/invoices/pending":
    get:
      description: Returns all invoices accruing charges for the current billing cycle
        for the specified organization. To use this resource, the requesting Service
        Account or API Key must have the Organization Billing Viewer, Organization
        Billing Admin, or Organization Owner role. If you have a cross-organization
        setup, you can view linked invoices if you have the Organization Billing Admin
        or Organization Owner Role.
      operationId: listPendingInvoices
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedApiInvoiceView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Pending Invoices for One Organization
      tags:
      - Invoices
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Invoices/operation/listPendingInvoices
  "/api/atlas/v1.0/orgs/{orgId}/invoices/{invoiceId}":
    get:
      description: |-
        Returns one invoice that MongoDB issued to the specified organization. A unique 24-hexadecimal digit string identifies the invoice. You can choose to receive this invoice in JSON or CSV format. To use this resource, the requesting Service Account or API Key must have the Organization Billing Viewer, Organization Billing Admin, or Organization Owner role. If you have a cross-organization setup, you can query for a linked invoice if you have the Organization Billing Admin or Organization Owner role.
        To compute the total owed amount of the invoice - sum up total owed amount of each payment included into the invoice. To compute payment's owed amount - use formula *totalBilledCents* * *unitPrice* + *salesTax* - *startingBalanceCents*.
      operationId: getInvoice
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the invoice
          submitted to the specified organization. Charges typically post the next
          day.
        in: path
        name: invoiceId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/BillingInvoice"
            text/csv:
              schema:
                type: string
              example: |
                Invoice Number,666acb8787ba43606905dcae,
                Billing Period,"June 1, 2024 - July 1, 2024",
                Organization Name,Test 2,
                Organization ID,666acb8787ba43606905dcac,

                Date,Usage Date,Description,Note,Organization Name,Organization ID,Project,Project ID,SKU,Region,Cluster,Replica Set,Config Server,Application,Unit,Unit Price,Quantity,Discount Percent,Amount
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Invoice for One Organization
      tags:
      - Invoices
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Invoices/operation/getInvoice
  "/api/atlas/v1.0/orgs/{orgId}/invoices/{invoiceId}/csv":
    get:
      description: |-
        Returns one invoice that MongoDB issued to the specified organization in CSV format. A unique 24-hexadecimal digit string identifies the invoice. To use this resource, the requesting Service Account or API Key have at least the Organization Billing Viewer, Organization Billing Admin, or Organization Owner role. If you have a cross-organization setup, you can query for a linked invoice if you have the Organization Billing Admin or Organization Owner Role.
         To compute the total owed amount of the invoice - sum up total owed amount of each payment included into the invoice. To compute payment's owed amount - use formula `totalBilledCents` * `unitPrice` + `salesTax` - `startingBalanceCents`.
      operationId: downloadInvoiceCsv
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the invoice
          submitted to the specified organization. Charges typically post the next
          day.
        in: path
        name: invoiceId
        required: true
        schema:
          pattern: "[0-9a-f]+"
          type: string
      responses:
        '200':
          description: OK
          content:
            text/csv:
              schema:
                type: string
              example: |
                Invoice Number,666acb8787ba43606905dcae,
                Billing Period,"June 1, 2024 - July 1, 2024",
                Organization Name,Test 2,
                Organization ID,666acb8787ba43606905dcac,

                Date,Usage Date,Description,Note,Organization Name,Organization ID,Project,Project ID,SKU,Region,Cluster,Replica Set,Config Server,Application,Unit,Unit Price,Quantity,Discount Percent,Amount
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Invoice as CSV for One Organization
      tags:
      - Invoices
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Invoices/operation/downloadInvoiceCsv
  "/api/atlas/v1.0/orgs/{orgId}/liveMigrations/availableProjects":
    get:
      description: Return all projects that you can migrate to the specified organization.
      operationId: listSourceProjects
      parameters:
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  "$ref": "#/components/schemas/LiveImportAvailableProject"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Projects Available for Migration
      tags:
      - Cloud Migration Service
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Migration-Service/operation/listSourceProjects
  "/api/atlas/v1.0/orgs/{orgId}/liveMigrations/linkTokens":
    delete:
      description: Remove one organization link and its associated public API key.
        MongoDB Atlas uses the link-token for push live migrations only. Live migrations
        (push) let you securely push data from Cloud Manager or Ops Manager into MongoDB
        Atlas. Your API Key must have the Organization Owner role to successfully
        call this resource.
      operationId: deleteLinkToken
      parameters:
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/envelope"
      responses:
        '204':
          description: This endpoint does not return a response body.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Link-Token
      tags:
      - Cloud Migration Service
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Migration-Service/operation/deleteLinkToken
    post:
      description: Create one link-token that contains all the information required
        to complete the link. MongoDB Atlas uses the link-token for push live migrations
        only. Live migration (push) allows you to securely push data from Cloud Manager
        or Ops Manager into MongoDB Atlas. Your API Key must have the Organization
        Owner role to successfully call this resource.
      operationId: createLinkToken
      parameters:
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/TargetOrgRequest"
        description: IP address access list entries associated with the migration.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/TargetOrg"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Link-Token
      tags:
      - Cloud Migration Service
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Cloud-Migration-Service/operation/createLinkToken
  "/api/atlas/v1.0/orgs/{orgId}/settings":
    get:
      description: Returns details about the specified organization's settings. To
        use this resource, the requesting Service Account or API Key must have the
        Organization Member role.
      operationId: getOrganizationSettings
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/OrganizationSettings"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return Settings for One Organization
      tags:
      - Organizations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Organizations/operation/getOrganizationSettings
    patch:
      description: Updates the organization's settings. To use this resource, the
        requesting Service Account or API Key must have the Organization Owner role.
      operationId: updateOrganizationSettings
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/OrganizationSettings"
        description: Details to update on the specified organization's settings.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/OrganizationSettings"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '429':
          "$ref": "#/components/responses/tooManyRequests"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update Settings for One Organization
      tags:
      - Organizations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Organizations/operation/updateOrganizationSettings
  "/api/atlas/v1.0/orgs/{orgId}/teams":
    get:
      description: Returns all teams that belong to the specified organization. Teams
        enable you to grant project access roles to MongoDB Cloud users. MongoDB Cloud
        only returns teams for which you have access. To use this resource, the requesting
        Service Account or API Key must have the Organization Member role.
      externalDocs:
        description: Manage Organization Teams
        url: https://docs.atlas.mongodb.com/access/manage-teams-in-orgs/#std-label-manage-teams
      operationId: listOrganizationTeams
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedTeamView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Teams in One Organization
      tags:
      - Teams
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Teams/operation/listOrganizationTeams
    post:
      description: Creates one team in the specified organization. Teams enable you
        to grant project access roles to MongoDB Cloud users. MongoDB Cloud limits
        the number of teams to a maximum of 250 teams per organization. To use this
        resource, the requesting Service Account or API Key must have the Organization
        Owner role.
      externalDocs:
        description: Manage Organization Teams
        url: https://docs.atlas.mongodb.com/access/manage-teams-in-orgs/#std-label-manage-teams
      operationId: createTeam
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/Team"
        description: Team that you want to create in the specified organization.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Team"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Team in One Organization
      tags:
      - Teams
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Teams/operation/createTeam
  "/api/atlas/v1.0/orgs/{orgId}/teams/byName/{teamName}":
    get:
      description: Returns one team that you identified using its human-readable name.
        This team belongs to one organization. Teams enable you to grant project access
        roles to MongoDB Cloud users. To use this resource, the requesting Service
        Account or API Key must have the Organization Member role.
      externalDocs:
        description: Manage Organization Teams
        url: https://docs.atlas.mongodb.com/access/manage-teams-in-orgs/#std-label-manage-teams
      operationId: getTeamByName
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      - description: Name of the team whose information you want to return.
        in: path
        name: teamName
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/TeamResponse"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Team by Name
      tags:
      - Teams
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Teams/operation/getTeamByName
  "/api/atlas/v1.0/orgs/{orgId}/teams/{teamId}":
    delete:
      description: Removes one team specified using its unique 24-hexadecimal digit
        identifier from the organization specified using its unique 24-hexadecimal
        digit identifier. To use this resource, the requesting Service Account or
        API Key must have the Organization Owner role.
      externalDocs:
        description: Manage Organization Teams
        url: https://docs.atlas.mongodb.com/access/manage-teams-in-orgs/#std-label-manage-teams
      operationId: deleteTeam
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the team that
          you want to delete.
        in: path
        name: teamId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '204':
          description: This endpoint does not return a response body.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Team from One Organization
      tags:
      - Teams
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Teams/operation/deleteTeam
    get:
      description: Returns one team that you identified using its unique 24-hexadecimal
        digit ID. This team belongs to one organization. Teams enable you to grant
        project access roles to MongoDB Cloud users. To use this resource, the requesting
        Service Account or API Key must have the Organization Member role.
      externalDocs:
        description: Manage Organization Teams
        url: https://docs.atlas.mongodb.com/access/manage-teams-in-orgs/#std-label-manage-teams
      operationId: getTeamById
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the team whose
          information you want to return.
        in: path
        name: teamId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/TeamResponse"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Team by ID
      tags:
      - Teams
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Teams/operation/getTeamById
    patch:
      description: Renames one team in the specified organization. Teams enable you
        to grant project access roles to MongoDB Cloud users. To use this resource,
        the requesting Service Account or API Key must have the Organization Owner
        role.
      externalDocs:
        description: Manage Organization Teams
        url: https://docs.atlas.mongodb.com/access/manage-teams-in-orgs/#std-label-manage-teams
      operationId: renameTeam
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the team that
          you want to rename.
        in: path
        name: teamId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/TeamUpdate"
        description: Details to update on the specified team.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/TeamResponse"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Rename One Team
      tags:
      - Teams
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Teams/operation/renameTeam
  "/api/atlas/v1.0/orgs/{orgId}/teams/{teamId}/users":
    get:
      description: Returns all MongoDB Cloud users assigned to the team specified
        using its unique 24-hexadecimal digit identifier. This team belongs to one
        organization. Teams enable you to grant project access roles to MongoDB Cloud
        users. To use this resource, the requesting Service Account or API Key must
        have the Organization Member role.
      externalDocs:
        description: Manage Organization Teams
        url: https://docs.atlas.mongodb.com/access/manage-teams-in-orgs/#std-label-manage-teams
      operationId: listTeamUsers
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the team whose
          application users you want to return.
        in: path
        name: teamId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedApiAppUserView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All MongoDB Cloud Users Assigned to One Team
      tags:
      - Teams
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Teams/operation/listTeamUsers
    post:
      description: Adds one or more MongoDB Cloud users from the specified organization
        to the specified team. Teams enable you to grant project access roles to MongoDB
        Cloud users. You can assign up to 250 MongoDB Cloud users from one organization
        to one team. To use this resource, the requesting Service Account or API Key
        must have the Organization Owner role.
      externalDocs:
        description: Manage Organization Teams
        url: https://docs.atlas.mongodb.com/access/manage-teams-in-orgs/#std-label-manage-teams
      operationId: addTeamUser
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal character string that identifies the team
          to which you want to add MongoDB Cloud users.
        in: path
        name: teamId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                "$ref": "#/components/schemas/AddUserToTeam"
              x-xgen-IPA-exception:
                xgen-IPA-124-array-max-items: Schema predates IPA validation.
        description: One or more MongoDB Cloud users that you want to add to the specified
          team.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedApiAppUserView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Assign MongoDB Cloud Users in One Organization to One Team
      tags:
      - Teams
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Teams/operation/addTeamUser
  "/api/atlas/v1.0/orgs/{orgId}/teams/{teamId}/users/{userId}":
    delete:
      description: Removes one MongoDB Cloud user from the specified team. This team
        belongs to one organization. Teams enable you to grant project access roles
        to MongoDB Cloud users. To use this resource, the requesting Service Account
        or API Key must have the Organization Owner role.
      externalDocs:
        description: Manage Organization Teams
        url: https://docs.atlas.mongodb.com/access/manage-teams-in-orgs/#std-label-manage-teams
      operationId: removeTeamUser
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the team from
          which you want to remove one database application user.
        in: path
        name: teamId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      - description: Unique 24-hexadecimal digit string that identifies MongoDB Cloud
          user that you want to remove from the specified team.
        in: path
        name: userId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '204':
          description: This endpoint does not return a response body.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One MongoDB Cloud User from One Team
      tags:
      - Teams
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Teams/operation/removeTeamUser
  "/api/atlas/v1.0/orgs/{orgId}/users":
    get:
      description: Returns details about the MongoDB Cloud users associated with the
        specified organization. Each MongoDB Cloud user returned must belong to the
        specified organization or to a project within the specified organization.
        To use this resource, the requesting Service Account or API Key must have
        the Organization Member role.
      operationId: listOrganizationUsers
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedAppUserView"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All MongoDB Cloud Users in One Organization
      tags:
      - Organizations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Organizations/operation/listOrganizationUsers
  "/api/atlas/v1.0/orgs/{orgId}/users/{userId}":
    delete:
      description: Removes one MongoDB Cloud user from the specified organization.
        To use this resource, the requesting Service Account or API Key must have
        the Organization User Admin role.
      operationId: removeOrganizationUser
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/orgId"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies the user to
          be deleted.
        in: path
        name: userId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '204':
          description: This endpoint does not return a response body.
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One MongoDB Cloud User from One Organization
      tags:
      - Organizations
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Organizations/operation/removeOrganizationUser
  "/api/atlas/v1.0/users":
    post:
      description: |-
        Creates one MongoDB Cloud user account. A MongoDB Cloud user account grants access to only the MongoDB Cloud application. To grant database access, create a database user. MongoDB Cloud sends an email to the users you specify, inviting them to join the project. Invited users don't have access to the project until they accept the invitation. Invitations expire after 30 days.

         MongoDB Cloud limits MongoDB Cloud user membership to a maximum of 250 MongoDB Cloud users per team. MongoDB Cloud limits MongoDB Cloud user membership to 500 MongoDB Cloud users per project and 500 MongoDB Cloud users per organization, which includes the combined membership of all projects in the organization. MongoDB Cloud raises an error if an operation exceeds these limits. For example, if you have an organization with five projects, and each project has 100 MongoDB Cloud users, and each MongoDB Cloud user belongs to only one project, you can't add any MongoDB Cloud users to this organization without first removing existing MongoDB Cloud users from the organization.

         To use this resource, the requesting Service Account or API Key can have any role.
      operationId: createUser
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/CloudAppUser"
        description: MongoDB Cloud user account to create.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/CloudAppUser"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One MongoDB Cloud User
      tags:
      - MongoDB Cloud Users
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/MongoDB-Cloud-Users/operation/createUser
  "/api/atlas/v1.0/users/byName/{userName}":
    get:
      description: Returns the details for one MongoDB Cloud user account with the
        specified username. You can't use this endpoint to return information about
        an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization)
        API Key endpoint. To use this resource, the requesting Service Account or
        API Key can have any role.
      operationId: getUserByUsername
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - description: Email address that belongs to the MongoDB Cloud user account.
          You cannot modify this address after creating the user.
        in: path
        name: userName
        required: true
        schema:
          pattern: "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/CloudAppUser"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One MongoDB Cloud User by Username
      tags:
      - MongoDB Cloud Users
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/MongoDB-Cloud-Users/operation/getUserByUsername
  "/api/atlas/v1.0/users/{userId}":
    get:
      description: Returns the details for one MongoDB Cloud user account with the
        specified unique identifier for the user. You can't use this endpoint to return
        information on an API Key. To return information about an API Key, use the
        [Return One Organization](#tag/Organizations/operation/getOrganization) API
        Key endpoint. You can always retrieve your own user account. If you are the
        owner of a MongoDB Cloud organization or project, you can also retrieve the
        user profile for any user with membership in that organization or project.
        To use this resource, the requesting Service Account or API Key can have any
        role.
      operationId: getUser
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - description: Unique 24-hexadecimal digit string that identifies this user.
        in: path
        name: userId
        required: true
        schema:
          pattern: "^([a-f0-9]{24})$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/CloudAppUser"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One MongoDB Cloud User by ID
      tags:
      - MongoDB Cloud Users
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/MongoDB-Cloud-Users/operation/getUser
  "/api/atlas/v1.5/groups/{groupId}/clusters":
    get:
      description: |-
        Returns the details for all clusters in the specific project to which you have access. Clusters contain a group of hosts that maintain the same data set. The response includes multi-cloud clusters. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. This feature is not available for serverless clusters.

        This endpoint can also be used on Flex clusters that were created using the [Create Cluster](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/createCluster) endpoint or former M2/M5 clusters that have been migrated to Flex clusters until January 2026. Please use the List Flex Clusters endpoint for Flex clusters instead.
      externalDocs:
        description: List Flex Clusters
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/listFlexClusters
      operationId: listClusters
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/includeCount"
      - "$ref": "#/components/parameters/itemsPerPage"
      - "$ref": "#/components/parameters/pageNum"
      - "$ref": "#/components/parameters/pretty"
      - description: Flag that indicates whether to return Clusters with retain backups.
        in: query
        name: includeDeletedWithRetainedBackups
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/PaginatedAdvancedClusterDescriptionView"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return All Clusters in One Project
      tags:
      - Multi-Cloud Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Multi-Cloud-Clusters/operation/listClusters
    post:
      description: |-
        Creates one cluster in the specified project. Clusters contain a group of hosts that maintain the same data set. This resource can create multi-cloud clusters. Each project supports up to 25 database deployments. To use this resource, the requesting Service Account or API Key must have the Project Owner role. This feature is not available for serverless clusters.

        Please note that using an `instanceSize` of M2 or M5 will create a Flex cluster instead. Support for the `instanceSize` of M2 or M5 will be discontinued in January 2026. We recommend using the Create Flex Cluster API for such configurations moving forward.
      externalDocs:
        description: Create Flex Cluster
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/createFlexCluster
      operationId: createCluster
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/AdvancedClusterDescription"
            examples:
              Multi Cloud Cluster:
                description: Multi Cloud Cluster
                value:
                  name: multiCloud
                  clusterType: REPLICASET
                  replicationSpecs:
                  - numShards: 1
                    regionConfigs:
                    - analyticsAutoScaling:
                        autoIndexing:
                          enabled: false
                        compute:
                          enabled: true
                          maxInstanceSize: M40
                          minInstanceSize: M30
                          scaleDownEnabled: true
                        diskGB:
                          enabled: true
                      analyticsSpecs:
                        instanceSize: M30
                        nodeCount: 0
                      autoScaling:
                        autoIndexing:
                          enabled: false
                        compute:
                          enabled: true
                          maxInstanceSize: M40
                          minInstanceSize: M30
                          scaleDownEnabled: true
                        diskGB:
                          enabled: true
                      providerName: AWS
                      electableSpecs:
                        instanceSize: M30
                        nodeCount: 3
                      hiddenSecondarySpecs:
                        instanceSize: M30
                        nodeCount: 0
                      priority: 7
                      readOnlySpecs:
                        instanceSize: M30
                        nodeCount: 0
                      regionName: US_EAST_1
                    - analyticsAutoScaling:
                        autoIndexing:
                          enabled: false
                        compute:
                          enabled: true
                          maxInstanceSize: M40
                          minInstanceSize: M30
                          scaleDownEnabled: true
                        diskGB:
                          enabled: true
                      analyticsSpecs:
                        instanceSize: M30
                        nodeCount: 0
                      autoScaling:
                        autoIndexing:
                          enabled: false
                        compute:
                          enabled: true
                          maxInstanceSize: M40
                          minInstanceSize: M30
                          scaleDownEnabled: true
                        diskGB:
                          enabled: true
                      providerName: GCP
                      electableSpecs:
                        instanceSize: M30
                        nodeCount: 2
                      hiddenSecondarySpecs:
                        instanceSize: M30
                        nodeCount: 0
                      priority: 6
                      readOnlySpecs:
                        instanceSize: M30
                        nodeCount: 0
                      regionName: EASTERN_US
                    zoneName: Zone 1
                  links: []
        description: Cluster to create in this project.
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/AdvancedClusterDescription"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '402':
          "$ref": "#/components/responses/paymentRequired"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Create One Cluster in One Project
      tags:
      - Multi-Cloud Clusters
      x-xgen-changelog:
        '2025-06-05': Fixed a bug that previously permitted users to configure multiple
          regionConfigs for the same region and cloud provider within a replicationSpec
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Multi-Cloud-Clusters/operation/createCluster
  "/api/atlas/v1.5/groups/{groupId}/clusters/{clusterName}":
    delete:
      description: |-
        Removes one cluster from the specified project. The cluster must have termination protection disabled in order to be deleted. To use this resource, the requesting Service Account or API Key must have the Project Owner role. This feature is not available for serverless clusters.

        This endpoint can also be used on Flex clusters that were created using the [Create Cluster](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/createCluster) endpoint or former M2/M5 clusters that have been migrated to Flex clusters until January 2026. Please use the Delete Flex Cluster endpoint for Flex clusters instead.
      externalDocs:
        description: Delete Flex Cluster
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/deleteFlexCluster
      operationId: deleteCluster
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - description: Flag that indicates whether to retain backup snapshots for the
          deleted dedicated cluster.
        in: query
        name: retainBackups
        schema:
          type: boolean
      responses:
        '202':
          description: Accepted
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Cluster from One Project
      tags:
      - Multi-Cloud Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Multi-Cloud-Clusters/operation/deleteCluster
    get:
      description: |-
        Returns the details for one cluster in the specified project. Clusters contain a group of hosts that maintain the same data set. The response includes multi-cloud clusters. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. This feature is not available for serverless clusters.

        This endpoint can also be used on Flex clusters that were created using the [Create Cluster](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/createCluster) endpoint or former M2/M5 clusters that have been migrated to Flex clusters until January 2026. Please use the Get Flex Cluster endpoint for Flex clusters instead.
      externalDocs:
        description: Get Flex Cluster
        url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/getFlexCluster
      operationId: getCluster
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies this cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/AdvancedClusterDescription"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Return One Cluster from One Project
      tags:
      - Multi-Cloud Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Multi-Cloud-Clusters/operation/getCluster
    patch:
      description: 'Updates the details for one cluster in the specified project.
        Clusters contain a group of hosts that maintain the same data set. This resource
        can update multi-cloud clusters. To update a cluster''s termination protection,
        the requesting Service Account or API Key must have the Project Owner role.
        For all other updates, the requesting Service Account or API Key must have
        the Project Cluster Manager role. You can''t modify a paused cluster (`paused
        : true`). You must call this endpoint to set `paused : false`. After this
        endpoint responds with `paused : false`, you can call it again with the changes
        you want to make to the cluster. This feature is not available for serverless
        clusters.'
      operationId: updateCluster
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/AdvancedClusterDescription"
        description: Cluster to update in the specified project.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/AdvancedClusterDescription"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Update One Cluster in One Project
      tags:
      - Multi-Cloud Clusters
      x-xgen-changelog:
        '2025-06-05': Fixed a bug that previously permitted users to configure multiple
          regionConfigs for the same region and cloud provider within a replicationSpec
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Multi-Cloud-Clusters/operation/updateCluster
  "/api/atlas/v1.5/groups/{groupId}/clusters/{clusterName}/globalWrites/customZoneMapping":
    delete:
      description: Removes all custom zone mappings for the specified global cluster.
        A custom zone mapping matches one ISO 3166-2 location code to a zone in your
        global cluster. Removing the custom zone mappings restores the default mapping.
        By default, MongoDB Cloud maps each location code to the closest geographical
        zone. To use this resource, the requesting Service Account or API Key must
        have the Project Owner role.
      externalDocs:
        description: Global Clusters
        url: https://www.mongodb.com/docs/atlas/global-clusters/
      operationId: deleteAllCustomZoneMappings
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies this cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/GeoSharding"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove All Custom Zone Mappings from One Global Cluster
      tags:
      - Global Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Global-Clusters/operation/deleteAllCustomZoneMappings
  "/api/atlas/v1.5/groups/{groupId}/clusters/{clusterName}/globalWrites/managedNamespaces":
    delete:
      description: Removes one managed namespace within the specified global cluster.
        A managed namespace identifies a collection using the database name, the dot
        separator, and the collection name. Deleting a managed namespace does not
        remove the associated collection or data. To use this resource, the requesting
        Service Account or API Key must have the Project Data Access Admin role.
      externalDocs:
        description: Global Clusters
        url: https://www.mongodb.com/docs/atlas/global-clusters/
      operationId: deleteManagedNamespace
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies this cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the database that contains
          the collection.
        in: query
        name: db
        schema:
          type: string
      - description: Human-readable label that identifies the collection associated
          with the managed namespace.
        in: query
        name: collection
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/GeoSharding"
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Remove One Managed Namespace from One Global Cluster
      tags:
      - Global Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Global-Clusters/operation/deleteManagedNamespace
  "/api/atlas/v1.5/groups/{groupId}/clusters/{clusterName}/restartPrimaries":
    post:
      description: Starts a failover test for the specified cluster in the specified
        project. Clusters contain a group of hosts that maintain the same data set.
        A failover test checks how MongoDB Cloud handles the failure of the cluster's
        primary node. During the test, MongoDB Cloud shuts down the primary node and
        elects a new primary. To use this resource, the requesting Service Account
        or API Key must have the Project Cluster Manager role.
      operationId: testFailover
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - "$ref": "#/components/parameters/pretty"
      - description: Human-readable label that identifies the cluster.
        in: path
        name: clusterName
        required: true
        schema:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
      responses:
        '200':
          description: OK
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Test Failover for One Cluster
      tags:
      - Multi-Cloud Clusters
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Multi-Cloud-Clusters/operation/testFailover
  "/api/atlas/v1.5/groups/{groupId}/clusters/{hostName}/logs/{logName}.gz":
    get:
      description: 'Returns a compressed (.gz) log file that contains a range of log
        messages for the specified host for the specified project. MongoDB updates
        process and audit logs from the cluster backend infrastructure every five
        minutes. Logs are stored in chunks approximately five minutes in length, but
        this duration may vary. If you poll the API for log files, we recommend polling
        every five minutes even though consecutive polls could contain some overlapping
        logs. This feature isn''t available for `M0` free clusters, `M2`, `M5`, flex,
        or serverless clusters. To use this resource, the requesting Service Account
        or API Key must have the Project Cluster Log Viewer role or Project Data Access
        Read Only role. The API does not support direct calls with the json response
        schema. You must request a gzip response schema using an accept header of
        the format: "Accept: application/vnd.atlas.YYYY-MM-DD+gzip".'
      operationId: getHostLogs
      parameters:
      - "$ref": "#/components/parameters/envelope"
      - "$ref": "#/components/parameters/groupId"
      - description: Human-readable label that identifies the host that stores the
          log files that you want to download.
        in: path
        name: hostName
        required: true
        schema:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?$"
          type: string
      - description: Human-readable label that identifies the log file that you want
          to return. To return audit logs, enable *Database Auditing* for the specified
          project.
        in: path
        name: logName
        required: true
        schema:
          type: string
          externalDocs:
            description: Set up Database Auditing
            url: https://docs.atlas.mongodb.com/database-auditing/
          enum:
          - mongodb
          - mongos
          - mongodb-audit-log
          - mongos-audit-log
      - description: Specifies the date and time for the ending point of the range
          of log messages to retrieve, in the number of seconds that have elapsed
          since the UNIX epoch. This value will default to 24 hours after the start
          date. If the start date is also unspecified, the value will default to the
          time of the request.
        in: query
        name: endDate
        schema:
          minimum: 1199145600
          type: integer
          format: int64
      - description: Specifies the date and time for the starting point of the range
          of log messages to retrieve, in the number of seconds that have elapsed
          since the UNIX epoch. This value will default to 24 hours prior to the end
          date. If the end date is also unspecified, the value will default to 24
          hours prior to the time of the request.
        in: query
        name: startDate
        schema:
          minimum: 1199145600
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/gzip:
              schema:
                type: string
                description: Compressed (.gz) log file that contains a range of log
                  messages for the specified host for the specified project
                format: binary
        '400':
          "$ref": "#/components/responses/badRequest"
        '401':
          "$ref": "#/components/responses/unauthorized"
        '403':
          "$ref": "#/components/responses/forbidden"
        '404':
          "$ref": "#/components/responses/notFound"
        '409':
          "$ref": "#/components/responses/conflict"
        '500':
          "$ref": "#/components/responses/internalServerError"
      summary: Download Logs for One Cluster Host in One Project
      tags:
      - Monitoring and Logs
      x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Monitoring-and-Logs/operation/getHostLogs
components:
  schemas:
    AWSCloudProviderContainer:
      title: AWS
      required:
      - regionName
      type: object
      description: Collection of settings that configures the network container for
        a virtual private connection on Amazon Web Services.
      allOf:
      - "$ref": "#/components/schemas/CloudProviderContainer"
      - type: object
        properties:
          atlasCidrBlock:
            pattern: "^((([0-9]{1,3}\\.){3}[0-9]{1,3})|(:{0,2}([0-9a-f]{1,4}:){0,7}[0-9a-f]{1,4}[:]{0,2}))((%2[fF]|/)[0-9]{1,3})+$"
            type: string
            description: |-
              IP addresses expressed in Classless Inter-Domain Routing (CIDR) notation that MongoDB Cloud uses for the network peering containers in your project. MongoDB Cloud assigns all of the project's clusters deployed to this cloud provider an IP address from this range. MongoDB Cloud locks this value if an M10 or greater cluster or a network peering connection exists in this project.

              These CIDR blocks must fall within the ranges reserved per RFC 1918. AWS and Azure further limit the block to between the `/24` and  `/21` ranges.

              To modify the CIDR block, the target project cannot have:

              - Any M10 or greater clusters
              - Any other VPC peering connections

               You can also create a new project and create a network peering connection to set the desired MongoDB Cloud network peering container CIDR block for that project. MongoDB Cloud limits the number of MongoDB nodes per network peering connection based on the CIDR block and the region selected for the project.

               **Example:** A project in an Amazon Web Services (AWS) region supporting three availability zones and an MongoDB CIDR network peering container block of limit of `/24` equals 27 three-node replica sets.
          regionName:
            type: string
            description: Geographic area that Amazon Web Services (AWS) defines to
              which MongoDB Cloud deployed this network peering container.
            enum:
            - US_EAST_1
            - US_EAST_2
            - US_WEST_1
            - US_WEST_2
            - CA_CENTRAL_1
            - EU_NORTH_1
            - EU_WEST_1
            - EU_WEST_2
            - EU_WEST_3
            - EU_CENTRAL_1
            - EU_CENTRAL_2
            - SA_EAST_1
            - AP_EAST_1
            - AP_EAST_2
            - AP_SOUTHEAST_2
            - AP_SOUTHEAST_3
            - AP_SOUTHEAST_4
            - AP_SOUTHEAST_5
            - AP_SOUTHEAST_6
            - AP_SOUTHEAST_7
            - AP_NORTHEAST_1
            - AP_NORTHEAST_2
            - AP_NORTHEAST_3
            - AP_SOUTHEAST_1
            - AP_SOUTH_1
            - AP_SOUTH_2
            - CN_NORTH_1
            - CN_NORTHWEST_1
            - ME_CENTRAL_1
            - ME_SOUTH_1
            - AF_SOUTH_1
            - EU_SOUTH_1
            - EU_SOUTH_2
            - IL_CENTRAL_1
            - CA_WEST_1
            - MX_CENTRAL_1
            - GLOBAL
            - US_GOV_WEST_1
            - US_GOV_EAST_1
            x-xgen-IPA-exception:
              xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum values
                standardized by cloud providers.
          vpcId:
            pattern: "^vpc-[0-9a-f]{17}$"
            type: string
            description: Unique string that identifies the MongoDB Cloud VPC on AWS.
            readOnly: true
            example: vpc-b555d3b0d9cb783b0
    AWSCloudProviderSettings:
      type: object
      allOf:
      - "$ref": "#/components/schemas/ClusterProviderSettings"
      - type: object
        properties:
          autoScaling:
            "$ref": "#/components/schemas/CloudProviderAWSAutoScaling"
          diskIOPS:
            type: integer
            description: Maximum Disk Input/Output Operations per Second (IOPS) that
              the database host can perform.
            format: int32
            x-xgen-IPA-exception:
              xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
          encryptEBSVolume:
            type: boolean
            description: Flag that indicates whether the Amazon Elastic Block Store
              (EBS) encryption feature encrypts the host's root volume for both data
              at rest within the volume and for data moving between the volume and
              the cluster. Clusters always have this setting enabled.
            deprecated: true
            default: true
            x-xgen-IPA-exception:
              xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
          instanceSizeName:
            title: AWS Instance Sizes
            type: string
            description: Cluster tier, with a default storage and memory capacity,
              that applies to all the data-bearing hosts in your cluster.
            enum:
            - M10
            - M20
            - M30
            - M40
            - M50
            - M60
            - M80
            - M100
            - M140
            - M200
            - M300
            - R40
            - R50
            - R60
            - R80
            - R200
            - R300
            - R400
            - R700
            - M40_NVME
            - M50_NVME
            - M60_NVME
            - M80_NVME
            - M200_NVME
            - M400_NVME
            x-xgen-IPA-exception:
              xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum values
                standardized by cloud providers.
          regionName:
            title: AWS Regions
            type: string
            description: Physical location where MongoDB Cloud deploys your AWS-hosted
              MongoDB cluster nodes. The region you choose can affect network latency
              for clients accessing your databases. When MongoDB Cloud deploys a dedicated
              cluster, it checks if a VPC or VPC connection exists for that provider
              and region. If not, MongoDB Cloud creates them as part of the deployment.
              MongoDB Cloud assigns the VPC a CIDR block. To limit a new VPC peering
              connection to one CIDR block and region, create the connection first.
              Deploy the cluster after the connection starts.
            externalDocs:
              description: AWS
              url: https://docs.atlas.mongodb.com/reference/amazon-aws/#std-label-amazon-aws
            enum:
            - US_GOV_WEST_1
            - US_GOV_EAST_1
            - US_EAST_1
            - US_EAST_2
            - US_WEST_1
            - US_WEST_2
            - CA_CENTRAL_1
            - EU_NORTH_1
            - EU_WEST_1
            - EU_WEST_2
            - EU_WEST_3
            - EU_CENTRAL_1
            - EU_CENTRAL_2
            - AP_EAST_1
            - AP_EAST_2
            - AP_NORTHEAST_1
            - AP_NORTHEAST_2
            - AP_NORTHEAST_3
            - AP_SOUTHEAST_1
            - AP_SOUTHEAST_2
            - AP_SOUTHEAST_3
            - AP_SOUTHEAST_4
            - AP_SOUTHEAST_5
            - AP_SOUTHEAST_6
            - AP_SOUTHEAST_7
            - AP_SOUTH_1
            - AP_SOUTH_2
            - SA_EAST_1
            - CN_NORTH_1
            - CN_NORTHWEST_1
            - ME_SOUTH_1
            - ME_CENTRAL_1
            - AF_SOUTH_1
            - EU_SOUTH_1
            - EU_SOUTH_2
            - IL_CENTRAL_1
            - CA_WEST_1
            - MX_CENTRAL_1
            - GLOBAL
            x-xgen-IPA-exception:
              xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum values
                standardized by cloud providers.
          volumeType:
            type: string
            description: Disk Input/Output Operations per Second (IOPS) setting for
              Amazon Web Services (AWS) storage that you configure only for AWS. Specify
              whether Disk Input/Output Operations per Second (IOPS) must not exceed
              the default Input/Output Operations per Second (IOPS) rate for the selected
              volume size (`STANDARD`), or must fall within the allowable Input/Output
              Operations per Second (IOPS) range for the selected volume size (`PROVISIONED`).
              You must set this value to (`PROVISIONED`) for NVMe clusters.
            enum:
            - STANDARD
            - PROVISIONED
    AWSComputeAutoScaling:
      title: AWS
      type: object
      properties:
        maxInstanceSize:
          title: AWS Instance Sizes
          type: string
          description: Maximum instance size to which your cluster can automatically
            scale.
          enum:
          - M10
          - M20
          - M30
          - M40
          - M50
          - M60
          - M80
          - M100
          - M140
          - M200
          - M300
          - R40
          - R50
          - R60
          - R80
          - R200
          - R300
          - R400
          - R700
          - M40_NVME
          - M50_NVME
          - M60_NVME
          - M80_NVME
          - M200_NVME
          - M400_NVME
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum values standardized
              by cloud providers.
        minInstanceSize:
          title: AWS Instance Sizes
          type: string
          description: Minimum instance size to which your cluster can automatically
            scale.
          enum:
          - M10
          - M20
          - M30
          - M40
          - M50
          - M60
          - M80
          - M100
          - M140
          - M200
          - M300
          - R40
          - R50
          - R60
          - R80
          - R200
          - R300
          - R400
          - R700
          - M40_NVME
          - M50_NVME
          - M60_NVME
          - M80_NVME
          - M200_NVME
          - M400_NVME
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum values standardized
              by cloud providers.
      description: Collection of settings that configures how a cluster might scale
        its cluster tier and whether the cluster can scale down. Cluster tier auto-scaling
        is unavailable for clusters using Low CPU or NVME storage classes.
    AWSCreateDataProcessRegionView:
      type: object
      allOf:
      - "$ref": "#/components/schemas/CreateDataProcessRegionView"
      - type: object
        properties:
          region:
            type: string
            description: Human-readable label that identifies the geographic location
              of the region where you wish to store your archived data.
            enum:
            - US_EAST_1
            - US_WEST_2
            - SA_EAST_1
            - EU_WEST_1
            - EU_WEST_2
            - EU_CENTRAL_1
            - AP_SOUTH_1
            - AP_SOUTHEAST_1
            - AP_SOUTHEAST_2
            - AP_NORTHEAST_2
    AWSCustomDNSEnabledView:
      required:
      - enabled
      type: object
      properties:
        enabled:
          type: boolean
          description: |-
            Flag that indicates whether the project's clusters deployed to Amazon Web Services (AWS) use a custom Domain Name System (DNS).
            When `"enabled": true`, connect to your cluster using Private IP for Peering connection strings.
          externalDocs:
            description: 'To learn more, see FAQ: Connection String Options in the
              MongoDB Atlas documentation.'
            url: https://www.mongodb.com/docs/atlas/reference/faq/connection-changes/#how-does-this-affect-aws-vpc-peering-when-i-use-custom-dns-
    AWSDataProcessRegionView:
      type: object
      allOf:
      - "$ref": "#/components/schemas/DataProcessRegionView"
      - type: object
        properties:
          region:
            type: string
            description: Human-readable label that identifies the geographic location
              of the region where you store your archived data.
            readOnly: true
            enum:
            - US_EAST_1
            - US_WEST_2
            - SA_EAST_1
            - EU_WEST_1
            - EU_WEST_2
            - EU_CENTRAL_1
            - AP_SOUTH_1
            - AP_SOUTHEAST_1
            - AP_SOUTHEAST_2
            - AP_NORTHEAST_2
    AWSHardwareSpec:
      title: AWS Cluster Hardware Settings
      type: object
      properties:
        diskIOPS:
          type: integer
          description: |-
            Target IOPS (Input/Output Operations Per Second) desired for storage attached to this hardware.

             Change this parameter if you:

            - set `replicationSpecs[n].regionConfigs[m].providerName` to `AWS`.
            - set `replicationSpecs[n].regionConfigs[m].electableSpecs.instanceSize` to `M30` or greater (not including `Mxx_NVME` tiers).

            - set `replicationSpecs[n].regionConfigs[m].electableSpecs.ebsVolumeType` to `PROVISIONED`.

            The maximum input/output operations per second (IOPS) depend on the selected `.instanceSize` and `.diskSizeGB`.
            This parameter defaults to the cluster tier's standard IOPS value.
            Changing this value impacts cluster cost.
            MongoDB Cloud enforces minimum ratios of storage capacity to system memory for given cluster tiers. This keeps cluster performance consistent with large datasets.

            - Instance sizes `M10` to `M40` have a ratio of disk capacity to system memory of 60:1.
            - Instance sizes greater than `M40` have a ratio of 120:1.
          format: int32
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        ebsVolumeType:
          type: string
          description: "Type of storage you want to attach to your AWS-provisioned
            cluster.\n\n- `STANDARD` volume types can't exceed the default input/output
            operations per second (IOPS) rate for the selected volume size. \n\n-
            `PROVISIONED` volume types must fall within the allowable IOPS range for
            the selected volume size. You must set this value to (`PROVISIONED`) for
            NVMe clusters."
          enum:
          - STANDARD
          - PROVISIONED
          default: STANDARD
        instanceSize:
          title: AWS Instance Sizes
          type: string
          description: Hardware specification for the instance sizes in this region.
            Each instance size has a default storage and memory capacity. The instance
            size you select applies to all the data-bearing hosts of the node type.
          enum:
          - M10
          - M20
          - M30
          - M40
          - M50
          - M60
          - M80
          - M100
          - M140
          - M200
          - M300
          - R40
          - R50
          - R60
          - R80
          - R200
          - R300
          - R400
          - R700
          - M40_NVME
          - M50_NVME
          - M60_NVME
          - M80_NVME
          - M200_NVME
          - M400_NVME
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum values standardized
              by cloud providers.
        nodeCount:
          type: integer
          description: Number of nodes of the given type for MongoDB Cloud to deploy
            to the region.
          format: int32
      description: Hardware specifications for nodes deployed in the region.
    AWSInterfaceEndpoint:
      title: AWS
      required:
      - cloudProvider
      type: object
      properties:
        cloudProvider:
          type: string
          description: Cloud service provider that serves the requested endpoint.
          readOnly: true
          enum:
          - AWS
          - AZURE
          - GCP
        connectionStatus:
          type: string
          description: State of the Amazon Web Service PrivateLink connection when
            MongoDB Cloud received this request.
          readOnly: true
          enum:
          - PENDING_ACCEPTANCE
          - PENDING
          - AVAILABLE
          - REJECTED
          - DELETING
        deleteRequested:
          type: boolean
          description: Flag that indicates whether MongoDB Cloud received a request
            to remove the specified private endpoint from the private endpoint service.
          readOnly: true
        errorMessage:
          type: string
          description: Error message returned when requesting private connection resource.
            The resource returns `null` if the request succeeded.
          readOnly: true
        interfaceEndpointId:
          type: string
          description: Unique 24-hexadecimal digit string that identifies the interface
            endpoint.
          readOnly: true
      description: Group of Private Endpoint settings.
    AWSKMSConfiguration:
      type: object
      properties:
        accessKeyID:
          maxLength: 128
          minLength: 16
          type: string
          description: Unique alphanumeric string that identifies an Identity and
            Access Management (IAM) access key with permissions required to access
            your Amazon Web Services (AWS) Customer Master Key (CMK).
          example: '019dd98d94b4bb778e7552e4'
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        customerMasterKeyID:
          maxLength: 2048
          minLength: 1
          type: string
          description: Unique alphanumeric string that identifies the Amazon Web Services
            (AWS) Customer Master Key (CMK) you used to encrypt and decrypt the MongoDB
            master keys.
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled encryption at rest
            for the specified project through Amazon Web Services (AWS) Key Management
            Service (KMS). To disable encryption at rest using customer key management
            and remove the configuration details, pass only this parameter with a
            value of `false`.
        region:
          title: AWS Regions
          type: string
          description: Physical location where MongoDB Cloud deploys your AWS-hosted
            MongoDB cluster nodes. The region you choose can affect network latency
            for clients accessing your databases. When MongoDB Cloud deploys a dedicated
            cluster, it checks if a VPC or VPC connection exists for that provider
            and region. If not, MongoDB Cloud creates them as part of the deployment.
            MongoDB Cloud assigns the VPC a CIDR block. To limit a new VPC peering
            connection to one CIDR block and region, create the connection first.
            Deploy the cluster after the connection starts.
          enum:
          - US_GOV_WEST_1
          - US_GOV_EAST_1
          - US_EAST_1
          - US_EAST_2
          - US_WEST_1
          - US_WEST_2
          - CA_CENTRAL_1
          - EU_NORTH_1
          - EU_WEST_1
          - EU_WEST_2
          - EU_WEST_3
          - EU_CENTRAL_1
          - EU_CENTRAL_2
          - AP_EAST_1
          - AP_EAST_2
          - AP_NORTHEAST_1
          - AP_NORTHEAST_2
          - AP_NORTHEAST_3
          - AP_SOUTHEAST_1
          - AP_SOUTHEAST_2
          - AP_SOUTHEAST_3
          - AP_SOUTHEAST_4
          - AP_SOUTHEAST_5
          - AP_SOUTHEAST_6
          - AP_SOUTHEAST_7
          - AP_SOUTH_1
          - AP_SOUTH_2
          - SA_EAST_1
          - CN_NORTH_1
          - CN_NORTHWEST_1
          - ME_SOUTH_1
          - ME_CENTRAL_1
          - AF_SOUTH_1
          - EU_SOUTH_1
          - EU_SOUTH_2
          - IL_CENTRAL_1
          - CA_WEST_1
          - MX_CENTRAL_1
          - GLOBAL
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum values standardized
              by cloud providers.
        requirePrivateNetworking:
          type: boolean
          description: Enable connection to your Amazon Web Services (AWS) Key Management
            Service (KMS) over private networking.
        roleId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies an Amazon
            Web Services (AWS) Identity and Access Management (IAM) role. This IAM
            role has the permissions required to manage your AWS customer master key.
          writeOnly: true
          example: 32b6e34b3d91647abb20e7b8
        secretAccessKey:
          type: string
          description: Human-readable label of the Identity and Access Management
            (IAM) secret access key with permissions required to access your Amazon
            Web Services (AWS) customer master key.
          writeOnly: true
        valid:
          type: boolean
          description: Flag that indicates whether the Amazon Web Services (AWS) Key
            Management Service (KMS) encryption key can encrypt and decrypt data.
          readOnly: true
      description: Amazon Web Services (AWS) KMS configuration details and encryption
        at rest configuration set for the specified project.
      externalDocs:
        description: Amazon Web Services Key Management Service
        url: https://www.mongodb.com/docs/atlas/security-aws-kms/
    AWSPrivateLinkConnection:
      title: AWS
      required:
      - cloudProvider
      - interfaceEndpoints
      type: object
      properties:
        cloudProvider:
          type: string
          description: Cloud service provider that serves the requested endpoint service.
          readOnly: true
          enum:
          - AWS
          - AZURE
          - GCP
        endpointServiceName:
          pattern: "^com\\.amazonaws\\.vpce\\.[a-z-0-9]+\\.vpce-svc-[0-9a-f]{17}"
          type: string
          description: Unique string that identifies the Amazon Web Services (AWS)
            PrivateLink endpoint service. MongoDB Cloud returns null while it creates
            the endpoint service.
          readOnly: true
        errorMessage:
          type: string
          description: Error message returned when requesting private connection resource.
            The resource returns `null` if the request succeeded.
          readOnly: true
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the Private
            Endpoint Service.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        interfaceEndpoints:
          type: array
          description: List of strings that identify private endpoint interfaces applied
            to the specified project.
          readOnly: true
          items:
            pattern: "^([a-f0-9]{24})$"
            type: string
            description: Unique 24-hexadecimal digit string that identifies the interface
              endpoint.
            readOnly: true
            example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        regionName:
          type: string
          description: Cloud provider region that manages this Private Endpoint Service.
          readOnly: true
        status:
          type: string
          description: State of the Private Endpoint Service connection when MongoDB
            Cloud received this request.
          readOnly: true
          enum:
          - INITIATING
          - AVAILABLE
          - WAITING_FOR_USER
          - FAILED
          - DELETING
        supportedRemoteRegions:
          maxItems: 35
          type: array
          description: List of regions that the endpoint service supports. Native
            cross region support is implemented for AWS only.
          nullable: true
          items:
            type: string
            description: AWS region name
      description: Group of Private Endpoint Service settings.
    AWSRegionConfig:
      title: AWS Regional Replication Specifications
      type: object
      description: Details that explain how MongoDB Cloud replicates data in one region
        on the specified MongoDB database.
      allOf:
      - "$ref": "#/components/schemas/CloudRegionConfig"
      - type: object
        properties:
          analyticsAutoScaling:
            "$ref": "#/components/schemas/AdvancedAutoScalingSettings"
          analyticsSpecs:
            "$ref": "#/components/schemas/DedicatedHardwareSpec"
          autoScaling:
            "$ref": "#/components/schemas/AdvancedAutoScalingSettings"
          readOnlySpecs:
            "$ref": "#/components/schemas/DedicatedHardwareSpec"
    AccessListItemView:
      required:
      - ipAddress
      type: object
      properties:
        cidrBlock:
          pattern: "^((([0-9]{1,3}\\.){3}[0-9]{1,3})|(:{0,2}([0-9a-f]{1,4}:){0,7}[0-9a-f]{1,4}[:]{0,2}))((%2[fF]|/)[0-9]{1,3})+$"
          type: string
          description: Range of IP addresses in Classless Inter-Domain Routing (CIDR)
            notation that found in this project's access list.
          readOnly: true
        ipAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IP address included in the API access list.
          readOnly: true
    AddUserToTeam:
      required:
      - id
      type: object
      properties:
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the MongoDB
            Cloud user.
          example: 32b6e34b3d91647abb20e7b8
    AdvancedAutoScalingSettings:
      title: Automatic Scaling Settings
      type: object
      properties:
        compute:
          "$ref": "#/components/schemas/AdvancedComputeAutoScaling"
        diskGB:
          "$ref": "#/components/schemas/DiskGBAutoScaling"
      description: Options that determine how this cluster handles resource scaling.
    AdvancedClusterDescription:
      type: object
      properties:
        acceptDataRisksAndForceReplicaSetReconfig:
          type: string
          description: If reconfiguration is necessary to regain a primary due to
            a regional outage, submit this field alongside your topology reconfiguration
            to request a new regional outage resistant topology. Forced reconfigurations
            during an outage of the majority of electable nodes carry a risk of data
            loss if replicated writes (even majority committed writes) have not been
            replicated to the new primary node. MongoDB Atlas docs contain more information.
            To proceed with an operation which carries that risk, set `acceptDataRisksAndForceReplicaSetReconfig`
            to the current date. This parameter expresses its value in the ISO 8601
            timestamp format in UTC.
          format: date-time
          externalDocs:
            description: Reconfiguring a Replica Set during a regional outage
            url: https://dochub.mongodb.org/core/regional-outage-reconfigure-replica-set
        advancedConfiguration:
          "$ref": "#/components/schemas/ApiAtlasClusterAdvancedConfigurationView"
        backupEnabled:
          type: boolean
          description: Flag that indicates whether the cluster can perform backups.
            If set to `true`, the cluster can perform backups. You must set this value
            to `true` for NVMe clusters. Backup uses [Cloud Backups](https://docs.atlas.mongodb.com/backup/cloud-backup/overview/)
            for dedicated clusters and [Shared Cluster Backups](https://docs.atlas.mongodb.com/backup/shared-tier/overview/)
            for tenant clusters. If set to `false`, the cluster doesn't use backups.
          default: false
          x-xgen-IPA-exception:
            xgen-IPA-117-description-should-not-use-inline-links: Description has
              multiple links, and externalDocs only supports one.
        biConnector:
          "$ref": "#/components/schemas/BiConnector"
        clusterType:
          type: string
          description: Configuration of nodes that comprise the cluster.
          enum:
          - REPLICASET
          - SHARDED
          - GEOSHARDED
        configServerManagementMode:
          type: string
          description: Config Server Management Mode for creating or updating a sharded
            cluster. When configured as `ATLAS_MANAGED`, Atlas may automatically switch
            the cluster's config server type for optimal performance and savings.
            When configured as `FIXED_TO_DEDICATED`, the cluster will always use a
            dedicated config server.
          externalDocs:
            description: MongoDB Sharded Cluster Config Servers
            url: https://dochub.mongodb.org/docs/manual/core/sharded-cluster-config-servers
          enum:
          - ATLAS_MANAGED
          - FIXED_TO_DEDICATED
          default: ATLAS_MANAGED
        configServerType:
          type: string
          description: Describes a sharded cluster's config server type.
          readOnly: true
          externalDocs:
            description: MongoDB Sharded Cluster Config Servers
            url: https://dochub.mongodb.org/docs/manual/core/sharded-cluster-config-servers
          enum:
          - DEDICATED
          - EMBEDDED
        connectionStrings:
          "$ref": "#/components/schemas/ClusterConnectionStrings"
        createDate:
          type: string
          description: Date and time when MongoDB Cloud created this cluster. This
            parameter expresses its value in ISO 8601 format in UTC.
          format: date-time
          readOnly: true
        diskSizeGB:
          type: number
          description: "Storage capacity of instance data volumes expressed in gigabytes.
            Increase this number to add capacity.\n\n This value is not configurable
            on M0/M2/M5 clusters.\n\n MongoDB Cloud requires this parameter if you
            set `replicationSpecs`.\n\n If you specify a disk size below the minimum
            (10 GB), this parameter defaults to the minimum disk size value. \n\n
            Storage charge calculations depend on whether you choose the default value
            or a custom value.\n\n The maximum value for disk storage cannot exceed
            50 times the maximum RAM for the selected cluster. If you require more
            storage space, consider upgrading your cluster to a higher tier."
          format: double
          externalDocs:
            description: Customize Storage
            url: https://dochub.mongodb.org/core/customize-storage
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        diskWarmingMode:
          type: string
          description: Disk warming mode selection.
          externalDocs:
            description: Reduce Secondary Disk Warming Impact
            url: https://docs.atlas.mongodb.com/reference/replica-set-tags/#reduce-secondary-disk-warming-impact
          enum:
          - FULLY_WARMED
          - VISIBLE_EARLIER
          default: FULLY_WARMED
        encryptionAtRestProvider:
          type: string
          description: 'Cloud service provider that manages your customer keys to
            provide an additional layer of encryption at rest for the cluster. To
            enable customer key management for encryption at rest, the cluster `replicationSpecs[n].regionConfigs[m].{type}Specs.instanceSize`
            setting must be `M10` or higher and `"backupEnabled" : false` or omitted
            entirely.'
          externalDocs:
            description: Encryption at Rest using Customer Key Management
            url: https://www.mongodb.com/docs/atlas/security-kms-encryption/
          enum:
          - NONE
          - AWS
          - AZURE
          - GCP
        featureCompatibilityVersion:
          type: string
          description: Feature compatibility version of the cluster.
          readOnly: true
        featureCompatibilityVersionExpirationDate:
          type: string
          description: Feature compatibility version expiration date. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        globalClusterSelfManagedSharding:
          type: boolean
          description: |-
            Set this field to configure the Sharding Management Mode when creating a new Global Cluster.

            When set to false, the management mode is set to Atlas-Managed Sharding. This mode fully manages the sharding of your Global Cluster and is built to provide a seamless deployment experience.

            When set to true, the management mode is set to Self-Managed Sharding. This mode leaves the management of shards in your hands and is built to provide an advanced and flexible deployment experience.

            This setting cannot be changed once the cluster is deployed.
          externalDocs:
            description: Creating a Global Cluster
            url: https://dochub.mongodb.org/core/global-cluster-management
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            project.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the cluster.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        labels:
          type: array
          description: |-
            Collection of key-value pairs between 1 to 255 characters in length that tag and categorize the cluster. The MongoDB Cloud console doesn't display your labels.

            Cluster labels are deprecated and will be removed in a future release. We strongly recommend that you use Resource tags instead.
          externalDocs:
            description: Resource Tags
            url: https://dochub.mongodb.org/core/add-cluster-tag-atlas
          deprecated: true
          items:
            "$ref": "#/components/schemas/ComponentLabel"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        mongoDBEmployeeAccessGrant:
          "$ref": "#/components/schemas/EmployeeAccessGrantView"
        mongoDBMajorVersion:
          type: string
          description: |-
            MongoDB major version of the cluster.

            On creation: Choose from the available versions of MongoDB, or leave unspecified for the current recommended default in the MongoDB Cloud platform. The recommended version is a recent Long Term Support version. The default is not guaranteed to be the most recently released version throughout the entire release cycle. For versions available in a specific project, see the linked documentation or use the API endpoint for [project LTS versions endpoint](#tag/Projects/operation/getProjectLTSVersions).

             On update: Increase version only by 1 major version at a time. If the cluster is pinned to a MongoDB feature compatibility version exactly one major version below the current MongoDB version, the MongoDB version can be downgraded to the previous major version.
          externalDocs:
            description: Available MongoDB Versions in Atlas
            url: https://www.mongodb.com/docs/atlas/reference/faq/database/#which-versions-of-mongodb-do-service-clusters-use-
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
            xgen-IPA-117-description-should-not-use-inline-links: Description has
              multiple links, and externalDocs only supports one.
        mongoDBVersion:
          pattern: "([\\d]+\\.[\\d]+\\.[\\d]+)"
          type: string
          description: Version of MongoDB that the cluster runs.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        name:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the advanced cluster.
        paused:
          type: boolean
          description: Flag that indicates whether the cluster is paused.
        pitEnabled:
          type: boolean
          description: Flag that indicates whether the cluster uses continuous cloud
            backups.
          externalDocs:
            description: Continuous Cloud Backups
            url: https://docs.atlas.mongodb.com/backup/cloud-backup/overview/
        replicaSetScalingStrategy:
          type: string
          description: |-
            Set this field to configure the replica set scaling mode for your cluster.

            By default, Atlas scales under `WORKLOAD_TYPE`. This mode allows Atlas to scale your analytics nodes in parallel to your operational nodes.

            When configured as `SEQUENTIAL`, Atlas scales all nodes sequentially. This mode is intended for steady-state workloads and applications performing latency-sensitive secondary reads.

            When configured as `NODE_TYPE`, Atlas scales your electable nodes in parallel with your read-only and analytics nodes. This mode is intended for large, dynamic workloads requiring frequent and timely cluster tier scaling. This is the fastest scaling strategy, but it might impact latency of workloads when performing extensive secondary reads.
          externalDocs:
            description: Modify the Replica Set Scaling Mode
            url: https://dochub.mongodb.org/core/scale-nodes
          enum:
          - SEQUENTIAL
          - WORKLOAD_TYPE
          - NODE_TYPE
          default: WORKLOAD_TYPE
        replicationSpecs:
          type: array
          description: List of settings that configure your cluster regions. For Global
            Clusters, each object in the array represents a zone where your clusters
            nodes deploy. For non-Global sharded clusters and replica sets, this array
            has one object representing where your clusters nodes deploy.
          items:
            "$ref": "#/components/schemas/ReplicationSpec"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        rootCertType:
          type: string
          description: Root Certificate Authority that MongoDB Atlas cluster uses.
            MongoDB Cloud supports Internet Security Research Group.
          enum:
          - ISRGROOTX1
          default: ISRGROOTX1
        stateName:
          type: string
          description: |-
            Human-readable label that indicates any current activity being taken on this cluster by the Atlas control plane. With the exception of CREATING and DELETING states, clusters should always be available and have a Primary node even when in states indicating ongoing activity.

             - `IDLE`: Atlas is making no changes to this cluster and all changes requested via the UI or API can be assumed to have been applied.
             - `CREATING`: A cluster being provisioned for the very first time returns state CREATING until it is ready for connections. Ensure IP Access List and DB Users are configured before attempting to connect.
             - `UPDATING`: A change requested via the UI, API, AutoScaling, or other scheduled activity is taking place.
             - `DELETING`: The cluster is in the process of deletion and will soon be deleted.
             - `REPAIRING`: One or more nodes in the cluster are being returned to service by the Atlas control plane. Other nodes should continue to provide service as normal.
          readOnly: true
          enum:
          - IDLE
          - CREATING
          - UPDATING
          - DELETING
          - REPAIRING
        tags:
          type: array
          description: List that contains key-value pairs between 1 to 255 characters
            in length for tagging and categorizing the cluster.
          externalDocs:
            description: Resource Tags
            url: https://dochub.mongodb.org/core/add-cluster-tag-atlas
          items:
            "$ref": "#/components/schemas/ResourceTag"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        terminationProtectionEnabled:
          type: boolean
          description: Flag that indicates whether termination protection is enabled
            on the cluster. If set to `true`, MongoDB Cloud won't delete the cluster.
            If set to `false`, MongoDB Cloud will delete the cluster.
          default: false
        versionReleaseSystem:
          type: string
          description: Method by which the cluster maintains the MongoDB versions.
            If value is `CONTINUOUS`, you must not specify `mongoDBMajorVersion`.
          enum:
          - LTS
          - CONTINUOUS
          default: LTS
    AdvancedComputeAutoScaling:
      title: Automatic Compute Scaling Settings
      type: object
      properties:
        enabled:
          type: boolean
          description: |-
            Flag that indicates whether instance size reactive auto-scaling is enabled.

            - Set to `true` to enable instance size reactive auto-scaling. If enabled, you must specify a value for `replicationSpecs[n].regionConfigs[m].autoScaling.compute.maxInstanceSize`.
            - Set to `false` to disable instance size reactive auto-scaling.
        maxInstanceSize:
          "$ref": "#/components/schemas/BaseCloudProviderInstanceSize"
        minInstanceSize:
          "$ref": "#/components/schemas/BaseCloudProviderInstanceSize"
        scaleDownEnabled:
          type: boolean
          description: Flag that indicates whether the instance size may scale down
            via reactive auto-scaling. MongoDB Cloud requires this parameter if `replicationSpecs[n].regionConfigs[m].autoScaling.compute.enabled`
            is `true`. If you enable this option, specify a value for `replicationSpecs[n].regionConfigs[m].autoScaling.compute.minInstanceSize`.
      description: Options that determine how this cluster handles CPU scaling.
    AdvancedDiskBackupSnapshotSchedulePolicy:
      required:
      - policyItems
      type: object
      properties:
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this backup
            policy.
          example: 32b6e34b3d91647abb20e7b8
        policyItems:
          type: array
          description: List that contains the specifications for one policy.
          items:
            "$ref": "#/components/schemas/DiskBackupApiPolicyItem"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
      description: List that contains a document for each backup policy item in the
        desired backup policy.
    AlertAudit:
      title: Alert Audits
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        alertId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the alert
            associated with the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/AlertAuditTypeView"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Alert audit indicates acknowledgement status of an alert.
    AlertAuditTypeView:
      title: Alert Audit Types
      type: string
      description: Unique identifier of event type.
      example: ALERT_ACKNOWLEDGED_AUDIT
      enum:
      - ALERT_ACKNOWLEDGED_AUDIT
      - ALERT_UNACKNOWLEDGED_AUDIT
    AlertConfigAudit:
      title: Alert Config Audits
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        alertConfigId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the alert
            configuration associated with the `alertId`.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/AlertConfigAuditTypeView"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Alert configuration audit indicates any activities around alert
        settings.
    AlertConfigAuditTypeView:
      title: Alert Audit Types
      type: string
      description: Unique identifier of event type.
      example: ALERT_CONFIG_ADDED_AUDIT
      enum:
      - ALERT_CONFIG_DISABLED_AUDIT
      - ALERT_CONFIG_ENABLED_AUDIT
      - ALERT_CONFIG_ADDED_AUDIT
      - ALERT_CONFIG_DELETED_AUDIT
      - ALERT_CONFIG_CHANGED_AUDIT
    AlertConfigView:
      title: Alert Configuration
      required:
      - notifications
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created the alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled this alert configuration
            for the specified project.
          default: false
        eventTypeName:
          type: string
          description: Event type name.
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert
            configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        matchers:
          type: array
          description: Matching conditions for target resources.
          items:
            "$ref": "#/components/schemas/AlertMatcher"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        notifications:
          type: array
          description: List that contains the targets that MongoDB Cloud sends notifications.
          items:
            "$ref": "#/components/schemas/AlertsNotificationBase"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        severityOverride:
          "$ref": "#/components/schemas/EventSeverity"
        updated:
          type: string
          description: Date and time when someone last updated this alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Alert settings allows to select which conditions trigger alerts
        and how users are notified.
    AlertMatcher:
      title: Matchers
      required:
      - fieldName
      - operator
      - value
      type: object
      properties:
        fieldName:
          type: string
          description: Name of the parameter in the target object that MongoDB Cloud
            checks. The parameter must match all rules for MongoDB Cloud to check
            for alert configurations.
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value against **matcher[n].value**. The `REGEX` operator only supports
            inclusive matches. Use the `NOT_CONTAINS` operator to exclude values.
          enum:
          - EQUALS
          - CONTAINS
          - STARTS_WITH
          - ENDS_WITH
          - NOT_EQUALS
          - NOT_CONTAINS
          - REGEX
        value:
          type: string
          description: Value to match or exceed using the specified `matchers.operator`.
          example: event-replica-set
      description: Rules to apply when comparing an target instance against this alert
        configuration.
    AlertView:
      title: Alert
      required:
      - alertConfigId
      - created
      - id
      - status
      - updated
      type: object
      properties:
        acknowledgedUntil:
          type: string
          description: |-
            Date and time until which this alert has been acknowledged. This parameter expresses its value in the ISO 8601 timestamp format in UTC. The resource returns this parameter if a MongoDB User previously acknowledged this alert.

            - To acknowledge this alert forever, set the parameter value to 100 years in the future.

            - To unacknowledge a previously acknowledged alert, do not set this parameter value.
          format: date-time
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        acknowledgementComment:
          maxLength: 200
          type: string
          description: Comment that a MongoDB Cloud user submitted when acknowledging
            the alert.
          example: Expiration on 3/19.  Silencing for 7days.
        acknowledgingUsername:
          type: string
          description: MongoDB Cloud username of the person who acknowledged the alert.
            The response returns this parameter if a MongoDB Cloud user previously
            acknowledged this alert.
          format: email
          readOnly: true
        alertConfigId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the alert
            configuration that sets this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        created:
          type: string
          description: Date and time when MongoDB Cloud created this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        lastNotified:
          type: string
          description: Date and time that any notifications were last sent for this
            alert. This parameter expresses its value in the ISO 8601 timestamp format
            in UTC. The resource returns this parameter if MongoDB Cloud has sent
            notifications for this alert.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            organization that owns the project to which this alert applies.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        resolved:
          type: string
          description: 'Date and time that this alert changed to `"status" : "CLOSED"`.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC. The resource returns this parameter once `"status" : "CLOSED"`.'
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        status:
          type: string
          description: State of this alert at the time you requested its details.
            TRACKING indicates the alert condition exists but has not persisted for
            the minimum notification delay. OPEN indicates the alert condition currently
            exists. CLOSED indicates the alert condition has been resolved.
          readOnly: true
          example: OPEN
          enum:
          - CANCELLED
          - CLOSED
          - OPEN
          - TRACKING
        updated:
          type: string
          description: Date and time when someone last updated this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Alert represents a notice of warning, a threat or a problem in
        the system. It can reflect a certain event or condition in the system. An
        Alert can be acknowledged by the user, but stays open until alert condition
        is resolved in the system.
    AlertViewForNdsGroup:
      type: object
      oneOf:
      - "$ref": "#/components/schemas/AppServiceAlertView"
      - "$ref": "#/components/schemas/ClusterAlertViewForNdsGroup"
      - "$ref": "#/components/schemas/HostAlertViewForNdsGroup"
      - "$ref": "#/components/schemas/HostMetricAlert"
      - "$ref": "#/components/schemas/ReplicaSetAlertViewForNdsGroup"
      - "$ref": "#/components/schemas/StreamProcessorAlertViewForNdsGroup"
      - "$ref": "#/components/schemas/DefaultAlertViewForNdsGroup"
      x-xgen-IPA-exception:
        xgen-IPA-125-oneOf-must-have-discriminator: Schema predates IPA validation.
    AlertsNotificationBase:
      type: object
      description: One target that MongoDB Cloud sends notifications when an alert
        triggers.
      oneOf:
      - "$ref": "#/components/schemas/DatadogNotification"
      - "$ref": "#/components/schemas/EmailNotification"
      - "$ref": "#/components/schemas/GroupNotification"
      - "$ref": "#/components/schemas/HipChatNotification"
      - "$ref": "#/components/schemas/MicrosoftTeamsNotification"
      - "$ref": "#/components/schemas/NDSNotificationView"
      - "$ref": "#/components/schemas/OpsGenieNotification"
      - "$ref": "#/components/schemas/OrgNotification"
      - "$ref": "#/components/schemas/PagerDutyNotification"
      - "$ref": "#/components/schemas/SlackNotification"
      - "$ref": "#/components/schemas/SMSNotification"
      - "$ref": "#/components/schemas/SummaryNotification"
      - "$ref": "#/components/schemas/TeamNotification"
      - "$ref": "#/components/schemas/UserNotification"
      - "$ref": "#/components/schemas/VictorOpsNotification"
      - "$ref": "#/components/schemas/WebhookNotification"
      x-xgen-IPA-exception:
        xgen-IPA-125-oneOf-must-have-discriminator: Schema predates IPA validation.
    AlertsNotificationRootForGroup:
      type: object
      description: One target that MongoDB Cloud sends notifications when an alert
        triggers.
      oneOf:
      - "$ref": "#/components/schemas/DatadogNotification"
      - "$ref": "#/components/schemas/EmailNotification"
      - "$ref": "#/components/schemas/GroupNotification"
      - "$ref": "#/components/schemas/HipChatNotification"
      - "$ref": "#/components/schemas/MicrosoftTeamsNotification"
      - "$ref": "#/components/schemas/OpsGenieNotification"
      - "$ref": "#/components/schemas/OrgNotification"
      - "$ref": "#/components/schemas/PagerDutyNotification"
      - "$ref": "#/components/schemas/SlackNotification"
      - "$ref": "#/components/schemas/SMSNotification"
      - "$ref": "#/components/schemas/TeamNotification"
      - "$ref": "#/components/schemas/UserNotification"
      - "$ref": "#/components/schemas/VictorOpsNotification"
      - "$ref": "#/components/schemas/WebhookNotification"
      x-xgen-IPA-exception:
        xgen-IPA-125-oneOf-must-have-discriminator: Schema predates IPA validation.
    AlertsThresholdInteger:
      title: Threshold
      type: object
      properties:
        operator:
          "$ref": "#/components/schemas/Operator"
        threshold:
          type: integer
          description: Value of metric that, when exceeded, triggers an alert.
          format: int32
        units:
          type: string
          description: Element used to express the quantity. This can be an element
            of time, storage capacity, and the like.
          enum:
          - bits
          - Kbits
          - Mbits
          - Gbits
          - bytes
          - KB
          - MB
          - GB
          - TB
          - PB
          - nsec
          - msec
          - sec
          - min
          - hours
          - million minutes
          - days
          - requests
          - 1000 requests
          - tokens
          - million tokens
          - pixels
          - billion pixels
          - GB seconds
          - GB hours
          - GB days
          - RPU
          - thousand RPU
          - million RPU
          - WPU
          - thousand WPU
          - million WPU
          - count
          - thousand
          - million
          - billion
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
              IPA validation.
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: A Limit that triggers an alert when exceeded. The resource returns
        this parameter when `eventTypeName` has not been set to `OUTSIDE_METRIC_THRESHOLD`.
    AlertsToggle:
      title: Toggle Request
      type: object
      properties:
        enabled:
          type: boolean
          description: Flag that indicates whether to enable or disable the specified
            alert configuration in the specified project.
      description: Enables or disables the specified alert configuration in the specified
        project.
    AlibabaCloudProviderContainer:
      title: Alibaba
      required:
      - regionName
      type: object
      description: Collection of settings that configures the network container for
        a virtual private connection on Alibaba Cloud.
      allOf:
      - "$ref": "#/components/schemas/CloudProviderContainer"
      - type: object
        properties:
          atlasCidrBlock:
            pattern: "^((([0-9]{1,3}\\.){3}[0-9]{1,3})|(:{0,2}([0-9a-f]{1,4}:){0,7}[0-9a-f]{1,4}[:]{0,2}))((%2[fF]|/)[0-9]{1,3})+$"
            type: string
            description: |-
              IP addresses expressed in Classless Inter-Domain Routing (CIDR) notation that MongoDB Cloud uses for the network peering containers in your project. MongoDB Cloud assigns all of the project's clusters deployed to this cloud provider an IP address from this range. MongoDB Cloud locks this value if an M10 or greater cluster or a network peering connection exists in this project.

              These CIDR blocks must fall within the ranges reserved per RFC 1918. AWS, Azure, and Alibaba further limit the block to between the `/24` and `/21` ranges.

              To modify the CIDR block, the target project cannot have:

              - Any M10 or greater clusters
              - Any other VPC peering connections

              You can also create a new project and create a network peering connection to set the desired MongoDB Cloud network peering container CIDR block for that project. MongoDB Cloud limits the number of MongoDB nodes per network peering connection based on the CIDR block and the region selected for the project.
          regionName:
            type: string
            description: Geographic area that Alibaba Cloud defines to which MongoDB
              Cloud deployed this network peering container.
            enum:
            - US_EAST_1
            - US_WEST_1
            - EU_CENTRAL_1
            - EU_WEST_1
            - AP_SOUTHEAST_1
            - AP_SOUTHEAST_3
            - AP_SOUTHEAST_5
            - CN_HONGKONG
            - AP_SOUTHEAST_6
            - AP_SOUTHEAST_7
            - AP_NORTHEAST_1
            - AP_NORTHEAST_2
            - ME_EAST_1
          vpcId:
            pattern: "^vpc-[0-9a-z]{21}$"
            type: string
            description: Unique string that identifies the MongoDB Cloud VPC on Alibaba
              Cloud.
            readOnly: true
            example: vpc-2ze1oetfhwb8ckgw3c0p4
    AlibabaRegionConfig:
      title: Alibaba Regional Replication Specifications
      type: object
      description: Details that explain how MongoDB Cloud replicates data in one region
        on the specified MongoDB database.
      allOf:
      - "$ref": "#/components/schemas/CloudRegionConfig"
      - type: object
        properties:
          analyticsAutoScaling:
            "$ref": "#/components/schemas/AdvancedAutoScalingSettings"
          analyticsSpecs:
            "$ref": "#/components/schemas/DedicatedHardwareSpec"
          autoScaling:
            "$ref": "#/components/schemas/AdvancedAutoScalingSettings"
          readOnlySpecs:
            "$ref": "#/components/schemas/DedicatedHardwareSpec"
    ApiAtlasCheckpointView:
      type: object
      properties:
        clusterId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the cluster
            that contains the checkpoint.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        completed:
          type: string
          description: Date and time when the checkpoint completed and the balancer
            restarted. This parameter expresses its value in the ISO 8601 timestamp
            format in UTC.
          format: date-time
          readOnly: true
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns the checkpoints.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies checkpoint.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        parts:
          type: array
          description: |-
            Metadata that describes the complete snapshot.

            - For a replica set, this array contains a single document.
            - For a sharded cluster, this array contains one document for each shard plus one document for the config host.
          readOnly: true
          items:
            "$ref": "#/components/schemas/ApiCheckpointPartView"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        restorable:
          type: boolean
          description: Flag that indicates whether MongoDB Cloud can use the checkpoint
            for a restore.
          readOnly: true
        started:
          type: string
          description: Date and time when the balancer stopped and began the checkpoint.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
        timestamp:
          type: string
          description: Date and time to which the checkpoint restores. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
    ApiAtlasCloudProviderAccessFeatureUsageFeatureIdView:
      type: object
      description: Object that contains the identifying characteristics of the Amazon
        Web Services (AWS) Key Management Service (KMS). This field always returns
        a null value.
      nullable: true
      x-xgen-IPA-exception:
        xgen-IPA-117-objects-must-be-well-defined: Schema predates IPA validation.
    ApiAtlasClusterAdvancedConfigurationView:
      type: object
      properties:
        customOpensslCipherConfigTls12:
          type: array
          description: The custom OpenSSL cipher suite list for TLS 1.2. This field
            is only valid when `tlsCipherConfigMode` is set to `CUSTOM`.
          externalDocs:
            description: This option corresponds to the `opensslCipherConfig` `mongod`
              configuration file option.
            url: https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.opensslCipherConfig
          items:
            type: string
            enum:
            - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
            - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        customOpensslCipherConfigTls13:
          maxItems: 4
          type: array
          description: The custom OpenSSL cipher suite list for TLS 1.3. This field
            is only valid when `tlsCipherConfigMode` is set to `CUSTOM`.
          externalDocs:
            description: This option corresponds to the `opensslCipherSuiteConfig`
              `mongod` configuration file option.
            url: https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.opensslCipherSuiteConfig
          items:
            type: string
            enum:
            - TLS_AES_256_GCM_SHA384
            - TLS_CHACHA20_POLY1305_SHA256
            - TLS_AES_128_GCM_SHA256
            - TLS_AES_128_CCM_SHA256
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Field is not camel case due to
              TLS number. Keeping number to preserve consistency with existing field
              customOpensslCipherConfigTls12.
        minimumEnabledTlsProtocol:
          type: string
          description: Minimum Transport Layer Security (TLS) version that the cluster
            accepts for incoming connections. Clusters using TLS 1.0 or 1.1 should
            consider setting TLS 1.2 as the minimum TLS protocol version.
          externalDocs:
            description: This option corresponds to the `net.ssl.disabledProtocols`
              `mongod` configuration file option.
            url: https://docs.mongodb.com/upcoming/reference/configuration-options/#mongodb-setting-net.ssl.disabledProtocols
          enum:
          - TLS1_0
          - TLS1_1
          - TLS1_2
          - TLS1_3
        tlsCipherConfigMode:
          type: string
          description: The TLS cipher suite configuration mode. The default mode uses
            the default cipher suites. The custom mode allows you to specify custom
            cipher suites for both TLS 1.2 and TLS 1.3.
          enum:
          - CUSTOM
          - DEFAULT
      description: Group of settings that configures a subset of the advanced configuration
        details.
    ApiAtlasDataLakeAWSRegionView:
      type: string
      description: Atlas Data Federation AWS Regions.
      enum:
      - SYDNEY_AUS
      - MUMBAI_IND
      - FRANKFURT_DEU
      - DUBLIN_IRL
      - LONDON_GBR
      - VIRGINIA_USA
      - OREGON_USA
      - SAOPAULO_BRA
      - MONTREAL_CAN
      - TOKYO_JPN
      - SEOUL_KOR
      - SINGAPORE_SGP
    ApiAtlasDataLakeStorageView:
      "$ref": "#/components/schemas/DataLakeStorage"
    ApiAtlasFTSAnalyzersViewManual:
      title: analyzers
      required:
      - name
      - tokenizer
      type: object
      properties:
        charFilters:
          type: array
          description: Filters that examine text one character at a time and perform
            filtering operations.
          items:
            type: object
            oneOf:
            - "$ref": "#/components/schemas/charFilterhtmlStrip"
            - "$ref": "#/components/schemas/charFiltericuNormalize"
            - "$ref": "#/components/schemas/charFiltermapping"
            - "$ref": "#/components/schemas/charFilterpersian"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        name:
          type: string
          description: |-
            Human-readable name that identifies the custom analyzer. Names must be unique within an index, and must not start with any of the following strings:
            - `lucene.`
            - `builtin.`
            - `mongodb.`
          x-xgen-IPA-exception:
            xgen-IPA-117-description-ends-with-period: Description ends with an item
              list.
        tokenFilters:
          type: array
          description: |-
            Filter that performs operations such as:

            - Stemming, which reduces related words, such as "talking", "talked", and "talks" to their root word "talk".

            - Redaction, the removal of sensitive information from public documents.
          items:
            anyOf:
            - "$ref": "#/components/schemas/tokenFilterasciiFolding"
            - "$ref": "#/components/schemas/tokenFilterdaitchMokotoffSoundex"
            - "$ref": "#/components/schemas/tokenFilteredgeGram"
            - "$ref": "#/components/schemas/TokenFilterEnglishPossessive"
            - "$ref": "#/components/schemas/TokenFilterFlattenGraph"
            - "$ref": "#/components/schemas/tokenFiltericuFolding"
            - "$ref": "#/components/schemas/tokenFiltericuNormalizer"
            - "$ref": "#/components/schemas/TokenFilterkStemming"
            - "$ref": "#/components/schemas/tokenFilterlength"
            - "$ref": "#/components/schemas/tokenFilterlowercase"
            - "$ref": "#/components/schemas/tokenFilternGram"
            - "$ref": "#/components/schemas/TokenFilterPorterStemming"
            - "$ref": "#/components/schemas/tokenFilterregex"
            - "$ref": "#/components/schemas/tokenFilterreverse"
            - "$ref": "#/components/schemas/tokenFiltershingle"
            - "$ref": "#/components/schemas/tokenFiltersnowballStemming"
            - "$ref": "#/components/schemas/TokenFilterSpanishPluralStemming"
            - "$ref": "#/components/schemas/TokenFilterStempel"
            - "$ref": "#/components/schemas/tokenFilterstopword"
            - "$ref": "#/components/schemas/tokenFiltertrim"
            - "$ref": "#/components/schemas/TokenFilterWordDelimiterGraph"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        tokenizer:
          type: object
          description: Tokenizer that you want to use to create tokens. Tokens determine
            how Atlas Search splits up text into discrete chunks for indexing.
          discriminator:
            propertyName: type
            mapping:
              edgeGram: "#/components/schemas/tokenizeredgeGram"
              keyword: "#/components/schemas/tokenizerkeyword"
              nGram: "#/components/schemas/tokenizernGram"
              regexCaptureGroup: "#/components/schemas/tokenizerregexCaptureGroup"
              regexSplit: "#/components/schemas/tokenizerregexSplit"
              standard: "#/components/schemas/tokenizerstandard"
              uaxUrlEmail: "#/components/schemas/tokenizeruaxUrlEmail"
              whitespace: "#/components/schemas/tokenizerwhitespace"
          oneOf:
          - "$ref": "#/components/schemas/tokenizeredgeGram"
          - "$ref": "#/components/schemas/tokenizerkeyword"
          - "$ref": "#/components/schemas/tokenizernGram"
          - "$ref": "#/components/schemas/tokenizerregexCaptureGroup"
          - "$ref": "#/components/schemas/tokenizerregexSplit"
          - "$ref": "#/components/schemas/tokenizerstandard"
          - "$ref": "#/components/schemas/tokenizeruaxUrlEmail"
          - "$ref": "#/components/schemas/tokenizerwhitespace"
      description: Settings that describe one Atlas Search custom analyzer.
    ApiAtlasFTSMappingsViewManual:
      title: mappings
      type: object
      properties:
        dynamic:
          type: boolean
          description: Flag that indicates whether the index uses dynamic or static
            mappings. Required if **mappings.fields** is omitted.
          externalDocs:
            description: Dynamic or Static Mappings
            url: https://dochub.mongodb.org/core/index-definitions-fts#field-mapping-examples
          default: false
        fields:
          type: object
          additionalProperties:
            type: object
            externalDocs:
              description: Atlas Search Field Mappings
              url: https://dochub.mongodb.org/core/field-mapping-definition-fts#define-field-mappings
          description: One or more field specifications for the Atlas Search index.
            Required if **mappings.dynamic** is omitted or set to **false**.
          externalDocs:
            description: Atlas Search Index
            url: https://dochub.mongodb.org/core/index-definitions-fts
      description: Index specifications for the collection's fields.
    ApiAtlasModifyEndpointServiceRequestView:
      required:
      - cloudProvider
      type: object
      properties:
        cloudProvider:
          type: string
          description: Human-readable label that identifies the cloud service provider
            for the private endpoint service which you want to update.
          enum:
          - AWS
        supportedRemoteRegions:
          maxItems: 35
          type: array
          description: List of regions that the endpoint service supports. Native
            cross region support is implemented for AWS only.
          nullable: true
          items:
            type: string
            description: AWS region name
    ApiAtlasSnapshotScheduleView:
      required:
      - clusterCheckpointIntervalMin
      - clusterId
      - dailySnapshotRetentionDays
      - groupId
      - monthlySnapshotRetentionMonths
      - pointInTimeWindowHours
      - snapshotIntervalHours
      - snapshotRetentionDays
      - weeklySnapshotRetentionWeeks
      type: object
      properties:
        clusterCheckpointIntervalMin:
          type: integer
          description: Quantity of time expressed in minutes between successive cluster
            checkpoints. This parameter applies only to sharded clusters. This number
            determines the granularity of continuous cloud backups for sharded clusters.
          format: int32
          enum:
          - 15
          - 30
          - 60
        clusterId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the cluster
            with the snapshot you want to return.
          example: 32b6e34b3d91647abb20e7b8
        dailySnapshotRetentionDays:
          type: integer
          description: Quantity of time to keep daily snapshots. MongoDB Cloud expresses
            this value in days. Set this value to `0` to disable daily snapshot retention.
          format: int32
          enum:
          - 0
          - 3
          - 4
          - 5
          - 6
          - 7
          - 15
          - 30
          - 60
          - 90
          - 120
          - 180
          - 360
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that contains the cluster.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        monthlySnapshotRetentionMonths:
          type: integer
          description: Number of months that MongoDB Cloud must keep monthly snapshots.
            Set this value to `0` to disable monthly snapshot retention.
          format: int32
          enum:
          - 0
          - 1
          - 2
          - 3
          - 4
          - 5
          - 6
          - 7
          - 8
          - 9
          - 10
          - 11
          - 12
          - 13
          - 18
          - 24
          - 36
        pointInTimeWindowHours:
          type: integer
          description: Number of hours before the current time from which MongoDB
            Cloud can create a Continuous Cloud Backup snapshot.
          format: int32
        snapshotIntervalHours:
          type: integer
          description: Number of hours that must elapse before taking another snapshot.
          format: int32
          enum:
          - 6
          - 8
          - 12
          - 24
        snapshotRetentionDays:
          type: integer
          description: Number of days that MongoDB Cloud must keep recent snapshots.
          format: int32
          enum:
          - 2
          - 3
          - 4
          - 5
        weeklySnapshotRetentionWeeks:
          type: integer
          description: Number of weeks that MongoDB Cloud must keep weekly snapshots.
            Set this value to `0` to disable weekly snapshot retention.
          format: int32
          enum:
          - 0
          - 1
          - 2
          - 3
          - 4
          - 5
          - 6
          - 7
          - 8
          - 12
          - 16
          - 20
          - 24
          - 52
    ApiBSONTimestampView:
      title: BSON Timestamp
      type: object
      properties:
        date:
          type: string
          description: Date and time when the oplog recorded this database operation.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
        increment:
          minimum: 1199145600
          type: integer
          description: Order of the database operation that the oplog recorded at
            specific date and time.
          format: int32
          readOnly: true
          example: 1199145600
      description: BSON timestamp that indicates when the checkpoint token entry in
        the oplog occurred.
      readOnly: true
    ApiCheckpointPartView:
      type: object
      properties:
        replicaSetName:
          type: string
          description: Human-readable label that identifies the replica set to which
            this checkpoint applies.
          readOnly: true
        shardName:
          type: string
          description: Human-readable label that identifies the shard to which this
            checkpoint applies.
          readOnly: true
        tokenDiscovered:
          type: boolean
          description: Flag that indicates whether the token exists.
          readOnly: true
        tokenTimestamp:
          "$ref": "#/components/schemas/ApiBSONTimestampView"
        typeName:
          type: string
          description: Human-readable label that identifies the type of host that
            the part represents.
          readOnly: true
          enum:
          - REPLICA_SET
          - CONFIG_SERVER
          - CONFIG_SERVER_REPLICA_SET
      description: Metadata contained in one document that describes the complete
        snapshot taken for this node.
      readOnly: true
    ApiError:
      required:
      - error
      - errorCode
      type: object
      properties:
        badRequestDetail:
          "$ref": "#/components/schemas/BadRequestDetail"
        detail:
          type: string
          description: Describes the specific conditions or reasons that cause each
            type of error.
        error:
          type: integer
          description: HTTP status code returned with this error.
          format: int32
          readOnly: true
          externalDocs:
            url: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
        errorCode:
          type: string
          description: Application error code returned with this error.
          readOnly: true
        parameters:
          type: array
          description: Parameters used to give more information about the error.
          readOnly: true
          items:
            type: object
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        reason:
          type: string
          description: Application error message returned with this error.
          readOnly: true
    ApiHostView_Atlas:
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created this MongoDB process.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project.
            The project contains MongoDB processes that you want to return. The MongoDB
            process can be either the `mongod` or `mongos`.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        hostname:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?$"
          type: string
          description: Hostname, fully qualified domain name (FQDN), or Internet Protocol
            address (IPv4 or IPv6) of the host that runs the MongoDB process (`mongod`
            or `mongos`).
          readOnly: true
        id:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\\:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?(\\:[0-9]{4,5})$"
          type: string
          description: Combination of hostname and Internet Assigned Numbers Authority
            (IANA) port that serves the MongoDB process. The host must be the hostname,
            fully qualified domain name (FQDN), or Internet Protocol address (IPv4
            or IPv6) of the host that runs the MongoDB process (`mongod` or `mongos`).
            The port must be the IANA port on which the MongoDB process listens for
            requests.
          readOnly: true
        lastPing:
          type: string
          description: Date and time when MongoDB Cloud received the last ping for
            this MongoDB process. This parameter expresses its value in the ISO 8601
            timestamp format in UTC.
          format: date-time
          readOnly: true
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link_Atlas"
        port:
          type: integer
          description: Internet Assigned Numbers Authority (IANA) port on which the
            MongoDB process listens for requests.
          format: int32
          readOnly: true
        replicaSetName:
          type: string
          description: Human-readable label that identifies the replica set that contains
            this process. This resource returns this parameter if this process belongs
            to a replica set.
          readOnly: true
        shardName:
          type: string
          description: Human-readable label that identifies the shard that contains
            this process. This resource returns this value only if this process belongs
            to a sharded cluster.
          readOnly: true
        typeName:
          type: string
          description: Type of MongoDB process that MongoDB Cloud tracks. MongoDB
            Cloud returns new processes as `NO_DATA` until MongoDB Cloud completes
            deploying the process.
          readOnly: true
          enum:
          - REPLICA_PRIMARY
          - REPLICA_SECONDARY
          - RECOVERING
          - SHARD_MONGOS
          - SHARD_CONFIG
          - SHARD_STANDALONE
          - SHARD_PRIMARY
          - SHARD_SECONDARY
          - NO_DATA
        userAlias:
          type: string
          description: Human-readable label that identifies the cluster node. MongoDB
            Cloud sets this hostname usually to the standard hostname for the cluster
            node. It appears in the connection string for a cluster instead of the
            value of the hostname parameter.
          readOnly: true
        version:
          pattern: "([\\d]+\\.[\\d]+\\.[\\d]+)"
          type: string
          description: Version of MongoDB that this process runs.
          readOnly: true
    ApiKey:
      required:
      - accessList
      - id
      - publicKey
      - roles
      type: object
      properties:
        accessList:
          type: array
          description: List of network addresses granted access to this API using
            this API key.
          readOnly: true
          items:
            "$ref": "#/components/schemas/AccessListItemView"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this organization
            API key.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          maxLength: 8
          minLength: 8
          type: string
          description: Public API key value set for the specified organization API
            key.
          readOnly: true
        roles:
          type: array
          description: List that contains roles that the API key needs to have. All
            roles you provide must be valid for the specified project or organization.
            Each request must include a minimum of one valid role. The resource returns
            all project and organization roles assigned to the Cloud user.
          readOnly: true
          items:
            "$ref": "#/components/schemas/CloudAccessRoleAssignment"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
      description: Details contained in one API key.
      nullable: true
      readOnly: true
    ApiKeyUserDetails:
      type: object
      properties:
        desc:
          maxLength: 250
          minLength: 1
          type: string
          description: Purpose or explanation provided when someone created this organization
            API key.
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this organization
            API key assigned to this project.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        privateKey:
          type: string
          description: Redacted private key returned for this organization API key.
            This key displays unredacted when first created.
          readOnly: true
          example: 55c3bbb6-b4bb-0be1-e66d20841f3e
        publicKey:
          maxLength: 8
          minLength: 8
          type: string
          description: Public API key value set for the specified organization API
            key.
          readOnly: true
          example: zmmrboas
        roles:
          type: array
          description: List that contains the roles that the API key needs to have.
            All roles you provide must be valid for the specified project or organization.
            Each request must include a minimum of one valid role. The resource returns
            all project and organization roles assigned to the API key.
          items:
            "$ref": "#/components/schemas/CloudAccessRoleAssignment"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
      description: Details of the Programmatic API Keys.
    ApiMeasurementsGeneralView_Atlas:
      type: object
      properties:
        databaseName:
          type: string
          description: Human-readable label that identifies the database that the
            specified MongoDB process serves.
          readOnly: true
        end:
          type: string
          description: Date and time that specifies when to stop retrieving measurements.
            If you set **end**, you must set **start**. You can't set this parameter
            and **period** in the same request. This parameter expresses its value
            in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        granularity:
          type: string
          description: Duration that specifies the interval between measurement data
            points. The parameter expresses its value in ISO 8601 timestamp format
            in UTC. If you set this parameter, you must set either **period** or **start**
            and **end**.
          readOnly: true
          enum:
          - PT1M
          - PT5M
          - PT1H
          - P1D
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project.
            The project contains MongoDB processes that you want to return. The MongoDB
            process can be either the `mongod` or `mongos`.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        hostId:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\\:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?(\\:[0-9]{4,5})$"
          type: string
          description: Combination of hostname and Internet Assigned Numbers Authority
            (IANA) port that serves the MongoDB process. The host must be the hostname,
            fully qualified domain name (FQDN), or Internet Protocol address (IPv4
            or IPv6) of the host that runs the MongoDB process (`mongod` or `mongos`).
            The port must be the IANA port on which the MongoDB process listens for
            requests.
          readOnly: true
          example: mongodb.example.com:27017
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link_Atlas"
        measurements:
          type: array
          description: List that contains measurements and their data points.
          readOnly: true
          items:
            "$ref": "#/components/schemas/MetricsMeasurement_Atlas"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        partitionName:
          type: string
          description: Human-readable label of the disk or partition to which the
            measurements apply.
          readOnly: true
        processId:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\\:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?(\\:[0-9]{4,5})$"
          type: string
          description: Combination of hostname and Internet Assigned Numbers Authority
            (IANA) port that serves the MongoDB process. The host must be the hostname,
            fully qualified domain name (FQDN), or Internet Protocol address (IPv4
            or IPv6) of the host that runs the MongoDB process (`mongod` or `mongos`).
            The port must be the IANA port on which the MongoDB process listens for
            requests.
          readOnly: true
          example: mongodb.example.com:27017
        start:
          type: string
          description: Date and time that specifies when to start retrieving measurements.
            If you set **start**, you must set **end**. You can't set this parameter
            and **period** in the same request. This parameter expresses its value
            in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
    ApiPrivateDownloadDeliveryUrl:
      type: object
      properties:
        deliveryUrl:
          type: string
          description: One Uniform Resource Locator that points to the compressed
            snapshot files for manual download.
        endpointId:
          pattern: "^vpce-[0-9a-f]{17}$"
          type: string
          description: Unique 22-character alphanumeric string that identifies the
            private endpoint.
          example: vpce-3bf78b0ddee411ba1
      description: One Uniform Resource Locator (URL) that points to the compressed
        snapshot files for manual download and the corresponding private endpoint.
    ApiUserEventTypeViewForNdsGroup:
      title: API User Event Types
      type: string
      description: Unique identifier of event type.
      example: API_KEY_CREATED
      enum:
      - API_KEY_CREATED
      - API_KEY_DELETED
      - API_KEY_ACCESS_LIST_ENTRY_ADDED
      - API_KEY_ACCESS_LIST_ENTRY_DELETED
      - API_KEY_ROLES_CHANGED
      - API_KEY_DESCRIPTION_CHANGED
      - API_KEY_ADDED_TO_GROUP
      - API_KEY_REMOVED_FROM_GROUP
      - API_KEY_UI_IP_ACCESS_LIST_INHERITANCE_ENABLED
      - API_KEY_UI_IP_ACCESS_LIST_INHERITANCE_DISABLED
    ApiUserEventTypeViewForOrg:
      title: API User Event Types
      type: string
      description: Unique identifier of event type.
      example: API_KEY_CREATED
      enum:
      - API_KEY_CREATED
      - API_KEY_DELETED
      - API_KEY_ACCESS_LIST_ENTRY_ADDED
      - API_KEY_ACCESS_LIST_ENTRY_DELETED
      - API_KEY_ROLES_CHANGED
      - API_KEY_DESCRIPTION_CHANGED
      - API_KEY_ADDED_TO_GROUP
      - API_KEY_REMOVED_FROM_GROUP
      - API_KEY_UI_IP_ACCESS_LIST_INHERITANCE_ENABLED
      - API_KEY_UI_IP_ACCESS_LIST_INHERITANCE_DISABLED
    ApiUserEventViewForNdsGroup:
      title: API User Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/ApiUserEventTypeViewForNdsGroup"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        targetPublicKey:
          type: string
          description: Public part of the API key that this event targets.
          readOnly: true
          example: zmmrboas
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
        whitelistEntry:
          type: string
          description: Entry in the list of source host addresses that the API key
            accepts and this event targets.
          readOnly: true
          example: 0.0.0.0
      description: API User event identifies different activities around user API
        keys.
    ApiUserEventViewForOrg:
      title: API User Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/ApiUserEventTypeViewForOrg"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        targetPublicKey:
          type: string
          description: Public part of the API key that this event targets.
          readOnly: true
          example: zmmrboas
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
        whitelistEntry:
          type: string
          description: Entry in the list of source host addresses that the API key
            accepts and this event targets.
          readOnly: true
          example: 0.0.0.0
      description: API User event identifies different activities around user API
        keys.
    AppServiceAlertConfigViewForNdsGroup:
      title: App Services Alert Configuration
      required:
      - eventTypeName
      - notifications
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created the alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled this alert configuration
            for the specified project.
          default: false
        eventTypeName:
          "$ref": "#/components/schemas/AppServiceEventTypeViewAlertableNoThreshold"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert
            configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        matchers:
          type: array
          description: List of rules that determine whether MongoDB Cloud checks an
            object for the alert configuration. You can filter using the matchers
            array if the `eventTypeName` specifies an event for a host, replica set,
            or sharded cluster.
          items:
            "$ref": "#/components/schemas/AppServiceMetricMatcher"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        notifications:
          maxItems: 25
          minItems: 1
          type: array
          description: List that contains the targets that MongoDB Cloud sends notifications.
          items:
            "$ref": "#/components/schemas/AlertsNotificationRootForGroup"
        severityOverride:
          "$ref": "#/components/schemas/EventSeverity"
        updated:
          type: string
          description: Date and time when someone last updated this alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: App Services metric alert configuration allows to select which
        app service conditions and events trigger alerts and how users are notified.
    AppServiceAlertView:
      title: App Services Alerts
      required:
      - alertConfigId
      - created
      - eventTypeName
      - id
      - status
      - updated
      type: object
      properties:
        acknowledgedUntil:
          type: string
          description: |-
            Date and time until which this alert has been acknowledged. This parameter expresses its value in the ISO 8601 timestamp format in UTC. The resource returns this parameter if a MongoDB User previously acknowledged this alert.

            - To acknowledge this alert forever, set the parameter value to 100 years in the future.

            - To unacknowledge a previously acknowledged alert, do not set this parameter value.
          format: date-time
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        acknowledgementComment:
          maxLength: 200
          type: string
          description: Comment that a MongoDB Cloud user submitted when acknowledging
            the alert.
          example: Expiration on 3/19.  Silencing for 7days.
        acknowledgingUsername:
          type: string
          description: MongoDB Cloud username of the person who acknowledged the alert.
            The response returns this parameter if a MongoDB Cloud user previously
            acknowledged this alert.
          format: email
          readOnly: true
        alertConfigId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the alert
            configuration that sets this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        created:
          type: string
          description: Date and time when MongoDB Cloud created this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/AppServiceEventTypeViewAlertable"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        lastNotified:
          type: string
          description: Date and time that any notifications were last sent for this
            alert. This parameter expresses its value in the ISO 8601 timestamp format
            in UTC. The resource returns this parameter if MongoDB Cloud has sent
            notifications for this alert.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            organization that owns the project to which this alert applies.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        resolved:
          type: string
          description: 'Date and time that this alert changed to `"status" : "CLOSED"`.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC. The resource returns this parameter once `"status" : "CLOSED"`.'
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        status:
          type: string
          description: State of this alert at the time you requested its details.
            TRACKING indicates the alert condition exists but has not persisted for
            the minimum notification delay. OPEN indicates the alert condition currently
            exists. CLOSED indicates the alert condition has been resolved.
          readOnly: true
          example: OPEN
          enum:
          - CANCELLED
          - CLOSED
          - OPEN
          - TRACKING
        updated:
          type: string
          description: Date and time when someone last updated this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: App Services alert notifies different activities about a BAAS application.
    AppServiceEventTypeView:
      title: App Services Event Types
      type: string
      description: Unique identifier of event type.
      example: DEPLOYMENT_FAILURE
      enum:
      - URL_CONFIRMATION
      - SUCCESSFUL_DEPLOY
      - DEPLOYMENT_FAILURE
      - DEPLOYMENT_MODEL_CHANGE_SUCCESS
      - DEPLOYMENT_MODEL_CHANGE_FAILURE
      - REQUEST_RATE_LIMIT
      - LOG_FORWARDER_FAILURE
      - INSIDE_REALM_METRIC_THRESHOLD
      - OUTSIDE_REALM_METRIC_THRESHOLD
      - SYNC_FAILURE
      - TRIGGER_FAILURE
      - TRIGGER_AUTO_RESUMED
    AppServiceEventTypeViewAlertable:
      title: App Services Event Types
      type: string
      description: Incident that triggered this alert.
      readOnly: true
      example: DEPLOYMENT_FAILURE
      enum:
      - URL_CONFIRMATION
      - SUCCESSFUL_DEPLOY
      - DEPLOYMENT_FAILURE
      - DEPLOYMENT_MODEL_CHANGE_SUCCESS
      - DEPLOYMENT_MODEL_CHANGE_FAILURE
      - REQUEST_RATE_LIMIT
      - LOG_FORWARDER_FAILURE
      - OUTSIDE_REALM_METRIC_THRESHOLD
      - SYNC_FAILURE
      - TRIGGER_FAILURE
      - TRIGGER_AUTO_RESUMED
    AppServiceEventTypeViewAlertableNoThreshold:
      title: App Services Event Types
      type: string
      description: Event type that triggers an alert.
      example: DEPLOYMENT_FAILURE
      externalDocs:
        description: Atlas Alert Event Types
        url: https://www.mongodb.com/docs/atlas/reference/atlas-alert-event-types/
      enum:
      - URL_CONFIRMATION
      - SUCCESSFUL_DEPLOY
      - DEPLOYMENT_FAILURE
      - REQUEST_RATE_LIMIT
      - LOG_FORWARDER_FAILURE
      - SYNC_FAILURE
      - TRIGGER_FAILURE
      - TRIGGER_AUTO_RESUMED
      - DEPLOYMENT_MODEL_CHANGE_SUCCESS
      - DEPLOYMENT_MODEL_CHANGE_FAILURE
    AppServiceEventTypeViewAlertableWithThreshold:
      title: App Services Event Types
      type: string
      description: Event type that triggers an alert.
      example: OUTSIDE_REALM_METRIC_THRESHOLD
      externalDocs:
        description: Atlas Alert Event Types
        url: https://www.mongodb.com/docs/atlas/reference/atlas-alert-event-types/
      enum:
      - OUTSIDE_REALM_METRIC_THRESHOLD
    AppServiceEventView:
      title: App Services Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/AppServiceEventTypeView"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        raw:
          "$ref": "#/components/schemas/raw"
      description: App Services event identifies different activities about a BAAS
        application.
    AppServiceMetricAlertConfigViewForNdsGroup:
      title: App Services Metric Alert Configuration
      required:
      - eventTypeName
      - notifications
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created the alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled this alert configuration
            for the specified project.
          default: false
        eventTypeName:
          "$ref": "#/components/schemas/AppServiceEventTypeViewAlertableWithThreshold"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert
            configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        matchers:
          type: array
          description: List of rules that determine whether MongoDB Cloud checks an
            object for the alert configuration. You can filter using the matchers
            array if the `eventTypeName` specifies an event for a host, replica set,
            or sharded cluster.
          items:
            "$ref": "#/components/schemas/AppServiceMetricMatcher"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        metricThreshold:
          "$ref": "#/components/schemas/AppServiceMetricThreshold"
        notifications:
          maxItems: 25
          minItems: 1
          type: array
          description: List that contains the targets that MongoDB Cloud sends notifications.
          items:
            "$ref": "#/components/schemas/AlertsNotificationRootForGroup"
        severityOverride:
          "$ref": "#/components/schemas/EventSeverity"
        updated:
          type: string
          description: Date and time when someone last updated this alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: App Services metric alert configuration allows to select which
        app service metrics trigger alerts and how users are notified.
    AppServiceMetricMatcher:
      title: Matchers
      required:
      - fieldName
      - operator
      - value
      type: object
      properties:
        fieldName:
          "$ref": "#/components/schemas/AppServiceMetricMatcherField"
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value against **matcher[n].value**. The `REGEX` operator only supports
            inclusive matches. Use the `NOT_CONTAINS` operator to exclude values.
          enum:
          - EQUALS
          - CONTAINS
          - STARTS_WITH
          - ENDS_WITH
          - NOT_EQUALS
          - NOT_CONTAINS
          - REGEX
        value:
          type: string
          description: Value to match or exceed using the specified `matchers.operator`.
          example: event-replica-set
      description: Rules to apply when comparing an app service metric against this
        alert configuration.
    AppServiceMetricMatcherField:
      title: App Services Metric Matcher Fields
      type: string
      description: Name of the parameter in the target object that MongoDB Cloud checks.
        The parameter must match all rules for MongoDB Cloud to check for alert configurations.
      example: APPLICATION_ID
      enum:
      - APPLICATION_ID
    AppServiceMetricThreshold:
      title: App Services Metric Threshold
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          type: string
          description: Element used to express the quantity. This can be an element
            of time, storage capacity, and the like.
          enum:
          - bits
          - Kbits
          - Mbits
          - Gbits
          - bytes
          - KB
          - MB
          - GB
          - TB
          - PB
          - nsec
          - msec
          - sec
          - min
          - hours
          - million minutes
          - days
          - requests
          - 1000 requests
          - tokens
          - million tokens
          - pixels
          - billion pixels
          - GB seconds
          - GB hours
          - GB days
          - RPU
          - thousand RPU
          - million RPU
          - WPU
          - thousand WPU
          - million WPU
          - count
          - thousand
          - million
          - billion
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
              IPA validation.
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Threshold for the metric that, when exceeded, triggers an alert.
        The metric threshold pertains to event types which reflects changes of measurements
        and metrics in the app services.
      discriminator:
        propertyName: metricName
        mapping:
          REALM_AUTH_LOGIN_FAIL: "#/components/schemas/RawMetricThresholdView"
          REALM_ENDPOINTS_COMPUTE_MS: "#/components/schemas/TimeMetricThresholdView"
          REALM_ENDPOINTS_EGRESS_BYTES: "#/components/schemas/DataMetricThresholdView"
          REALM_ENDPOINTS_FAILED_REQUESTS: "#/components/schemas/RawMetricThresholdView"
          REALM_ENDPOINTS_RESPONSE_MS: "#/components/schemas/TimeMetricThresholdView"
          REALM_GQL_COMPUTE_MS: "#/components/schemas/TimeMetricThresholdView"
          REALM_GQL_EGRESS_BYTES: "#/components/schemas/DataMetricThresholdView"
          REALM_GQL_FAILED_REQUESTS: "#/components/schemas/RawMetricThresholdView"
          REALM_GQL_RESPONSE_MS: "#/components/schemas/TimeMetricThresholdView"
          REALM_OVERALL_COMPUTE_MS: "#/components/schemas/TimeMetricThresholdView"
          REALM_OVERALL_EGRESS_BYTES: "#/components/schemas/DataMetricThresholdView"
          REALM_OVERALL_FAILED_REQUESTS: "#/components/schemas/RawMetricThresholdView"
          REALM_SDKFNS_FAILED_REQUESTS: "#/components/schemas/RawMetricThresholdView"
          REALM_SDK_FNS_RESPONSE_MS: "#/components/schemas/TimeMetricThresholdView"
          REALM_SDK_FUNCTIONS_COMPUTE_MS: "#/components/schemas/TimeMetricThresholdView"
          REALM_SDK_FUNCTIONS_EGRESS_BYTES: "#/components/schemas/DataMetricThresholdView"
          REALM_SDK_MQL_COMPUTE_MS: "#/components/schemas/TimeMetricThresholdView"
          REALM_SDK_MQL_EGRESS_BYTES: "#/components/schemas/DataMetricThresholdView"
          REALM_SDK_MQL_RESPONSE_MS: "#/components/schemas/TimeMetricThresholdView"
          REALM_SYNC_CLIENT_BOOTSTRAP_MS: "#/components/schemas/TimeMetricThresholdView"
          REALM_SYNC_CLIENT_CHANGESETS_INVALID: "#/components/schemas/DataMetricThresholdView"
          REALM_SYNC_CLIENT_READS_FAILED: "#/components/schemas/DataMetricThresholdView"
          REALM_SYNC_CLIENT_UPLOADS_FAILED: "#/components/schemas/DataMetricThresholdView"
          REALM_SYNC_CURRENT_OPLOG_LAG_MS_SUM: "#/components/schemas/TimeMetricThresholdView"
          REALM_SYNC_EGRESS_BYTES: "#/components/schemas/DataMetricThresholdView"
          REALM_SYNC_FAILED_REQUESTS: "#/components/schemas/DataMetricThresholdView"
          REALM_SYNC_NUM_UNSYNCABLE_DOCS_PERCENT: "#/components/schemas/RawMetricThresholdView"
          REALM_SYNC_SESSIONS_ENDED: "#/components/schemas/DataMetricThresholdView"
          REALM_TRIGGERS_COMPUTE_MS: "#/components/schemas/TimeMetricThresholdView"
          REALM_TRIGGERS_CURRENT_OPLOG_LAG_MS_SUM: "#/components/schemas/TimeMetricThresholdView"
          REALM_TRIGGERS_EGRESS_BYTES: "#/components/schemas/DataMetricThresholdView"
          REALM_TRIGGERS_FAILED_REQUESTS: "#/components/schemas/RawMetricThresholdView"
          REALM_TRIGGERS_RESPONSE_MS: "#/components/schemas/TimeMetricThresholdView"
      oneOf:
      - "$ref": "#/components/schemas/RawMetricThresholdView"
      - "$ref": "#/components/schemas/DataMetricThresholdView"
      - "$ref": "#/components/schemas/TimeMetricThresholdView"
    AssertMsgRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    AssertRegularRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    AssertUserRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    AssertWarningRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    AtlasClusterOutageSimulationOutageFilter:
      type: object
      properties:
        cloudProvider:
          type: string
          description: The cloud provider of the region that undergoes the outage
            simulation.
          enum:
          - AWS
          - GCP
          - AZURE
        regionName:
          type: string
          description: The name of the region to undergo an outage simulation.
        type:
          type: string
          description: The type of cluster outage to simulate. `REGION` simulates
            a cluster outage for a region.
          enum:
          - REGION
    AtlasDataFederationAzureRegion:
      type: string
      description: Atlas Data Federation Azure Regions.
      enum:
      - VIRGINIA_USA
      - AMSTERDAM_NLD
      - SAOPAULO_BRA
    AtlasDataFederationGCPRegion:
      type: string
      description: Atlas Data Federation GCP Regions.
      enum:
      - IOWA_USA
      - BELGIUM_EU
    AtlasOrganization:
      required:
      - name
      type: object
      properties:
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isDeleted:
          type: boolean
          description: Flag that indicates whether this organization has been deleted.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        name:
          pattern: "^[\\p{L}\\p{N}\\-_.(),:&@+']{1,64}$"
          type: string
          description: Human-readable label that identifies the organization.
        skipDefaultAlertsSettings:
          type: boolean
          description: Disables automatic alert creation. When set to true, no organization
            level alerts will be created automatically.
          default: false
      description: Details that describe the organization.
    AtlasResourcePolicyAuditForNdsGroup:
      title: Atlas Resource Policy Audits For Atlas Group
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          title: Atlas Resource Policy Audit Types
          type: string
          description: Unique identifier of event type.
          example: RESOURCE_POLICY_VIOLATED
          enum:
          - RESOURCE_POLICY_VIOLATED
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        resourcePolicyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            resource policy.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
        violatedPolicies:
          type: array
          description: String representation of the violated resource policy ids.
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        violationAction:
          type: string
          description: Resource policy action taken by the user and evaluated against
            the currently active policies.
          readOnly: true
      description: Atlas resource policy audits indicate organization level changes
        to resource policies.
    AtlasResourcePolicyAuditForOrg:
      title: Atlas Resource Policy Audits
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          title: Atlas Resource Policy Audit Types
          type: string
          description: Unique identifier of event type.
          example: RESOURCE_POLICY_CREATED
          enum:
          - RESOURCE_POLICY_CREATED
          - RESOURCE_POLICY_MODIFIED
          - RESOURCE_POLICY_DELETED
          - RESOURCE_POLICY_VIOLATED
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        resourcePolicyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            resource policy.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Atlas resource policy audits indicate organization level changes
        to resource policies.
    AuditLog:
      type: object
      properties:
        auditAuthorizationSuccess:
          type: boolean
          description: 'Flag that indicates whether someone set auditing to track
            successful authentications. This only applies to the `"atype" : "authCheck"`
            audit filter. Setting this parameter to `true` degrades cluster performance.'
          externalDocs:
            description: System Auditing Messages
            url: https://docs.mongodb.com/manual/reference/audit-message/#audit-event-actions-details-and-results
          default: false
        auditFilter:
          type: string
          description: JSON document that specifies which events to record. Escape
            any characters that may prevent parsing, such as single or double quotes,
            using a backslash (`\`).
          externalDocs:
            description: Custom Auditing Filter
            url: https://docs.atlas.mongodb.com/tutorial/auditing-custom-filter/
        configurationType:
          type: string
          description: Human-readable label that displays how to configure the audit
            filter.
          readOnly: true
          enum:
          - NONE
          - FILTER_BUILDER
          - FILTER_JSON
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled database auditing
            for the specified project.
          default: false
    AuthFederationRoleMapping:
      title: Federated Authentication Role Mapping
      required:
      - externalGroupName
      - roleAssignments
      type: object
      properties:
        externalGroupName:
          maxLength: 200
          minLength: 1
          type: string
          description: Unique human-readable label that identifies the identity provider
            group to which this role mapping applies.
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this role
            mapping.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        roleAssignments:
          uniqueItems: true
          type: array
          description: Atlas roles and the unique identifiers of the groups and organizations
            associated with each role. The array must include at least one element
            with an Organization role and its respective `orgId`. Each element in
            the array can have a value for `orgId` or `groupId`, but not both.
          items:
            "$ref": "#/components/schemas/ConnectedOrgConfigRoleAssignment"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
      description: Mapping settings that link one IdP and MongoDB Cloud.
    AutoExportPolicyView:
      title: export
      type: object
      properties:
        exportBucketId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            Export Bucket.
          example: 32b6e34b3d91647abb20e7b8
        frequencyType:
          type: string
          description: Human-readable label that indicates the rate at which the export
            policy item occurs.
          enum:
          - monthly
          - yearly
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Policy for automatically exporting Cloud Backup Snapshots.
    AutomationConfigEventTypeView:
      title: Automation Config Event Types
      type: string
      description: Unique identifier of event type.
      example: AUTOMATION_CONFIG_PUBLISHED_AUDIT
      enum:
      - AUTOMATION_CONFIG_PUBLISHED_AUDIT
    AutomationConfigEventView:
      title: Automation Config Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/AutomationConfigEventTypeView"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Automation configuration event identifies that deployment configuration
        is published.
    AvailableCloudProviderRegion:
      type: object
      properties:
        default:
          type: boolean
          description: Flag that indicates whether the cloud provider sets this region
            as its default. AWS defaults to `US_EAST_1`, GCP defaults to `CENTRAL_US`,
            and AZURE defaults to `US_WEST_2`.
          readOnly: true
        name:
          type: string
          description: Human-readable label that identifies the supported region.
          readOnly: true
    AvailableClustersDeployment:
      title: Available Clusters
      required:
      - featureCompatibilityVersion
      - managed
      - mongoDBVersion
      - name
      - sharded
      - tlsEnabled
      type: object
      properties:
        agentVersion:
          type: string
          description: Version of MongoDB Agent that monitors/manages the cluster.
          readOnly: true
        clusterId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the cluster.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        dbSizeBytes:
          type: integer
          description: Size of this database on disk at the time of the request expressed
            in bytes.
          format: int64
          readOnly: true
          example: 8192
        featureCompatibilityVersion:
          type: string
          description: Version of MongoDB features that this cluster supports.
          readOnly: true
          externalDocs:
            description: MongoDB feature versions
            url: https://docs.mongodb.com/manual/reference/command/setFeatureCompatibilityVersion
        managed:
          type: boolean
          description: Flag that indicates whether Automation manages this cluster.
          readOnly: true
        mongoDBVersion:
          type: string
          description: Version of MongoDB that this cluster runs.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        name:
          type: string
          description: Human-readable label that identifies this cluster.
          readOnly: true
          example: Project X sharded cluster
        oplogSizeMB:
          type: integer
          description: Size of the Oplog on disk at the time of the request expressed
            in MB.
          format: int32
          readOnly: true
          example: 3
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        sharded:
          type: boolean
          description: |-
            Flag that indicates whether someone configured this cluster as a sharded cluster.

            - If `true`, this cluster serves as a sharded cluster.
            - If `false`, this cluster serves as a replica set.
          readOnly: true
        shardsSize:
          type: integer
          description: Number of shards that comprise this cluster.
          format: int32
          readOnly: true
          example: 3
        tlsEnabled:
          type: boolean
          description: Flag that indicates whether someone enabled TLS for this cluster.
          readOnly: true
      description: Deployments that can be migrated to MongoDB Atlas.
    AvgCommandExecutionTimeTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    AvgReadExecutionTimeTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    AvgWriteExecutionTimeTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    AwsNetworkPeeringConnectionSettings:
      title: AWS
      required:
      - accepterRegionName
      - awsAccountId
      - containerId
      - routeTableCidrBlock
      - vpcId
      type: object
      properties:
        accepterRegionName:
          type: string
          description: Amazon Web Services (AWS) region where the Virtual Peering
            Connection (VPC) that you peered with the MongoDB Cloud VPC resides. The
            resource returns `null` if your VPC and the MongoDB Cloud VPC reside in
            the same region.
        awsAccountId:
          pattern: "^[0-9]{12}$"
          type: string
          description: Unique twelve-digit string that identifies the Amazon Web Services
            (AWS) account that owns the VPC that you peered with the MongoDB Cloud
            VPC.
        connectionId:
          type: string
          description: Unique string that identifies the peering connection on AWS.
          readOnly: true
        containerId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the MongoDB
            Cloud network container that contains the specified network peering connection.
          example: 32b6e34b3d91647abb20e7b8
        errorStateName:
          type: string
          description: Type of error that can be returned when requesting an Amazon
            Web Services (AWS) peering connection. The resource returns `null` if
            the request succeeded.
          readOnly: true
          enum:
          - REJECTED
          - EXPIRED
          - INVALID_ARGUMENT
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the network
            peering connection.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        providerName:
          type: string
          description: Cloud service provider that serves the requested network peering
            connection.
          enum:
          - AWS
          - AZURE
          - GCP
        routeTableCidrBlock:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: Internet Protocol (IP) addresses expressed in Classless Inter-Domain
            Routing (CIDR) notation of the VPC's subnet that you want to peer with
            the MongoDB Cloud VPC.
        statusName:
          type: string
          description: State of the network peering connection at the time you made
            the request.
          readOnly: true
          enum:
          - INITIATING
          - PENDING_ACCEPTANCE
          - FAILED
          - FINALIZING
          - AVAILABLE
          - TERMINATING
        vpcId:
          pattern: "^vpc-[0-9a-f]{17}$"
          type: string
          description: Unique string that identifies the VPC on Amazon Web Services
            (AWS) that you want to peer with the MongoDB Cloud VPC.
      description: Group of Network Peering connection settings.
    AzureCloudProviderContainer:
      title: AZURE
      required:
      - atlasCidrBlock
      - region
      type: object
      description: Collection of settings that configures the network container for
        a virtual private connection on Amazon Web Services.
      allOf:
      - "$ref": "#/components/schemas/CloudProviderContainer"
      - type: object
        properties:
          atlasCidrBlock:
            pattern: "^((([0-9]{1,3}\\.){3}[0-9]{1,3})|(:{0,2}([0-9a-f]{1,4}:){0,7}[0-9a-f]{1,4}[:]{0,2}))((%2[fF]|/)[0-9]{1,3})+$"
            type: string
            description: |-
              IP addresses expressed in Classless Inter-Domain Routing (CIDR) notation that MongoDB Cloud uses for the network peering containers in your project. MongoDB Cloud assigns all of the project's clusters deployed to this cloud provider an IP address from this range. MongoDB Cloud locks this value if an M10 or greater cluster or a network peering connection exists in this project.

              These CIDR blocks must fall within the ranges reserved per RFC 1918. AWS and Azure further limit the block to between the `/24` and  `/21` ranges.

              To modify the CIDR block, the target project cannot have:

              - Any M10 or greater clusters
              - Any other VPC peering connections

               You can also create a new project and create a network peering connection to set the desired MongoDB Cloud network peering container CIDR block for that project. MongoDB Cloud limits the number of MongoDB nodes per network peering connection based on the CIDR block and the region selected for the project.

               **Example:** A project in an Amazon Web Services (AWS) region supporting three availability zones and an MongoDB CIDR network peering container block of limit of `/24` equals 27 three-node replica sets.
          azureSubscriptionId:
            pattern: "^([a-f0-9]{24})$"
            type: string
            description: Unique string that identifies the Azure subscription in which
              the MongoDB Cloud VNet resides.
            readOnly: true
            example: 32b6e34b3d91647abb20e7b8
          region:
            type: string
            description: Azure region to which MongoDB Cloud deployed this network
              peering container.
            enum:
            - US_CENTRAL
            - US_EAST
            - US_EAST_2
            - US_EAST_2_EUAP
            - US_NORTH_CENTRAL
            - US_WEST
            - US_SOUTH_CENTRAL
            - EUROPE_NORTH
            - EUROPE_WEST
            - US_WEST_CENTRAL
            - US_WEST_2
            - US_WEST_3
            - CANADA_EAST
            - CANADA_CENTRAL
            - BRAZIL_SOUTH
            - BRAZIL_SOUTHEAST
            - AUSTRALIA_EAST
            - AUSTRALIA_SOUTH_EAST
            - AUSTRALIA_CENTRAL
            - AUSTRALIA_CENTRAL_2
            - UAE_NORTH
            - GERMANY_WEST_CENTRAL
            - GERMANY_NORTH
            - SWITZERLAND_NORTH
            - SWITZERLAND_WEST
            - SWEDEN_CENTRAL
            - SWEDEN_SOUTH
            - UK_SOUTH
            - UK_WEST
            - INDIA_CENTRAL
            - INDIA_WEST
            - INDIA_SOUTH
            - CHINA_EAST
            - CHINA_NORTH
            - ASIA_EAST
            - JAPAN_EAST
            - JAPAN_WEST
            - ASIA_SOUTH_EAST
            - KOREA_CENTRAL
            - KOREA_SOUTH
            - FRANCE_CENTRAL
            - FRANCE_SOUTH
            - SOUTH_AFRICA_NORTH
            - SOUTH_AFRICA_WEST
            - NORWAY_EAST
            - NORWAY_WEST
            - UAE_CENTRAL
            - QATAR_CENTRAL
            - POLAND_CENTRAL
            - ISRAEL_CENTRAL
            - ITALY_NORTH
            - SPAIN_CENTRAL
            - MEXICO_CENTRAL
            - NEW_ZEALAND_NORTH
            - INDONESIA_CENTRAL
            - MALAYSIA_WEST
            - CHILE_CENTRAL
            - US_GOV_VIRGINIA
            - US_GOV_ARIZONA
            - US_GOV_TEXAS
            x-xgen-IPA-exception:
              xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum values
                standardized by cloud providers.
          vnetName:
            pattern: "^([-\\w._()])$"
            type: string
            description: Unique string that identifies the Azure VNet in which MongoDB
              Cloud clusters in this network peering container exist. The response
              returns **null** if no clusters exist in this network peering container.
            readOnly: true
    AzureCloudProviderSettings:
      type: object
      allOf:
      - "$ref": "#/components/schemas/ClusterProviderSettings"
      - type: object
        properties:
          autoScaling:
            "$ref": "#/components/schemas/CloudProviderAzureAutoScaling"
          diskTypeName:
            type: string
            description: Disk type that corresponds to the host's root volume for
              Azure instances. If omitted, the default disk type for the selected
              `providerSettings.instanceSizeName` applies.
            externalDocs:
              description: Disk type
              url: https://docs.microsoft.com/en-us/azure/virtual-machines/premium-storage-performance#premium-storage-disk-sizes
            enum:
            - P2
            - P3
            - P4
            - P6
            - P10
            - P15
            - P20
            - P30
            - P40
            - P50
          instanceSizeName:
            title: Azure Instance Sizes
            type: string
            description: Cluster tier, with a default storage and memory capacity,
              that applies to all the data-bearing hosts in your cluster.
            enum:
            - M10
            - M20
            - M30
            - M40
            - M50
            - M60
            - M80
            - M90
            - M200
            - R40
            - R50
            - R60
            - R80
            - R200
            - R300
            - R400
            - M60_NVME
            - M80_NVME
            - M200_NVME
            - M300_NVME
            - M400_NVME
            - M600_NVME
            x-xgen-IPA-exception:
              xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum values
                standardized by cloud providers.
          regionName:
            title: Azure Regions
            type: string
            description: Microsoft Azure Regions.
            externalDocs:
              description: Azure
              url: https://docs.atlas.mongodb.com/reference/microsoft-azure/
            enum:
            - US_CENTRAL
            - US_EAST
            - US_EAST_2
            - US_NORTH_CENTRAL
            - US_WEST
            - US_SOUTH_CENTRAL
            - EUROPE_NORTH
            - EUROPE_WEST
            - US_WEST_CENTRAL
            - US_WEST_2
            - US_WEST_3
            - CANADA_EAST
            - CANADA_CENTRAL
            - BRAZIL_SOUTH
            - BRAZIL_SOUTHEAST
            - AUSTRALIA_CENTRAL
            - AUSTRALIA_CENTRAL_2
            - AUSTRALIA_EAST
            - AUSTRALIA_SOUTH_EAST
            - GERMANY_WEST_CENTRAL
            - GERMANY_NORTH
            - SWEDEN_CENTRAL
            - SWEDEN_SOUTH
            - SWITZERLAND_NORTH
            - SWITZERLAND_WEST
            - UK_SOUTH
            - UK_WEST
            - NORWAY_EAST
            - NORWAY_WEST
            - INDIA_CENTRAL
            - INDIA_SOUTH
            - INDIA_WEST
            - CHINA_EAST
            - CHINA_NORTH
            - ASIA_EAST
            - JAPAN_EAST
            - JAPAN_WEST
            - ASIA_SOUTH_EAST
            - KOREA_CENTRAL
            - KOREA_SOUTH
            - FRANCE_CENTRAL
            - FRANCE_SOUTH
            - SOUTH_AFRICA_NORTH
            - SOUTH_AFRICA_WEST
            - UAE_CENTRAL
            - UAE_NORTH
            - QATAR_CENTRAL
            - POLAND_CENTRAL
            - ISRAEL_CENTRAL
            - ITALY_NORTH
            - SPAIN_CENTRAL
            - MEXICO_CENTRAL
            - NEW_ZEALAND_NORTH
            - US_GOV_VIRGINIA
            - US_GOV_ARIZONA
            - US_GOV_TEXAS
            x-xgen-IPA-exception:
              xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum values
                standardized by cloud providers.
    AzureComputeAutoScalingRules:
      title: Azure
      type: object
      properties:
        maxInstanceSize:
          title: Azure Instance Sizes
          type: string
          description: Maximum instance size to which your cluster can automatically
            scale.
          enum:
          - M10
          - M20
          - M30
          - M40
          - M50
          - M60
          - M80
          - M90
          - M200
          - R40
          - R50
          - R60
          - R80
          - R200
          - R300
          - R400
          - M60_NVME
          - M80_NVME
          - M200_NVME
          - M300_NVME
          - M400_NVME
          - M600_NVME
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum values standardized
              by cloud providers.
        minInstanceSize:
          title: Azure Instance Sizes
          type: string
          description: Minimum instance size to which your cluster can automatically
            scale.
          enum:
          - M10
          - M20
          - M30
          - M40
          - M50
          - M60
          - M80
          - M90
          - M200
          - R40
          - R50
          - R60
          - R80
          - R200
          - R300
          - R400
          - M60_NVME
          - M80_NVME
          - M200_NVME
          - M300_NVME
          - M400_NVME
          - M600_NVME
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum values standardized
              by cloud providers.
      description: Collection of settings that configures how a cluster might scale
        its cluster tier and whether the cluster can scale down. Cluster tier auto-scaling
        is unavailable for clusters using Low CPU or NVME storage classes.
    AzureCreateDataProcessRegionView:
      type: object
      allOf:
      - "$ref": "#/components/schemas/CreateDataProcessRegionView"
      - type: object
        properties:
          region:
            type: string
            description: Human-readable label that identifies the geographic location
              of the region where you wish to store your archived data.
            enum:
            - US_EAST_2
            - EUROPE_WEST
            - BRAZIL_SOUTH
    AzureDataProcessRegionView:
      type: object
      allOf:
      - "$ref": "#/components/schemas/DataProcessRegionView"
      - type: object
        properties:
          region:
            type: string
            description: Human-readable label that identifies the geographic location
              of the region where you store your archived data.
            readOnly: true
            enum:
            - US_EAST_2
            - EUROPE_WEST
            - BRAZIL_SOUTH
    AzureHardwareSpec:
      type: object
      properties:
        diskIOPS:
          type: integer
          description: |-
            Target throughput desired for storage attached to your Azure-provisioned cluster. Change this parameter if you:

            - set `replicationSpecs[n].regionConfigs[m].providerName` : `Azure`.
            - set `replicationSpecs[n].regionConfigs[m].electableSpecs.instanceSize` : `M40` or greater not including `Mxx_NVME` tiers.

            The maximum input/output operations per second (IOPS) depend on the selected `.instanceSize` and `.diskSizeGB`.
            This parameter defaults to the cluster tier's standard IOPS value.
            Changing this value impacts cluster cost.
          format: int32
          externalDocs:
            description: Programmatic API Keys
            url: https://www.mongodb.com/docs/atlas/customize-storage/#extend-iops-on-azure
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        instanceSize:
          title: Azure Instance Sizes
          type: string
          description: Hardware specification for the instance sizes in this region.
            Each instance size has a default storage and memory capacity. The instance
            size you select applies to all the data-bearing hosts of the node type.
          enum:
          - M10
          - M20
          - M30
          - M40
          - M50
          - M60
          - M80
          - M90
          - M200
          - R40
          - R50
          - R60
          - R80
          - R200
          - R300
          - R400
          - M60_NVME
          - M80_NVME
          - M200_NVME
          - M300_NVME
          - M400_NVME
          - M600_NVME
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum values standardized
              by cloud providers.
        nodeCount:
          type: integer
          description: Number of nodes of the given type for MongoDB Cloud to deploy
            to the region.
          format: int32
    AzureKeyVault:
      type: object
      properties:
        azureEnvironment:
          type: string
          description: Azure environment in which your account credentials reside.
          enum:
          - AZURE
          - AZURE_CHINA
          - AZURE_US_GOVERNMENT
        clientID:
          type: string
          description: Unique 36-hexadecimal character string that identifies an Azure
            application associated with your Azure Active Directory tenant.
          format: uuid
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled encryption at rest
            for the specified  project. To disable encryption at rest using customer
            key management and remove the configuration details, pass only this parameter
            with a value of `false`.
        keyIdentifier:
          type: string
          description: Web address with a unique key that identifies for your Azure
            Key Vault.
          example: https://EXAMPLEKeyVault.vault.azure.net/keys/EXAMPLEKey/d891821e3d364e9eb88fbd3d11807b86
        keyVaultName:
          type: string
          description: Unique string that identifies the Azure Key Vault that contains
            your key. This field cannot be modified when you enable and set up private
            endpoint connections to your Azure Key Vault.
        requirePrivateNetworking:
          type: boolean
          description: Enable connection to your Azure Key Vault over private networking.
        resourceGroupName:
          type: string
          description: Name of the Azure resource group that contains your Azure Key
            Vault. This field cannot be modified when you enable and set up private
            endpoint connections to your Azure Key Vault.
        roleId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the Azure
            Service Principal that MongoDB Cloud uses to access the Azure Key Vault.
          example: 32b6e34b3d91647abb20e7b8
        secret:
          type: string
          description: Private data that you need secured and that belongs to the
            specified Azure Key Vault (AKV) tenant (`azureKeyVault.tenantID`). This
            data can include any type of sensitive data such as passwords, database
            connection strings, API keys, and the like. AKV stores this information
            as encrypted binary data.
          writeOnly: true
          externalDocs:
            description: Azure Key Vault Secrets
            url: https://docs.microsoft.com/en-us/azure/key-vault/secrets/about-secrets
        subscriptionID:
          type: string
          description: Unique 36-hexadecimal character string that identifies your
            Azure subscription. This field cannot be modified when you enable and
            set up private endpoint connections to your Azure Key Vault.
          format: uuid
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        tenantID:
          type: string
          description: Unique 36-hexadecimal character string that identifies the
            Azure Active Directory tenant within your Azure subscription.
          format: uuid
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        valid:
          type: boolean
          description: Flag that indicates whether the Azure encryption key can encrypt
            and decrypt data.
          readOnly: true
      description: Details that define the configuration of Encryption at Rest using
        Azure Key Vault (AKV).
      externalDocs:
        description: Azure Key Vault
        url: https://www.mongodb.com/docs/atlas/security-azure-kms/
    AzureNetworkPeeringConnectionSettings:
      title: AZURE
      required:
      - azureDirectoryId
      - azureSubscriptionId
      - containerId
      - resourceGroupName
      - vnetName
      type: object
      properties:
        azureDirectoryId:
          type: string
          description: Unique string that identifies the Azure AD directory in which
            the VNet peered with the MongoDB Cloud VNet resides.
          format: uuid
        azureSubscriptionId:
          type: string
          description: Unique string that identifies the Azure subscription in which
            the VNet you peered with the MongoDB Cloud VNet resides.
          format: uuid
        containerId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the MongoDB
            Cloud network container that contains the specified network peering connection.
          example: 32b6e34b3d91647abb20e7b8
        errorState:
          type: string
          description: 'Error message returned when a requested Azure network peering
            resource returns `"status" : "FAILED"`. The resource returns `null` if
            the request succeeded.'
          readOnly: true
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the network
            peering connection.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        providerName:
          type: string
          description: Cloud service provider that serves the requested network peering
            connection.
          enum:
          - AWS
          - AZURE
          - GCP
        resourceGroupName:
          pattern: "^([-\\w._()])+$"
          type: string
          description: Human-readable label that identifies the resource group in
            which the VNet to peer with the MongoDB Cloud VNet resides.
        status:
          type: string
          description: State of the network peering connection at the time you made
            the request.
          readOnly: true
          enum:
          - ADDING_PEER
          - AVAILABLE
          - FAILED
          - DELETION_FAILED
          - DELETING
        vnetName:
          pattern: "^([-\\w._()])$"
          type: string
          description: Human-readable label that identifies the VNet that you want
            to peer with the MongoDB Cloud VNet.
      description: Group of Network Peering connection settings.
    AzurePrivateEndpoint:
      title: AZURE
      required:
      - cloudProvider
      type: object
      properties:
        cloudProvider:
          type: string
          description: Cloud service provider that serves the requested endpoint.
          readOnly: true
          enum:
          - AWS
          - AZURE
          - GCP
        deleteRequested:
          type: boolean
          description: Flag that indicates whether MongoDB Cloud received a request
            to remove the specified private endpoint from the private endpoint service.
          readOnly: true
        errorMessage:
          type: string
          description: Error message returned when requesting private connection resource.
            The resource returns `null` if the request succeeded.
          readOnly: true
        privateEndpointConnectionName:
          pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}%2[fF]([-\\w._()]+)%2[fF]([-\\w._()]+)"
          type: string
          description: Human-readable label that MongoDB Cloud generates that identifies
            the private endpoint connection.
          readOnly: true
        privateEndpointIPAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 address of the private endpoint in your Azure VNet that
            someone added to this private endpoint service.
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        privateEndpointResourceId:
          type: string
          description: Unique string that identifies the Azure private endpoint's
            network interface that someone added to this private endpoint service.
          readOnly: true
          example: "/subscriptions/cba6d9c6-1d3f-3c11-03cb-c705d895e636/resourcegroups/qrRTqi4TSN)7yB5YLRjVDveH3.yLzpNR7Br0D3-SGrU3j0.0/providers/Microsoft.Network/privateEndpoints/pVP(vb(XeckpxtXzP0NaOsDjeWDbOK)DX8A2j2E_vBYL2.GEYIdln"
        status:
          type: string
          description: State of the Azure Private Link Service connection when MongoDB
            Cloud received this request.
          readOnly: true
          enum:
          - INITIATING
          - AVAILABLE
          - FAILED
          - DELETING
      description: Group of Private Endpoint settings.
    AzurePrivateLinkConnection:
      title: AZURE
      required:
      - cloudProvider
      type: object
      properties:
        cloudProvider:
          type: string
          description: Cloud service provider that serves the requested endpoint service.
          readOnly: true
          enum:
          - AWS
          - AZURE
          - GCP
        errorMessage:
          type: string
          description: Error message returned when requesting private connection resource.
            The resource returns `null` if the request succeeded.
          readOnly: true
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the Private
            Endpoint Service.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        privateEndpoints:
          type: array
          description: List of private endpoints assigned to this Azure Private Link
            Service.
          readOnly: true
          items:
            pattern: "^\\/subscriptions\\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\\/resource[gG]roups\\/([-\\w._()]+)\\/providers\\/Microsoft\\.Network\\/privateEndpoints\\/([-\\w._()]+)"
            type: string
            description: Root-relative path to one private endpoint assigned to this
              Azure Private Link Service.
            readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        privateLinkServiceName:
          pattern: "^pls_[0-9a-f]{24}$"
          type: string
          description: Unique string that identifies the Azure Private Link Service
            that MongoDB Cloud manages.
          readOnly: true
        privateLinkServiceResourceId:
          type: string
          description: Root-relative path that identifies of the Azure Private Link
            Service that MongoDB Cloud manages. Use this value to create a private
            endpoint connection to an Azure VNet.
          readOnly: true
          example: "/subscriptions/ae349d51-d12b-ee3d-2a27-7d53f6479cf0/resourcegroups/KObGGz/providers/Microsoft.Network/privateLinkServices/pls_d1820713f8153388d533e9de"
        regionName:
          type: string
          description: Cloud provider region that manages this Private Endpoint Service.
          readOnly: true
        status:
          type: string
          description: State of the Private Endpoint Service connection when MongoDB
            Cloud received this request.
          readOnly: true
          enum:
          - INITIATING
          - AVAILABLE
          - WAITING_FOR_USER
          - FAILED
          - DELETING
      description: Group of Private Endpoint Service settings.
    AzureRegionConfig:
      title: Azure Regional Replication Specifications
      type: object
      description: Details that explain how MongoDB Cloud replicates data in one region
        on the specified MongoDB database.
      allOf:
      - "$ref": "#/components/schemas/CloudRegionConfig"
      - type: object
        properties:
          analyticsAutoScaling:
            "$ref": "#/components/schemas/AdvancedAutoScalingSettings"
          analyticsSpecs:
            "$ref": "#/components/schemas/DedicatedHardwareSpec"
          autoScaling:
            "$ref": "#/components/schemas/AdvancedAutoScalingSettings"
          readOnlySpecs:
            "$ref": "#/components/schemas/DedicatedHardwareSpec"
    BackupComplianceOnDemandPolicyItem:
      required:
      - frequencyInterval
      - frequencyType
      - retentionUnit
      - retentionValue
      type: object
      properties:
        frequencyInterval:
          type: integer
          description: Number that indicates the frequency interval for a set of snapshots.
            MongoDB Cloud ignores this setting for non-hourly policy items in Backup
            Compliance Policy settings.
          format: int32
          enum:
          - 0
          - 1
          - 2
          - 3
          - 4
          - 5
          - 6
          - 7
          - 8
          - 9
          - 10
          - 11
          - 12
          - 13
          - 14
          - 15
          - 16
          - 17
          - 18
          - 19
          - 20
          - 21
          - 22
          - 23
          - 24
          - 25
          - 26
          - 27
          - 28
          - 40
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
              IPA validation.
        frequencyType:
          type: string
          description: Human-readable label that identifies the frequency type associated
            with the backup policy.
          enum:
          - ondemand
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this backup
            policy item.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        retentionUnit:
          type: string
          description: Unit of time in which MongoDB Cloud measures snapshot retention.
          enum:
          - days
          - weeks
          - months
          - years
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        retentionValue:
          type: integer
          description: |-
            Duration in days, weeks, months, or years that MongoDB Cloud retains the snapshot. For less frequent policy items, MongoDB Cloud requires that you specify a value greater than or equal to the value specified for more frequent policy items.

            For example: If the hourly policy item specifies a retention of two days, you must specify two days or greater for the retention of the weekly policy item.
          format: int32
      description: Specifications for on-demand policy.
    BackupComplianceScheduledPolicyItem:
      required:
      - frequencyInterval
      - frequencyType
      - retentionUnit
      - retentionValue
      type: object
      properties:
        frequencyInterval:
          type: integer
          description: |-
            Number that indicates the frequency interval for a set of Snapshots. A value of `1` specifies the first instance of the corresponding `frequencyType`.

            - In a yearly policy item, `1` indicates that the yearly Snapshot occurs on the first day of January and `12` indicates the first day of December.

            - In a monthly policy item, `1` indicates that the monthly Snapshot occurs on the first day of the month and `40` indicates the last day of the month.

            - In a weekly policy item, `1` indicates that the weekly Snapshot occurs on Monday and `7` indicates Sunday.

            - In an hourly policy item, you can set the frequency interval to `1`, `2`, `4`, `6`, `8`, or `12`. For hourly policy items for NVMe clusters, MongoDB Cloud accepts only `12` as the frequency interval value.

             MongoDB Cloud ignores this setting for non-hourly policy items in Backup Compliance Policy settings.
          format: int32
          enum:
          - 1
          - 2
          - 3
          - 4
          - 5
          - 6
          - 7
          - 8
          - 9
          - 10
          - 11
          - 12
          - 13
          - 14
          - 15
          - 16
          - 17
          - 18
          - 19
          - 20
          - 21
          - 22
          - 23
          - 24
          - 25
          - 26
          - 27
          - 28
          - 40
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
              IPA validation.
        frequencyType:
          type: string
          description: Human-readable label that identifies the frequency type associated
            with the backup policy.
          enum:
          - daily
          - hourly
          - weekly
          - monthly
          - yearly
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this backup
            policy item.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        retentionUnit:
          type: string
          description: Unit of time in which MongoDB Cloud measures Snapshot retention.
          enum:
          - days
          - weeks
          - months
          - years
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        retentionValue:
          type: integer
          description: |-
            Duration in days, weeks, months, or years that MongoDB Cloud retains the Snapshot. For less frequent policy items, MongoDB Cloud requires that you specify a value greater than or equal to the value specified for more frequent policy items.

            For example: If the hourly policy item specifies a retention of two days, you must specify two days or greater for the retention of the weekly policy item.
          format: int32
      description: Specifications for scheduled policy.
    BackupLabel:
      type: object
      properties:
        key:
          type: string
          description: Key for the metadata file that MongoDB Cloud uploads to the
            bucket when the export job finishes.
        value:
          type: string
          description: Value for the key to include in file that MongoDB Cloud uploads
            to the bucket when the export job finishes.
      description: Collection of key-value pairs that represent custom data to add
        to the metadata file that MongoDB Cloud uploads to the bucket when the export
        job finishes.
    BackupOnlineArchive:
      type: object
      properties:
        _id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the online
            archive.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        clusterName:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the cluster that contains
            the collection for which you want to create an online archive.
          readOnly: true
        collName:
          type: string
          description: Human-readable label that identifies the collection for which
            you created the online archive.
          readOnly: true
        collectionType:
          type: string
          description: |-
            Classification of MongoDB database collection that you want to return.

            If you set this parameter to `TIMESERIES`, set `"criteria.type" : "date"` and `"criteria.dateFormat" : "ISODATE"`.
          readOnly: true
          enum:
          - TIMESERIES
          - STANDARD
          default: STANDARD
        criteria:
          "$ref": "#/components/schemas/CriteriaView"
        dataExpirationRule:
          "$ref": "#/components/schemas/DataExpirationRuleView"
        dataProcessRegion:
          "$ref": "#/components/schemas/DataProcessRegionView"
        dataSetName:
          type: string
          description: Human-readable label that identifies the dataset that Atlas
            generates for this online archive.
          readOnly: true
        dbName:
          type: string
          description: Human-readable label of the database that contains the collection
            that contains the online archive.
          readOnly: true
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that contains the specified cluster. The specified cluster contains the
            collection for which to create the online archive.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        partitionFields:
          minItems: 1
          type: array
          description: 'List that contains document parameters to use to logically
            divide data within a collection. Partitions provide a coarse level of
            filtering of the underlying collection data. To divide your data, specify
            parameters that you frequently query. If you specified `criteria.type`:
            `DATE` in the Create One Online Archive endpoint, then you can specify
            up to three parameters by which to query. One of these parameters must
            be the `DATE` value, which is required in this case. If you specified
            `criteria.type`: `CUSTOM` in the Create One Online Archive endpoint, then
            you can specify up to two parameters by which to query. Queries that don''t
            use `criteria.type`: `DATE` or `criteria.type`: `CUSTOM` parameters cause
            MongoDB to scan a full collection of all archived documents. This takes
            more time and increases your costs.'
          readOnly: true
          items:
            "$ref": "#/components/schemas/PartitionFieldView"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        paused:
          type: boolean
          description: Flag that indicates whether this online archive exists in the
            paused state. A request to resume fails if the collection has another
            active online archive. To pause an active online archive or resume a paused
            online archive, you must include this parameter. To pause an active archive,
            set this to **true**. To resume a paused archive, set this to **false**.
        schedule:
          "$ref": "#/components/schemas/OnlineArchiveSchedule"
        state:
          type: string
          description: |-
            Phase of the process to create this online archive when you made this request.

            | State       | Indication |
            |-------------|------------|
            | `PENDING`   | MongoDB Cloud has queued documents for archive. Archiving hasn't started. |
            | `ARCHIVING` | MongoDB Cloud started archiving documents that meet the archival criteria. |
            | `IDLE`      | MongoDB Cloud waits to start the next archival job. |
            | `PAUSING`   | Someone chose to stop archiving. MongoDB Cloud finishes the running archival job then changes the state to `PAUSED` when that job completes. |
            | `PAUSED`    | MongoDB Cloud has stopped archiving. Archived documents can be queried. The specified archiving operation on the active cluster cannot archive additional documents. You can resume archiving for paused archives at any time. |
            | `ORPHANED`  | Someone has deleted the collection associated with an active or paused archive. MongoDB Cloud doesn't delete the archived data. You must manually delete the online archives associated with the deleted collection. |
            | `DELETED`   | Someone has deleted the archive was deleted. When someone deletes an online archive, MongoDB Cloud removes all associated archived documents from the cloud object storage. |
          readOnly: true
          enum:
          - PENDING
          - ACTIVE
          - PAUSING
          - PAUSED
          - DELETED
          - ORPHANED
          x-xgen-IPA-exception:
            xgen-IPA-117-description-should-not-use-inline-tables: Description predates
              IPA validation.
    BackupOnlineArchiveCreate:
      required:
      - collName
      - criteria
      - dbName
      type: object
      properties:
        _id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the online
            archive.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        clusterName:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the cluster that contains
            the collection for which you want to create an online archive.
          readOnly: true
        collName:
          type: string
          description: Human-readable label that identifies the collection for which
            you created the online archive.
          writeOnly: true
        collectionType:
          type: string
          description: |-
            Classification of MongoDB database collection that you want to return.

            If you set this parameter to `TIMESERIES`, set `"criteria.type" : "date"` and `"criteria.dateFormat" : "ISODATE"`.
          writeOnly: true
          enum:
          - TIMESERIES
          - STANDARD
          default: STANDARD
        criteria:
          "$ref": "#/components/schemas/CriteriaView"
        dataExpirationRule:
          "$ref": "#/components/schemas/DataExpirationRuleView"
        dataProcessRegion:
          "$ref": "#/components/schemas/CreateDataProcessRegionView"
        dataSetName:
          type: string
          description: Human-readable label that identifies the dataset that Atlas
            generates for this online archive.
          readOnly: true
        dbName:
          maxLength: 64
          type: string
          description: Human-readable label of the database that contains the collection
            that contains the online archive.
          writeOnly: true
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that contains the specified cluster. The specified cluster contains the
            collection for which to create the online archive.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        partitionFields:
          minItems: 1
          type: array
          description: 'List that contains document parameters to use to logically
            divide data within a collection. Partitions provide a coarse level of
            filtering of the underlying collection data. To divide your data, specify
            parameters that you frequently query. If you specified `criteria.type`:
            `DATE` in the Create One Online Archive endpoint, then you can specify
            up to three parameters by which to query. One of these parameters must
            be the `DATE` value, which is required in this case. If you specified
            `criteria.type`: `CUSTOM` in the Create One Online Archive endpoint, then
            you can specify up to two parameters by which to query. Queries that don''t
            use `criteria.type`: `DATE` or `criteria.type`: `CUSTOM` parameters cause
            MongoDB to scan a full collection of all archived documents. This takes
            more time and increases your costs.'
          writeOnly: true
          items:
            "$ref": "#/components/schemas/PartitionFieldView"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        paused:
          type: boolean
          description: Flag that indicates whether this online archive exists in the
            paused state. A request to resume fails if the collection has another
            active online archive. To pause an active online archive or resume a paused
            online archive, you must include this parameter. To pause an active archive,
            set this to **true**. To resume a paused archive, set this to **false**.
        schedule:
          "$ref": "#/components/schemas/OnlineArchiveSchedule"
        state:
          type: string
          description: |-
            Phase of the process to create this online archive when you made this request.

            | State       | Indication |
            |-------------|------------|
            | `PENDING`   | MongoDB Cloud has queued documents for archive. Archiving hasn't started. |
            | `ARCHIVING` | MongoDB Cloud started archiving documents that meet the archival criteria. |
            | `IDLE`      | MongoDB Cloud waits to start the next archival job. |
            | `PAUSING`   | Someone chose to stop archiving. MongoDB Cloud finishes the running archival job then changes the state to `PAUSED` when that job completes. |
            | `PAUSED`    | MongoDB Cloud has stopped archiving. Archived documents can be queried. The specified archiving operation on the active cluster cannot archive additional documents. You can resume archiving for paused archives at any time. |
            | `ORPHANED`  | Someone has deleted the collection associated with an active or paused archive. MongoDB Cloud doesn't delete the archived data. You must manually delete the online archives associated with the deleted collection. |
            | `DELETED`   | Someone has deleted the archive was deleted. When someone deletes an online archive, MongoDB Cloud removes all associated archived documents from the cloud object storage. |
          readOnly: true
          enum:
          - PENDING
          - ACTIVE
          - PAUSING
          - PAUSED
          - DELETED
          - ORPHANED
          x-xgen-IPA-exception:
            xgen-IPA-117-description-should-not-use-inline-tables: Description predates
              IPA validation.
    BackupRestoreJob:
      required:
      - delivery
      type: object
      properties:
        batchId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the batch
            to which this restore job belongs. This parameter exists only for a sharded
            cluster restore.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        checkpointId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: |-
            Unique 24-hexadecimal digit string that identifies the sharded cluster checkpoint. The checkpoint represents the point in time back to which you want to restore you data. This parameter applies when `"delivery.methodName" : "AUTOMATED_RESTORE"`. Use this parameter with sharded clusters only.

            - If you set `checkpointId`, you can't set `oplogInc`, `oplogTs`, `snapshotId`, or `pointInTimeUTCMillis`.
            - If you provide this parameter, this endpoint restores all data up to this checkpoint to the database you specify in the `delivery` object.
          writeOnly: true
          example: 32b6e34b3d91647abb20e7b8
        clusterId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the cluster
            with the snapshot you want to return. This parameter returns for restore
            clusters.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        clusterName:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the cluster containing
            the snapshots you want to retrieve.
          readOnly: true
        created:
          type: string
          description: Date and time when someone requested this restore job. This
            parameter expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        delivery:
          "$ref": "#/components/schemas/BackupRestoreJobDelivery"
        deploymentJobId:
          type: string
          description: Unique 24-hexadecimal digit string that identifies the an imported
            deployment job. This parameter exists when restoring from an imported
            snapshot/cluster shot.
          readOnly: true
        encryptionEnabled:
          type: boolean
          description: Flag that indicates whether someone encrypted the data in the
            restored snapshot.
          readOnly: true
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns the snapshots.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        hashes:
          type: array
          description: 'List that contains documents mapping each restore file to
            a hashed checksum. This parameter applies after you download the corresponding
            `delivery.url`. If `"methodName" : "HTTP"`, this list contains one object
            that represents the hash of the `.tar.gz` file.'
          readOnly: true
          items:
            "$ref": "#/components/schemas/RestoreJobFileHash"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the restore
            job.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        masterKeyUUID:
          type: string
          description: 'Universally Unique Identifier (UUID) that identifies the Key
            Management Interoperability (KMIP) master key used to encrypt the snapshot
            data. This parameter applies only when `"encryptionEnabled" : "true"`.'
          format: uuid
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        oplogInc:
          minimum: 1
          type: integer
          description: |-
            Thirty-two-bit incrementing ordinal that represents operations within a given second. When paired with `oplogTs`, this represents the point in time to which MongoDB Cloud restores your data. This parameter applies when `"delivery.methodName" : "AUTOMATED_RESTORE"`.

            - If you set `oplogInc`, you must set `oplogTs`, and can't set `checkpointId`, `snapshotId`, or `pointInTimeUTCMillis`.
            - If you provide this parameter, this endpoint restores all data up to and including this Oplog timestamp to the database you specified in the `delivery` object.
          format: int32
          writeOnly: true
        oplogTs:
          pattern: "^(?:[1-9]\\\\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\\\\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\\\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\\\\d|2[0-3]):[0-5]\\\\d:[0-5]\\\\d(?:\\\\.\\\\d{1,9})?(?:Z|[+-][01]\\\\d:[0-5]\\\\d)$"
          type: string
          description: |-
            Date and time from which you want to restore this snapshot. This parameter expresses its value in ISO 8601 format in UTC. This represents the first part of an Oplog timestamp. When paired with `oplogInc`, they represent the last database operation to which you want to restore your data. This parameter applies when `"delivery.methodName" : "AUTOMATED_RESTORE"`. Run a query against `local.oplog.rs` on your replica set to find the desired timestamp.

            - If you set `oplogTs`, you must set `oplogInc`, and you can't set `checkpointId`, `snapshotId`, or `pointInTimeUTCMillis`.
            - If you provide this parameter, this endpoint restores all data up to and including this Oplog timestamp to the database you specified in the `delivery` object.
          writeOnly: true
        pointInTimeUTCMillis:
          minimum: 1199145600000
          type: integer
          description: |-
            Timestamp from which you want to restore this snapshot. This parameter expresses its value in the number of milliseconds elapsed since the UNIX epoch. This timestamp must fall within the last 24 hours of the current time. This parameter applies when `"delivery.methodName" : "AUTOMATED_RESTORE"`.

            - If you provide this parameter, this endpoint restores all data up to this point in time to the database you specified in the `delivery` object.
            - If you set `pointInTimeUTCMillis`, you can't set `oplogInc`, `oplogTs`, `snapshotId`, or `checkpointId`.
          format: int64
          writeOnly: true
          externalDocs:
            description: UNIX Epoch
            url: https://en.wikipedia.org/wiki/Unix_time
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        snapshotId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the snapshot
            to restore. If you set `snapshotId`, you can't set `oplogInc`, `oplogTs`,
            `pointInTimeUTCMillis`, or `checkpointId`.
          example: 32b6e34b3d91647abb20e7b8
        statusName:
          type: string
          description: Human-readable label that identifies the status of the downloadable
            file at the time of the request.
          readOnly: true
          enum:
          - IN_PROGRESS
          - BROKEN
          - KILLED
          - FINISHED
        timestamp:
          "$ref": "#/components/schemas/ApiBSONTimestampView"
    BackupRestoreJobDelivery:
      title: Restore Snapshot Delivery Metadata
      required:
      - methodName
      type: object
      properties:
        authHeader:
          type: string
          description: 'Header name to use when downloading the restore, used with
            `"delivery.methodName" : "HTTP"`.'
          readOnly: true
        authValue:
          type: string
          description: 'Header value to use when downloading the restore, used with
            `"delivery.methodName" : "HTTP"`.'
          readOnly: true
        expirationHours:
          minimum: 1
          type: integer
          description: 'Number of hours after the restore job completes that indicates
            when the Uniform Resource Locator (URL) for the snapshot download file
            expires. The resource returns this parameter when `"delivery.methodName"
            : "HTTP"`.'
          format: int32
        expires:
          type: string
          description: 'Date and time when the Uniform Resource Locator (URL) for
            the snapshot download file expires. This parameter expresses its value
            in the ISO 8601 timestamp format in UTC. The resource returns this parameter
            when `"delivery.methodName" : "HTTP"`.'
          format: date-time
          readOnly: true
        maxDownloads:
          minimum: 1
          type: integer
          description: 'Positive integer that indicates how many times you can use
            the Uniform Resource Locator (URL) for the snapshot download file. The
            resource returns this parameter when `"delivery.methodName" : "HTTP"`.'
          format: int32
        methodName:
          type: string
          description: 'Human-readable label that identifies the means for delivering
            the data. If you set `"delivery.methodName" : "AUTOMATED_RESTORE"`, you
            must also set: `delivery.targetGroupId` and `delivery.targetClusterName`
            or `delivery.targetClusterId`. The response returns `"delivery.methodName"
            : "HTTP"` as an automated restore uses HyperText Transport Protocol (HTTP)
            to deliver the restore job to the target host.'
          enum:
          - CLIENT_PIT_HTTP
          - QUERY
          - AUTOMATED_RESTORE
          - HTTP
          - THIRD_PARTY_COPY
          - CLIENT_PIT_SCP
          - SCP
        statusName:
          type: string
          description: State of the downloadable snapshot file when MongoDB Cloud
            received this request.
          readOnly: true
          enum:
          - NOT_STARTED
          - IN_PROGRESS
          - READY
          - FAILED
          - INTERRUPTED
          - EXPIRED
          - MAX_DOWNLOADS_EXCEEDED
          - PENDING
        targetClusterId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: |-
            Unique 24-hexadecimal digit string that identifies the target cluster. Use the `clusterId` returned in the response body of the **Get All Snapshots** and **Get a Snapshot** endpoints. This parameter applies when `"delivery.methodName" : "AUTOMATED_RESTORE"`.

             If the target cluster doesn't have backup enabled, two resources return parameters with empty values:

            - **Get All Snapshots** endpoint returns an empty results array without `clusterId` elements
            - **Get a Snapshot** endpoint doesn't return a `clusterId` parameter.

            To return a response with the `clusterId` parameter, either use the `delivery.targetClusterName` parameter or enable backup on the target cluster.
          example: 32b6e34b3d91647abb20e7b8
        targetClusterName:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: |-
            Human-readable label that identifies the target cluster. Use the `clusterName` returned in the response body of the **Get All Snapshots** and **Get a Snapshot** endpoints.  This parameter applies when `"delivery.methodName" : "AUTOMATED_RESTORE"`.

            If the target cluster doesn't have backup enabled, two resources return parameters with empty values:

            - **Get All Snapshots** endpoint returns an empty results array without `clusterId` elements
            - **Get a Snapshot** endpoint doesn't return a `clusterId` parameter.

            To return a response with the `clusterId` parameter, either use the `delivery.targetClusterName` parameter or enable backup on the target cluster.
        targetGroupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: 'Unique 24-hexadecimal digit string that identifies the project
            that contains the destination cluster for the restore job. The resource
            returns this parameter when `"delivery.methodName" : "AUTOMATED_RESTORE"`.'
          example: 32b6e34b3d91647abb20e7b8
        url:
          type: string
          description: 'Uniform Resource Locator (URL) from which you can download
            the restored snapshot data. URL includes the verification key. The resource
            returns this parameter when `"delivery.methodName" : "HTTP"`.'
          readOnly: true
          deprecated: true
        urlV2:
          type: string
          description: 'Uniform Resource Locator (URL) from which you can download
            the restored snapshot data. This should be preferred over `url`. The verification
            key must be sent as an HTTP header. The resource returns this parameter
            when `"delivery.methodName" : "HTTP"`.'
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
      description: Method and details that indicate how to deliver the restored snapshot
        data.
    BackupSnapshot:
      type: object
      properties:
        clusterId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the cluster
            with the snapshots you want to return.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        clusterName:
          type: string
          description: Human-readable label that identifies the cluster.
          readOnly: true
        complete:
          type: boolean
          description: Flag that indicates whether the snapshot exists. This flag
            returns `false` while MongoDB Cloud creates the snapshot.
          readOnly: true
        created:
          "$ref": "#/components/schemas/ApiBSONTimestampView"
        doNotDelete:
          type: boolean
          description: 'Flag that indicates whether someone can delete this snapshot.
            You can''t set `"doNotDelete" : true` and set a timestamp for **expires**
            in the same request.'
        expires:
          type: string
          description: 'Date and time when MongoDB Cloud deletes the snapshot. If
            `"doNotDelete" : true`, MongoDB Cloud removes any value set for this parameter.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.'
          format: date-time
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns the snapshots.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the snapshot.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        incremental:
          type: boolean
          description: Flag indicating if this is an incremental or a full snapshot.
          readOnly: true
        lastOplogAppliedTimestamp:
          "$ref": "#/components/schemas/ApiBSONTimestampView"
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        parts:
          type: array
          description: |-
            Metadata that describes the complete snapshot.

            - For a replica set, this array contains a single document.
            - For a sharded cluster, this array contains one document for each shard plus one document for the config host.
          readOnly: true
          items:
            "$ref": "#/components/schemas/BackupSnapshotPart"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    BackupSnapshotPart:
      title: Snapshot Components
      type: object
      properties:
        clusterId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the cluster
            with the snapshots you want to return.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        completedTime:
          type: string
          description: Date and time when the snapshot completed. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        compressionSetting:
          type: string
          description: Human-readable label that identifies the method of compression
            for the snapshot.
          readOnly: true
          enum:
          - NONE
          - GZIP
        dataSizeBytes:
          type: integer
          description: Total size of the data stored on each node in the cluster.
            This parameter expresses its value in bytes.
          format: int64
          readOnly: true
        encryptionEnabled:
          type: boolean
          description: Flag that indicates whether someone encrypted this snapshot.
          readOnly: true
        fcv:
          type: string
          description: Number that indicates the feature compatibility version of
            MongoDB that the replica set primary ran when MongoDB Cloud created the
            snapshot.
          readOnly: true
        fileSizeBytes:
          type: integer
          description: Number that indicates the total size of the data files in bytes.
          format: int64
          readOnly: true
        machineId:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\\:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?(\\:[0-9]{4,5})$"
          type: string
          description: Hostname and port that indicate the node on which MongoDB Cloud
            created the snapshot.
          readOnly: true
        masterKeyUUID:
          type: string
          description: 'Unique string that identifies the Key Management Interoperability
            (KMIP) master key used to encrypt the snapshot data. The resource returns
            this parameter when `"parts.encryptionEnabled" : true`.'
          format: uuid
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        mongodVersion:
          pattern: "([\\d]+\\.[\\d]+\\.[\\d]+)"
          type: string
          description: Number that indicates the version of MongoDB that the replica
            set primary ran when MongoDB Cloud created the snapshot.
          readOnly: true
        replicaSetName:
          type: string
          description: Human-readable label that identifies the replica set.
          readOnly: true
        replicaState:
          type: string
          description: The node's role at the time when snapshot process began.
          readOnly: true
        storageSizeBytes:
          type: integer
          description: Number that indicates the total size of space allocated for
            document storage.
          format: int64
          readOnly: true
        typeName:
          type: string
          description: Human-readable label that identifies the type of server from
            which MongoDB Cloud took this snapshot.
          readOnly: true
          enum:
          - REPLICA_SET
          - CONFIG_SERVER
          - CONFIG_SERVER_REPLICA_SET
          - CONFIG_SHARD_REPLICA_SET
      description: Characteristics that identify this snapshot.
      readOnly: true
    BackupSnapshotRetention:
      required:
      - retentionUnit
      - retentionValue
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        retentionUnit:
          type: string
          description: Quantity of time in which MongoDB Cloud measures snapshot retention.
          enum:
          - DAYS
          - WEEKS
          - MONTHS
          - YEARS
        retentionValue:
          type: integer
          description: Number that indicates the amount of days, weeks, months, or
            years that MongoDB Cloud retains the snapshot. For less frequent policy
            items, MongoDB Cloud requires that you specify a value greater than or
            equal to the value specified for more frequent policy items. If the hourly
            policy item specifies a retention of two days, specify two days or greater
            for the retention of the weekly policy item.
          format: int32
          example: 5
    BadRequestDetail:
      type: object
      properties:
        fields:
          type: array
          description: Describes all violations in a client request.
          items:
            "$ref": "#/components/schemas/FieldViolation"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
      description: Bad request detail.
      readOnly: true
    BaseAtlasDataLakeRegion:
      type: object
      description: Name of the region to which the data lake routes client connections.
      oneOf:
      - "$ref": "#/components/schemas/ApiAtlasDataLakeAWSRegionView"
      - "$ref": "#/components/schemas/AtlasDataFederationAzureRegion"
      - "$ref": "#/components/schemas/AtlasDataFederationGCPRegion"
      x-xgen-IPA-exception:
        xgen-IPA-125-oneOf-must-have-discriminator: Schema predates IPA validation.
    BaseCloudProviderInstanceSize:
      type: object
      description: Instance size boundary to which your cluster can automatically
        scale.
      readOnly: true
      oneOf:
      - title: AWS Instance Sizes
        type: string
        enum:
        - M10
        - M20
        - M30
        - M40
        - M50
        - M60
        - M80
        - M100
        - M140
        - M200
        - M300
        - R40
        - R50
        - R60
        - R80
        - R200
        - R300
        - R400
        - R700
        - M40_NVME
        - M50_NVME
        - M60_NVME
        - M80_NVME
        - M200_NVME
        - M400_NVME
        x-xgen-IPA-exception:
          xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum values standardized
            by cloud providers.
      - title: Azure Instance Sizes
        type: string
        enum:
        - M10
        - M20
        - M30
        - M40
        - M50
        - M60
        - M80
        - M90
        - M200
        - R40
        - R50
        - R60
        - R80
        - R200
        - R300
        - R400
        - M60_NVME
        - M80_NVME
        - M200_NVME
        - M300_NVME
        - M400_NVME
        - M600_NVME
        x-xgen-IPA-exception:
          xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum values standardized
            by cloud providers.
      - title: GCP Instance Sizes
        type: string
        enum:
        - M10
        - M20
        - M30
        - M40
        - M50
        - M60
        - M80
        - M140
        - M200
        - M250
        - M300
        - M400
        - R40
        - R50
        - R60
        - R80
        - R200
        - R300
        - R400
        - R600
    BaseNetworkPeeringConnectionSettings:
      required:
      - containerId
      type: object
      properties:
        containerId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the MongoDB
            Cloud network container that contains the specified network peering connection.
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the network
            peering connection.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        providerName:
          type: string
          description: Cloud service provider that serves the requested network peering
            connection.
          enum:
          - AWS
          - AZURE
          - GCP
      discriminator:
        propertyName: providerName
        mapping:
          AWS: "#/components/schemas/AwsNetworkPeeringConnectionSettings"
          AZURE: "#/components/schemas/AzureNetworkPeeringConnectionSettings"
          GCP: "#/components/schemas/GCPNetworkPeeringConnectionSettings"
      oneOf:
      - "$ref": "#/components/schemas/AwsNetworkPeeringConnectionSettings"
      - "$ref": "#/components/schemas/AzureNetworkPeeringConnectionSettings"
      - "$ref": "#/components/schemas/GCPNetworkPeeringConnectionSettings"
    BasicBSONList:
      type: array
      description: List that contains the search criteria that the query uses. To
        use the values in key-value pairs in these predicates requires **Project Data
        Access Read Only** permissions or greater. Otherwise, MongoDB Cloud redacts
        these values.
      readOnly: true
      items:
        type: object
        description: List that contains the search criteria that the query uses. To
          use the values in key-value pairs in these predicates requires **Project
          Data Access Read Only** permissions or greater. Otherwise, MongoDB Cloud
          redacts these values.
        readOnly: true
        x-xgen-IPA-exception:
          xgen-IPA-117-objects-must-be-well-defined: Schema predates IPA validation.
          xgen-IPA-124-array-max-items: Schema predates IPA validation.
      x-xgen-IPA-exception:
        xgen-IPA-117-objects-must-be-well-defined: Schema predates IPA validation.
        xgen-IPA-124-array-max-items: Schema predates IPA validation.
    BasicDBObject:
      title: Field
      type: object
      additionalProperties:
        title: Field
        type: object
        description: Fields to index for vector search.
      description: Fields to index for vector search.
    BiConnector:
      title: MongoDB Connector for Business Intelligence Settings
      type: object
      properties:
        enabled:
          type: boolean
          description: Flag that indicates whether MongoDB Connector for Business
            Intelligence is enabled on the specified cluster.
        readPreference:
          type: string
          description: Data source node designated for the MongoDB Connector for Business
            Intelligence on MongoDB Cloud. The MongoDB Connector for Business Intelligence
            on MongoDB Cloud reads data from the primary, secondary, or analytics
            node based on your read preferences. Defaults to `ANALYTICS` node, or
            `SECONDARY` if there are no `ANALYTICS` nodes.
          externalDocs:
            description: Read preferences for BI Connector
            url: https://docs.atlas.mongodb.com/cluster-config/enable-bic/#std-label-bic-read-preferences
          enum:
          - PRIMARY
          - SECONDARY
          - ANALYTICS
      description: Settings needed to configure the MongoDB Connector for Business
        Intelligence for this cluster.
      externalDocs:
        description: MongoDB Connector for Business Intelligence
        url: https://docs.mongodb.com/bi-connector/current/
    BillingEventTypeViewAlertableWithThreshold:
      title: Billing Event Type
      type: string
      description: Event type that triggers an alert.
      example: PENDING_INVOICE_OVER_THRESHOLD
      externalDocs:
        description: Atlas Alert Event Types
        url: https://www.mongodb.com/docs/atlas/reference/atlas-alert-event-types/
      enum:
      - PENDING_INVOICE_OVER_THRESHOLD
      - DAILY_BILL_OVER_THRESHOLD
    BillingEventTypeViewForNdsGroup:
      title: Billing Event Types
      type: string
      description: Unique identifier of event type.
      example: CREDIT_CARD_CURRENT
      enum:
      - CREDIT_CARD_CURRENT
      - CREDIT_CARD_ABOUT_TO_EXPIRE
      - PENDING_INVOICE_UNDER_THRESHOLD
      - PENDING_INVOICE_OVER_THRESHOLD
      - DAILY_BILL_UNDER_THRESHOLD
      - DAILY_BILL_OVER_THRESHOLD
    BillingEventTypeViewForOrg:
      title: Billing Event Types
      type: string
      description: Unique identifier of event type.
      example: CHARGE_SUCCEEDED
      enum:
      - AWS_PAYMENT_PAID
      - CHARGE_SUCCEEDED
      - CHARGE_FAILED
      - CHARGE_PROCESSING
      - CHARGE_PENDING_REVERSAL
      - BRAINTREE_CHARGE_FAILED
      - INVOICE_CLOSED
      - CHECK_PAYMENT_RECEIVED
      - WIRE_TRANSFER_PAYMENT_RECEIVED
      - DISCOUNT_APPLIED
      - CREDIT_ISSUED
      - CREDIT_PULLED_FWD
      - CREDIT_END_DATE_MODIFIED
      - PROMO_CODE_APPLIED
      - PAYMENT_FORGIVEN
      - REFUND_ISSUED
      - ACCOUNT_DOWNGRADED
      - ACCOUNT_UPGRADED
      - ACCOUNT_MODIFIED
      - SUPPORT_PLAN_ACTIVATED
      - SUPPORT_PLAN_CANCELLED
      - SUPPORT_PLAN_CANCELLATION_SCHEDULED
      - INITIATE_SALESFORCE_SERVICE_CLOUD_SYNC
      - INVOICE_ADDRESS_CHANGED
      - INVOICE_ADDRESS_ADDED
      - PREPAID_PLAN_ACTIVATED
      - ELASTIC_INVOICING_MODE_ACTIVATED
      - ELASTIC_INVOICING_MODE_DEACTIVATED
      - TERMINATE_PAID_SERVICES
      - BILLING_EMAIL_ADDRESS_ADDED
      - BILLING_EMAIL_ADDRESS_CHANGED
      - BILLING_EMAIL_ADDRESS_REMOVED
      - AWS_BILLING_ACCOUNT_CREDIT_ISSUED
      - GCP_BILLING_ACCOUNT_CREDIT_ISSUED
      - CREDIT_SFOLID_MODIFIED
      - PREPAID_PLAN_MODIFIED
      - AWS_USAGE_REPORTED
      - AZURE_USAGE_REPORTED
      - GCP_USAGE_REPORTED
      - VERCEL_USAGE_REPORTED
      - BECAME_PAYING_ORG
      - BECAME_LINKED_ORG
      - NEW_LINKED_ORG
      - UNLINKED_ORG
      - ORG_LINKED_TO_PAYING_ORG
      - ORG_UNLINKED_FROM_PAYING_ORG
      - ORG_UNLINK_REQUESTED
      - ORG_UNLINK_CANCELLED
      - PAYMENT_UPDATED_THROUGH_API
      - AZURE_BILLING_ACCOUNT_CREDIT_ISSUED
      - CREDIT_START_DATE_MODIFIED
      - CREDIT_ELASTIC_INVOICING_MODIFIED
      - CREDIT_TYPE_MODIFIED
      - CREDIT_AMOUNT_CENTS_MODIFIED
      - CREDIT_AMOUNT_REMAINING_CENTS_MODIFIED
      - CREDIT_TOTAL_BILLED_CENTS_MODIFIED
      - CREDIT_AWS_CUSTOMER_ID_MODIFIED
      - CREDIT_AWS_PRODUCT_CODE_MODIFIED
      - CREDIT_GCP_MARKETPLACE_ENTITLEMENT_ID_MODIFIED
      - CREDIT_AZURE_SUBSCRIPTION_ID_MODIFIED
      - CREDIT_AZURE_PRIVATE_PLAN_ID_MODIFIED
      - TARGETED_REBILL_EXECUTED
      - LEGACY_REBILL_EXECUTED
      - EVERGREEN_DEAL_CANCELLED
      - GRACE_PERIOD_ACTIVATED
      - GRACE_PERIOD_NO_LONGER_IN_EFFECT
      - PENDING_DEAL_ACTIVATION_ADDED
      - PENDING_DEAL_ACTIVATION_CANCELED
      - PENDING_DEAL_APPLIED
      - PENDING_DEAL_ACTIVATION_FAILED
      - EVERGREEN_PRIORITY_MODIFIED
      - CROSS_ORG_OPERATION_TICKET_TRACKING
      - ADMIN_OVERRIDE_PAYMENT_METHOD_DELETED
      - ADMIN_OVERRIDE_PAYMENT_METHOD_EXPIRED
      - PAYMENT_METHOD_FLAGGED
      - PAYMENT_METHOD_UNFLAGGED
      - MARKETPLACE_REFUND_ISSUED
      - PAYMENT_DUE_DATE_EXTENDED
      x-xgen-IPA-exception:
        xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates IPA
          validation.
    BillingEventViewForNdsGroup:
      title: Billing Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/BillingEventTypeViewForNdsGroup"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        invoiceId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies of the invoice
            associated with the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        paymentId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the invoice
            payment associated with this event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Billing event identifies different activities related to billing,
        payment or financial status change of an organization.
    BillingEventViewForOrg:
      title: Billing Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/BillingEventTypeViewForOrg"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        invoiceId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies of the invoice
            associated with the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        paymentId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the invoice
            payment associated with this event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Billing event identifies different activities related to billing,
        payment or financial status change of an organization.
    BillingInvoice:
      type: object
      properties:
        amountBilledCents:
          type: integer
          description: Sum of services that the specified organization consumed in
            the period covered in this invoice. This parameter expresses its value
            in cents (100ths of one US Dollar).
          format: int64
          readOnly: true
        amountPaidCents:
          type: integer
          description: Sum that the specified organization paid toward this invoice.
            This parameter expresses its value in cents (100ths of one US Dollar).
          format: int64
          readOnly: true
        created:
          type: string
          description: Date and time when MongoDB Cloud created this invoice. This
            parameter expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        creditsCents:
          type: integer
          description: Sum that MongoDB credited the specified organization toward
            this invoice. This parameter expresses its value in cents (100ths of one
            US Dollar).
          format: int64
          readOnly: true
        endDate:
          type: string
          description: Date and time when MongoDB Cloud finished the billing period
            that this invoice covers. This parameter expresses its value in the ISO
            8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the invoice
            submitted to the specified organization. Charges typically post the next
            day.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        lineItems:
          type: array
          description: List that contains individual services included in this invoice.
          readOnly: true
          items:
            "$ref": "#/components/schemas/InvoiceLineItem"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        linkedInvoices:
          type: array
          description: List that contains the invoices for organizations linked to
            the paying organization.
          readOnly: true
          items:
            "$ref": "#/components/schemas/BillingInvoice"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            charged for services consumed from MongoDB Cloud.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        payments:
          type: array
          description: List that contains funds transferred to MongoDB to cover the
            specified service noted in this invoice.
          readOnly: true
          items:
            "$ref": "#/components/schemas/BillingPayment"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        refunds:
          type: array
          description: List that contains payments that MongoDB returned to the organization
            for this invoice.
          readOnly: true
          items:
            "$ref": "#/components/schemas/BillingRefund"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        salesTaxCents:
          type: integer
          description: Sum of sales tax applied to this invoice. This parameter expresses
            its value in cents (100ths of one US Dollar).
          format: int64
          readOnly: true
        startDate:
          type: string
          description: Date and time when MongoDB Cloud began the billing period that
            this invoice covers. This parameter expresses its value in the ISO 8601
            timestamp format in UTC.
          format: date-time
          readOnly: true
        startingBalanceCents:
          type: integer
          description: Sum that the specified organization owed to MongoDB when MongoDB
            issued this invoice. This parameter expresses its value in US Dollars.
          format: int64
          readOnly: true
        statusName:
          type: string
          description: |-
            Phase of payment processing in which this invoice exists when you made this request. Accepted phases include:

            - `CLOSED`: MongoDB finalized all charges in the billing cycle but has yet to charge the customer.
            - `FAILED`: MongoDB attempted to charge the provided credit card but charge for that amount failed.
            - `FORGIVEN`: Customer initiated payment which MongoDB later forgave.
            - `FREE`: All charges totalled zero so the customer won't be charged.
            - `INVOICED`: MongoDB handled these charges using elastic invoicing.
            - `PAID`: MongoDB succeeded in charging the provided credit card.
            - `PENDING`: Invoice includes charges for the current billing cycle.
            - `PREPAID`: Customer has a pre-paid plan so they won't be charged.
          enum:
          - PENDING
          - CLOSED
          - FORGIVEN
          - FAILED
          - PAID
          - FREE
          - PREPAID
          - INVOICED
        subtotalCents:
          type: integer
          description: Sum of all positive invoice line items contained in this invoice.
            This parameter expresses its value in cents (100ths of one US Dollar).
          format: int64
          readOnly: true
        updated:
          type: string
          description: Date and time when MongoDB Cloud last updated the value of
            this payment. This parameter expresses its value in the ISO 8601 timestamp
            format in UTC.
          format: date-time
          readOnly: true
    BillingInvoiceMetadata:
      type: object
      properties:
        amountBilledCents:
          type: integer
          description: Sum of services that the specified organization consumed in
            the period covered in this invoice. This parameter expresses its value
            in cents (100ths of one US Dollar).
          format: int64
          readOnly: true
        amountPaidCents:
          type: integer
          description: Sum that the specified organization paid toward this invoice.
            This parameter expresses its value in cents (100ths of one US Dollar).
          format: int64
          readOnly: true
        created:
          type: string
          description: Date and time when MongoDB Cloud created this invoice. This
            parameter expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        creditsCents:
          type: integer
          description: Sum that MongoDB credited the specified organization toward
            this invoice. This parameter expresses its value in cents (100ths of one
            US Dollar).
          format: int64
          readOnly: true
        endDate:
          type: string
          description: Date and time when MongoDB Cloud finished the billing period
            that this invoice covers. This parameter expresses its value in the ISO
            8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the invoice
            submitted to the specified organization. Charges typically post the next
            day.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        linkedInvoices:
          type: array
          description: List that contains the invoices for organizations linked to
            the paying organization.
          readOnly: true
          items:
            "$ref": "#/components/schemas/BillingInvoiceMetadata"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            charged for services consumed from MongoDB Cloud.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        salesTaxCents:
          type: integer
          description: Sum of sales tax applied to this invoice. This parameter expresses
            its value in cents (100ths of one US Dollar).
          format: int64
          readOnly: true
        startDate:
          type: string
          description: Date and time when MongoDB Cloud began the billing period that
            this invoice covers. This parameter expresses its value in the ISO 8601
            timestamp format in UTC.
          format: date-time
          readOnly: true
        startingBalanceCents:
          type: integer
          description: Sum that the specified organization owed to MongoDB when MongoDB
            issued this invoice. This parameter expresses its value in US Dollars.
          format: int64
          readOnly: true
        statusName:
          type: string
          description: |-
            Phase of payment processing in which this invoice exists when you made this request. Accepted phases include:

            - `CLOSED`: MongoDB finalized all charges in the billing cycle but has yet to charge the customer.
            - `FAILED`: MongoDB attempted to charge the provided credit card but charge for that amount failed.
            - `FORGIVEN`: Customer initiated payment which MongoDB later forgave.
            - `FREE`: All charges totalled zero so the customer won't be charged.
            - `INVOICED`: MongoDB handled these charges using elastic invoicing.
            - `PAID`: MongoDB succeeded in charging the provided credit card.
            - `PENDING`: Invoice includes charges for the current billing cycle.
            - `PREPAID`: Customer has a pre-paid plan so they won't be charged.
          enum:
          - PENDING
          - CLOSED
          - FORGIVEN
          - FAILED
          - PAID
          - FREE
          - PREPAID
          - INVOICED
        subtotalCents:
          type: integer
          description: Sum of all positive invoice line items contained in this invoice.
            This parameter expresses its value in cents (100ths of one US Dollar).
          format: int64
          readOnly: true
        updated:
          type: string
          description: Date and time when MongoDB Cloud last updated the value of
            this payment. This parameter expresses its value in the ISO 8601 timestamp
            format in UTC.
          format: date-time
          readOnly: true
    BillingPayment:
      title: Payment
      type: object
      properties:
        amountBilledCents:
          type: integer
          description: Sum of services that the specified organization consumed in
            the period covered in this invoice. This parameter expresses its value
            in cents (100ths of one US Dollar).
          format: int64
          readOnly: true
        amountPaidCents:
          type: integer
          description: Sum that the specified organization paid toward the associated
            invoice. This parameter expresses its value in cents (100ths of one US
            Dollar).
          format: int64
          readOnly: true
        created:
          type: string
          description: Date and time when the customer made this payment attempt.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
        currency:
          type: string
          description: The currency in which payment was paid. This parameter expresses
            its value in 3-letter ISO 4217 currency code.
          readOnly: true
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this payment
            toward the associated invoice.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        salesTaxCents:
          type: integer
          description: Sum of sales tax applied to this invoice. This parameter expresses
            its value in cents (100ths of one US Dollar).
          format: int64
          readOnly: true
        statusName:
          type: string
          description: |-
            Phase of payment processing for the associated invoice when you made this request. These phases include:

            - `CANCELLED`: Customer or MongoDB cancelled the payment.
            - `ERROR`: Issue arose when attempting to complete payment.
            - `FAILED`: MongoDB tried to charge the credit card without success.
            - `FAILED_AUTHENTICATION`: Strong Customer Authentication has failed. Confirm that your payment method is authenticated.
            - `FORGIVEN`: Customer initiated payment which MongoDB later forgave.
            - `INVOICED`: MongoDB issued an invoice that included this line item.
            - `NEW`: Customer provided a method of payment, but MongoDB hasn't tried to charge the credit card.
            - `PAID`: Customer submitted a successful payment.
            - `PARTIAL_PAID`: Customer paid for part of this line item.
          enum:
          - NEW
          - FORGIVEN
          - FAILED
          - PAID
          - PARTIAL_PAID
          - CANCELLED
          - INVOICED
          - FAILED_AUTHENTICATION
          - PROCESSING
          - PENDING_REVERSAL
          - REFUNDED
        subtotalCents:
          type: integer
          description: Sum of all positive invoice line items contained in this invoice.
            This parameter expresses its value in cents (100ths of one US Dollar).
          format: int64
          readOnly: true
        unitPrice:
          type: string
          description: The unit price applied to `amountBilledCents` to compute total
            payment amount. This value is represented as a decimal string.
          readOnly: true
        updated:
          type: string
          description: Date and time when the customer made an update to this payment
            attempt. This parameter expresses its value in the ISO 8601 timestamp
            format in UTC.
          format: date-time
          readOnly: true
      description: Funds transferred to MongoDB to cover the specified service in
        this invoice.
    BillingRefund:
      title: Refund
      type: object
      properties:
        amountCents:
          type: integer
          description: Sum of the funds returned to the specified organization expressed
            in cents (100th of US Dollar).
          format: int64
          readOnly: true
        created:
          type: string
          description: Date and time when MongoDB Cloud created this refund. This
            parameter expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        paymentId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the payment
            that the organization had made.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        reason:
          type: string
          description: Justification that MongoDB accepted to return funds to the
            organization.
          readOnly: true
      description: One payment that MongoDB returned to the organization for this
        invoice.
    BillingThresholdAlertConfigViewForNdsGroup:
      title: Billing Threshold Alert Configuration
      required:
      - eventTypeName
      - notifications
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created the alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled this alert configuration
            for the specified project.
          default: false
        eventTypeName:
          "$ref": "#/components/schemas/BillingEventTypeViewAlertableWithThreshold"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert
            configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        matchers:
          type: array
          description: Matching conditions for target resources.
          items:
            "$ref": "#/components/schemas/AlertMatcher"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        notifications:
          maxItems: 25
          minItems: 1
          type: array
          description: List that contains the targets that MongoDB Cloud sends notifications.
          items:
            "$ref": "#/components/schemas/AlertsNotificationRootForGroup"
        severityOverride:
          "$ref": "#/components/schemas/EventSeverity"
        threshold:
          "$ref": "#/components/schemas/GreaterThanRawThreshold"
        updated:
          type: string
          description: Date and time when someone last updated this alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Billing threshold alert configuration allows to select thresholds
        for bills and invoices which trigger alerts and how users are notified.
    CacheBytesReadIntoDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    CacheBytesWrittenFromDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    CacheUsageDirtyDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    CacheUsageUsedDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    ChartsAudit:
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/ChartsAuditTypeView"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Audit events related to Atlas Charts.
    ChartsAuditTypeView:
      title: Charts Api Call Audit Types
      type: string
      description: Unique identifier of event type.
      example: CHARTS_API_SUCCESS
      enum:
      - CHARTS_API_SUCCESS
      - CHARTS_API_FAILURE
    CloudAccessRoleAssignment:
      title: Role Assignment
      type: object
      properties:
        groupId:
          maxLength: 24
          minLength: 24
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            to which this role belongs. You can set a value for this parameter or
            `orgId` but not both in the same request.
          example: 32b6e34b3d91647abb20e7b8
        orgId:
          maxLength: 24
          minLength: 24
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which this role belongs. You can set a value for this parameter or
            `groupId` but not both in the same request.
          example: 32b6e34b3d91647abb20e7b8
        roleName:
          type: string
          description: Human-readable label that identifies the collection of privileges
            that MongoDB Cloud grants a specific API key, MongoDB Cloud user, or MongoDB
            Cloud team. These roles include organization- and project-level roles.
          externalDocs:
            description: MongoDB Cloud User Roles
            url: https://www.mongodb.com/docs/atlas/reference/user-roles/
      description: MongoDB Cloud user's roles and the corresponding organization or
        project to which that role applies. Each role can apply to one organization
        or one project but not both.
      externalDocs:
        description: MongoDB Cloud API Key Roles
        url: https://www.mongodb.com/docs/atlas/reference/user-roles/
    CloudAppUser:
      required:
      - country
      - emailAddress
      - firstName
      - lastName
      - mobileNumber
      - password
      - roles
      - username
      type: object
      properties:
        country:
          pattern: "^([A-Z]{2})$"
          type: string
          description: Two alphabet characters that identifies MongoDB Cloud user's
            geographic location. This parameter uses the ISO 3166-1a2 code format.
        createdAt:
          type: string
          description: Date and time when the current account is created. This value
            is in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        emailAddress:
          type: string
          description: Email address that belongs to the MongoDB Cloud user.
          format: email
          readOnly: true
          deprecated: true
        firstName:
          type: string
          description: First or given name that belongs to the MongoDB Cloud user.
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the MongoDB
            Cloud user.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        lastAuth:
          type: string
          description: Date and time when the current account last authenticated.
            This value is in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        lastName:
          type: string
          description: Last name, family name, or surname that belongs to the MongoDB
            Cloud user.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        mobileNumber:
          pattern: "(?:(?:\\\\+?1\\\\s*(?:[.-]\\\\s*)?)?(?:(\\\\s*([2-9]1[02-9]|[2-9][02-8]1|[2-9][02-8][02-9])\\\\s*)|([2-9]1[02-9]|[2-9][02-8]1|[2-9][02-8][02-9]))\\\\s*(?:[.-]\\\\s*)?)([2-9]1[02-9]|[2-9][02-9]1|[2-9][02-9]{2})\\\\s*(?:[.-]\\\\s*)?([0-9]{4})$"
          type: string
          description: Mobile phone number that belongs to the MongoDB Cloud user.
        password:
          minLength: 8
          type: string
          description: Password applied with the username to log in to MongoDB Cloud.
            MongoDB Cloud does not return this parameter except in response to creating
            a new MongoDB Cloud user. Only the MongoDB Cloud user can update their
            password after it has been set from the MongoDB Cloud console.
          format: password
        roles:
          type: array
          description: List of objects that display the MongoDB Cloud user's roles
            and the corresponding organization or project to which that role applies.
            A role can apply to one organization or one project but not both.
          items:
            "$ref": "#/components/schemas/CloudAccessRoleAssignment"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        teamIds:
          uniqueItems: true
          type: array
          description: List of unique 24-hexadecimal digit strings that identifies
            the teams to which this MongoDB Cloud user belongs.
          readOnly: true
          items:
            pattern: "^([a-f0-9]{24})$"
            type: string
            description: Unique 24-hexadecimal digit string that identifies the team
              to which this MongoDB Cloud user belongs.
            example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        username:
          type: string
          description: Email address that represents the username of the MongoDB Cloud
            user.
          format: email
    CloudCluster:
      type: object
      properties:
        alertCount:
          type: integer
          description: Whole number that indicates the quantity of alerts open on
            the cluster.
          format: int32
          readOnly: true
        authEnabled:
          type: boolean
          description: Flag that indicates whether authentication is required to access
            the nodes in this cluster.
          readOnly: true
        availability:
          type: string
          description: Term that expresses how many nodes of the cluster can be accessed
            when MongoDB Cloud receives this request. This parameter returns `available`
            when all nodes are accessible, `warning` only when some nodes in the cluster
            can be accessed, `unavailable` when the cluster can't be accessed, or
            `dead` when the cluster has been deactivated.
          readOnly: true
          enum:
          - available
          - dead
          - unavailable
          - warning
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        backupEnabled:
          type: boolean
          description: Flag that indicates whether the cluster can perform backups.
            If set to `true`, the cluster can perform backups. You must set this value
            to `true` for NVMe clusters. Backup uses Cloud Backups for dedicated clusters
            and Shared Cluster Backups for tenant clusters. If set to `false`, the
            cluster doesn't use MongoDB Cloud backups.
          readOnly: true
        clusterId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            cluster. Each `clusterId` is used only once across all MongoDB Cloud deployments.
          readOnly: true
        dataSizeBytes:
          type: integer
          description: Total size of the data stored on each node in the cluster.
            The resource expresses this value in bytes.
          format: int64
          readOnly: true
        name:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the cluster.
          readOnly: true
        nodeCount:
          type: integer
          description: Whole number that indicates the quantity of nodes that comprise
            the cluster.
          format: int32
          readOnly: true
        sslEnabled:
          type: boolean
          description: Flag that indicates whether TLS authentication is required
            to access the nodes in this cluster.
          readOnly: true
        type:
          type: string
          description: Human-readable label that indicates the cluster type.
          readOnly: true
          enum:
          - REPLICA_SET
          - SHARDED_CLUSTER
        versions:
          uniqueItems: true
          type: array
          description: List that contains the versions of MongoDB that each node in
            the cluster runs.
          readOnly: true
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
      description: Settings that describe the clusters in each project that the API
        key is authorized to view.
      readOnly: true
    CloudDatabaseUser:
      required:
      - databaseName
      - groupId
      - roles
      - username
      type: object
      properties:
        awsIAMType:
          type: string
          description: Human-readable label that indicates whether the new database
            user authenticates with the Amazon Web Services (AWS) Identity and Access
            Management (IAM) credentials associated with the user or the user's role.
          enum:
          - NONE
          - USER
          - ROLE
          default: NONE
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        databaseName:
          type: string
          description: The database against which the database user authenticates.
            Database users must provide both a username and authentication database
            to log into MongoDB. If the user authenticates with AWS IAM, x.509, LDAP,
            or OIDC Workload this value should be `$external`. If the user authenticates
            with SCRAM-SHA or OIDC Workforce, this value should be `admin`.
          enum:
          - admin
          - "$external"
          default: admin
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        deleteAfterDate:
          type: string
          description: Date and time when MongoDB Cloud deletes the user. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC and can include
            the time zone designation. You must specify a future date that falls within
            one week of making the Application Programming Interface (API) request.
          format: date-time
        description:
          maxLength: 100
          type: string
          description: Description of this database user.
        groupId:
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project.
          writeOnly: true
        labels:
          type: array
          description: List that contains the key-value pairs for tagging and categorizing
            the MongoDB database user. The labels that you define do not appear in
            the console.
          items:
            "$ref": "#/components/schemas/ComponentLabel"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        ldapAuthType:
          type: string
          description: Part of the Lightweight Directory Access Protocol (LDAP) record
            that the database uses to authenticate this database user on the LDAP
            host.
          enum:
          - NONE
          - GROUP
          - USER
          default: NONE
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        oidcAuthType:
          type: string
          description: Human-readable label that indicates whether the new database
            user or group authenticates with OIDC federated authentication. To create
            a federated authentication user, specify the value of USER in this field.
            To create a federated authentication group, specify the value of `IDP_GROUP`
            in this field.
          enum:
          - NONE
          - IDP_GROUP
          - USER
          default: NONE
        password:
          minLength: 8
          type: string
          description: Alphanumeric string that authenticates this database user against
            the database specified in `databaseName`. To authenticate with SCRAM-SHA,
            you must specify this parameter. This parameter doesn't appear in this
            response.
          writeOnly: true
          externalDocs:
            description: SCRAM-SHA
            url: https://docs.mongodb.com/manual/core/security-scram/
        roles:
          type: array
          description: List that provides the pairings of one role with one applicable
            database.
          items:
            "$ref": "#/components/schemas/DatabaseUserRole"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        scopes:
          type: array
          description: List that contains clusters, MongoDB Atlas Data Lakes, and
            MongoDB Atlas Streams Workspaces that this database user can access. If
            omitted, MongoDB Cloud grants the database user access to all the clusters,
            MongoDB Atlas Data Lakes, and MongoDB Atlas Streams Workspaces in the
            project.
          items:
            "$ref": "#/components/schemas/UserScope"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        username:
          maxLength: 1024
          type: string
          description: |
            Human-readable label that represents the user that authenticates to MongoDB. The format of this label depends on the method of authentication:

            | Authentication Method | Parameter Needed | Parameter Value | username Format |
            |---|---|---|---|
            | AWS IAM | `awsIAMType` | `ROLE` | <abbr title="Amazon Resource Name">ARN</abbr> |
            | AWS IAM | `awsIAMType` | `USER` | <abbr title="Amazon Resource Name">ARN</abbr> |
            | x.509 | `x509Type` | `CUSTOMER` | [RFC 2253](https://tools.ietf.org/html/2253) Distinguished Name |
            | x.509 | `x509Type` | `MANAGED` | [RFC 2253](https://tools.ietf.org/html/2253) Distinguished Name |
            | LDAP | `ldapAuthType` | `USER` | [RFC 2253](https://tools.ietf.org/html/2253) Distinguished Name |
            | LDAP | `ldapAuthType` | `GROUP` | [RFC 2253](https://tools.ietf.org/html/2253) Distinguished Name |
            | OIDC Workforce | `oidcAuthType` | `IDP_GROUP` | Atlas OIDC IdP ID (found in federation settings), followed by a '/', followed by the IdP group name |
            | OIDC Workload | `oidcAuthType` | `USER` | Atlas OIDC IdP ID (found in federation settings), followed by a '/', followed by the IdP user name |
            | SCRAM-SHA | `awsIAMType`, `x509Type`, `ldapAuthType`, `oidcAuthType` | `NONE` | Alphanumeric string |
          x-xgen-IPA-exception:
            xgen-IPA-117-description-must-not-use-html: Description predates IPA validation.
            xgen-IPA-117-description-should-not-use-inline-links: Description has
              multiple links, and externalDocs only supports one.
            xgen-IPA-117-description-should-not-use-inline-tables: Description predates
              IPA validation.
        x509Type:
          type: string
          description: |-
            X.509 method that MongoDB Cloud uses to authenticate the database user.

            - For application-managed X.509, specify `MANAGED`.
            - For self-managed X.509, specify `CUSTOMER`.

            Users created with the `CUSTOMER` method require a Common Name (CN) in the **username** parameter. You must create externally authenticated users on the `$external` database.
          enum:
          - NONE
          - CUSTOMER
          - MANAGED
          default: NONE
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
    CloudGCPProviderSettings:
      type: object
      allOf:
      - "$ref": "#/components/schemas/ClusterProviderSettings"
      - type: object
        properties:
          autoScaling:
            "$ref": "#/components/schemas/CloudProviderGCPAutoScaling"
          instanceSizeName:
            title: GCP Instance Sizes
            type: string
            description: Cluster tier, with a default storage and memory capacity,
              that applies to all the data-bearing hosts in your cluster.
            enum:
            - M10
            - M20
            - M30
            - M40
            - M50
            - M60
            - M80
            - M140
            - M200
            - M250
            - M300
            - M400
            - R40
            - R50
            - R60
            - R80
            - R200
            - R300
            - R400
            - R600
          regionName:
            title: GCP Regions
            type: string
            description: Google Compute Regions.
            externalDocs:
              description: GCP
              url: https://docs.atlas.mongodb.com/reference/google-gcp/
            enum:
            - EASTERN_US
            - EASTERN_US_AW
            - US_EAST_4
            - US_EAST_4_AW
            - US_EAST_5
            - US_EAST_5_AW
            - US_WEST_2
            - US_WEST_2_AW
            - US_WEST_3
            - US_WEST_3_AW
            - US_WEST_4
            - US_WEST_4_AW
            - US_SOUTH_1
            - US_SOUTH_1_AW
            - CENTRAL_US
            - CENTRAL_US_AW
            - WESTERN_US
            - WESTERN_US_AW
            - NORTH_AMERICA_NORTHEAST_1
            - NORTH_AMERICA_NORTHEAST_2
            - NORTH_AMERICA_SOUTH_1
            - SOUTH_AMERICA_EAST_1
            - SOUTH_AMERICA_WEST_1
            - WESTERN_EUROPE
            - EUROPE_NORTH_1
            - EUROPE_WEST_2
            - EUROPE_WEST_3
            - EUROPE_WEST_4
            - EUROPE_WEST_6
            - EUROPE_WEST_8
            - EUROPE_WEST_9
            - EUROPE_WEST_10
            - EUROPE_WEST_12
            - EUROPE_SOUTHWEST_1
            - EUROPE_CENTRAL_2
            - MIDDLE_EAST_CENTRAL_1
            - MIDDLE_EAST_CENTRAL_2
            - MIDDLE_EAST_WEST_1
            - AUSTRALIA_SOUTHEAST_1
            - AUSTRALIA_SOUTHEAST_2
            - AFRICA_SOUTH_1
            - EASTERN_ASIA_PACIFIC
            - NORTHEASTERN_ASIA_PACIFIC
            - SOUTHEASTERN_ASIA_PACIFIC
            - ASIA_EAST_2
            - ASIA_NORTHEAST_2
            - ASIA_NORTHEAST_3
            - ASIA_SOUTH_1
            - ASIA_SOUTH_2
            - ASIA_SOUTHEAST_2
            x-xgen-IPA-exception:
              xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum values
                standardized by cloud providers.
    CloudProviderAWSAutoScaling:
      type: object
      properties:
        compute:
          "$ref": "#/components/schemas/AWSComputeAutoScaling"
      description: Range of instance sizes to which your cluster can scale.
    CloudProviderAccessAWSIAMRole:
      required:
      - providerName
      type: object
      description: Details that describe the features linked to the Amazon Web Services
        (AWS) Identity and Access Management (IAM) role.
      allOf:
      - "$ref": "#/components/schemas/CloudProviderAccessRole"
      - type: object
        properties:
          atlasAWSAccountArn:
            maxLength: 2048
            minLength: 20
            type: string
            description: Amazon Resource Name that identifies the Amazon Web Services
              (AWS) user account that MongoDB Cloud uses when it assumes the Identity
              and Access Management (IAM) role.
            readOnly: true
            example: arn:aws:iam::772401394250:role/my-test-aws-role
            x-xgen-IPA-exception:
              xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
          atlasAssumedRoleExternalId:
            type: string
            description: Unique external ID that MongoDB Cloud uses when it assumes
              the IAM role in your Amazon Web Services (AWS) account.
            format: uuid
            readOnly: true
          authorizedDate:
            type: string
            description: Date and time when someone authorized this role for the specified
              cloud service provider. This parameter expresses its value in the ISO
              8601 timestamp format in UTC.
            format: date-time
            readOnly: true
          createdDate:
            type: string
            description: Date and time when someone created this role for the specified
              cloud service provider. This parameter expresses its value in the ISO
              8601 timestamp format in UTC.
            format: date-time
            readOnly: true
          featureUsages:
            type: array
            description: List that contains application features associated with this
              Amazon Web Services (AWS) Identity and Access Management (IAM) role.
            readOnly: true
            items:
              "$ref": "#/components/schemas/CloudProviderAccessFeatureUsage"
            x-xgen-IPA-exception:
              xgen-IPA-124-array-max-items: Schema predates IPA validation.
          iamAssumedRoleArn:
            maxLength: 2048
            minLength: 20
            type: string
            description: Amazon Resource Name (ARN) that identifies the Amazon Web
              Services (AWS) Identity and Access Management (IAM) role that MongoDB
              Cloud assumes when it accesses resources in your AWS account.
            example: arn:aws:iam::123456789012:root
          roleId:
            pattern: "^([a-f0-9]{24})$"
            type: string
            description: Unique 24-hexadecimal digit string that identifies the role.
            readOnly: true
            example: 32b6e34b3d91647abb20e7b8
    CloudProviderAccessAWSIAMRoleRequest:
      required:
      - providerName
      type: object
      properties:
        atlasAWSAccountArn:
          maxLength: 2048
          minLength: 20
          type: string
          description: Amazon Resource Name that identifies the Amazon Web Services
            (AWS) user account that MongoDB Cloud uses when it assumes the Identity
            and Access Management (IAM) role.
          readOnly: true
          example: arn:aws:iam::772401394250:role/my-test-aws-role
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        atlasAssumedRoleExternalId:
          type: string
          description: Unique external ID that MongoDB Cloud uses when it assumes
            the IAM role in your Amazon Web Services (AWS) account.
          format: uuid
          readOnly: true
        authorizedDate:
          type: string
          description: Date and time when someone authorized this role for the specified
            cloud service provider. This parameter expresses its value in the ISO
            8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        createdDate:
          type: string
          description: Date and time when someone created this role for the specified
            cloud service provider. This parameter expresses its value in the ISO
            8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        featureUsages:
          type: array
          description: List that contains application features associated with this
            Amazon Web Services (AWS) Identity and Access Management (IAM) role.
          readOnly: true
          items:
            "$ref": "#/components/schemas/CloudProviderAccessFeatureUsage"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        providerName:
          type: string
          description: Human-readable label that identifies the cloud provider of
            the role.
          enum:
          - AWS
          - AZURE
          - GCP
        roleId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the role.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
      description: Details that describe the features linked to the Amazon Web Services
        (AWS) Identity and Access Management (IAM) role.
    CloudProviderAccessAWSIAMRoleRequestUpdate:
      required:
      - providerName
      type: object
      description: Details that describe the features linked to the Amazon Web Services
        (AWS) Identity and Access Management (IAM) role.
      allOf:
      - "$ref": "#/components/schemas/CloudProviderAccessRoleRequestUpdate"
      - type: object
        properties:
          atlasAWSAccountArn:
            maxLength: 2048
            minLength: 20
            type: string
            description: Amazon Resource Name that identifies the Amazon Web Services
              (AWS) user account that MongoDB Cloud uses when it assumes the Identity
              and Access Management (IAM) role.
            readOnly: true
            example: arn:aws:iam::772401394250:role/my-test-aws-role
            x-xgen-IPA-exception:
              xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
          atlasAssumedRoleExternalId:
            type: string
            description: Unique external ID that MongoDB Cloud uses when it assumes
              the IAM role in your Amazon Web Services (AWS) account.
            format: uuid
            readOnly: true
          authorizedDate:
            type: string
            description: Date and time when someone authorized this role for the specified
              cloud service provider. This parameter expresses its value in the ISO
              8601 timestamp format in UTC.
            format: date-time
            readOnly: true
          createdDate:
            type: string
            description: Date and time when someone created this role for the specified
              cloud service provider. This parameter expresses its value in the ISO
              8601 timestamp format in UTC.
            format: date-time
            readOnly: true
          featureUsages:
            type: array
            description: List that contains application features associated with this
              Amazon Web Services (AWS) Identity and Access Management (IAM) role.
            readOnly: true
            items:
              "$ref": "#/components/schemas/CloudProviderAccessFeatureUsage"
            x-xgen-IPA-exception:
              xgen-IPA-124-array-max-items: Schema predates IPA validation.
          iamAssumedRoleArn:
            maxLength: 2048
            minLength: 20
            type: string
            description: Amazon Resource Name (ARN) that identifies the Amazon Web
              Services (AWS) Identity and Access Management (IAM) role that MongoDB
              Cloud assumes when it accesses resources in your AWS account.
            example: arn:aws:iam::123456789012:root
          roleId:
            pattern: "^([a-f0-9]{24})$"
            type: string
            description: Unique 24-hexadecimal digit string that identifies the role.
            readOnly: true
            example: 32b6e34b3d91647abb20e7b8
    CloudProviderAccessAtlasLogIntegrationFeatureUsage:
      type: object
      description: Details that describe the Atlas log integration linked to this
        cloud provider access role.
      allOf:
      - "$ref": "#/components/schemas/CloudProviderAccessFeatureUsage"
      - type: object
        properties:
          featureId:
            "$ref": "#/components/schemas/CloudProviderAccessFeatureUsageAtlasLogIntegrationFeatureId"
    CloudProviderAccessAzureServicePrincipal:
      required:
      - providerName
      type: object
      description: Details that describe the features linked to the Azure Service
        Principal.
      allOf:
      - "$ref": "#/components/schemas/CloudProviderAccessRole"
      - type: object
        properties:
          _id:
            pattern: "^([a-f0-9]{24})$"
            type: string
            description: Unique 24-hexadecimal digit string that identifies the role.
            readOnly: true
            example: 32b6e34b3d91647abb20e7b8
            x-xgen-IPA-exception:
              xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
          atlasAzureAppId:
            type: string
            description: Azure Active Directory Application ID of Atlas. This field
              is optional and will be derived from the Azure subscription if not provided.
            format: uuid
          createdDate:
            type: string
            description: Date and time when this Azure Service Principal was created.
              This parameter expresses its value in the ISO 8601 timestamp format
              in UTC.
            format: date-time
            readOnly: true
          featureUsages:
            type: array
            description: List that contains application features associated with this
              Azure Service Principal.
            readOnly: true
            items:
              "$ref": "#/components/schemas/CloudProviderAccessFeatureUsage"
            x-xgen-IPA-exception:
              xgen-IPA-124-array-max-items: Schema predates IPA validation.
          lastUpdatedDate:
            type: string
            description: Date and time when this Azure Service Principal was last
              updated. This parameter expresses its value in the ISO 8601 timestamp
              format in UTC.
            format: date-time
            readOnly: true
          servicePrincipalId:
            type: string
            description: UUID string that identifies the Azure Service Principal.
            format: uuid
          tenantId:
            type: string
            description: UUID String that identifies the Azure Active Directory Tenant
              ID.
            format: uuid
    CloudProviderAccessAzureServicePrincipalRequest:
      required:
      - providerName
      type: object
      properties:
        _id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the role.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        atlasAzureAppId:
          type: string
          description: Azure Active Directory Application ID of Atlas. This field
            is optional and will be derived from the Azure subscription if not provided.
          format: uuid
        createdDate:
          type: string
          description: Date and time when this Azure Service Principal was created.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
        featureUsages:
          type: array
          description: List that contains application features associated with this
            Azure Service Principal.
          readOnly: true
          items:
            "$ref": "#/components/schemas/CloudProviderAccessFeatureUsage"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        lastUpdatedDate:
          type: string
          description: Date and time when this Azure Service Principal was last updated.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
        providerName:
          type: string
          description: Human-readable label that identifies the cloud provider of
            the role.
          enum:
          - AWS
          - AZURE
          - GCP
        servicePrincipalId:
          type: string
          description: UUID string that identifies the Azure Service Principal.
          format: uuid
        tenantId:
          type: string
          description: UUID String that identifies the Azure Active Directory Tenant
            ID.
          format: uuid
      description: Details that describe the features linked to the Azure Service
        Principal.
    CloudProviderAccessAzureServicePrincipalRequestUpdate:
      required:
      - providerName
      type: object
      description: Details that describe the features linked to the Azure Service
        Principal.
      allOf:
      - "$ref": "#/components/schemas/CloudProviderAccessRoleRequestUpdate"
      - type: object
        properties:
          _id:
            pattern: "^([a-f0-9]{24})$"
            type: string
            description: Unique 24-hexadecimal digit string that identifies the role.
            readOnly: true
            example: 32b6e34b3d91647abb20e7b8
            x-xgen-IPA-exception:
              xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
          atlasAzureAppId:
            type: string
            description: Azure Active Directory Application ID of Atlas. This field
              is optional and will be derived from the Azure subscription if not provided.
            format: uuid
          createdDate:
            type: string
            description: Date and time when this Azure Service Principal was created.
              This parameter expresses its value in the ISO 8601 timestamp format
              in UTC.
            format: date-time
            readOnly: true
          featureUsages:
            type: array
            description: List that contains application features associated with this
              Azure Service Principal.
            readOnly: true
            items:
              "$ref": "#/components/schemas/CloudProviderAccessFeatureUsage"
            x-xgen-IPA-exception:
              xgen-IPA-124-array-max-items: Schema predates IPA validation.
          lastUpdatedDate:
            type: string
            description: Date and time when this Azure Service Principal was last
              updated. This parameter expresses its value in the ISO 8601 timestamp
              format in UTC.
            format: date-time
            readOnly: true
          servicePrincipalId:
            type: string
            description: UUID string that identifies the Azure Service Principal.
            format: uuid
          tenantId:
            type: string
            description: UUID String that identifies the Azure Active Directory Tenant
              ID.
            format: uuid
    CloudProviderAccessDataLakeFeatureUsage:
      type: object
      description: Details that describe the Atlas Data Lakes linked to this Amazon
        Web Services (AWS) Identity and Access Management (IAM) role.
      allOf:
      - "$ref": "#/components/schemas/CloudProviderAccessFeatureUsage"
      - type: object
        properties:
          featureId:
            "$ref": "#/components/schemas/CloudProviderAccessFeatureUsageDataLakeFeatureId"
    CloudProviderAccessEncryptionAtRestFeatureUsage:
      type: object
      description: Details that describe the Key Management Service (KMS) linked to
        this Amazon Web Services (AWS) Identity and Access Management (IAM) role.
      allOf:
      - "$ref": "#/components/schemas/CloudProviderAccessFeatureUsage"
      - type: object
        properties:
          featureId:
            "$ref": "#/components/schemas/ApiAtlasCloudProviderAccessFeatureUsageFeatureIdView"
    CloudProviderAccessExportSnapshotFeatureUsage:
      type: object
      description: Details that describe the Amazon Web Services (AWS) Simple Storage
        Service (S3) export buckets linked to this AWS Identity and Access Management
        (IAM) role.
      allOf:
      - "$ref": "#/components/schemas/CloudProviderAccessFeatureUsage"
      - type: object
        properties:
          featureId:
            "$ref": "#/components/schemas/CloudProviderAccessFeatureUsageExportSnapshotFeatureId"
    CloudProviderAccessFeatureUsage:
      type: object
      properties:
        featureType:
          type: string
          description: Human-readable label that describes one MongoDB Cloud feature
            linked to this Amazon Web Services (AWS) Identity and Access Management
            (IAM) role.
          readOnly: true
          enum:
          - ATLAS_DATA_LAKE
          - ENCRYPTION_AT_REST
          - EXPORT_SNAPSHOT
          - PUSH_BASED_LOG_EXPORT
          - ATLAS_LOG_INTEGRATION
      description: MongoDB Cloud features associated with this Amazon Web Services
        (AWS) Identity and Access Management (IAM) role.
      discriminator:
        propertyName: featureType
        mapping:
          ATLAS_DATA_LAKE: "#/components/schemas/CloudProviderAccessDataLakeFeatureUsage"
          ATLAS_LOG_INTEGRATION: "#/components/schemas/CloudProviderAccessAtlasLogIntegrationFeatureUsage"
          ENCRYPTION_AT_REST: "#/components/schemas/CloudProviderAccessEncryptionAtRestFeatureUsage"
          EXPORT_SNAPSHOT: "#/components/schemas/CloudProviderAccessExportSnapshotFeatureUsage"
          PUSH_BASED_LOG_EXPORT: "#/components/schemas/CloudProviderAccessPushBasedLogExportFeatureUsage"
      x-xgen-IPA-exception:
        xgen-IPA-125-discriminator-must-accompany-oneOf-anyOf-allOf: Schema predates
          IPA validation.
    CloudProviderAccessFeatureUsageAtlasLogIntegrationFeatureId:
      type: object
      properties:
        configId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the Atlas
            log integration configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies your project.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        sinkName:
          type: string
          description: Human-readable label that identifies the sink, such as an S3/GCS
            bucket or Azure container name.
          readOnly: true
      description: Identifying characteristics about the Atlas log integration linked
        to this cloud provider access role.
    CloudProviderAccessFeatureUsageDataLakeFeatureId:
      type: object
      properties:
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies your project.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        name:
          type: string
          description: Human-readable label that identifies the data lake.
      description: Identifying characteristics about the data lake linked to this
        Amazon Web Services (AWS) Identity and Access Management (IAM) role.
    CloudProviderAccessFeatureUsageExportSnapshotFeatureId:
      type: object
      properties:
        exportBucketId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the AWS
            S3 bucket to which you export your snapshots.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies your project.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
      description: Identifying characteristics about the Amazon Web Services (AWS)
        Simple Storage Service (S3) export bucket linked to this AWS Identity and
        Access Management (IAM) role.
    CloudProviderAccessFeatureUsagePushBasedLogExportFeatureId:
      type: object
      properties:
        bucketName:
          type: string
          description: Name of the AWS S3 bucket to which your logs will be exported
            to.
          readOnly: true
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies your project.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
      description: Identifying characteristics about the Amazon Web Services (AWS)
        Simple Storage Service (S3) export bucket linked to this AWS Identity and
        Access Management (IAM) role.
    CloudProviderAccessGCPServiceAccount:
      required:
      - providerName
      type: object
      description: Details that describe the features linked to the GCP Service Account.
      allOf:
      - "$ref": "#/components/schemas/CloudProviderAccessRole"
      - type: object
        properties:
          createdDate:
            type: string
            description: Date and time when this Google Service Account was created.
              This parameter expresses its value in the ISO 8601 timestamp format
              in UTC.
            format: date-time
            readOnly: true
          featureUsages:
            type: array
            description: List that contains application features associated with this
              Google Service Account.
            readOnly: true
            items:
              "$ref": "#/components/schemas/CloudProviderAccessFeatureUsage"
            x-xgen-IPA-exception:
              xgen-IPA-124-array-max-items: Schema predates IPA validation.
          gcpServiceAccountForAtlas:
            pattern: "^mongodb-atlas-[0-9a-z]{16}@p-[0-9a-z]{24}.iam.gserviceaccount.com$"
            type: string
            description: Email address for the Google Service Account created by Atlas.
          roleId:
            pattern: "^([a-f0-9]{24})$"
            type: string
            description: Unique 24-hexadecimal digit string that identifies the role.
            readOnly: true
            example: 32b6e34b3d91647abb20e7b8
          status:
            type: string
            description: Provision status of the service account.
            readOnly: true
            enum:
            - IN_PROGRESS
            - COMPLETE
            - FAILED
            - NOT_INITIATED
    CloudProviderAccessGCPServiceAccountRequest:
      required:
      - providerName
      type: object
      properties:
        createdDate:
          type: string
          description: Date and time when this GCP Service Account was created. This
            parameter expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        featureUsages:
          type: array
          description: List that contains application features associated with this
            GCP Service Account.
          readOnly: true
          items:
            "$ref": "#/components/schemas/CloudProviderAccessFeatureUsage"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        gcpServiceAccountForAtlas:
          type: string
          description: ID string that identifies the GCP Service Account used by Atlas.
          readOnly: true
        providerName:
          type: string
          description: Human-readable label that identifies the cloud provider of
            the role.
          enum:
          - AWS
          - AZURE
          - GCP
        roleId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the role.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
      description: Details that describe the features linked to the GCP Service Account.
    CloudProviderAccessGCPServiceAccountRequestUpdate:
      required:
      - providerName
      type: object
      description: Details that describe the features linked to the GCP Service Account.
      allOf:
      - "$ref": "#/components/schemas/CloudProviderAccessRoleRequestUpdate"
    CloudProviderAccessPushBasedLogExportFeatureUsage:
      type: object
      description: Details that describe the Amazon Web Services (AWS) Simple Storage
        Service (S3) export buckets linked to this AWS Identity and Access Management
        (IAM) role.
      allOf:
      - "$ref": "#/components/schemas/CloudProviderAccessFeatureUsage"
      - type: object
        properties:
          featureId:
            "$ref": "#/components/schemas/CloudProviderAccessFeatureUsagePushBasedLogExportFeatureId"
    CloudProviderAccessRole:
      required:
      - providerName
      type: object
      properties:
        providerName:
          type: string
          description: Human-readable label that identifies the cloud provider of
            the role.
          enum:
          - AWS
          - AZURE
          - GCP
      description: Cloud provider access role.
      discriminator:
        propertyName: providerName
        mapping:
          AWS: "#/components/schemas/CloudProviderAccessAWSIAMRole"
          AZURE: "#/components/schemas/CloudProviderAccessAzureServicePrincipal"
          GCP: "#/components/schemas/CloudProviderAccessGCPServiceAccount"
      oneOf:
      - "$ref": "#/components/schemas/CloudProviderAccessAWSIAMRole"
      - "$ref": "#/components/schemas/CloudProviderAccessAzureServicePrincipal"
      - "$ref": "#/components/schemas/CloudProviderAccessGCPServiceAccount"
    CloudProviderAccessRoleRequest:
      required:
      - providerName
      type: object
      properties:
        providerName:
          type: string
          description: Human-readable label that identifies the cloud provider of
            the role.
          enum:
          - AWS
          - AZURE
          - GCP
      description: Cloud provider access role.
      discriminator:
        propertyName: providerName
        mapping:
          AWS: "#/components/schemas/CloudProviderAccessAWSIAMRoleRequest"
          AZURE: "#/components/schemas/CloudProviderAccessAzureServicePrincipalRequest"
          GCP: "#/components/schemas/CloudProviderAccessGCPServiceAccountRequest"
      oneOf:
      - "$ref": "#/components/schemas/CloudProviderAccessAWSIAMRoleRequest"
      - "$ref": "#/components/schemas/CloudProviderAccessAzureServicePrincipalRequest"
      - "$ref": "#/components/schemas/CloudProviderAccessGCPServiceAccountRequest"
    CloudProviderAccessRoleRequestUpdate:
      required:
      - providerName
      type: object
      properties:
        providerName:
          type: string
          description: Human-readable label that identifies the cloud provider of
            the role.
          enum:
          - AWS
          - AZURE
          - GCP
      description: Cloud provider access role.
      discriminator:
        propertyName: providerName
        mapping:
          AWS: "#/components/schemas/CloudProviderAccessAWSIAMRoleRequestUpdate"
          AZURE: "#/components/schemas/CloudProviderAccessAzureServicePrincipalRequestUpdate"
          GCP: "#/components/schemas/CloudProviderAccessGCPServiceAccountRequestUpdate"
      x-xgen-IPA-exception:
        xgen-IPA-125-discriminator-must-accompany-oneOf-anyOf-allOf: Schema predates
          IPA validation.
    CloudProviderAccessRoles:
      type: object
      properties:
        awsIamRoles:
          type: array
          description: List that contains the Amazon Web Services (AWS) IAM roles
            registered and authorized with MongoDB Cloud.
          items:
            "$ref": "#/components/schemas/CloudProviderAccessAWSIAMRole"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        azureServicePrincipals:
          type: array
          description: List that contains the Azure Service Principals registered
            with MongoDB Cloud.
          items:
            "$ref": "#/components/schemas/CloudProviderAccessAzureServicePrincipal"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        gcpServiceAccounts:
          type: array
          description: List that contains the Google Service Accounts registered and
            authorized with MongoDB Cloud.
          items:
            "$ref": "#/components/schemas/CloudProviderAccessGCPServiceAccount"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    CloudProviderAzureAutoScaling:
      type: object
      properties:
        compute:
          "$ref": "#/components/schemas/AzureComputeAutoScalingRules"
      description: Range of instance sizes to which your cluster can scale.
    CloudProviderContainer:
      type: object
      properties:
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the network
            peering container.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        providerName:
          type: string
          description: Cloud service provider that serves the requested network peering
            containers.
          enum:
          - AWS
          - GCP
          - AZURE
          - TENANT
          - SERVERLESS
        provisioned:
          type: boolean
          description: Flag that indicates whether MongoDB Cloud clusters exist in
            the specified network peering container.
          readOnly: true
      description: Collection of settings that configures the network container for
        a virtual private connection on Amazon Web Services.
      discriminator:
        propertyName: providerName
        mapping:
          AWS: "#/components/schemas/AWSCloudProviderContainer"
          AZURE: "#/components/schemas/AzureCloudProviderContainer"
          GCP: "#/components/schemas/GCPCloudProviderContainer"
      oneOf:
      - "$ref": "#/components/schemas/AzureCloudProviderContainer"
      - "$ref": "#/components/schemas/GCPCloudProviderContainer"
      - "$ref": "#/components/schemas/AWSCloudProviderContainer"
    CloudProviderEndpointServiceRequest:
      required:
      - providerName
      - region
      type: object
      properties:
        portMappingEnabled:
          type: boolean
          description: Flag that indicates whether this endpoint service uses PSC
            port-mapping. This is only applicable for GCP Private Endpoint Services.
          writeOnly: true
          default: false
        providerName:
          type: string
          description: Human-readable label that identifies the cloud service provider
            for which you want to create the private endpoint service.
          writeOnly: true
          enum:
          - AWS
          - AZURE
          - GCP
        region:
          type: string
          description: Cloud provider region in which you want to create the private
            endpoint service. Regions accepted as values differ for [Amazon Web Services](https://docs.atlas.mongodb.com/reference/amazon-aws/),
            [Google Cloud Platform](https://docs.atlas.mongodb.com/reference/google-gcp/),
            and [Microsoft Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
          writeOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-117-description-should-not-use-inline-links: Description has
              multiple links, and externalDocs only supports one.
        supportedRemoteRegions:
          maxItems: 35
          type: array
          description: List of regions that the endpoint service supports. Native
            cross region support is implemented for AWS only.
          nullable: true
          writeOnly: true
          items:
            type: string
            description: AWS region name
    CloudProviderGCPAutoScaling:
      type: object
      properties:
        compute:
          "$ref": "#/components/schemas/GCPComputeAutoScaling"
      description: Range of instance sizes to which your cluster can scale.
    CloudProviderRegions:
      type: object
      properties:
        instanceSizes:
          type: array
          description: List of instances sizes that this cloud provider supports.
          readOnly: true
          items:
            "$ref": "#/components/schemas/ClusterCloudProviderInstanceSize"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        provider:
          type: string
          description: Human-readable label that identifies the Cloud provider.
          enum:
          - AWS
          - GCP
          - AZURE
    CloudRegionConfig:
      title: Cloud Service Provider Settings for Multi-Cloud Clusters
      type: object
      properties:
        electableSpecs:
          "$ref": "#/components/schemas/HardwareSpec"
        priority:
          maximum: 7
          minimum: 0
          type: integer
          description: |-
            Precedence is given to this region when a primary election occurs. If your `regionConfigs` has only `readOnlySpecs`, `analyticsSpecs`, or both, set this value to `0`. If you have multiple `regionConfigs` objects (your cluster is multi-region or multi-cloud), they must have priorities in descending order. The highest priority is `7`.

            **Example:** If you have three regions, their priorities would be `7`, `6`, and `5` respectively. If you added two more regions for supporting electable nodes, the priorities of those regions would be `4` and `3` respectively.
          format: int32
        providerName:
          type: string
          description: Cloud service provider on which MongoDB Cloud provisions the
            hosts. Set dedicated clusters to `AWS`, `GCP`, `AZURE` or `TENANT`.
          enum:
          - AWS
          - AZURE
          - GCP
          - TENANT
        regionName:
          type: object
          description: Physical location of your MongoDB cluster nodes. The region
            you choose can affect network latency for clients accessing your databases.
            The region name is only returned in the response for single-region clusters.
            When MongoDB Cloud deploys a dedicated cluster, it checks if a VPC or
            VPC connection exists for that provider and region. If not, MongoDB Cloud
            creates them as part of the deployment. It assigns the VPC a Classless
            Inter-Domain Routing (CIDR) block. To limit a new VPC peering connection
            to one Classless Inter-Domain Routing (CIDR) block and region, create
            the connection first. Deploy the cluster after the connection starts.
            GCP Clusters and Multi-region clusters require one VPC peering connection
            for each region. MongoDB nodes can use only the peering connection that
            resides in the same region as the nodes to communicate with the peered
            VPC.
          oneOf:
          - title: AWS Regions
            type: string
            description: Physical location where MongoDB Cloud deploys your AWS-hosted
              MongoDB cluster nodes. The region you choose can affect network latency
              for clients accessing your databases. When MongoDB Cloud deploys a dedicated
              cluster, it checks if a VPC or VPC connection exists for that provider
              and region. If not, MongoDB Cloud creates them as part of the deployment.
              MongoDB Cloud assigns the VPC a CIDR block. To limit a new VPC peering
              connection to one CIDR block and region, create the connection first.
              Deploy the cluster after the connection starts.
            enum:
            - US_GOV_WEST_1
            - US_GOV_EAST_1
            - US_EAST_1
            - US_EAST_2
            - US_WEST_1
            - US_WEST_2
            - CA_CENTRAL_1
            - EU_NORTH_1
            - EU_WEST_1
            - EU_WEST_2
            - EU_WEST_3
            - EU_CENTRAL_1
            - EU_CENTRAL_2
            - AP_EAST_1
            - AP_EAST_2
            - AP_NORTHEAST_1
            - AP_NORTHEAST_2
            - AP_NORTHEAST_3
            - AP_SOUTHEAST_1
            - AP_SOUTHEAST_2
            - AP_SOUTHEAST_3
            - AP_SOUTHEAST_4
            - AP_SOUTHEAST_5
            - AP_SOUTHEAST_6
            - AP_SOUTHEAST_7
            - AP_SOUTH_1
            - AP_SOUTH_2
            - SA_EAST_1
            - CN_NORTH_1
            - CN_NORTHWEST_1
            - ME_SOUTH_1
            - ME_CENTRAL_1
            - AF_SOUTH_1
            - EU_SOUTH_1
            - EU_SOUTH_2
            - IL_CENTRAL_1
            - CA_WEST_1
            - MX_CENTRAL_1
            - GLOBAL
            x-xgen-IPA-exception:
              xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum values
                standardized by cloud providers.
          - title: Azure Regions
            type: string
            description: Microsoft Azure Regions.
            enum:
            - US_CENTRAL
            - US_EAST
            - US_EAST_2
            - US_NORTH_CENTRAL
            - US_WEST
            - US_SOUTH_CENTRAL
            - EUROPE_NORTH
            - EUROPE_WEST
            - US_WEST_CENTRAL
            - US_WEST_2
            - US_WEST_3
            - CANADA_EAST
            - CANADA_CENTRAL
            - BRAZIL_SOUTH
            - BRAZIL_SOUTHEAST
            - AUSTRALIA_CENTRAL
            - AUSTRALIA_CENTRAL_2
            - AUSTRALIA_EAST
            - AUSTRALIA_SOUTH_EAST
            - GERMANY_WEST_CENTRAL
            - GERMANY_NORTH
            - SWEDEN_CENTRAL
            - SWEDEN_SOUTH
            - SWITZERLAND_NORTH
            - SWITZERLAND_WEST
            - UK_SOUTH
            - UK_WEST
            - NORWAY_EAST
            - NORWAY_WEST
            - INDIA_CENTRAL
            - INDIA_SOUTH
            - INDIA_WEST
            - CHINA_EAST
            - CHINA_NORTH
            - ASIA_EAST
            - JAPAN_EAST
            - JAPAN_WEST
            - ASIA_SOUTH_EAST
            - KOREA_CENTRAL
            - KOREA_SOUTH
            - FRANCE_CENTRAL
            - FRANCE_SOUTH
            - SOUTH_AFRICA_NORTH
            - SOUTH_AFRICA_WEST
            - UAE_CENTRAL
            - UAE_NORTH
            - QATAR_CENTRAL
            - POLAND_CENTRAL
            - ISRAEL_CENTRAL
            - ITALY_NORTH
            - SPAIN_CENTRAL
            - MEXICO_CENTRAL
            - NEW_ZEALAND_NORTH
            - US_GOV_VIRGINIA
            - US_GOV_ARIZONA
            - US_GOV_TEXAS
            x-xgen-IPA-exception:
              xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum values
                standardized by cloud providers.
          - title: GCP Regions
            type: string
            description: Google Compute Regions.
            enum:
            - EASTERN_US
            - EASTERN_US_AW
            - US_EAST_4
            - US_EAST_4_AW
            - US_EAST_5
            - US_EAST_5_AW
            - US_WEST_2
            - US_WEST_2_AW
            - US_WEST_3
            - US_WEST_3_AW
            - US_WEST_4
            - US_WEST_4_AW
            - US_SOUTH_1
            - US_SOUTH_1_AW
            - CENTRAL_US
            - CENTRAL_US_AW
            - WESTERN_US
            - WESTERN_US_AW
            - NORTH_AMERICA_NORTHEAST_1
            - NORTH_AMERICA_NORTHEAST_2
            - NORTH_AMERICA_SOUTH_1
            - SOUTH_AMERICA_EAST_1
            - SOUTH_AMERICA_WEST_1
            - WESTERN_EUROPE
            - EUROPE_NORTH_1
            - EUROPE_WEST_2
            - EUROPE_WEST_3
            - EUROPE_WEST_4
            - EUROPE_WEST_6
            - EUROPE_WEST_8
            - EUROPE_WEST_9
            - EUROPE_WEST_10
            - EUROPE_WEST_12
            - EUROPE_SOUTHWEST_1
            - EUROPE_CENTRAL_2
            - MIDDLE_EAST_CENTRAL_1
            - MIDDLE_EAST_CENTRAL_2
            - MIDDLE_EAST_WEST_1
            - AUSTRALIA_SOUTHEAST_1
            - AUSTRALIA_SOUTHEAST_2
            - AFRICA_SOUTH_1
            - EASTERN_ASIA_PACIFIC
            - NORTHEASTERN_ASIA_PACIFIC
            - SOUTHEASTERN_ASIA_PACIFIC
            - ASIA_EAST_2
            - ASIA_NORTHEAST_2
            - ASIA_NORTHEAST_3
            - ASIA_SOUTH_1
            - ASIA_SOUTH_2
            - ASIA_SOUTHEAST_2
            x-xgen-IPA-exception:
              xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum values
                standardized by cloud providers.
      description: Cloud service provider on which MongoDB Cloud provisions the hosts.
      discriminator:
        propertyName: providerName
        mapping:
          AWS: "#/components/schemas/AWSRegionConfig"
          AZURE: "#/components/schemas/AzureRegionConfig"
          GCP: "#/components/schemas/GCPRegionConfig"
          TENANT: "#/components/schemas/TenantRegionConfig"
      oneOf:
      - "$ref": "#/components/schemas/AWSRegionConfig"
      - "$ref": "#/components/schemas/AzureRegionConfig"
      - "$ref": "#/components/schemas/GCPRegionConfig"
      - "$ref": "#/components/schemas/TenantRegionConfig"
    CloudSearchMetrics:
      required:
      - groupId
      - hardwareMetrics
      - indexMetrics
      - processId
      - statusMetrics
      type: object
      properties:
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        hardwareMetrics:
          type: array
          description: List that contains all host compute, memory, and storage utilization
            dedicated to Atlas Search when MongoDB Atlas received this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/FTSMetric"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        indexMetrics:
          type: array
          description: List that contains all performance and utilization measurements
            that Atlas Search index performed by the time MongoDB Atlas received this
            request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/FTSMetric"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        processId:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\\:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?(\\:[0-9]{4,5})$"
          type: string
          description: Hostname and port that identifies the process.
          readOnly: true
          example: mongodb.example.com:27017
        statusMetrics:
          type: array
          description: List that contains all available Atlas Search status metrics
            when MongoDB Atlas received this request.
          items:
            "$ref": "#/components/schemas/FTSMetric"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    ClusterAlertConfigViewForNdsGroup:
      title: Cluster Alert Configuration
      required:
      - eventTypeName
      - notifications
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created the alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled this alert configuration
            for the specified project.
          default: false
        eventTypeName:
          "$ref": "#/components/schemas/ClusterEventTypeViewForNdsGroupAlertable"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert
            configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        matchers:
          type: array
          description: List of rules that determine whether MongoDB Cloud checks an
            object for the alert configuration. You can filter using the matchers
            array if the `eventTypeName` specifies an event for a host, replica set,
            or sharded cluster.
          items:
            "$ref": "#/components/schemas/ClusterMatcher"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        notifications:
          maxItems: 25
          minItems: 1
          type: array
          description: List that contains the targets that MongoDB Cloud sends notifications.
          items:
            "$ref": "#/components/schemas/AlertsNotificationRootForGroup"
        severityOverride:
          "$ref": "#/components/schemas/EventSeverity"
        updated:
          type: string
          description: Date and time when someone last updated this alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Cluster alert configuration allows to select which conditions of
        mongod cluster which trigger alerts and how users are notified.
    ClusterAlertViewForNdsGroup:
      title: Cluster Alerts
      required:
      - alertConfigId
      - created
      - eventTypeName
      - id
      - status
      - updated
      type: object
      properties:
        acknowledgedUntil:
          type: string
          description: |-
            Date and time until which this alert has been acknowledged. This parameter expresses its value in the ISO 8601 timestamp format in UTC. The resource returns this parameter if a MongoDB User previously acknowledged this alert.

            - To acknowledge this alert forever, set the parameter value to 100 years in the future.

            - To unacknowledge a previously acknowledged alert, do not set this parameter value.
          format: date-time
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        acknowledgementComment:
          maxLength: 200
          type: string
          description: Comment that a MongoDB Cloud user submitted when acknowledging
            the alert.
          example: Expiration on 3/19.  Silencing for 7days.
        acknowledgingUsername:
          type: string
          description: MongoDB Cloud username of the person who acknowledged the alert.
            The response returns this parameter if a MongoDB Cloud user previously
            acknowledged this alert.
          format: email
          readOnly: true
        alertConfigId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the alert
            configuration that sets this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        clusterName:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the cluster to which this
            alert applies. This resource returns this parameter for alerts of events
            impacting backups, replica sets, or sharded clusters.
          readOnly: true
          example: cluster1
        created:
          type: string
          description: Date and time when MongoDB Cloud created this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/ClusterEventTypeViewForNdsGroupAlertable"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        lastNotified:
          type: string
          description: Date and time that any notifications were last sent for this
            alert. This parameter expresses its value in the ISO 8601 timestamp format
            in UTC. The resource returns this parameter if MongoDB Cloud has sent
            notifications for this alert.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            organization that owns the project to which this alert applies.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        resolved:
          type: string
          description: 'Date and time that this alert changed to `"status" : "CLOSED"`.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC. The resource returns this parameter once `"status" : "CLOSED"`.'
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        status:
          type: string
          description: State of this alert at the time you requested its details.
            TRACKING indicates the alert condition exists but has not persisted for
            the minimum notification delay. OPEN indicates the alert condition currently
            exists. CLOSED indicates the alert condition has been resolved.
          readOnly: true
          example: OPEN
          enum:
          - CANCELLED
          - CLOSED
          - OPEN
          - TRACKING
        updated:
          type: string
          description: Date and time when someone last updated this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Cluster alert notifies different activities and conditions about
        cluster of mongod hosts.
    ClusterAutoScalingSettings:
      title: Automatic Cluster Scaling Settings
      type: object
      properties:
        compute:
          "$ref": "#/components/schemas/ClusterComputeAutoScaling"
        diskGBEnabled:
          type: boolean
          description: Flag that indicates whether someone enabled disk auto-scaling
            for this cluster.
          default: false
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
      description: Range of instance sizes to which your cluster can scale.
      externalDocs:
        description: Cluster Auto-Scaling
        url: https://docs.atlas.mongodb.com/cluster-autoscaling/
    ClusterCloudProviderInstanceSize:
      type: object
      properties:
        availableRegions:
          type: array
          description: List of regions that this cloud provider supports for this
            instance size.
          readOnly: true
          items:
            "$ref": "#/components/schemas/AvailableCloudProviderRegion"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        name:
          type: string
          description: Human-readable label that identifies the instance size or cluster
            tier.
          readOnly: true
    ClusterComputeAutoScaling:
      type: object
      properties:
        enabled:
          type: boolean
          description: |-
            Flag that indicates whether instance size reactive auto-scaling is enabled.

            - Set to `true` to enable instance size reactive auto-scaling. If enabled, you must specify a value for `providerSettings.autoScaling.compute.maxInstanceSize`.
            - Set to `false` to disable instance size reactive auto-scaling.
          default: false
        scaleDownEnabled:
          type: boolean
          description: Flag that indicates whether the cluster tier can scale down
            via reactive auto-scaling. This is required if `autoScaling.compute.enabled`
            is `true`. If you enable this option, specify a value for `providerSettings.autoScaling.compute.minInstanceSize`.
          default: false
      description: Collection of settings that configures how a cluster might scale
        its cluster tier and whether the cluster can scale down. Cluster tier auto-scaling
        is unavailable for clusters using Low CPU or NVME storage classes.
    ClusterConnectionStrings:
      title: Cluster Connection Strings
      type: object
      properties:
        awsPrivateLink:
          type: object
          additionalProperties:
            type: string
            description: Private endpoint-aware connection strings that use AWS-hosted
              clusters with Amazon Web Services (AWS) PrivateLink. Each key identifies
              an Amazon Web Services (AWS) interface endpoint. Each value identifies
              the related `mongodb://` connection string that you use to connect to
              MongoDB Cloud through the interface endpoint that the key names.
            readOnly: true
            externalDocs:
              description: Network Peering Connection
              url: https://docs.atlas.mongodb.com/security-vpc-peering/#std-label-vpc-peering/
          description: Private endpoint-aware connection strings that use AWS-hosted
            clusters with Amazon Web Services (AWS) PrivateLink. Each key identifies
            an Amazon Web Services (AWS) interface endpoint. Each value identifies
            the related `mongodb://` connection string that you use to connect to
            MongoDB Cloud through the interface endpoint that the key names.
          readOnly: true
          externalDocs:
            description: Network Peering Connection
            url: https://docs.atlas.mongodb.com/security-vpc-peering/#std-label-vpc-peering/
        awsPrivateLinkSrv:
          type: object
          additionalProperties:
            type: string
            description: Private endpoint-aware connection strings that use AWS-hosted
              clusters with Amazon Web Services (AWS) PrivateLink. Each key identifies
              an Amazon Web Services (AWS) interface endpoint. Each value identifies
              the related `mongodb://` connection string that you use to connect to
              Atlas through the interface endpoint that the key names. If the cluster
              uses an optimized connection string, `awsPrivateLinkSrv` contains the
              optimized connection string. If the cluster has the non-optimized (legacy)
              connection string, `awsPrivateLinkSrv` contains the non-optimized connection
              string even if an optimized connection string is also present.
            readOnly: true
            externalDocs:
              description: Network Peering Connection
              url: https://docs.atlas.mongodb.com/security-vpc-peering/#std-label-vpc-peering/
          description: Private endpoint-aware connection strings that use AWS-hosted
            clusters with Amazon Web Services (AWS) PrivateLink. Each key identifies
            an Amazon Web Services (AWS) interface endpoint. Each value identifies
            the related `mongodb://` connection string that you use to connect to
            Atlas through the interface endpoint that the key names. If the cluster
            uses an optimized connection string, `awsPrivateLinkSrv` contains the
            optimized connection string. If the cluster has the non-optimized (legacy)
            connection string, `awsPrivateLinkSrv` contains the non-optimized connection
            string even if an optimized connection string is also present.
          readOnly: true
          externalDocs:
            description: Network Peering Connection
            url: https://docs.atlas.mongodb.com/security-vpc-peering/#std-label-vpc-peering/
        private:
          type: string
          description: Network peering connection strings for each interface Virtual
            Private Cloud (VPC) endpoint that you configured to connect to this cluster.
            This connection string uses the `mongodb+srv://` protocol. The resource
            returns this parameter once someone creates a network peering connection
            to this cluster. This protocol tells the application to look up the host
            seed list in the Domain Name System (DNS). This list synchronizes with
            the nodes in a cluster. If the connection string uses this Uniform Resource
            Identifier (URI) format, you don't need to append the seed list or change
            the URI if the nodes change. Use this URI format if your driver supports
            it. If it doesn't, use `connectionStrings.private`. For Amazon Web Services
            (AWS) clusters, this resource returns this parameter only if you enable
            custom DNS.
          readOnly: true
          externalDocs:
            description: Network Peering Connection
            url: https://docs.atlas.mongodb.com/security-vpc-peering/#std-label-vpc-peering/
        privateEndpoint:
          type: array
          description: List of private endpoint-aware connection strings that you
            can use to connect to this cluster through a private endpoint. This parameter
            returns only if you deployed a private endpoint to all regions to which
            you deployed this clusters' nodes.
          readOnly: true
          items:
            "$ref": "#/components/schemas/ClusterDescriptionConnectionStringsPrivateEndpoint"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        privateSrv:
          type: string
          description: Network peering connection strings for each interface Virtual
            Private Cloud (VPC) endpoint that you configured to connect to this cluster.
            This connection string uses the `mongodb+srv://` protocol. The resource
            returns this parameter when someone creates a network peering connection
            to this cluster. This protocol tells the application to look up the host
            seed list in the Domain Name System (DNS). This list synchronizes with
            the nodes in a cluster. If the connection string uses this Uniform Resource
            Identifier (URI) format, you don't need to append the seed list or change
            the Uniform Resource Identifier (URI) if the nodes change. Use this Uniform
            Resource Identifier (URI) format if your driver supports it. If it doesn't,
            use `connectionStrings.private`. For Amazon Web Services (AWS) clusters,
            this parameter returns only if you [enable custom DNS](https://docs.atlas.mongodb.com/reference/api/aws-custom-dns-update/).
          readOnly: true
          externalDocs:
            description: Network Peering Connection
            url: https://docs.atlas.mongodb.com/security-vpc-peering/#std-label-vpc-peering/
          x-xgen-IPA-exception:
            xgen-IPA-117-description-should-not-use-inline-links: Description has
              multiple links, and externalDocs only supports one.
        standard:
          type: string
          description: Public connection string that you can use to connect to this
            cluster. This connection string uses the `mongodb://` protocol.
          readOnly: true
          externalDocs:
            description: Connection String URI Format
            url: https://docs.mongodb.com/manual/reference/connection-string/
        standardSrv:
          type: string
          description: Public connection string that you can use to connect to this
            cluster. This connection string uses the `mongodb+srv://` protocol.
          readOnly: true
          externalDocs:
            description: Connection String URI Format
            url: https://docs.mongodb.com/manual/reference/connection-string/
      description: Collection of Uniform Resource Locators that point to the MongoDB
        database.
      readOnly: true
      externalDocs:
        description: Connection string URI format.
        url: https://docs.mongodb.com/manual/reference/connection-string/
    ClusterDescriptionConnectionStringsPrivateEndpoint:
      title: Cluster Private Endpoint Connection String
      type: object
      properties:
        connectionString:
          type: string
          description: Private endpoint-aware connection string that uses the `mongodb://`
            protocol to connect to MongoDB Cloud through a private endpoint.
          readOnly: true
        endpoints:
          type: array
          description: List that contains the private endpoints through which you
            connect to MongoDB Cloud when you use `connectionStrings.privateEndpoint[n].connectionString`
            or `connectionStrings.privateEndpoint[n].srvConnectionString`.
          readOnly: true
          items:
            "$ref": "#/components/schemas/ClusterDescriptionConnectionStringsPrivateEndpointEndpoint"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        srvConnectionString:
          type: string
          description: Private endpoint-aware connection string that uses the `mongodb+srv://`
            protocol to connect to MongoDB Cloud through a private endpoint. The `mongodb+srv`
            protocol tells the driver to look up the seed list of hosts in the Domain
            Name System (DNS). This list synchronizes with the nodes in a cluster.
            If the connection string uses this Uniform Resource Identifier (URI) format,
            you don't need to append the seed list or change the Uniform Resource
            Identifier (URI) if the nodes change. Use this Uniform Resource Identifier
            (URI) format if your application supports it. If it doesn't, use `connectionStrings.privateEndpoint[n].connectionString`.
          readOnly: true
        srvShardOptimizedConnectionString:
          type: string
          description: Private endpoint-aware connection string optimized for sharded
            clusters that uses the `mongodb+srv://` protocol to connect to MongoDB
            Cloud through a private endpoint. If the connection string uses this Uniform
            Resource Identifier (URI) format, you don't need to change the Uniform
            Resource Identifier (URI) if the nodes change. Use this Uniform Resource
            Identifier (URI) format if your application and Atlas cluster supports
            it. If it doesn't, use and consult the documentation for `connectionStrings.privateEndpoint[n].srvConnectionString`.
          readOnly: true
        type:
          type: string
          description: MongoDB process type to which your application connects. Use
            `MONGOD` for replica sets and `MONGOS` for sharded clusters.
          readOnly: true
          enum:
          - MONGOD
          - MONGOS
      description: Private endpoint-aware connection string that you can use to connect
        to this cluster through a private endpoint.
      externalDocs:
        description: Private Endpoint for Dedicated Cluster
        url: https://docs.atlas.mongodb.com/security-private-endpoint/
    ClusterDescriptionConnectionStringsPrivateEndpointEndpoint:
      title: Cluster Private Endpoint Connection Strings Endpoint
      type: object
      properties:
        endpointId:
          type: string
          description: Unique string that the cloud provider uses to identify the
            private endpoint.
          readOnly: true
        providerName:
          type: string
          description: Cloud provider in which MongoDB Cloud deploys the private endpoint.
          readOnly: true
          enum:
          - AWS
          - AZURE
          - GCP
        region:
          type: string
          description: Region where the private endpoint is deployed.
          readOnly: true
      description: Details of a private endpoint deployed for this cluster.
    ClusterDescriptionProcessArgs:
      type: object
      properties:
        changeStreamOptionsPreAndPostImagesExpireAfterSeconds:
          type: integer
          description: The minimum pre- and post-image retention time in seconds.
          format: int32
          externalDocs:
            description: 'This option corresponds to the ``changeStreamOptions.preAndPostImages.expireAfterSeconds``
              cluster parameter. This setting controls the retention policy of change
              stream pre- and post-images. Pre- and post-images are the versions of
              a document before and after document modification, respectively. ``expireAfterSeconds``
              controls how long MongoDB retains pre- and post-images. When set to
              -1 (off), MongoDB uses the default retention policy: pre- and post-images
              are retained until the corresponding change stream events are removed
              from the oplog. To set the minimum pre- and post-image retention time,
              specify an integer value greater than zero. Setting this too low could
              increase the risk of interrupting Realm sync or triggers processing.
              The default value is -1 (off).'
            url: https://www.mongodb.com/docs/upcoming/reference/cluster-parameters/changeStreamOptions/#mongodb-parameter-param.changeStreamOptions.preAndPostImages.expireAfterSeconds
          default: -1
        chunkMigrationConcurrency:
          type: integer
          description: Number of threads on the source shard and the receiving shard
            for chunk migration. The number of threads should not exceed the half
            the total number of CPU cores in the sharded cluster.
          format: int32
          externalDocs:
            description: This option corresponds to the `chunkMigrationConcurrency`
              `mongod` configuration file option.
            url: https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.chunkMigrationConcurrency
        customOpensslCipherConfigTls12:
          type: array
          description: The custom OpenSSL cipher suite list for TLS 1.2. This field
            is only valid when `tlsCipherConfigMode` is set to `CUSTOM`.
          externalDocs:
            description: This option corresponds to the `opensslCipherConfig` `mongod`
              configuration file option.
            url: https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.opensslCipherConfig
          items:
            type: string
            enum:
            - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
            - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        customOpensslCipherConfigTls13:
          maxItems: 4
          type: array
          description: The custom OpenSSL cipher suite list for TLS 1.3. This field
            is only valid when `tlsCipherConfigMode` is set to `CUSTOM`.
          externalDocs:
            description: This option corresponds to the `opensslCipherSuiteConfig`
              `mongod` configuration file option.
            url: https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.opensslCipherSuiteConfig
          items:
            type: string
            enum:
            - TLS_AES_256_GCM_SHA384
            - TLS_CHACHA20_POLY1305_SHA256
            - TLS_AES_128_GCM_SHA256
            - TLS_AES_128_CCM_SHA256
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Field is not camel case due to
              TLS number. Keeping number to preserve consistency with existing field
              customOpensslCipherConfigTls12.
        defaultMaxTimeMS:
          type: integer
          description: Default time limit in milliseconds for individual read operations
            to complete.
          format: int32
          externalDocs:
            description: This option corresponds to the `defaultMaxTimeMS` cluster
              parameter.
            url: https://www.mongodb.com/docs/upcoming/reference/cluster-parameters/defaultMaxTimeMS/
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        defaultReadConcern:
          type: string
          description: |-
            Default level of acknowledgment requested from MongoDB for read operations set for this cluster.

            MongoDB 4.4 clusters default to `available`. MongoDB 5.0 and later clusters default to `local`.
          externalDocs:
            description: This option corresponds to the global default read concern.
            url: https://docs.mongodb.com/manual/reference/read-concern/
          enum:
          - local
          - available
          default: available
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        defaultWriteConcern:
          type: string
          description: Default level of acknowledgment requested from MongoDB for
            write operations when none is specified by the driver.
          externalDocs:
            description: This option corresponds to the the implicit default write
              concern.
            url: https://docs.mongodb.com/manual/reference/write-concern/
        failIndexKeyTooLong:
          type: boolean
          description: Flag that indicates whether you can insert or update documents
            where all indexed entries don't exceed 1024 bytes. If you set this to
            false, [mongod](https://docs.mongodb.com/upcoming/reference/program/mongod/#mongodb-binary-bin.mongod)
            writes documents that exceed this limit but doesn't index them. This parameter
            has been removed as of [MongoDB 4.4](https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.failIndexKeyTooLong).
          externalDocs:
            description: This option corresponds to the `failIndexKeyTooLong` `mongod`
              configuration file option.
            url: https://docs.mongodb.com/upcoming/reference/parameters/#mongodb-parameter-param.failIndexKeyTooLong
          deprecated: true
          default: true
          x-xgen-IPA-exception:
            xgen-IPA-117-description-should-not-use-inline-links: Description has
              multiple links, and externalDocs only supports one.
        javascriptEnabled:
          type: boolean
          description: Flag that indicates whether the cluster allows execution of
            operations that perform server-side executions of JavaScript. When using
            8.0+, we recommend disabling server-side JavaScript and using operators
            of aggregation pipeline as more performant alternative.
          externalDocs:
            description: This option corresponds to modifying the `security.javascriptEnabled`
              configuration file option for each `mongod` and `mongos` in the cluster.
            url: https://docs.mongodb.com/upcoming/reference/configuration-options/#mongodb-setting-security.javascriptEnabled
        minimumEnabledTlsProtocol:
          type: string
          description: Minimum Transport Layer Security (TLS) version that the cluster
            accepts for incoming connections. Clusters using TLS 1.0 or 1.1 should
            consider setting TLS 1.2 as the minimum TLS protocol version.
          externalDocs:
            description: This option corresponds to the `net.ssl.disabledProtocols`
              `mongod` configuration file option.
            url: https://docs.mongodb.com/upcoming/reference/configuration-options/#mongodb-setting-net.ssl.disabledProtocols
          enum:
          - TLS1_0
          - TLS1_1
          - TLS1_2
          - TLS1_3
        noTableScan:
          type: boolean
          description: Flag that indicates whether the cluster disables executing
            any query that requires a collection scan to return results.
          externalDocs:
            description: This option corresponds to the `notablescan` `mongod` configuration
              file option.
            url: https://docs.mongodb.com/upcoming/reference/parameters/#mongodb-parameter-param.notablescan
        oplogMinRetentionHours:
          type: number
          description: Minimum retention window for cluster's oplog expressed in hours.
            A value of null indicates that the cluster uses the default minimum oplog
            window that MongoDB Cloud calculates.
          format: double
          nullable: true
          externalDocs:
            description: This option corresponds to the `storage.oplogMinRetentionHours`
              `mongod` configuration file option.
            url: https://docs.mongodb.com/upcoming/reference/configuration-options/#mongodb-setting-storage.oplogMinRetentionHours
        oplogSizeMB:
          type: integer
          description: Storage limit of cluster's oplog expressed in megabytes. A
            value of null indicates that the cluster uses the default oplog size that
            MongoDB Cloud calculates.
          format: int32
          nullable: true
          externalDocs:
            description: This option corresponds to the `replication.oplogSizeMB`
              `mongod` configuration file option.
            url: https://docs.mongodb.com/upcoming/reference/configuration-options/#mongodb-setting-replication.oplogSizeMB
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        queryStatsLogVerbosity:
          type: integer
          description: May be set to 1 (disabled) or 3 (enabled). When set to 3, Atlas
            will include redacted and anonymized `$queryStats` output in MongoDB logs.
            `$queryStats` output does not contain literals or field values. Enabling
            this setting might impact the performance of your cluster.
          format: int32
          externalDocs:
            description: This option corresponds to the `queryStats` component for
              the `logComponentVerbosity` server parameter.
            url: https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.logComponentVerbosity
        sampleRefreshIntervalBIConnector:
          minimum: 0
          type: integer
          description: Interval in seconds at which the mongosqld process re-samples
            data to create its relational schema.
          format: int32
          externalDocs:
            description: This option corresponds to the `sampleRefreshIntervalSecs`
              `mongosqld` option.
            url: https://docs.mongodb.com/bi-connector/current/reference/mongosqld/#std-option-mongosqld.--schemaRefreshIntervalSecs
          default: 0
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        sampleSizeBIConnector:
          minimum: 0
          type: integer
          description: Number of documents per database to sample when gathering schema
            information.
          format: int32
          externalDocs:
            description: This option corresponds to the `sampleSize` `mongosqld` option.
            url: https://docs.mongodb.com/bi-connector/current/reference/mongosqld/#std-option-mongosqld.--sampleSize
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        tlsCipherConfigMode:
          type: string
          description: The TLS cipher suite configuration mode. The default mode uses
            the default cipher suites. The custom mode allows you to specify custom
            cipher suites for both TLS 1.2 and TLS 1.3.
          enum:
          - CUSTOM
          - DEFAULT
        transactionLifetimeLimitSeconds:
          minimum: 1
          type: integer
          description: Lifetime, in seconds, of multi-document transactions. Atlas
            considers the transactions that exceed this limit as expired and so aborts
            them through a periodic clean-up process.
          format: int64
          externalDocs:
            description: This option corresponds to the `transactionLifetimeLimitSeconds`
              `mongod` configuration file option.
            url: https://www.mongodb.com/docs/upcoming/reference/parameters/#mongodb-parameter-param.transactionLifetimeLimitSeconds
    ClusterEventTypeViewForNdsGroup:
      title: Cluster Event Types
      type: string
      description: Unique identifier of event type.
      example: CLUSTER_MONGOS_IS_PRESENT
      enum:
      - CLUSTER_MONGOS_IS_PRESENT
      - CLUSTER_MONGOS_IS_MISSING
    ClusterEventTypeViewForNdsGroupAlertable:
      title: Cluster Event Types
      type: string
      description: Event type that triggers an alert.
      example: CLUSTER_MONGOS_IS_MISSING
      externalDocs:
        description: Atlas Alert Event Types
        url: https://www.mongodb.com/docs/atlas/reference/atlas-alert-event-types/
      enum:
      - CLUSTER_MONGOS_IS_MISSING
    ClusterEventViewForNdsGroup:
      title: Cluster Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/ClusterEventTypeViewForNdsGroup"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        raw:
          "$ref": "#/components/schemas/raw"
        shardName:
          type: string
          description: Human-readable label of the shard associated with the event.
          readOnly: true
          example: event-sh-01
      description: Cluster event identifies different activities about cluster of
        mongod hosts.
    ClusterFlexProviderSettings:
      type: object
      allOf:
      - "$ref": "#/components/schemas/ClusterProviderSettings"
      - type: object
        properties:
          backingProviderName:
            type: string
            description: Cloud service provider on which MongoDB Cloud provisioned
              the multi-tenant host. The resource returns this parameter when `providerSettings.providerName`
              is `FLEX` and `providerSetting.instanceSizeName` is `FLEX`.
            enum:
            - AWS
            - GCP
            - AZURE
          instanceSizeName:
            title: Flex Instance Sizes
            type: string
            description: Cluster tier, with a default storage and memory capacity,
              that applies to all the data-bearing hosts in your cluster. You must
              set `providerSettings.providerName` to `FLEX` and specify the cloud
              service provider in `providerSettings.backingProviderName`.
            enum:
            - FLEX
          regionName:
            type: string
            description: Human-readable label that identifies the geographic location
              of your MongoDB cluster. The region you choose can affect network latency
              for clients accessing your databases. For a complete list of region
              names, see [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/#std-label-amazon-aws),
              [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), and [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
            x-xgen-IPA-exception:
              xgen-IPA-117-description-should-not-use-inline-links: Description has
                multiple links, and externalDocs only supports one.
    ClusterFreeAutoScaling:
      type: object
      properties:
        compute:
          "$ref": "#/components/schemas/FreeComputeAutoScalingRules"
      description: Range of instance sizes to which your cluster can scale.
    ClusterFreeProviderSettings:
      type: object
      allOf:
      - "$ref": "#/components/schemas/ClusterProviderSettings"
      - type: object
        properties:
          autoScaling:
            "$ref": "#/components/schemas/ClusterFreeAutoScaling"
          backingProviderName:
            type: string
            description: "Cloud service provider on which MongoDB Cloud provisioned
              the multi-tenant host. The resource returns this parameter when `providerSettings.providerName`
              is `TENANT` and `providerSetting.instanceSizeName` is `M0`, `M2` or
              `M5`. \n\nPlease note that using an `instanceSize` of M2 or M5 will
              create a Flex cluster instead. Support for the `instanceSize` of M2
              or M5 will be discontinued in January 2026. We recommend using the Create
              Flex Cluster API for such configurations moving forward."
            externalDocs:
              description: Create Flex Cluster API
              url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/createFlexCluster
            enum:
            - AWS
            - GCP
            - AZURE
          effectiveInstanceSizeName:
            type: string
            description: The true tenant instance size. This is present to support
              backwards compatibility for deprecated provider types and/or instance
              sizes.
            readOnly: true
            enum:
            - FLEX
            - M2
            - M5
            - M0
          instanceSizeName:
            title: Tenant Instance Sizes
            type: string
            description: Cluster tier, with a default storage and memory capacity,
              that applies to all the data-bearing hosts in your cluster. You must
              set `providerSettings.providerName` to `TENANT` and specify the cloud
              service provider in `providerSettings.backingProviderName`.
            enum:
            - M0
            - M2
            - M5
          regionName:
            type: string
            description: Human-readable label that identifies the geographic location
              of your MongoDB cluster. The region you choose can affect network latency
              for clients accessing your databases. For a complete list of region
              names, see [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/#std-label-amazon-aws),
              [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), and [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
              For multi-region clusters, see `replicationSpec.{region}`.
            x-xgen-IPA-exception:
              xgen-IPA-117-description-should-not-use-inline-links: Description has
                multiple links, and externalDocs only supports one.
    ClusterMatcher:
      title: Matchers
      required:
      - fieldName
      - operator
      - value
      type: object
      properties:
        fieldName:
          "$ref": "#/components/schemas/ClusterMatcherField"
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value against **matcher[n].value**. The `REGEX` operator only supports
            inclusive matches. Use the `NOT_CONTAINS` operator to exclude values.
          enum:
          - EQUALS
          - CONTAINS
          - STARTS_WITH
          - ENDS_WITH
          - NOT_EQUALS
          - NOT_CONTAINS
          - REGEX
        value:
          type: string
          description: Value to match or exceed using the specified `matchers.operator`.
          example: event-replica-set
      description: Rules to apply when comparing an cluster against this alert configuration.
    ClusterMatcherField:
      title: Cluster Matcher Fields
      type: string
      description: Name of the parameter in the target object that MongoDB Cloud checks.
        The parameter must match all rules for MongoDB Cloud to check for alert configurations.
      example: CLUSTER_NAME
      enum:
      - CLUSTER_NAME
    ClusterOutageSimulation:
      type: object
      properties:
        clusterName:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the cluster that undergoes
            outage simulation.
          readOnly: true
        expirationDate:
          type: string
          description: Date and time when MongoDB Cloud expires the outage simulation.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC. If not provided, defaults to 3 days from the start date.
          format: date-time
          readOnly: true
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            project that contains the cluster to undergo outage simulation.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            outage simulation.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        outageFilters:
          minItems: 1
          type: array
          description: List of settings that specify the type of cluster outage simulation.
          items:
            "$ref": "#/components/schemas/AtlasClusterOutageSimulationOutageFilter"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        startRequestDate:
          type: string
          description: Date and time when MongoDB Cloud started the regional outage
            simulation. This parameter expresses its value in the ISO 8601 timestamp
            format in UTC.
          format: date-time
          readOnly: true
        state:
          type: string
          description: |-
            Phase of the outage simulation.

            | State       | Indication |
            |-------------|------------|
            | `START_REQUESTED`    | User has requested cluster outage simulation.|
            | `STARTING`           | MongoDB Cloud is starting cluster outage simulation.|
            | `SIMULATING`         | MongoDB Cloud is simulating cluster outage.|
            | `RECOVERY_REQUESTED` | User has requested recovery from the simulated outage.|
            | `RECOVERING`         | MongoDB Cloud is recovering the cluster from the simulated outage.|
            | `COMPLETE`           | MongoDB Cloud has completed the cluster outage simulation.|
          readOnly: true
          enum:
          - START_REQUESTED
          - STARTING
          - SIMULATING
          - RECOVERY_REQUESTED
          - RECOVERING
          - COMPLETE
          x-xgen-IPA-exception:
            xgen-IPA-117-description-should-not-use-inline-tables: Description predates
              IPA validation.
    ClusterProviderSettings:
      title: Cloud Service Provider Settings for a Cluster
      required:
      - providerName
      type: object
      properties:
        providerName:
          type: string
      description: Group of cloud provider settings that configure the provisioned
        MongoDB hosts.
      discriminator:
        propertyName: providerName
        mapping:
          AWS: "#/components/schemas/AWSCloudProviderSettings"
          AZURE: "#/components/schemas/AzureCloudProviderSettings"
          FLEX: "#/components/schemas/ClusterFlexProviderSettings"
          GCP: "#/components/schemas/CloudGCPProviderSettings"
          TENANT: "#/components/schemas/ClusterFreeProviderSettings"
      oneOf:
      - "$ref": "#/components/schemas/AWSCloudProviderSettings"
      - "$ref": "#/components/schemas/AzureCloudProviderSettings"
      - "$ref": "#/components/schemas/CloudGCPProviderSettings"
      - "$ref": "#/components/schemas/ClusterFreeProviderSettings"
      - "$ref": "#/components/schemas/ClusterFlexProviderSettings"
    ClusterSearchIndex:
      required:
      - collectionName
      - database
      - name
      type: object
      properties:
        collectionName:
          type: string
          description: Human-readable label that identifies the collection that contains
            one or more Atlas Search indexes.
        database:
          type: string
          description: Human-readable label that identifies the database that contains
            the collection with one or more Atlas Search indexes.
        indexID:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this Atlas
            Search index.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        name:
          type: string
          description: Human-readable label that identifies this index. Within each
            namespace, names of all indexes in the namespace must be unique.
        numPartitions:
          type: integer
          description: Number of index partitions. Allowed values are [1, 2, 4].
          format: int32
          default: 1
        status:
          type: string
          description: |-
            Condition of the search index when you made this request.

            - `IN_PROGRESS`: Atlas is building or re-building the index after an edit.
            - `STEADY`: You can use this search index.
            - `FAILED`: Atlas could not build the index.
            - `MIGRATING`: Atlas is upgrading the underlying cluster tier and migrating indexes.
            - `PAUSED`: The cluster is paused.
          readOnly: true
          enum:
          - IN_PROGRESS
          - STEADY
          - FAILED
          - MIGRATING
          - STALE
          - PAUSED
        storedSource:
          type: object
          description: Flag that indicates whether to store all fields (true) on Atlas
            Search. By default, Atlas doesn't store (false) the fields on Atlas Search.  Alternatively,
            you can specify an object that only contains the list of fields to store
            (include) or not store (exclude) on Atlas Search. Note that storing all
            fields (true) is not allowed for vector search indexes. To learn more,
            see documentation.
          example:
            include | exclude:
            - field1
            - field2
          externalDocs:
            description: Stored Source Fields
            url: https://dochub.mongodb.org/core/atlas-search-stored-source
        type:
          type: string
          description: Type of the index. Default type is search.
          enum:
          - search
          - vectorSearch
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      discriminator:
        propertyName: type
        mapping:
          search: "#/components/schemas/SearchIndex"
          vectorSearch: "#/components/schemas/VectorSearchIndex"
      x-xgen-IPA-exception:
        xgen-IPA-125-discriminator-must-accompany-oneOf-anyOf-allOf: Schema predates
          IPA validation.
    ClusterServerlessBackupOptions:
      title: Serverless Backup Options
      type: object
      properties:
        serverlessContinuousBackupEnabled:
          type: boolean
          description: |-
            Flag that indicates whether the serverless instance uses **Serverless Continuous Backup**.
             If this parameter is `false`, the serverless instance uses **Basic Backup**.

             | Option | Description |
             |---|---|
             | Serverless Continuous Backup | Atlas takes incremental [snapshots](https://www.mongodb.com/docs/atlas/backup/cloud-backup/overview/#std-label-serverless-snapshots) of the data in your serverless instance every six hours and lets you restore the data from a selected point in time within the last 72 hours. Atlas also takes daily snapshots and retains these daily snapshots for 35 days. To learn more, see [Serverless Instance Costs](https://www.mongodb.com/docs/atlas/billing/serverless-instance-costs/#std-label-serverless-instance-costs). |
             | Basic Backup | Atlas takes incremental [snapshots](https://www.mongodb.com/docs/atlas/backup/cloud-backup/overview/#std-label-serverless-snapshots) of the data in your serverless instance every six hours and retains only the two most recent snapshots. You can use this option for free. |
          default: true
          x-xgen-IPA-exception:
            xgen-IPA-117-description-should-not-use-inline-links: Description has
              multiple links, and externalDocs only supports one.
            xgen-IPA-117-description-should-not-use-inline-tables: Description predates
              IPA validation.
      description: Group of settings that configure serverless backup.
    ClusterStatus:
      type: object
      properties:
        changeStatus:
          type: string
          description: State of cluster at the time of this request. Atlas returns
            **Applied** if it completed adding a user to, or removing a user from,
            your cluster. Atlas returns **Pending** if it's still making the requested
            user changes. When status is **Pending**, new users can't log in.
          enum:
          - PENDING
          - APPLIED
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
    Collation:
      required:
      - locale
      type: object
      properties:
        alternate:
          type: string
          description: Method to handle whitespace and punctuation as base characters
            for purposes of comparison. `"non-ignorable"` will evaluate Whitespace
            and Punctuation as Base Characters. `"shifted"` will not, MongoDB Cloud
            distinguishes these characters when `"strength" > 3`.
          enum:
          - non-ignorable
          - shifted
          default: non-ignorable
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        backwards:
          type: boolean
          description: Flag that indicates whether strings with diacritics sort from
            back of the string. Some French dictionary orders strings in this way.
            `true` will compare from back to front. `false` will compare from front
            to back.
          default: false
        caseFirst:
          type: string
          description: Method to handle sort order of case differences during tertiary
            level comparisons. `"upper"` sorts Uppercase before lowercase. `"lower"`
            sorts Lowercase before uppercase. `"off"` is similar to "lower" with slight
            differences.
          enum:
          - lower
          - 'off'
          - upper
          default: 'off'
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        caseLevel:
          type: boolean
          description: |-
            Flag that indicates whether to include case comparison when `"strength" : 1` or `"strength" : 2`.
            - `true` - Include casing in comparison
              - Strength Level: 1 - Base characters and case.
              - Strength Level: 2 - Base characters, diacritics (and possible other secondary differences),   and case.
            - `false` - Case is NOT included in comparison.
          default: false
        locale:
          type: string
          description: 'International Components for Unicode (ICU) code that represents
            a localized language. To specify simple binary comparison, set `"locale"
            : "simple"`.'
          enum:
          - af
          - sq
          - am
          - ar
          - hy
          - as
          - az
          - bn
          - be
          - bs
          - bs_Cyrl
          - bg
          - my
          - ca
          - chr
          - zh
          - zh_Hant
          - hr
          - cs
          - da
          - nl
          - dz
          - en
          - en_US
          - en_US_POSIX
          - eo
          - et
          - ee
          - fo
          - fil
          - fi_FI
          - fr
          - fr_CA
          - gl
          - ka
          - de
          - de_AT
          - el
          - gu
          - ha
          - haw
          - he
          - hi
          - hu
          - is
          - ig
          - smn
          - id
          - ga
          - it
          - ja
          - kl
          - kn
          - kk
          - km
          - kok
          - ko
          - ky
          - lk
          - lo
          - lv
          - li
          - lt
          - dsb
          - lb
          - mk
          - ms
          - ml
          - mt
          - mr
          - mn
          - ne
          - se
          - nb
          - nn
          - or
          - om
          - ps
          - fa
          - fa_AF
          - pl
          - pt
          - pa
          - ro
          - ru
          - sr
          - sr_Latn
          - si
          - sk
          - sl
          - es
          - sw
          - sv
          - ta
          - te
          - th
          - bo
          - to
          - tr
          - uk
          - hsb
          - ur
          - ug
          - vi
          - wae
          - cy
          - yi
          - yo
          - zu
          - simple
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
              IPA validation.
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        maxVariable:
          type: string
          description: 'Field that indicates which characters can be ignored when
            `"alternate" : "shifted"`.`"punct"` ignores both whitespace and punctuation.
            `"space"` ignores whitespace. This has no affect if `"alternate" : "non-ignorable"`.'
          enum:
          - punct
          - space
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        normalization:
          type: boolean
          description: |-
            Flag that indicates whether to check if the text requires normalization and then perform it. Most text doesn't require this normalization processing.

            `true` will check if fully normalized and perform normalization to compare text. `false` will not check.
          default: false
        numericOrdering:
          type: boolean
          description: Flag that indicates whether to compare sequences of digits
            as numbers or as strings. `true` will compare as numbers, this results
            in `10 > 2`. `false` will Compare as strings. This results in `"10" <
            "2"`.
          default: false
        strength:
          maximum: 5
          minimum: 1
          type: integer
          description: |-
            Degree of comparison to perform when sorting words.

            MongoDB Cloud accepts the following _numeric values_ that correspond to the _comparison level_ and what that _comparison method_ is.

            - `1` - "Primary" - Compares the base characters only, ignoring other differences such as diacritics and case.
            - `2` - "Secondary" - Compares base characters (primary) and diacritics (secondary). Primary differences take precedence over secondary differences.
            - `3` - "Tertiary" - Compares base characters (primary), diacritics (secondary), and case and variants (tertiary). Differences between base characters takes precedence over secondary differences which take precedence over tertiary differences.
            - `4` - "Quaternary" - Compares for the specific use case to consider punctuation when levels 1 through 3 ignore punctuation or for processing Japanese text.
            - `5` - "Identical" - Compares for the specific use case of tie breaker.
          format: int32
          default: 3
      description: One or more settings that specify language-specific rules to compare
        strings within this index.
      writeOnly: true
      externalDocs:
        description: Collation Options
        url: https://docs.mongodb.com/manual/reference/method/db.collection.createIndex/#options
    ComponentLabel:
      title: Component Label
      type: object
      properties:
        key:
          maxLength: 255
          minLength: 1
          type: string
          description: Key applied to tag and categorize this component.
        value:
          maxLength: 255
          minLength: 1
          type: string
          description: Value set to the Key applied to tag and categorize this component.
      description: Human-readable labels applied to this MongoDB Cloud component.
    ComputedMemoryDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    ConnectedOrgConfig:
      required:
      - domainRestrictionEnabled
      - orgId
      type: object
      properties:
        dataAccessIdentityProviderIds:
          uniqueItems: true
          type: array
          description: The collection of unique ids representing the identity providers
            that can be used for data access in this organization.
          items:
            type: string
            description: Unique 24-hexadecimal digit string that represents the id
              of the identity providers that can be used for data access in this organization.
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        domainAllowList:
          uniqueItems: true
          type: array
          description: Approved domains that restrict users who can join the organization
            based on their email address.
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        domainRestrictionEnabled:
          type: boolean
          description: Value that indicates whether domain restriction is enabled
            for this connected organization.
        identityProviderId:
          pattern: "^([a-f0-9]{20})$"
          type: string
          description: Legacy 20-hexadecimal digit string that identifies the UI access
            identity provider that this connected organization configuration is associated
            with. This id can be found within the Federation Management Console >
            Identity Providers tab by clicking the info icon in the IdP ID row of
            a configured identity provider.
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the connected
            organization configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        postAuthRoleGrants:
          uniqueItems: true
          type: array
          description: Atlas roles that are granted to a user in this organization
            after authenticating. Roles are a human-readable label that identifies
            the collection of privileges that MongoDB Cloud grants a specific MongoDB
            Cloud user. These roles can only be organization specific roles.
          items:
            type: string
            enum:
            - ORG_OWNER
            - ORG_MEMBER
            - ORG_GROUP_CREATOR
            - ORG_BILLING_ADMIN
            - ORG_BILLING_READ_ONLY
            - ORG_STREAM_PROCESSING_ADMIN
            - ORG_READ_ONLY
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        roleMappings:
          uniqueItems: true
          type: array
          description: Role mappings that are configured in this organization.
          items:
            "$ref": "#/components/schemas/AuthFederationRoleMapping"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        userConflicts:
          type: array
          description: List that contains the users who have an email address that
            doesn't match any domain on the allowed list.
          items:
            "$ref": "#/components/schemas/FederatedUser"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    ConnectedOrgConfigRoleAssignment:
      type: object
      properties:
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            to which this role belongs. Each element within `roleAssignments` can
            have a value for `groupId` or `orgId`, but not both.
          example: 32b6e34b3d91647abb20e7b8
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which this role belongs. Each element within `roleAssignments` can
            have a value for `orgId` or `groupId`, but not both.
          example: 32b6e34b3d91647abb20e7b8
        role:
          type: string
          description: Human-readable label that identifies the collection of privileges
            that MongoDB Cloud grants a specific API key, MongoDB Cloud user, or MongoDB
            Cloud team. These roles include organization- and project-level roles.
          externalDocs:
            description: MongoDB Atlas User Roles
            url: https://www.mongodb.com/docs/atlas/reference/user-roles/
    ConnectionsMaxRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    ConnectionsPercentRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    ConnectionsRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    CpsBackupEventTypeViewForNdsGroupAlertableWithThreshold:
      title: Cps Backup Event Type
      type: string
      description: Event type that triggers an alert.
      example: CPS_SNAPSHOT_BEHIND
      externalDocs:
        description: Atlas Alert Event Types
        url: https://www.mongodb.com/docs/atlas/reference/atlas-alert-event-types/
      enum:
      - CPS_SNAPSHOT_BEHIND
      - CPS_PREV_SNAPSHOT_OLD
      - CPS_OPLOG_BEHIND
    CpsBackupThresholdAlertConfigViewForNdsGroup:
      title: Cps Backup Threshold Alert Configuration
      required:
      - eventTypeName
      - notifications
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created the alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled this alert configuration
            for the specified project.
          default: false
        eventTypeName:
          "$ref": "#/components/schemas/CpsBackupEventTypeViewForNdsGroupAlertableWithThreshold"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert
            configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        matchers:
          type: array
          description: Matching conditions for target resources.
          items:
            "$ref": "#/components/schemas/AlertMatcher"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        notifications:
          maxItems: 25
          minItems: 1
          type: array
          description: List that contains the targets that MongoDB Cloud sends notifications.
          items:
            "$ref": "#/components/schemas/AlertsNotificationRootForGroup"
        severityOverride:
          "$ref": "#/components/schemas/EventSeverity"
        threshold:
          "$ref": "#/components/schemas/GreaterThanTimeThreshold"
        updated:
          type: string
          description: Date and time when someone last updated this alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Cps Backup threshold alert configuration allows to select thresholds
        for conditions of CPS backup or oplogs anomalies which trigger alerts and
        how users are notified.
    CreateAWSEndpointRequest:
      title: AWS
      required:
      - id
      type: object
      description: Group of Private Endpoint settings.
      allOf:
      - "$ref": "#/components/schemas/CreateEndpointRequest"
      - type: object
        properties:
          id:
            pattern: "^vpce-[0-9a-f]{17}$"
            type: string
            description: Unique string that identifies the private endpoint's network
              interface that someone added to this private endpoint service.
            writeOnly: true
            example: vpce-3bf78b0ddee411ba1
    CreateAtlasOrganizationApiKey:
      required:
      - desc
      - roles
      type: object
      properties:
        desc:
          maxLength: 250
          minLength: 1
          type: string
          description: Purpose or explanation provided when someone created this organization
            API key.
        roles:
          minItems: 1
          type: array
          description: List of roles to grant this API key. If you provide this list,
            provide a minimum of one role and ensure each role applies to this organization.
          items:
            type: string
            enum:
            - ORG_OWNER
            - ORG_MEMBER
            - ORG_GROUP_CREATOR
            - ORG_BILLING_ADMIN
            - ORG_BILLING_READ_ONLY
            - ORG_STREAM_PROCESSING_ADMIN
            - ORG_READ_ONLY
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
      description: Organization Service Account that Atlas creates for this organization.
        If omitted, Atlas doesn't create an organization Service Account for this
        organization. If specified, this object requires all body parameters. Note
        that API Keys cannot be specified in the same request.
    CreateAtlasProjectApiKey:
      required:
      - desc
      - roles
      type: object
      properties:
        desc:
          maxLength: 250
          minLength: 1
          type: string
          description: Purpose or explanation provided when someone created this project
            API key.
        roles:
          minItems: 1
          type: array
          description: List of roles to grant this API key. If you provide this list,
            provide a minimum of one role and ensure each role applies to this project.
          externalDocs:
            description: MongoDB Cloud API Key Roles
            url: https://www.mongodb.com/docs/atlas/reference/user-roles/
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    CreateAzureEndpointRequest:
      title: AZURE
      required:
      - id
      - privateEndpointIPAddress
      type: object
      description: Group of Private Endpoint settings.
      allOf:
      - "$ref": "#/components/schemas/CreateEndpointRequest"
      - type: object
        properties:
          id:
            type: string
            description: Unique string that identifies the private endpoint's network
              interface that someone added to this private endpoint service.
            writeOnly: true
            example: "/subscriptions/cba6d9c6-1d3f-3c11-03cb-c705d895e636/resourcegroups/qrRTqi4TSN)7yB5YLRjVDveH3.yLzpNR7Br0D3-SGrU3j0.0/providers/Microsoft.Network/privateEndpoints/pVP(vb(XeckpxtXzP0NaOsDjeWDbOK)DX8A2j2E_vBYL2.GEYIdln"
          privateEndpointIPAddress:
            pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
            type: string
            description: IPv4 address of the private endpoint in your Azure VNet that
              someone added to this private endpoint service.
            x-xgen-IPA-exception:
              xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
    CreateDataProcessRegionView:
      type: object
      properties:
        cloudProvider:
          type: string
          description: Human-readable label that identifies the Cloud service provider
            where you wish to store your archived data. `AZURE` or `GCP` may be selected
            only if it is the Cloud service provider for the cluster and no archives
            for any other cloud provider have been created for the cluster.
          enum:
          - AWS
          - AZURE
          - GCP
      description: Settings to configure the region where you wish to store your archived
        data.
      writeOnly: true
      discriminator:
        propertyName: cloudProvider
        mapping:
          AWS: "#/components/schemas/AWSCreateDataProcessRegionView"
          AZURE: "#/components/schemas/AzureCreateDataProcessRegionView"
          GCP: "#/components/schemas/GCPCreateDataProcessRegionView"
      x-xgen-IPA-exception:
        xgen-IPA-125-discriminator-must-accompany-oneOf-anyOf-allOf: Schema predates
          IPA validation.
    CreateEndpointRequest:
      type: object
      oneOf:
      - "$ref": "#/components/schemas/CreateAWSEndpointRequest"
      - "$ref": "#/components/schemas/CreateAzureEndpointRequest"
      - "$ref": "#/components/schemas/CreateGCPEndpointGroupRequest"
      x-xgen-IPA-exception:
        xgen-IPA-125-oneOf-must-have-discriminator: Schema predates IPA validation.
    CreateGCPEndpointGroupRequest:
      title: GCP
      required:
      - endpointGroupName
      - gcpProjectId
      type: object
      description: Group of Private Endpoint settings.
      allOf:
      - "$ref": "#/components/schemas/CreateEndpointRequest"
      - type: object
        properties:
          endpointGroupName:
            type: string
            description: Human-readable label that identifies a set of endpoints.
              If this private endpoint belongs to a port-mapped endpoint service,
              this field is still required but ignored.
            writeOnly: true
          endpoints:
            type: array
            description: List of individual private endpoints that comprise this endpoint
              group. If this endpoint belongs to a port-mapped endpoint service, this
              field will only take in a list of one private endpoint.
            externalDocs:
              description: Google Cloud Forwarding Rule Concepts
              url: https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts
            items:
              "$ref": "#/components/schemas/CreateGCPForwardingRuleRequest"
            x-xgen-IPA-exception:
              xgen-IPA-124-array-max-items: Schema predates IPA validation.
          gcpProjectId:
            pattern: "^p-[0-9a-z]{24}$"
            type: string
            description: Unique string that identifies the Google Cloud project in
              which you created the endpoints.
            writeOnly: true
            example: p-fdeeb3e43b8e733e5ab627b1
            externalDocs:
              description: Google Cloud Creating and Managing Projects
              url: https://cloud.google.com/resource-manager/docs/creating-managing-projects
    CreateGCPForwardingRuleRequest:
      title: GCP Forwarding Rules
      type: object
      properties:
        endpointName:
          type: string
          description: Human-readable label that identifies the Google Cloud consumer
            forwarding rule that you created.
          writeOnly: true
          externalDocs:
            description: Google Cloud Forwarding Rule Concepts
            url: https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts
        ipAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: One Private Internet Protocol version 4 (IPv4) address to which
            this Google Cloud consumer forwarding rule resolves.
          writeOnly: true
    CreateOrganizationRequest:
      required:
      - name
      type: object
      properties:
        apiKey:
          "$ref": "#/components/schemas/CreateAtlasOrganizationApiKey"
        federationSettingsId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the federation
            to link the newly created organization to. If specified, the proposed
            Organization Owner of the new organization must have the Organization
            Owner role in an organization associated with the federation.
          example: 32b6e34b3d91647abb20e7b8
        name:
          pattern: "^[\\p{L}\\p{N}\\-_.(),:&@+']{1,64}$"
          type: string
          description: Human-readable label that identifies the organization.
        orgOwnerId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the MongoDB
            Cloud user that you want to assign the Organization Owner role. This user
            must be a member of the same organization as the calling API key. If you
            provide `federationSettingsId`,  this user must instead have the Organization
            Owner role on an organization in the specified federation. This parameter
            is required only when you authenticate with Programmatic API Keys.
          example: 32b6e34b3d91647abb20e7b8
        serviceAccount:
          "$ref": "#/components/schemas/OrgServiceAccountRequest"
        skipDefaultAlertsSettings:
          type: boolean
          description: Disables automatic alert creation. When set to true, no organization
            level alerts will be created automatically.
          default: false
    CreateOrganizationResponse:
      type: object
      properties:
        apiKey:
          "$ref": "#/components/schemas/ApiKeyUserDetails"
        federationSettingsId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the federation
            that you linked the newly created organization to.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        orgOwnerId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the MongoDB
            Cloud user that you assigned the Organization Owner role in the new organization.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        organization:
          "$ref": "#/components/schemas/AtlasOrganization"
        serviceAccount:
          "$ref": "#/components/schemas/OrgServiceAccount"
        skipDefaultAlertsSettings:
          type: boolean
          description: Disables automatic alert creation. When set to true, no organization
            level alerts will be created automatically.
          default: false
    CriteriaView:
      type: object
      properties:
        type:
          type: string
          description: |-
            Means by which MongoDB Cloud selects data to archive. Data can be chosen using the age of the data or a MongoDB query.
            `DATE` selects documents to archive based on a date.
            `CUSTOM` selects documents to archive based on a custom JSON query. MongoDB Cloud doesn't support `CUSTOM` when `"collectionType": "TIMESERIES"`.
          enum:
          - DATE
          - CUSTOM
      description: |-
        Rules by which MongoDB Cloud archives data.

        Use the `criteria.type` field to choose how MongoDB Cloud selects data to archive. Choose data using the age of the data or a MongoDB query.
        `"criteria.type": "DATE"` selects documents to archive based on a date.
        `"criteria.type": "CUSTOM"` selects documents to archive based on a custom JSON query. MongoDB Cloud doesn't support `"criteria.type": "CUSTOM"` when `"collectionType": "TIMESERIES"`.
      discriminator:
        propertyName: type
        mapping:
          CUSTOM: "#/components/schemas/CustomCriteriaView"
          DATE: "#/components/schemas/DateCriteriaView"
      x-xgen-IPA-exception:
        xgen-IPA-125-discriminator-must-accompany-oneOf-anyOf-allOf: Schema predates
          IPA validation.
    CursorsTotalClientCursorsSizeRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    CursorsTotalOpenRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    CursorsTotalTimedOutRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    CustomCriteriaView:
      title: Archival Criteria
      required:
      - query
      type: object
      description: Custom archival criteria.
      allOf:
      - "$ref": "#/components/schemas/CriteriaView"
      - type: object
        properties:
          query:
            type: string
            description: 'MongoDB find query that selects documents to archive. The
              specified query follows the syntax of the `db.collection.find(query)`
              command. This query can''t use the empty document (`{}`) to return all
              documents. Set this parameter when `"criteria.type" : "CUSTOM"`.'
    CustomSessionTimeouts:
      type: object
      properties:
        absoluteSessionTimeoutInSeconds:
          type: integer
          description: Specifies the absolute session timeout duration in seconds.
            When set to null, the field's value is unset, and the default value of
            43,200 seconds (12 hours) is applied. Accepted values range between a
            minimum of 3,600 seconds (1 hour) and a maximum of 43,200 seconds (12
            hours).
          format: int32
        idleSessionTimeoutInSeconds:
          type: integer
          description: 'Specifies the idle session timeout duration in seconds. When
            set to null, the field''s value is unset, and the default behavior depends
            on the context: no timeout for Atlas Commercial, and 600 seconds (10 minutes)
            for Atlas for Government. Accepted values start at a minimum of 300 seconds
            (5 minutes). For Atlas Commercial, the maximum value cannot exceed the
            configured absolute session timeout. For Atlas for Government, the maximum
            value is capped at 600 seconds (10 minutes).'
          format: int32
      description: Defines the session timeout settings for managing user sessions
        at the organization level. When set to null, the field's value is unset, and
        the default timeout settings are applied.
    CustomZoneMappings:
      required:
      - customZoneMappings
      type: object
      properties:
        customZoneMappings:
          type: array
          description: |-
            List that contains comma-separated key value pairs to map zones to geographic regions. These pairs map an ISO 3166-1a2 location code, with an ISO 3166-2 subdivision code when possible, to the human-readable label for the desired custom zone. MongoDB Cloud maps the ISO 3166-1a2 code to the nearest geographical zone by default. Include this parameter to override the default mappings.

            This parameter returns an empty object if no custom zones exist.
          items:
            "$ref": "#/components/schemas/ZoneMapping"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    DBUserTLSX509Settings:
      title: Database User TLS Certificate Settings
      type: object
      properties:
        cas:
          type: string
          description: Concatenated list of customer certificate authority (CA) certificates
            needed to authenticate database users. MongoDB Cloud expects this as a
            PEM-formatted certificate.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
      description: Settings to configure TLS Certificates for database users.
    DLQRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    DLSIngestionSink:
      title: DLS Ingestion Destination
      type: object
      description: Atlas Data Lake Storage as the destination for a Data Lake Pipeline.
      allOf:
      - "$ref": "#/components/schemas/IngestionSink"
      - type: object
        properties:
          metadataProvider:
            type: string
            description: Target cloud provider for this Data Lake Pipeline.
            enum:
            - AWS
          metadataRegion:
            type: string
            description: Target cloud provider region for this Data Lake Pipeline.
            externalDocs:
              description: Supported cloud provider regions
              url: https://www.mongodb.com/docs/datalake/limitations
          partitionFields:
            type: array
            description: Ordered fields used to physically organize data in the destination.
            items:
              "$ref": "#/components/schemas/DataLakePipelinesPartitionField"
            x-xgen-IPA-exception:
              xgen-IPA-124-array-max-items: Schema predates IPA validation.
    DailyScheduleView:
      required:
      - type
      type: object
      allOf:
      - "$ref": "#/components/schemas/OnlineArchiveSchedule"
      - type: object
        properties:
          endHour:
            maximum: 23
            minimum: 0
            type: integer
            description: Hour of the day when the scheduled window to run one online
              archive ends. This field uses the UTC time zone. The window must have
              a duration of at least two hours. If the end time is before or equal
              to the start time, the window extends to the next day.
            format: int32
          endMinute:
            maximum: 59
            minimum: 0
            type: integer
            description: Minute of the hour when the scheduled window to run one online
              archive ends. This field uses the UTC time zone. The window must have
              a duration of at least two hours. If the end time is before or equal
              to the start time, the window extends to the next day.
            format: int32
          startHour:
            maximum: 23
            minimum: 0
            type: integer
            description: Hour of the day when the scheduled window to run one online
              archive starts. This field uses the UTC time zone.
            format: int32
          startMinute:
            maximum: 59
            minimum: 0
            type: integer
            description: Minute of the hour when the scheduled window to run one online
              archive starts. This field uses the UTC time zone.
            format: int32
    DataExpirationRuleView:
      type: object
      properties:
        expireAfterDays:
          maximum: 9215
          minimum: 7
          type: integer
          description: Number of days used in the date criteria for nominating documents
            for deletion.
          format: int32
      description: Rule for specifying when data should be deleted from the archive.
    DataExplorerAccessedEventTypeView:
      title: Data Explorer Accessed Event Types
      type: string
      description: Unique identifier of event type.
      example: DATA_EXPLORER
      enum:
      - DATA_EXPLORER
      - DATA_EXPLORER_CRUD_ATTEMPT
      - DATA_EXPLORER_CRUD_ERROR
      - DATA_EXPLORER_CRUD
    DataExplorerAccessedEventView:
      title: Data Explorer Accessed Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        collection:
          type: string
          description: Human-readable label of the collection on which the event occurred.
            The resource returns this parameter when the `eventTypeName` includes
            `DATA_EXPLORER`.
          readOnly: true
          example: test_collection
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        database:
          type: string
          description: 'Human-readable label of the database on which this incident
            occurred. The resource returns this parameter when `"eventTypeName" :
            "DATA_EXPLORER"` or `"eventTypeName" : "DATA_EXPLORER_CRUD"`.'
          readOnly: true
          example: test_db
        eventTypeName:
          "$ref": "#/components/schemas/DataExplorerAccessedEventTypeView"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        opType:
          type: string
          description: 'Action that the database attempted to execute when the event
            triggered. The response returns this parameter when `eventTypeName" :
            "DATA_EXPLORER"`.'
          readOnly: true
          example: insertDocument
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Data Explorer accessed event tracks different data operations via
        Data Explorer interactions.
    DataExplorerEvent:
      title: Data Explorer Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/DataExplorerEventTypeView"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        sessionId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the Data
            Explorer session associated with the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Data Explorer event tracks different Data Explorer operations.
    DataExplorerEventTypeView:
      title: Data Explorer Event Types
      type: string
      description: Unique identifier of event type.
      example: DATA_EXPLORER_SESSION_CREATED
      enum:
      - DATA_EXPLORER_SESSION_CREATED
    DataFederationAzureCloudProviderConfig:
      required:
      - roleId
      type: object
      properties:
        atlasAppId:
          type: string
          description: The App ID generated by Atlas for the Service Principal's access
            policy.
          readOnly: true
        roleId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique identifier of the role that Data Federation can use
            to access the data stores. Required if specifying `cloudProviderConfig`.
          example: 32b6e34b3d91647abb20e7b8
        servicePrincipalId:
          type: string
          description: The ID of the Service Principal for which there is an access
            policy for Atlas to access Azure resources.
          readOnly: true
        tenantId:
          type: string
          description: The Azure Active Directory / Entra ID tenant ID associated
            with the Service Principal.
          readOnly: true
      description: Configuration for running Data Federation in Azure.
    DataFederationGCPCloudProviderConfig:
      required:
      - roleId
      type: object
      properties:
        gcpServiceAccount:
          type: string
          description: The email address of the Google Cloud Platform (GCP) service
            account created by Atlas which should be authorized to allow Atlas to
            access Google Cloud Storage.
          readOnly: true
        roleId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique identifier of the role that Data Federation can use
            to access the data stores. Required if specifying `cloudProviderConfig`.
          example: 32b6e34b3d91647abb20e7b8
      description: Configuration for running Data Federation in GCP.
    DataFederationLimit:
      title: Limits
      required:
      - name
      - value
      type: object
      properties:
        currentUsage:
          type: integer
          description: Amount that indicates the current usage of the limit.
          format: int64
          readOnly: true
        defaultLimit:
          type: integer
          description: Default value of the limit.
          format: int64
          readOnly: true
        maximumLimit:
          type: integer
          description: Maximum value of the limit.
          format: int64
          readOnly: true
        name:
          type: string
          description: Human-readable label that identifies the user-managed limit
            to modify.
          readOnly: true
        value:
          type: integer
          description: Amount to set the limit to.
          format: int64
      description: Details of user managed limits.
      discriminator:
        propertyName: name
        mapping:
          atlas.project.deployment.clusters: "#/components/schemas/DefaultLimit"
          atlas.project.deployment.nodesPerPrivateLinkRegion: "#/components/schemas/DefaultLimit"
          atlas.project.deployment.serverlessMTMs: "#/components/schemas/DefaultLimit"
          atlas.project.security.databaseAccess.customRoles: "#/components/schemas/DefaultLimit"
          atlas.project.security.databaseAccess.users: "#/components/schemas/DefaultLimit"
          atlas.project.security.networkAccess.crossRegionEntries: "#/components/schemas/DefaultLimit"
          atlas.project.security.networkAccess.entries: "#/components/schemas/DefaultLimit"
      x-xgen-IPA-exception:
        xgen-IPA-125-discriminator-must-accompany-oneOf-anyOf-allOf: Schema predates
          IPA validation.
    DataFederationTenantQueryLimit:
      title: Data Federation Tenant-Level Query Limit
      required:
      - name
      - value
      type: object
      properties:
        currentUsage:
          type: integer
          description: Amount that indicates the current usage of the limit.
          format: int64
          readOnly: true
        defaultLimit:
          type: integer
          description: Default value of the limit.
          format: int64
          readOnly: true
        lastModifiedDate:
          type: string
          description: 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.
          format: date-time
          readOnly: true
        maximumLimit:
          type: integer
          description: Maximum value of the limit.
          format: int64
          readOnly: true
        name:
          type: string
          description: Human-readable label that identifies the user-managed limit
            to modify.
          readOnly: true
        overrunPolicy:
          type: string
          description: Only used for Data Federation limits. 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.
          enum:
          - BLOCK
          - BLOCK_AND_KILL
        tenantName:
          type: string
          description: Human-readable label that identifies the Federated Database
            Instance. If specified, the usage limit is for the specified federated
            database instance only. If omitted, the usage limit is for all federated
            database instances in the project.
          readOnly: true
        value:
          type: integer
          description: Amount to set the limit to.
          format: int64
      description: Details of a tenant-level query limit for Data Federation. Query
        limit is the limit on the amount of usage during a time period based on cost.
    DataLakeAWSCloudProviderConfig:
      required:
      - roleId
      - testS3Bucket
      type: object
      properties:
        externalId:
          type: string
          description: Unique identifier associated with the Identity and Access Management
            (IAM) role that the data lake assumes when accessing the data stores.
          readOnly: true
        iamAssumedRoleARN:
          maxLength: 2048
          minLength: 20
          type: string
          description: Amazon Resource Name (ARN) of the Identity and Access Management
            (IAM) role that the data lake assumes when accessing data stores.
          readOnly: true
          example: arn:aws:iam::123456789012:root
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        iamUserARN:
          type: string
          description: Amazon Resource Name (ARN) of the user that the data lake assumes
            when accessing data stores.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        roleId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique identifier of the role that the data lake can use to
            access the data stores.Required if specifying cloudProviderConfig.
          example: 32b6e34b3d91647abb20e7b8
        testS3Bucket:
          type: string
          description: Name of the S3 data bucket that the provided role ID is authorized
            to access. Required if specifying `cloudProviderConfig`.
          writeOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
      description: Configuration for running Data Federation in AWS.
    DataLakeApiBase:
      type: object
      properties:
        name:
          type: string
          description: Human-readable label that identifies the view, which corresponds
            to an aggregation pipeline on a collection.
        pipeline:
          type: string
          description: Aggregation pipeline stages to apply to the source collection.
          externalDocs:
            description: Aggregation Pipelines
            url: https://docs.mongodb.com/manual/core/aggregation-pipeline/
        source:
          type: string
          description: Human-readable label that identifies the source collection
            for the view.
      description: An aggregation pipeline that applies to the collection.
    DataLakeAtlasStoreInstance:
      type: object
      allOf:
      - "$ref": "#/components/schemas/DataLakeStoreSettings"
      - type: object
        properties:
          clusterName:
            type: string
            description: Human-readable label of the MongoDB Cloud cluster on which
              the store is based.
          projectId:
            maxLength: 24
            minLength: 24
            pattern: "^([a-f0-9]{24})$"
            type: string
            description: Unique 24-hexadecimal digit string that identifies the project.
            readOnly: true
          readConcern:
            "$ref": "#/components/schemas/DataLakeAtlasStoreReadConcern"
          readPreference:
            "$ref": "#/components/schemas/DataLakeAtlasStoreReadPreference"
    DataLakeAtlasStoreReadConcern:
      type: object
      properties:
        level:
          type: string
          description: Read Concern level that specifies the consistency and availability
            of the data read.
          externalDocs:
            description: Read Concern Level
            url: https://www.mongodb.com/docs/manual/reference/read-concern/#read-concern-levels
          enum:
          - LOCAL
          - MAJORITY
          - LINEARIZABLE
          - SNAPSHOT
          - AVAILABLE
      description: MongoDB Cloud cluster read concern, which determines the consistency
        and isolation properties of the data read from an Atlas cluster.
    DataLakeAtlasStoreReadPreference:
      type: object
      properties:
        maxStalenessSeconds:
          type: integer
          description: Maximum replication lag, or **staleness**, for reads from secondaries.
          format: int32
        mode:
          type: string
          description: Read preference mode that specifies to which replica set member
            to route the read requests.
          externalDocs:
            description: Read Preference Modes
            url: https://docs.mongodb.com/manual/core/read-preference/#read-preference-modes
          enum:
          - primary
          - primaryPreferred
          - secondary
          - secondaryPreferred
          - nearest
        tagSets:
          type: array
          description: List that contains tag sets or tag specification documents.
            If specified, Atlas Data Lake routes read requests to replica set member
            or members that are associated with the specified tags.
          externalDocs:
            description: Read Preference Tag Set Lists
            url: https://docs.mongodb.com/manual/core/read-preference-tags/
          items:
            type: array
            items:
              "$ref": "#/components/schemas/DataLakeAtlasStoreReadPreferenceTag"
      description: MongoDB Cloud cluster read preference, which describes how to route
        read requests to the cluster.
    DataLakeAtlasStoreReadPreferenceTag:
      type: object
      properties:
        name:
          type: string
          description: Human-readable label of the tag.
        value:
          type: string
          description: Value of the tag.
    DataLakeAzureBlobStore:
      type: object
      allOf:
      - "$ref": "#/components/schemas/DataLakeStoreSettings"
      - type: object
        properties:
          containerName:
            type: string
            description: Human-readable label that identifies the name of the container.
          delimiter:
            type: string
            description: Delimiter.
          prefix:
            type: string
            description: Prefix.
          public:
            type: boolean
            description: Flag that indicates whether the blob store is public. If
              set to `true`, MongoDB Cloud doesn't use the configured Azure service
              principal to access the blob store. If set to `false`, the configured
              Azure service principal must include permissions to access the blob
              store.
            default: false
          region:
            title: Azure Regions
            type: string
            description: Microsoft Azure Regions.
            enum:
            - US_CENTRAL
            - US_EAST
            - US_EAST_2
            - US_NORTH_CENTRAL
            - US_WEST
            - US_SOUTH_CENTRAL
            - EUROPE_NORTH
            - EUROPE_WEST
            - US_WEST_CENTRAL
            - US_WEST_2
            - US_WEST_3
            - CANADA_EAST
            - CANADA_CENTRAL
            - BRAZIL_SOUTH
            - BRAZIL_SOUTHEAST
            - AUSTRALIA_CENTRAL
            - AUSTRALIA_CENTRAL_2
            - AUSTRALIA_EAST
            - AUSTRALIA_SOUTH_EAST
            - GERMANY_CENTRAL
            - GERMANY_NORTH_EAST
            - GERMANY_WEST_CENTRAL
            - GERMANY_NORTH
            - SWEDEN_CENTRAL
            - SWEDEN_SOUTH
            - SWITZERLAND_NORTH
            - SWITZERLAND_WEST
            - UK_SOUTH
            - UK_WEST
            - NORWAY_EAST
            - NORWAY_WEST
            - INDIA_CENTRAL
            - INDIA_SOUTH
            - INDIA_WEST
            - CHINA_EAST
            - CHINA_NORTH
            - ASIA_EAST
            - JAPAN_EAST
            - JAPAN_WEST
            - ASIA_SOUTH_EAST
            - KOREA_CENTRAL
            - KOREA_SOUTH
            - FRANCE_CENTRAL
            - FRANCE_SOUTH
            - SOUTH_AFRICA_NORTH
            - SOUTH_AFRICA_WEST
            - UAE_CENTRAL
            - UAE_NORTH
            - QATAR_CENTRAL
          replacementDelimiter:
            type: string
            description: Replacement Delimiter.
          serviceURL:
            type: string
            description: Service URL.
    DataLakeCloudProviderConfig:
      title: Data Federation Cloud Provider
      type: object
      properties:
        aws:
          "$ref": "#/components/schemas/DataLakeAWSCloudProviderConfig"
        azure:
          "$ref": "#/components/schemas/DataFederationAzureCloudProviderConfig"
        gcp:
          "$ref": "#/components/schemas/DataFederationGCPCloudProviderConfig"
      description: Cloud provider where this Federated Database Instance is hosted.
    DataLakeDLSAWSStore:
      type: object
      allOf:
      - "$ref": "#/components/schemas/DataLakeStoreSettings"
      - type: object
        properties:
          region:
            title: AWS Regions
            type: string
            description: Physical location where MongoDB Cloud deploys your AWS-hosted
              MongoDB cluster nodes. The region you choose can affect network latency
              for clients accessing your databases. When MongoDB Cloud deploys a dedicated
              cluster, it checks if a VPC or VPC connection exists for that provider
              and region. If not, MongoDB Cloud creates them as part of the deployment.
              MongoDB Cloud assigns the VPC a CIDR block. To limit a new VPC peering
              connection to one CIDR block and region, create the connection first.
              Deploy the cluster after the connection starts.
            enum:
            - US_GOV_WEST_1
            - US_GOV_EAST_1
            - US_EAST_1
            - US_EAST_2
            - US_WEST_1
            - US_WEST_2
            - CA_CENTRAL_1
            - EU_NORTH_1
            - EU_WEST_1
            - EU_WEST_2
            - EU_WEST_3
            - EU_CENTRAL_1
            - EU_CENTRAL_2
            - AP_EAST_1
            - AP_NORTHEAST_1
            - AP_NORTHEAST_2
            - AP_NORTHEAST_3
            - AP_SOUTHEAST_1
            - AP_SOUTHEAST_2
            - AP_SOUTHEAST_3
            - AP_SOUTHEAST_4
            - AP_SOUTH_1
            - AP_SOUTH_2
            - SA_EAST_1
            - CN_NORTH_1
            - CN_NORTHWEST_1
            - ME_SOUTH_1
            - ME_CENTRAL_1
            - AF_SOUTH_1
            - EU_SOUTH_1
            - EU_SOUTH_2
            - IL_CENTRAL_1
            - CA_WEST_1
            - GLOBAL
    DataLakeDLSAzureStore:
      type: object
      allOf:
      - "$ref": "#/components/schemas/DataLakeStoreSettings"
      - type: object
        properties:
          region:
            title: Azure Regions
            type: string
            description: Microsoft Azure Regions.
            enum:
            - US_CENTRAL
            - US_EAST
            - US_EAST_2
            - US_NORTH_CENTRAL
            - US_WEST
            - US_SOUTH_CENTRAL
            - EUROPE_NORTH
            - EUROPE_WEST
            - US_WEST_CENTRAL
            - US_WEST_2
            - US_WEST_3
            - CANADA_EAST
            - CANADA_CENTRAL
            - BRAZIL_SOUTH
            - BRAZIL_SOUTHEAST
            - AUSTRALIA_CENTRAL
            - AUSTRALIA_CENTRAL_2
            - AUSTRALIA_EAST
            - AUSTRALIA_SOUTH_EAST
            - GERMANY_CENTRAL
            - GERMANY_NORTH_EAST
            - GERMANY_WEST_CENTRAL
            - GERMANY_NORTH
            - SWEDEN_CENTRAL
            - SWEDEN_SOUTH
            - SWITZERLAND_NORTH
            - SWITZERLAND_WEST
            - UK_SOUTH
            - UK_WEST
            - NORWAY_EAST
            - NORWAY_WEST
            - INDIA_CENTRAL
            - INDIA_SOUTH
            - INDIA_WEST
            - CHINA_EAST
            - CHINA_NORTH
            - ASIA_EAST
            - JAPAN_EAST
            - JAPAN_WEST
            - ASIA_SOUTH_EAST
            - KOREA_CENTRAL
            - KOREA_SOUTH
            - FRANCE_CENTRAL
            - FRANCE_SOUTH
            - SOUTH_AFRICA_NORTH
            - SOUTH_AFRICA_WEST
            - UAE_CENTRAL
            - UAE_NORTH
            - QATAR_CENTRAL
    DataLakeDLSGCPStore:
      type: object
      allOf:
      - "$ref": "#/components/schemas/DataLakeStoreSettings"
      - type: object
        properties:
          region:
            title: GCP Regions
            type: string
            description: Google Cloud Platform Regions.
            enum:
            - ASIA_EAST_2
            - ASIA_NORTHEAST_2
            - ASIA_NORTHEAST_3
            - ASIA_SOUTH_1
            - ASIA_SOUTH_2
            - ASIA_SOUTHEAST_2
            - AUSTRALIA_SOUTHEAST_1
            - AUSTRALIA_SOUTHEAST_2
            - CENTRAL_US
            - EASTERN_ASIA_PACIFIC
            - EASTERN_US
            - EUROPE_CENTRAL_2
            - EUROPE_NORTH_1
            - EUROPE_WEST_2
            - EUROPE_WEST_3
            - EUROPE_WEST_4
            - EUROPE_WEST_6
            - EUROPE_WEST_10
            - EUROPE_WEST_12
            - MIDDLE_EAST_CENTRAL_1
            - MIDDLE_EAST_CENTRAL_2
            - MIDDLE_EAST_WEST_1
            - NORTH_AMERICA_NORTHEAST_1
            - NORTH_AMERICA_NORTHEAST_2
            - NORTHEASTERN_ASIA_PACIFIC
            - SOUTH_AMERICA_EAST_1
            - SOUTH_AMERICA_WEST_1
            - SOUTHEASTERN_ASIA_PACIFIC
            - US_EAST_4
            - US_EAST_5
            - US_WEST_2
            - US_WEST_3
            - US_WEST_4
            - US_SOUTH_1
            - WESTERN_EUROPE
            - WESTERN_US
    DataLakeDataProcessRegion:
      required:
      - cloudProvider
      - region
      type: object
      properties:
        cloudProvider:
          type: string
          description: Name of the cloud service that hosts the Federated Database
            Instance's infrastructure.
          enum:
          - AWS
          - AZURE
          - GCP
        region:
          "$ref": "#/components/schemas/BaseAtlasDataLakeRegion"
      description: Information about the cloud provider region to which the Federated
        Database Instance routes client connections.
    DataLakeDatabaseCollection:
      type: object
      properties:
        dataSources:
          type: array
          description: Array that contains the data stores that map to a collection
            for this data lake.
          items:
            "$ref": "#/components/schemas/DataLakeDatabaseDataSourceSettings"
        name:
          type: string
          description: Human-readable label that identifies the collection to which
            MongoDB Cloud maps the data in the data stores.
      description: A collection and data sources that map to a ``stores`` data store.
    DataLakeDatabaseDataSourceSettings:
      type: object
      properties:
        allowInsecure:
          type: boolean
          description: Flag that validates the scheme in the specified URLs. If `true`,
            allows insecure `HTTP` scheme, doesn't verify the server's certificate
            chain and hostname, and accepts any certificate with any hostname presented
            by the server. If `false`, allows secure `HTTPS` scheme only.
          default: false
        collection:
          type: string
          description: Human-readable label that identifies the collection in the
            database. For creating a wildcard (`*`) collection, you must omit this
            parameter.
        collectionRegex:
          type: string
          description: Regex pattern to use for creating the wildcard (*) collection.
            To learn more about the regex syntax, see [Go programming language](https://pkg.go.dev/regexp).
        database:
          type: string
          description: Human-readable label that identifies the database, which contains
            the collection in the cluster. You must omit this parameter to generate
            wildcard (`*`) collections for dynamically generated databases.
        databaseRegex:
          type: string
          description: Regex pattern to use for creating the wildcard (*) database.
            To learn more about the regex syntax, see [Go programming language](https://pkg.go.dev/regexp).
        datasetName:
          type: string
          description: Human-readable label that identifies the dataset that Atlas
            generates for an ingestion pipeline run or Online Archive.
          example: v1$atlas$snapshot$Cluster0$myDatabase$myCollection$19700101T000000Z
        datasetPrefix:
          type: string
          description: Human-readable label that matches against the dataset names
            for ingestion pipeline runs or Online Archives.
        defaultFormat:
          type: string
          description: File format that MongoDB Cloud uses if it encounters a file
            without a file extension while searching **storeName**.
          enum:
          - ".avro"
          - ".avro.bz2"
          - ".avro.gz"
          - ".bson"
          - ".bson.bz2"
          - ".bson.gz"
          - ".bsonx"
          - ".csv"
          - ".csv.bz2"
          - ".csv.gz"
          - ".json"
          - ".json.bz2"
          - ".json.gz"
          - ".orc"
          - ".parquet"
          - ".tsv"
          - ".tsv.bz2"
          - ".tsv.gz"
        path:
          type: string
          description: File path that controls how MongoDB Cloud searches for and
            parses files in the **storeName** before mapping them to a collection.Specify
            ``/`` to capture all files and folders from the ``prefix`` path.
        provenanceFieldName:
          type: string
          description: Name for the field that includes the provenance of the documents
            in the results. MongoDB Cloud returns different fields in the results
            for each supported provider.
        storeName:
          type: string
          description: Human-readable label that identifies the data store that MongoDB
            Cloud maps to the collection.
        trimLevel:
          type: integer
          description: Unsigned integer that specifies how many fields of the dataset
            name to trim from the left of the dataset name before mapping the remaining
            fields to a wildcard collection name.
          format: int32
        urls:
          type: array
          description: URLs of the publicly accessible data files. You can't specify
            URLs that require authentication. Atlas Data Lake creates a partition
            for each URL. If empty or omitted, Data Lake uses the URLs from the store
            specified in the **dataSources.storeName** parameter.
          items:
            type: string
      description: Data store that maps to a collection for this data lake.
    DataLakeDatabaseInstance:
      type: object
      properties:
        collections:
          type: array
          description: Array of collections and data sources that map to a ``stores``
            data store.
          items:
            "$ref": "#/components/schemas/DataLakeDatabaseCollection"
        maxWildcardCollections:
          maximum: 1000
          minimum: 1
          type: integer
          description: Maximum number of wildcard collections in the database. This
            only applies to S3 data sources.
          format: int32
          default: 100
        name:
          type: string
          description: Human-readable label that identifies the database to which
            the data lake maps data.
        views:
          type: array
          description: Array of aggregation pipelines that apply to the collection.
            This only applies to S3 data sources.
          items:
            "$ref": "#/components/schemas/DataLakeApiBase"
      description: Database associated with this data lake. Databases contain collections
        and views.
    DataLakeGoogleCloudStorageStore:
      type: object
      allOf:
      - "$ref": "#/components/schemas/DataLakeStoreSettings"
      - type: object
        properties:
          bucket:
            type: string
            description: Human-readable label that identifies the Google Cloud Storage
              bucket.
          delimiter:
            type: string
            description: Delimiter.
          prefix:
            type: string
            description: Prefix.
          public:
            type: boolean
            description: Flag that indicates whether the bucket is public. If set
              to `true`, MongoDB Cloud doesn't use the configured GCP service account
              to access the bucket. If set to `false`, the configured GCP service
              acccount must include permissions to access the bucket.
            default: false
          region:
            title: GCP Regions
            type: string
            description: Google Cloud Platform Regions.
            enum:
            - ASIA_EAST_2
            - ASIA_NORTHEAST_2
            - ASIA_NORTHEAST_3
            - ASIA_SOUTH_1
            - ASIA_SOUTH_2
            - ASIA_SOUTHEAST_2
            - AUSTRALIA_SOUTHEAST_1
            - AUSTRALIA_SOUTHEAST_2
            - CENTRAL_US
            - EASTERN_ASIA_PACIFIC
            - EASTERN_US
            - EUROPE_CENTRAL_2
            - EUROPE_NORTH_1
            - EUROPE_WEST_2
            - EUROPE_WEST_3
            - EUROPE_WEST_4
            - EUROPE_WEST_6
            - EUROPE_WEST_10
            - EUROPE_WEST_12
            - MIDDLE_EAST_CENTRAL_1
            - MIDDLE_EAST_CENTRAL_2
            - MIDDLE_EAST_WEST_1
            - NORTH_AMERICA_NORTHEAST_1
            - NORTH_AMERICA_NORTHEAST_2
            - NORTHEASTERN_ASIA_PACIFIC
            - SOUTH_AMERICA_EAST_1
            - SOUTH_AMERICA_WEST_1
            - SOUTHEASTERN_ASIA_PACIFIC
            - US_EAST_4
            - US_EAST_5
            - US_WEST_2
            - US_WEST_3
            - US_WEST_4
            - US_SOUTH_1
            - WESTERN_EUROPE
            - WESTERN_US
          replacementDelimiter:
            type: string
            description: Replacement Delimiter.
    DataLakeHTTPStore:
      type: object
      allOf:
      - "$ref": "#/components/schemas/DataLakeStoreSettings"
      - type: object
        properties:
          allowInsecure:
            type: boolean
            description: Flag that validates the scheme in the specified URLs. If
              `true`, allows insecure `HTTP` scheme, doesn't verify the server's certificate
              chain and hostname, and accepts any certificate with any hostname presented
              by the server. If `false`, allows secure `HTTPS` scheme only.
            default: false
          defaultFormat:
            type: string
            description: Default format that Data Lake assumes if it encounters a
              file without an extension while searching the `storeName`. If omitted,
              Data Lake attempts to detect the file type by processing a few bytes
              of the file. The specified format only applies to the URLs specified
              in the **databases.[n].collections.[n].dataSources** object.
          urls:
            type: array
            description: Comma-separated list of publicly accessible HTTP URLs where
              data is stored. You can't specify URLs that require authentication.
            items:
              type: string
              description: Comma-separated list of publicly accessible HTTP URLs where
                data is stored. You can't specify URLs that require authentication.
    DataLakeIngestionPipeline:
      title: Data Lake Pipeline
      type: object
      properties:
        _id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the Data
            Lake Pipeline.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        createdDate:
          type: string
          description: Timestamp that indicates when the Data Lake Pipeline was created.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
        datasetRetentionPolicy:
          "$ref": "#/components/schemas/DatasetRetentionPolicy"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the group.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        lastUpdatedDate:
          type: string
          description: Timestamp that indicates the last time that the Data Lake Pipeline
            was updated. This parameter expresses its value in the ISO 8601 timestamp
            format in UTC.
          format: date-time
          readOnly: true
        name:
          type: string
          description: Name of this Data Lake Pipeline.
        sink:
          "$ref": "#/components/schemas/IngestionSink"
        source:
          "$ref": "#/components/schemas/IngestionSource"
        state:
          type: string
          description: State of this Data Lake Pipeline.
          readOnly: true
          enum:
          - ACTIVE
          - PAUSED
        transformations:
          type: array
          description: Fields to be excluded for this Data Lake Pipeline.
          items:
            "$ref": "#/components/schemas/FieldTransformation"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
      description: Details of a Data Lake Pipeline.
    DataLakePipelinesPartitionField:
      title: Partition Field
      required:
      - fieldName
      - order
      type: object
      properties:
        fieldName:
          maxLength: 700
          type: string
          description: Human-readable label that identifies the field name used to
            partition data.
        order:
          type: integer
          description: Sequence in which MongoDB Cloud slices the collection data
            to create partitions. The resource expresses this sequence starting with
            zero.
          format: int32
          default: 0
      description: Partition Field in the Data Lake Storage provider for a Data Lake
        Pipeline.
    DataLakeS3StoreSettings:
      type: object
      allOf:
      - "$ref": "#/components/schemas/DataLakeStoreSettings"
      - type: object
        properties:
          additionalStorageClasses:
            type: array
            description: Collection of AWS S3 [storage classes](https://aws.amazon.com/s3/storage-classes/).
              Atlas Data Lake includes the files in these storage classes in the query
              results.
            items:
              type: string
              description: AWS S3 [storage class](https://aws.amazon.com/s3/storage-classes/)
                where the files to include in the results are stored.
              enum:
              - STANDARD
              - INTELLIGENT_TIERING
              - STANDARD_IA
          bucket:
            type: string
            description: Human-readable label that identifies the AWS S3 bucket. This
              label must exactly match the name of an S3 bucket that the data lake
              can access with the configured AWS Identity and Access Management (IAM)
              credentials.
          delimiter:
            type: string
            description: The delimiter that separates **databases.[n].collections.[n].dataSources.[n].path**
              segments in the data store. MongoDB Cloud uses the delimiter to efficiently
              traverse S3 buckets with a hierarchical directory structure. You can
              specify any character supported by the S3 object keys as the delimiter.
              For example, you can specify an underscore (_) or a plus sign (+) or
              multiple characters, such as double underscores (__) as the delimiter.
              If omitted, defaults to `/`.
          includeTags:
            type: boolean
            description: Flag that indicates whether to use S3 tags on the files in
              the given path as additional partition attributes. If set to `true`,
              data lake adds the S3 tags as additional partition attributes and adds
              new top-level BSON elements associating each tag to each document.
            default: false
          prefix:
            type: string
            description: Prefix that MongoDB Cloud applies when searching for files
              in the S3 bucket. The data store prepends the value of prefix to the
              **databases.[n].collections.[n].dataSources.[n].path** to create the
              full path for files to ingest. If omitted, MongoDB Cloud searches all
              files from the root of the S3 bucket.
          public:
            type: boolean
            description: Flag that indicates whether the bucket is public. If set
              to `true`, MongoDB Cloud doesn't use the configured AWS Identity and
              Access Management (IAM) role to access the S3 bucket. If set to `false`,
              the configured AWS IAM role must include permissions to access the S3
              bucket.
            default: false
          region:
            title: AWS Regions
            type: string
            description: Physical location where MongoDB Cloud deploys your AWS-hosted
              MongoDB cluster nodes. The region you choose can affect network latency
              for clients accessing your databases. When MongoDB Cloud deploys a dedicated
              cluster, it checks if a VPC or VPC connection exists for that provider
              and region. If not, MongoDB Cloud creates them as part of the deployment.
              MongoDB Cloud assigns the VPC a CIDR block. To limit a new VPC peering
              connection to one CIDR block and region, create the connection first.
              Deploy the cluster after the connection starts.
            enum:
            - US_GOV_WEST_1
            - US_GOV_EAST_1
            - US_EAST_1
            - US_EAST_2
            - US_WEST_1
            - US_WEST_2
            - CA_CENTRAL_1
            - EU_NORTH_1
            - EU_WEST_1
            - EU_WEST_2
            - EU_WEST_3
            - EU_CENTRAL_1
            - EU_CENTRAL_2
            - AP_EAST_1
            - AP_NORTHEAST_1
            - AP_NORTHEAST_2
            - AP_NORTHEAST_3
            - AP_SOUTHEAST_1
            - AP_SOUTHEAST_2
            - AP_SOUTHEAST_3
            - AP_SOUTHEAST_4
            - AP_SOUTH_1
            - AP_SOUTH_2
            - SA_EAST_1
            - CN_NORTH_1
            - CN_NORTHWEST_1
            - ME_SOUTH_1
            - ME_CENTRAL_1
            - AF_SOUTH_1
            - EU_SOUTH_1
            - EU_SOUTH_2
            - IL_CENTRAL_1
            - CA_WEST_1
            - GLOBAL
    DataLakeStorage:
      type: object
      properties:
        databases:
          type: array
          description: Array that contains the queryable databases and collections
            for this data lake.
          items:
            "$ref": "#/components/schemas/DataLakeDatabaseInstance"
        stores:
          type: array
          description: Array that contains the data stores for the data lake.
          items:
            "$ref": "#/components/schemas/DataLakeStoreSettings"
      description: Configuration information for each data store and its mapping to
        MongoDB Cloud databases.
    DataLakeStoreSettings:
      required:
      - provider
      type: object
      properties:
        name:
          type: string
          description: Human-readable label that identifies the data store. The **databases.[n].collections.[n].dataSources.[n].storeName**
            field references this values as part of the mapping configuration. To
            use MongoDB Cloud as a data store, the data lake requires a serverless
            instance or an `M10` or higher cluster.
        provider:
          type: string
      description: Group of settings that define where the data is stored.
      discriminator:
        propertyName: provider
        mapping:
          atlas: "#/components/schemas/DataLakeAtlasStoreInstance"
          azure: "#/components/schemas/DataLakeAzureBlobStore"
          dls:aws: "#/components/schemas/DataLakeDLSAWSStore"
          dls:azure: "#/components/schemas/DataLakeDLSAzureStore"
          dls:gcp: "#/components/schemas/DataLakeDLSGCPStore"
          gcs: "#/components/schemas/DataLakeGoogleCloudStorageStore"
          http: "#/components/schemas/DataLakeHTTPStore"
          s3: "#/components/schemas/DataLakeS3StoreSettings"
      oneOf:
      - "$ref": "#/components/schemas/DataLakeS3StoreSettings"
      - "$ref": "#/components/schemas/DataLakeDLSAWSStore"
      - "$ref": "#/components/schemas/DataLakeDLSAzureStore"
      - "$ref": "#/components/schemas/DataLakeDLSGCPStore"
      - "$ref": "#/components/schemas/DataLakeAtlasStoreInstance"
      - "$ref": "#/components/schemas/DataLakeHTTPStore"
      - "$ref": "#/components/schemas/DataLakeAzureBlobStore"
      - "$ref": "#/components/schemas/DataLakeGoogleCloudStorageStore"
    DataLakeTenant:
      type: object
      properties:
        cloudProviderConfig:
          "$ref": "#/components/schemas/DataLakeCloudProviderConfig"
        dataProcessRegion:
          "$ref": "#/components/schemas/DataLakeDataProcessRegion"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            project.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        hostnames:
          type: array
          description: List that contains the hostnames assigned to the Federated
            Database Instance.
          readOnly: true
          items:
            type: string
            description: Unique hostname assigned to the Federated Database Instance.
            readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        name:
          type: string
          description: Human-readable label that identifies the Federated Database
            Instance.
        privateEndpointHostnames:
          type: array
          description: List that contains the sets of private endpoints and hostnames.
          readOnly: true
          items:
            "$ref": "#/components/schemas/PrivateEndpointHostname"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        state:
          type: string
          description: Label that indicates the status of the Federated Database Instance.
          readOnly: true
          enum:
          - UNVERIFIED
          - ACTIVE
          - DELETED
        storage:
          "$ref": "#/components/schemas/DataLakeStorage"
    DataMetricAlertView:
      required:
      - alertConfigId
      - created
      - eventTypeName
      - id
      - status
      - updated
      type: object
      properties:
        acknowledgedUntil:
          type: string
          description: |-
            Date and time until which this alert has been acknowledged. This parameter expresses its value in the ISO 8601 timestamp format in UTC. The resource returns this parameter if a MongoDB User previously acknowledged this alert.

            - To acknowledge this alert forever, set the parameter value to 100 years in the future.

            - To unacknowledge a previously acknowledged alert, do not set this parameter value.
          format: date-time
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        acknowledgementComment:
          maxLength: 200
          type: string
          description: Comment that a MongoDB Cloud user submitted when acknowledging
            the alert.
          example: Expiration on 3/19.  Silencing for 7days.
        acknowledgingUsername:
          type: string
          description: MongoDB Cloud username of the person who acknowledged the alert.
            The response returns this parameter if a MongoDB Cloud user previously
            acknowledged this alert.
          format: email
          readOnly: true
        alertConfigId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the alert
            configuration that sets this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        clusterName:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the cluster to which this
            alert applies. This resource returns this parameter for alerts of events
            impacting backups, replica sets, or sharded clusters.
          readOnly: true
          example: cluster1
        created:
          type: string
          description: Date and time when MongoDB Cloud created this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        currentValue:
          "$ref": "#/components/schemas/DataMetricValueView"
        eventTypeName:
          "$ref": "#/components/schemas/HostMetricEventTypeViewAlertable"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        hostnameAndPort:
          type: string
          description: Hostname and port of the host to which this alert applies.
            The resource returns this parameter for alerts of events impacting hosts
            or replica sets.
          readOnly: true
          example: cloud-test.mongodb.com:27017
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        lastNotified:
          type: string
          description: Date and time that any notifications were last sent for this
            alert. This parameter expresses its value in the ISO 8601 timestamp format
            in UTC. The resource returns this parameter if MongoDB Cloud has sent
            notifications for this alert.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        metricName:
          type: string
          description: |-
            Name of the metric against which Atlas checks the configured `metricThreshold.threshold`.

            To learn more about the available metrics, see <a href="https://www.mongodb.com/docs/atlas/reference/alert-host-metrics/#std-label-measurement-types" target="_blank">Host Metrics</a>.

            **NOTE**: If you set `eventTypeName` to `OUTSIDE_SERVERLESS_METRIC_THRESHOLD`, you can specify only metrics available for serverless. To learn more, see <a href="https://dochub.mongodb.org/core/alert-config-serverless-measurements" target="_blank">Serverless Measurements</a>.
          readOnly: true
          example: ASSERT_USER
          x-xgen-IPA-exception:
            xgen-IPA-117-description-must-not-use-html: Description predates IPA validation.
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            organization that owns the project to which this alert applies.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        replicaSetName:
          type: string
          description: Name of the replica set to which this alert applies. The response
            returns this parameter for alerts of events impacting backups, hosts,
            or replica sets.
          readOnly: true
          example: event-replica-set
        resolved:
          type: string
          description: 'Date and time that this alert changed to `"status" : "CLOSED"`.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC. The resource returns this parameter once `"status" : "CLOSED"`.'
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        status:
          type: string
          description: State of this alert at the time you requested its details.
            TRACKING indicates the alert condition exists but has not persisted for
            the minimum notification delay. OPEN indicates the alert condition currently
            exists. CLOSED indicates the alert condition has been resolved.
          readOnly: true
          example: OPEN
          enum:
          - CANCELLED
          - CLOSED
          - OPEN
          - TRACKING
        updated:
          type: string
          description: Date and time when someone last updated this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
    DataMetricEventView:
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        currentValue:
          "$ref": "#/components/schemas/DataMetricValueView"
        deskLocation:
          type: string
          description: Desk location of MongoDB employee associated with the event.
          readOnly: true
        employeeIdentifier:
          type: string
          description: Identifier of MongoDB employee associated with the event.
          readOnly: true
        eventTypeName:
          "$ref": "#/components/schemas/HostMetricEventTypeView"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        metricName:
          type: string
          description: Human-readable label of the metric associated with the `alertId`.
            This field may change type of `currentValue` field.
          readOnly: true
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        port:
          type: integer
          description: IANA port on which the MongoDB process listens for requests.
          format: int32
          readOnly: true
          example: 27017
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        replicaSetName:
          type: string
          description: Human-readable label of the replica set associated with the
            event.
          readOnly: true
          example: event-replica-set
        shardName:
          type: string
          description: Human-readable label of the shard associated with the event.
          readOnly: true
          example: event-sh-01
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
    DataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    DataMetricUnits:
      title: Data Metric Units
      type: string
      description: Element used to express the quantity. This can be an element of
        time, storage capacity, and the like.
      example: BYTES
      enum:
      - BITS
      - KILOBITS
      - MEGABITS
      - GIGABITS
      - BYTES
      - KILOBYTES
      - MEGABYTES
      - GIGABYTES
      - TERABYTES
      - PETABYTES
    DataMetricValueView:
      title: Data Metric Value
      type: object
      properties:
        number:
          type: number
          description: Amount of the `metricName` recorded at the time of the event.
            This value triggered the alert.
          format: double
          readOnly: true
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
      description: Measurement of the `metricName` recorded at the time of the event.
      readOnly: true
    DataProcessRegionView:
      type: object
      properties:
        cloudProvider:
          type: string
          description: Human-readable label that identifies the Cloud service provider
            where you store your archived data.
          readOnly: true
          enum:
          - AWS
          - AZURE
          - GCP
      description: Settings to configure the region where you wish to store your archived
        data.
      readOnly: true
      discriminator:
        propertyName: cloudProvider
        mapping:
          AWS: "#/components/schemas/AWSDataProcessRegionView"
          AZURE: "#/components/schemas/AzureDataProcessRegionView"
          GCP: "#/components/schemas/GCPDataProcessRegionView"
      x-xgen-IPA-exception:
        xgen-IPA-125-discriminator-must-accompany-oneOf-anyOf-allOf: Schema predates
          IPA validation.
    DataProtectionSettings:
      required:
      - authorizedEmail
      type: object
      properties:
        authorizedEmail:
          type: string
          description: Email address of the user who authorized to update the Backup
            Compliance Policy  settings.
          format: email
        authorizedUserFirstName:
          type: string
          description: First name of the user who authorized to update the Backup
            Compliance Policy  settings.
        authorizedUserLastName:
          type: string
          description: Last name of the user who authorized to update the Backup Compliance
            Policy  settings.
        copyProtectionEnabled:
          type: boolean
          description: Flag that indicates whether to prevent cluster users from deleting
            backups copied to other regions, even if those additional snapshot regions
            are removed. If unspecified, this value defaults to false.
          default: false
        deletable:
          type: boolean
          description: Flag that indicates whether the Backup Compliance Policy is
            allowed to be disabled. It is default to false and a support ticket needs
            to be filed to request setting to true.
          readOnly: true
          externalDocs:
            description: Configure a Backup Compliance Policy
            url: https://www.mongodb.com/docs/atlas/backup/cloud-backup/backup-compliance-policy/
          default: false
        encryptionAtRestEnabled:
          type: boolean
          description: Flag that indicates whether Encryption at Rest using Customer
            Key  Management is required for all clusters with a Backup Compliance
            Policy. If unspecified, this value defaults to false.
          externalDocs:
            description: Encryption at Rest using Customer Key Management
            url: https://www.mongodb.com/docs/atlas/security-kms-encryption/
          default: false
        onDemandPolicyItem:
          "$ref": "#/components/schemas/BackupComplianceOnDemandPolicyItem"
        pitEnabled:
          type: boolean
          description: Flag that indicates whether the cluster uses Continuous Cloud
            Backups with a Backup Compliance Policy. If unspecified, this value defaults
            to false.
          externalDocs:
            description: Continuous Cloud Backups
            url: https://docs.atlas.mongodb.com/backup/cloud-backup/overview/
          default: false
        projectId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            for the Backup Compliance Policy.
          example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-112-avoid-project-field-names: Schema predates IPA validation.
        restoreWindowDays:
          type: integer
          description: Number of previous days that you can restore back to with Continuous
            Cloud Backup with a Backup Compliance Policy. You must specify a positive,
            non-zero integer, and the maximum retention window can't exceed the hourly
            retention time. This parameter applies only to Continuous Cloud Backups
            with a Backup Compliance Policy.
          format: int32
        scheduledPolicyItems:
          type: array
          description: List that contains the specifications for one scheduled policy.
          items:
            "$ref": "#/components/schemas/BackupComplianceScheduledPolicyItem"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        state:
          type: string
          description: Label that indicates the state of the Backup Compliance Policy
            settings. MongoDB Cloud ignores this setting when you enable or update
            the Backup Compliance Policy settings.
          readOnly: true
          enum:
          - ACTIVE
          - ENABLING
          - UPDATING
          - DISABLING
        updatedDate:
          type: string
          description: ISO 8601 timestamp format in UTC that indicates when the user
            updated the Data Protection Policy settings. MongoDB Cloud ignores this
            setting when you enable or update the Backup Compliance Policy settings.
          format: date-time
          readOnly: true
        updatedUser:
          type: string
          description: Email address that identifies the user who updated the Backup
            Compliance Policy settings. MongoDB Cloud ignores this email setting when
            you enable or update the Backup Compliance Policy settings.
          format: email
          readOnly: true
    DatabaseInheritedRole:
      title: Inherited Role
      required:
      - db
      - role
      type: object
      properties:
        db:
          type: string
          description: Human-readable label that identifies the database on which
            someone grants the action to one MongoDB user.
        role:
          type: string
          description: Human-readable label that identifies the role inherited. Set
            this value to `admin` for every role except `read` or `readWrite`.
          externalDocs:
            description: MongoDB Built-In Roles
            url: https://docs.mongodb.com/manual/reference/built-in-roles/
      description: Role inherited from another context for this database user.
      externalDocs:
        description: Built-in MongoDB Roles
        url: https://docs.mongodb.com/manual/reference/built-in-roles/
    DatabasePermittedNamespaceResource:
      title: Permitted Namespace
      required:
      - cluster
      - collection
      - db
      type: object
      properties:
        cluster:
          type: boolean
          description: Flag that indicates whether to grant the action on the cluster
            resource. If `true`, MongoDB Cloud ignores the `actions.resources.collection`
            and `actions.resources.db` parameters.
        collection:
          type: string
          description: 'Human-readable label that identifies the collection on which
            you grant the action to one MongoDB user. If you don''t set this parameter,
            you grant the action to all collections in the database specified in the
            `actions.resources.db` parameter. If you set `"actions.resources.cluster"
            : true`, MongoDB Cloud ignores this parameter.'
        db:
          type: string
          description: 'Human-readable label that identifies the database on which
            you grant the action to one MongoDB user. If you set `"actions.resources.cluster"
            : true`, MongoDB Cloud ignores this parameter.'
      description: Namespace to which this database user has access.
      externalDocs:
        description: Cluster Resources
        url: https://docs.mongodb.com/manual/reference/resource-document/#cluster-resource
    DatabasePrivilegeAction:
      title: Database Privilege Action
      required:
      - action
      - resources
      type: object
      properties:
        action:
          type: string
          description: Human-readable label that identifies the privilege action.
          enum:
          - FIND
          - INSERT
          - REMOVE
          - UPDATE
          - BYPASS_DOCUMENT_VALIDATION
          - USE_UUID
          - KILL_OP
          - BYPASS_DEFAULT_MAX_TIME_MS
          - CREATE_COLLECTION
          - CREATE_INDEX
          - DROP_COLLECTION
          - ENABLE_PROFILER
          - KILL_ANY_CURSOR
          - CHANGE_STREAM
          - COLL_MOD
          - COMPACT
          - CONVERT_TO_CAPPED
          - DROP_DATABASE
          - DROP_INDEX
          - RE_INDEX
          - RENAME_COLLECTION_SAME_DB
          - SET_USER_WRITE_BLOCK
          - BYPASS_USER_WRITE_BLOCK
          - LIST_SESSIONS
          - KILL_ANY_SESSION
          - COLL_STATS
          - CONN_POOL_STATS
          - DB_HASH
          - DB_STATS
          - GET_CMD_LINE_OPTS
          - GET_LOG
          - GET_PARAMETER
          - GET_SHARD_MAP
          - HOST_INFO
          - IN_PROG
          - LIST_DATABASES
          - LIST_COLLECTIONS
          - LIST_INDEXES
          - LIST_SHARDS
          - NET_STAT
          - REPL_SET_GET_CONFIG
          - REPL_SET_GET_STATUS
          - SERVER_STATUS
          - VALIDATE
          - SHARDING_STATE
          - TOP
          - SQL_GET_SCHEMA
          - SQL_SET_SCHEMA
          - VIEW_ALL_HISTORY
          - OUT_TO_S3
          - OUT_TO_AZURE
          - OUT_TO_GCS
          - STORAGE_GET_CONFIG
          - STORAGE_SET_CONFIG
          - FLUSH_ROUTER_CONFIG
          - ENABLE_SHARDING
          - CHECK_METADATA_CONSISTENCY
          - MOVE_CHUNK
          - SPLIT_CHUNK
          - ANALYZE_SHARD_KEY
          - REFINE_COLLECTION_SHARD_KEY
          - CLEAR_JUMBO_FLAG
          - RESHARD_COLLECTION
          - SHARDED_DATA_DISTRIBUTION
          - GET_STREAM_PROCESSOR
          - CREATE_STREAM_PROCESSOR
          - PROCESS_STREAM_PROCESSOR
          - MODIFY_STREAM_PROCESSOR
          - START_STREAM_PROCESSOR
          - STOP_STREAM_PROCESSOR
          - DROP_STREAM_PROCESSOR
          - SAMPLE_STREAM_PROCESSOR
          - LIST_STREAM_PROCESSORS
          - LIST_CONNECTIONS
          - STREAM_PROCESSOR_STATS
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
              IPA validation.
        resources:
          type: array
          description: List of resources on which you grant the action.
          items:
            "$ref": "#/components/schemas/DatabasePermittedNamespaceResource"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
      description: Privilege action that the role grants.
    DatabaseRollingIndexRequest:
      required:
      - collection
      - db
      - keys
      type: object
      properties:
        collation:
          "$ref": "#/components/schemas/Collation"
        collection:
          type: string
          description: Human-readable label of the collection for which MongoDB Cloud
            creates an index.
          writeOnly: true
        db:
          type: string
          description: Human-readable label of the database that holds the collection
            on which MongoDB Cloud creates an index.
          writeOnly: true
        keys:
          type: array
          description: List that contains one or more objects that describe the parameters
            that you want to index.
          writeOnly: true
          items:
            maxProperties: 1
            minProperties: 1
            type: object
            additionalProperties:
              maxProperties: 1
              minProperties: 1
              type: string
              description: Key-value pair that sets the parameter to index as the
                key and the type of index as its value. To create a [multi-key index](https://docs.mongodb.com/manual/core/index-multikey/),
                list each parameter in its own object within this array.
              writeOnly: true
              externalDocs:
                description: Index Types
                url: https://docs.mongodb.com/manual/indexes/#index-types
            description: Key-value pair that sets the parameter to index as the key
              and the type of index as its value. To create a [multi-key index](https://docs.mongodb.com/manual/core/index-multikey/),
              list each parameter in its own object within this array.
            writeOnly: true
            externalDocs:
              description: Index Types
              url: https://docs.mongodb.com/manual/indexes/#index-types
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        options:
          "$ref": "#/components/schemas/IndexOptions"
    DatabaseUserRole:
      title: Database User Role
      required:
      - databaseName
      - roleName
      type: object
      properties:
        collectionName:
          type: string
          description: Collection on which this role applies.
        databaseName:
          type: string
          description: Database to which the user is granted access privileges.
        roleName:
          type: string
          description: Human-readable label that identifies a group of privileges
            assigned to a database user. This value can either be a built-in role
            or a custom role.
          enum:
          - atlasAdmin
          - backup
          - clusterMonitor
          - dbAdmin
          - dbAdminAnyDatabase
          - enableSharding
          - read
          - readAnyDatabase
          - readWrite
          - readWriteAnyDatabase
          - "<a custom role name>"
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Range of resources available to this database user.
    Datadog:
      title: DATADOG
      required:
      - apiKey
      type: object
      properties:
        apiKey:
          type: string
          description: |-
            Key that allows MongoDB Cloud to access your Datadog account.

            **NOTE**: After you create a notification which requires an API or integration key, the key appears partially redacted when you:

            * View or edit the alert through the Atlas UI.

            * Query the alert for the notification through the Atlas Administration API.
          example: "****************************a23c"
        id:
          type: string
          description: Integration id.
          nullable: true
        region:
          type: string
          description: Two-letter code that indicates which regional URL MongoDB uses
            to access the Datadog API.
          externalDocs:
            description: Datadog regions
            url: https://docs.datadoghq.com/getting_started/site/
          enum:
          - US
          - EU
          - US3
          - US5
          - AP1
          - US1_FED
        sendCollectionLatencyMetrics:
          type: boolean
          description: Toggle sending collection latency metrics that includes database
            names and collection names and latency metrics on reads, writes, commands,
            and transactions.
          default: false
        sendDatabaseMetrics:
          type: boolean
          description: Toggle sending database metrics that includes database names
            and metrics on the number of collections, storage size, and index size.
          default: false
        sendQueryStatsMetrics:
          type: boolean
          description: Toggle sending query shape metrics that includes query hash
            and metrics on latency, execution frequency, documents returned, and timestamps.
          default: false
        sendUserProvidedResourceTags:
          type: boolean
          description: Toggle sending user provided group and cluster resource tags
            with the Datadog metrics.
          default: false
        type:
          type: string
          description: Human-readable label that identifies the service to which you
            want to integrate with MongoDB Cloud. The value must match the third-party
            service integration type.
          enum:
          - DATADOG
      description: Details to integrate one Datadog account with one MongoDB Cloud
        project.
    DatadogNotification:
      title: Datadog Notification
      required:
      - typeName
      type: object
      properties:
        datadogApiKey:
          type: string
          description: |-
            Datadog API Key that MongoDB Cloud needs to send alert notifications to Datadog. You can find this API key in the Datadog dashboard. The resource requires this parameter when `"notifications.[n].typeName" : "DATADOG"`.

            **NOTE**: After you create a notification which requires an API or integration key, the key appears partially redacted when you:

            * View or edit the alert through the Atlas UI.

            * Query the alert for the notification through the Atlas Administration API.
          example: "****************************a23c"
        datadogRegion:
          type: string
          description: 'Datadog region that indicates which API Uniform Resource Locator
            (URL) to use. The resource requires this parameter when `"notifications.[n].typeName"
            : "DATADOG"`.'
          externalDocs:
            description: Datadog regions
            url: https://docs.datadoghq.com/getting_started/site/
          enum:
          - US
          - EU
          - US3
          - US5
          - AP1
          - US1_FED
          default: US
        delayMin:
          type: integer
          description: Number of minutes that MongoDB Cloud waits after detecting
            an alert condition before it sends out the first notification.
          format: int32
        integrationId:
          type: string
          description: The id of the associated integration, the credentials of which
            to use for requests.
          example: 32b6e34b3d91647abb20e7b8
        intervalMin:
          minimum: 5
          type: integer
          description: |-
            Number of minutes to wait between successive notifications. MongoDB Cloud sends notifications until someone acknowledges the unacknowledged alert.

            PagerDuty, VictorOps, and OpsGenie notifications don't return this element. Configure and manage the notification interval within each of those services.
          format: int32
        notifierId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: The `notifierId` is a system-generated unique identifier assigned
            to each notification method. This is needed when updating third-party
            notifications without requiring explicit authentication credentials.
          example: 32b6e34b3d91647abb20e7b8
        typeName:
          type: string
          description: Human-readable label that displays the alert notification type.
          enum:
          - DATADOG
      description: Datadog notification configuration for MongoDB Cloud to send information
        when an event triggers an alert condition.
    DatasetRetentionPolicy:
      title: Dataset Retention Policy
      required:
      - units
      - value
      type: object
      properties:
        lastModifiedDate:
          type: string
          description: Date when retention policy was last modified. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        units:
          type: string
          description: Quantity of time in which the Data Lake Pipeline measures dataset
            retention.
          enum:
          - DAYS
          - WEEKS
          - MONTHS
        value:
          minimum: 1
          type: integer
          description: Number that indicates the amount of days, weeks, or months
            that the Data Lake Pipeline will retain datasets.
          format: int32
      description: Dataset Retention Policy for a Scheduled Data Lake Pipeline.
    DateCriteriaView:
      title: Archival Criteria
      type: object
      description: Date-Based archival criteria.
      allOf:
      - "$ref": "#/components/schemas/CriteriaView"
      - type: object
        properties:
          dateField:
            type: string
            description: 'Indexed database parameter that stores the date that determines
              when data moves to the online archive. MongoDB Cloud archives the data
              when the current date exceeds the date in this database parameter plus
              the number of days specified through the `expireAfterDays` parameter.
              Set this parameter when you set `"criteria.type" : "DATE"`.'
          dateFormat:
            type: string
            description: |-
              Syntax used to write the date after which data moves to the online archive. Date can be expressed as ISO 8601, Epoch timestamps, or Object ID. The Epoch timestamp can be expressed as nanoseconds, milliseconds, or seconds. Set this parameter when `criteria.type` : `DATE`.
              You must set `criteria.type` : `DATE` if `collectionType`: `TIMESERIES`.
            enum:
            - ISODATE
            - EPOCH_SECONDS
            - EPOCH_MILLIS
            - EPOCH_NANOSECONDS
            - OBJECT_ID
            default: ISODATE
          expireAfterDays:
            type: integer
            description: 'Number of days after the value in the `criteria.dateField`
              when MongoDB Cloud archives data in the specified cluster. Set this
              parameter when you set `"criteria.type" : "DATE"`.'
            format: int32
    DbDataSizeTotalDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    DbDataSizeTotalWoSystemDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    DbIndexSizeTotalDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    DbStorageTotalDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    DedicatedHardwareSpec:
      type: object
      properties:
        nodeCount:
          type: integer
          description: Number of nodes of the given type for MongoDB Cloud to deploy
            to the region.
          format: int32
      description: Hardware specifications for read-only nodes in the region. Read-only
        nodes can never become the primary member, but can enable local reads. If
        you don't specify this parameter, no read-only nodes are deployed to the region.
      oneOf:
      - "$ref": "#/components/schemas/AWSHardwareSpec"
      - "$ref": "#/components/schemas/AzureHardwareSpec"
      - "$ref": "#/components/schemas/GCPHardwareSpec"
      x-xgen-IPA-exception:
        xgen-IPA-125-oneOf-must-have-discriminator: Schema predates IPA validation.
    DefaultAlertConfigViewForNdsGroup:
      title: Any Other Alert Configurations
      required:
      - eventTypeName
      - notifications
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created the alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled this alert configuration
            for the specified project.
          default: false
        eventTypeName:
          type: object
          description: Incident that triggered this alert.
          externalDocs:
            description: Atlas Alert Event Types
            url: https://www.mongodb.com/docs/atlas/reference/atlas-alert-event-types/
          oneOf:
          - title: Billing Event Types
            type: string
            enum:
            - CREDIT_CARD_ABOUT_TO_EXPIRE
          - title: Cps Backup Event Types
            type: string
            enum:
            - CPS_SNAPSHOT_STARTED
            - CPS_SNAPSHOT_SUCCESSFUL
            - CPS_SNAPSHOT_FAILED
            - CPS_CONCURRENT_SNAPSHOT_FAILED_WILL_RETRY
            - CPS_SNAPSHOT_FALLBACK_SUCCESSFUL
            - CPS_SNAPSHOT_FALLBACK_FAILED
            - CPS_COPY_SNAPSHOT_STARTED
            - CPS_COPY_SNAPSHOT_FAILED
            - CPS_COPY_SNAPSHOT_FAILED_WILL_RETRY
            - CPS_COPY_SNAPSHOT_SUCCESSFUL
            - CPS_RESTORE_SUCCESSFUL
            - CPS_EXPORT_SUCCESSFUL
            - CPS_RESTORE_FAILED
            - CPS_EXPORT_FAILED
            - CPS_COLLECTION_RESTORE_SUCCESSFUL
            - CPS_COLLECTION_RESTORE_FAILED
            - CPS_COLLECTION_RESTORE_PARTIAL_SUCCESS
            - CPS_COLLECTION_RESTORE_CANCELED
            - CPS_AUTO_EXPORT_FAILED
            - CPS_SNAPSHOT_DOWNLOAD_REQUEST_FAILED
            - CPS_OPLOG_CAUGHT_UP
            x-xgen-IPA-exception:
              xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema values
                all related to CPS backup events.
          - title: Data Protection Event Types
            type: string
            enum:
            - CPS_DATA_PROTECTION_ENABLE_REQUESTED
            - CPS_DATA_PROTECTION_ENABLED
            - CPS_DATA_PROTECTION_UPDATE_REQUESTED
            - CPS_DATA_PROTECTION_UPDATED
            - CPS_DATA_PROTECTION_DISABLE_REQUESTED
            - CPS_DATA_PROTECTION_DISABLED
            - CPS_DATA_PROTECTION_APPROVED_FOR_DISABLEMENT
          - title: FTS Index Audit Types
            type: string
            enum:
            - FTS_INDEX_DELETION_FAILED
            - FTS_INDEX_BUILD_COMPLETE
            - FTS_INDEX_BUILD_FAILED
            - FTS_INDEX_STALE
            - FTS_INDEXES_RESTORE_FAILED
            - FTS_INDEXES_SYNONYM_MAPPING_INVALID
          - title: Group Event Types
            type: string
            enum:
            - USERS_WITHOUT_MULTI_FACTOR_AUTH
            - ENCRYPTION_AT_REST_KMS_NETWORK_ACCESS_DENIED
            - ENCRYPTION_AT_REST_CONFIG_NO_LONGER_VALID
            - GROUP_SERVICE_ACCOUNT_SECRETS_EXPIRING
            - GROUP_SERVICE_ACCOUNT_SECRETS_EXPIRED
            - ACTIVE_LEGACY_TLS_CONNECTIONS
          - title: Mongotune Event Types
            type: string
            enum:
            - MONGOTUNE_ALERT
          - title: Atlas Audit Types
            type: string
            enum:
            - CLUSTER_INSTANCE_STOP_START
            - CLUSTER_INSTANCE_RESYNC_REQUESTED
            - CLUSTER_INSTANCE_UPDATE_REQUESTED
            - SAMPLE_DATASET_LOAD_REQUESTED
            - TENANT_UPGRADE_TO_SERVERLESS_SUCCESSFUL
            - TENANT_UPGRADE_TO_SERVERLESS_FAILED
            - NETWORK_PERMISSION_ENTRY_ADDED
            - NETWORK_PERMISSION_ENTRY_REMOVED
            - NETWORK_PERMISSION_ENTRY_UPDATED
            - CLUSTER_BLOCK_WRITE
            - CLUSTER_UNBLOCK_WRITE
          - title: Maintenance Window Audit Types
            type: string
            enum:
            - MAINTENANCE_IN_ADVANCED
            - MAINTENANCE_AUTO_DEFERRED
            - MAINTENANCE_STARTED
            - MAINTENANCE_COMPLETED
            - MAINTENANCE_NO_LONGER_NEEDED
          - title: Online Archive Event Types
            type: string
            enum:
            - ONLINE_ARCHIVE_INSUFFICIENT_INDEXES_CHECK
            - ONLINE_ARCHIVE_MAX_CONSECUTIVE_OFFLOAD_WINDOWS_CHECK
          - title: User Event Types
            type: string
            enum:
            - JOINED_GROUP
            - REMOVED_FROM_GROUP
            - USER_ROLES_CHANGED_AUDIT
          - title: Resource Event Types
            type: string
            enum:
            - TAGS_MODIFIED
            - CLUSTER_TAGS_MODIFIED
            - GROUP_TAGS_MODIFIED
          - title: Stream Processor Event Types
            type: string
            enum:
            - STREAM_PROCESSOR_STATE_IS_FAILED
            - OUTSIDE_STREAM_PROCESSOR_METRIC_THRESHOLD
          - title: Auto Scaling Audit Types
            type: string
            enum:
            - COMPUTE_AUTO_SCALE_INITIATED_BASE
            - COMPUTE_AUTO_SCALE_INITIATED_ANALYTICS
            - COMPUTE_AUTO_SCALE_SCALE_DOWN_FAIL_BASE
            - COMPUTE_AUTO_SCALE_SCALE_DOWN_FAIL_ANALYTICS
            - COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_BASE
            - COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_ANALYTICS
            - COMPUTE_AUTO_SCALE_OPLOG_FAIL_BASE
            - COMPUTE_AUTO_SCALE_OPLOG_FAIL_ANALYTICS
            - DISK_AUTO_SCALE_INITIATED
            - DISK_AUTO_SCALE_MAX_DISK_SIZE_FAIL
            - DISK_AUTO_SCALE_OPLOG_FAIL
            - PREDICTIVE_COMPUTE_AUTO_SCALE_INITIATED_BASE
            - PREDICTIVE_COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_BASE
            - PREDICTIVE_COMPUTE_AUTO_SCALE_OPLOG_FAIL_BASE
            - CLUSTER_AUTO_SHARDING_INITIATED
          - title: Atlas Resource Policy Audit Types
            type: string
            enum:
            - RESOURCE_POLICY_VIOLATED
          - title: Host Event Types
            type: string
            enum:
            - HOST_DOWN
            - HOST_HAS_INDEX_SUGGESTIONS
            - HOST_MONGOT_CRASHING_OOM
            - HOST_MONGOT_STOP_REPLICATION
            - HOST_MONGOT_APPROACHING_STOP_REPLICATION
            - HOST_MONGOT_PAUSE_INITIAL_SYNC
            - HOST_SEARCH_NODE_INDEX_FAILED
            - HOST_EXTERNAL_LOG_SINK_EXPORT_DOWN
            - HOST_NOT_ENOUGH_DISK_SPACE
            - SSH_KEY_NDS_HOST_ACCESS_REQUESTED
            - SSH_KEY_NDS_HOST_ACCESS_REFRESHED
            - PUSH_BASED_LOG_EXPORT_STOPPED
            - PUSH_BASED_LOG_EXPORT_DROPPED_LOG
            - HOST_VERSION_BEHIND
            - VERSION_BEHIND
            - HOST_EXPOSED
            - HOST_SSL_CERTIFICATE_STALE
            - HOST_SECURITY_CHECKUP_NOT_MET
            - ALERT_HOST_SSH_SESSION_STARTED
            - PROFILER_CONFIGURED_TOO_WIDELY
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert
            configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        matchers:
          type: array
          description: Matching conditions for target resources.
          items:
            "$ref": "#/components/schemas/AlertMatcher"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        notifications:
          maxItems: 25
          minItems: 1
          type: array
          description: List that contains the targets that MongoDB Cloud sends notifications.
          items:
            "$ref": "#/components/schemas/AlertsNotificationRootForGroup"
        severityOverride:
          "$ref": "#/components/schemas/EventSeverity"
        updated:
          type: string
          description: Date and time when someone last updated this alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Other alerts which don't have extra details beside of basic one.
    DefaultAlertViewForNdsGroup:
      title: Any Other Alerts
      required:
      - alertConfigId
      - created
      - eventTypeName
      - id
      - status
      - updated
      type: object
      properties:
        acknowledgedUntil:
          type: string
          description: |-
            Date and time until which this alert has been acknowledged. This parameter expresses its value in the ISO 8601 timestamp format in UTC. The resource returns this parameter if a MongoDB User previously acknowledged this alert.

            - To acknowledge this alert forever, set the parameter value to 100 years in the future.

            - To unacknowledge a previously acknowledged alert, do not set this parameter value.
          format: date-time
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        acknowledgementComment:
          maxLength: 200
          type: string
          description: Comment that a MongoDB Cloud user submitted when acknowledging
            the alert.
          example: Expiration on 3/19.  Silencing for 7days.
        acknowledgingUsername:
          type: string
          description: MongoDB Cloud username of the person who acknowledged the alert.
            The response returns this parameter if a MongoDB Cloud user previously
            acknowledged this alert.
          format: email
          readOnly: true
        alertConfigId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the alert
            configuration that sets this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        created:
          type: string
          description: Date and time when MongoDB Cloud created this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          type: object
          description: Incident that triggered this alert.
          readOnly: true
          oneOf:
          - title: Billing Event Types
            type: string
            enum:
            - CREDIT_CARD_ABOUT_TO_EXPIRE
            - PENDING_INVOICE_OVER_THRESHOLD
            - DAILY_BILL_OVER_THRESHOLD
          - title: Cps Backup Event Types
            type: string
            enum:
            - CPS_SNAPSHOT_STARTED
            - CPS_SNAPSHOT_SUCCESSFUL
            - CPS_SNAPSHOT_FAILED
            - CPS_CONCURRENT_SNAPSHOT_FAILED_WILL_RETRY
            - CPS_SNAPSHOT_BEHIND
            - CPS_COPY_SNAPSHOT_STARTED
            - CPS_COPY_SNAPSHOT_FAILED
            - CPS_COPY_SNAPSHOT_FAILED_WILL_RETRY
            - CPS_COPY_SNAPSHOT_SUCCESSFUL
            - CPS_PREV_SNAPSHOT_OLD
            - CPS_SNAPSHOT_FALLBACK_SUCCESSFUL
            - CPS_SNAPSHOT_FALLBACK_FAILED
            - CPS_RESTORE_SUCCESSFUL
            - CPS_EXPORT_SUCCESSFUL
            - CPS_RESTORE_FAILED
            - CPS_EXPORT_FAILED
            - CPS_COLLECTION_RESTORE_SUCCESSFUL
            - CPS_COLLECTION_RESTORE_FAILED
            - CPS_COLLECTION_RESTORE_PARTIAL_SUCCESS
            - CPS_COLLECTION_RESTORE_CANCELED
            - CPS_AUTO_EXPORT_FAILED
            - CPS_SNAPSHOT_DOWNLOAD_REQUEST_FAILED
            - CPS_OPLOG_BEHIND
            - CPS_OPLOG_CAUGHT_UP
            x-xgen-IPA-exception:
              xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema values
                all related to CPS backup events.
          - title: Encryption Event Types
            type: string
            enum:
            - AWS_ENCRYPTION_KEY_NEEDS_ROTATION
            - AZURE_ENCRYPTION_KEY_NEEDS_ROTATION
            - GCP_ENCRYPTION_KEY_NEEDS_ROTATION
            - AWS_ENCRYPTION_KEY_INVALID
            - AZURE_ENCRYPTION_KEY_INVALID
            - GCP_ENCRYPTION_KEY_INVALID
          - title: FTS Index Audit Types
            type: string
            enum:
            - FTS_INDEX_DELETION_FAILED
            - FTS_INDEX_BUILD_COMPLETE
            - FTS_INDEX_BUILD_FAILED
            - FTS_INDEX_STALE
            - FTS_INDEXES_RESTORE_FAILED
            - FTS_INDEXES_SYNONYM_MAPPING_INVALID
          - title: Group Event Types
            type: string
            enum:
            - USERS_WITHOUT_MULTI_FACTOR_AUTH
            - ENCRYPTION_AT_REST_KMS_NETWORK_ACCESS_DENIED
            - ENCRYPTION_AT_REST_CONFIG_NO_LONGER_VALID
            - GROUP_SERVICE_ACCOUNT_SECRETS_EXPIRING
            - GROUP_SERVICE_ACCOUNT_SECRETS_EXPIRED
            - ACTIVE_LEGACY_TLS_CONNECTIONS
          - title: Mongotune Event Types
            type: string
            enum:
            - MONGOTUNE_ALERT
          - title: Atlas Audit Types
            type: string
            enum:
            - CLUSTER_INSTANCE_STOP_START
            - CLUSTER_INSTANCE_RESYNC_REQUESTED
            - CLUSTER_INSTANCE_UPDATE_REQUESTED
            - SAMPLE_DATASET_LOAD_REQUESTED
            - TENANT_UPGRADE_TO_SERVERLESS_SUCCESSFUL
            - TENANT_UPGRADE_TO_SERVERLESS_FAILED
            - NETWORK_PERMISSION_ENTRY_ADDED
            - NETWORK_PERMISSION_ENTRY_REMOVED
            - NETWORK_PERMISSION_ENTRY_UPDATED
            - CLUSTER_BLOCK_WRITE
            - CLUSTER_UNBLOCK_WRITE
          - title: Maintenance Window Audit Types
            type: string
            enum:
            - MAINTENANCE_IN_ADVANCED
            - MAINTENANCE_AUTO_DEFERRED
            - MAINTENANCE_STARTED
            - MAINTENANCE_COMPLETED
            - MAINTENANCE_NO_LONGER_NEEDED
          - title: x509 User Auth Event Types
            type: string
            enum:
            - NDS_X509_USER_AUTHENTICATION_CUSTOMER_CA_EXPIRATION_CHECK
            - NDS_X509_USER_AUTHENTICATION_CUSTOMER_CRL_EXPIRATION_CHECK
            - NDS_X509_USER_AUTHENTICATION_MANAGED_USER_CERTS_EXPIRATION_CHECK
          - title: Online Archive Event Types
            type: string
            enum:
            - ONLINE_ARCHIVE_INSUFFICIENT_INDEXES_CHECK
            - ONLINE_ARCHIVE_MAX_CONSECUTIVE_OFFLOAD_WINDOWS_CHECK
          - title: Serverless Event Types
            type: string
            enum:
            - OUTSIDE_SERVERLESS_METRIC_THRESHOLD
          - title: Flex Metric Event Types
            type: string
            enum:
            - OUTSIDE_FLEX_METRIC_THRESHOLD
          - title: User Event Types
            type: string
            enum:
            - JOINED_GROUP
            - REMOVED_FROM_GROUP
            - USER_ROLES_CHANGED_AUDIT
          - title: Resource Event Types
            type: string
            enum:
            - TAGS_MODIFIED
            - CLUSTER_TAGS_MODIFIED
            - GROUP_TAGS_MODIFIED
          - title: Stream Processor Event Types
            type: string
            enum:
            - STREAM_PROCESSOR_STATE_IS_FAILED
            - OUTSIDE_STREAM_PROCESSOR_METRIC_THRESHOLD
          - title: Auto Scaling Audit Types
            type: string
            enum:
            - COMPUTE_AUTO_SCALE_INITIATED_BASE
            - COMPUTE_AUTO_SCALE_INITIATED_ANALYTICS
            - COMPUTE_AUTO_SCALE_SCALE_DOWN_FAIL_BASE
            - COMPUTE_AUTO_SCALE_SCALE_DOWN_FAIL_ANALYTICS
            - COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_BASE
            - COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_ANALYTICS
            - COMPUTE_AUTO_SCALE_OPLOG_FAIL_BASE
            - COMPUTE_AUTO_SCALE_OPLOG_FAIL_ANALYTICS
            - DISK_AUTO_SCALE_INITIATED
            - DISK_AUTO_SCALE_MAX_DISK_SIZE_FAIL
            - DISK_AUTO_SCALE_OPLOG_FAIL
            - PREDICTIVE_COMPUTE_AUTO_SCALE_INITIATED_BASE
            - PREDICTIVE_COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_BASE
            - PREDICTIVE_COMPUTE_AUTO_SCALE_OPLOG_FAIL_BASE
            - CLUSTER_AUTO_SHARDING_INITIATED
          - title: Data Protection Event Types
            type: string
            enum:
            - CPS_DATA_PROTECTION_ENABLE_REQUESTED
            - CPS_DATA_PROTECTION_ENABLED
            - CPS_DATA_PROTECTION_UPDATE_REQUESTED
            - CPS_DATA_PROTECTION_UPDATED
            - CPS_DATA_PROTECTION_DISABLE_REQUESTED
            - CPS_DATA_PROTECTION_DISABLED
            - CPS_DATA_PROTECTION_APPROVED_FOR_DISABLEMENT
          - title: Atlas Resource Policy Audit Types
            type: string
            enum:
            - RESOURCE_POLICY_VIOLATED
          - title: Host Event Types
            type: string
            enum:
            - HOST_DOWN
            - HOST_HAS_INDEX_SUGGESTIONS
            - HOST_MONGOT_CRASHING_OOM
            - HOST_MONGOT_STOP_REPLICATION
            - HOST_MONGOT_APPROACHING_STOP_REPLICATION
            - HOST_MONGOT_PAUSE_INITIAL_SYNC
            - HOST_SEARCH_NODE_INDEX_FAILED
            - HOST_EXTERNAL_LOG_SINK_EXPORT_DOWN
            - HOST_NOT_ENOUGH_DISK_SPACE
            - SSH_KEY_NDS_HOST_ACCESS_REQUESTED
            - SSH_KEY_NDS_HOST_ACCESS_REFRESHED
            - PUSH_BASED_LOG_EXPORT_STOPPED
            - PUSH_BASED_LOG_EXPORT_DROPPED_LOG
            - HOST_VERSION_BEHIND
            - VERSION_BEHIND
            - HOST_EXPOSED
            - HOST_SSL_CERTIFICATE_STALE
            - HOST_SECURITY_CHECKUP_NOT_MET
            - ALERT_HOST_SSH_SESSION_STARTED
            - PROFILER_CONFIGURED_TOO_WIDELY
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        lastNotified:
          type: string
          description: Date and time that any notifications were last sent for this
            alert. This parameter expresses its value in the ISO 8601 timestamp format
            in UTC. The resource returns this parameter if MongoDB Cloud has sent
            notifications for this alert.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            organization that owns the project to which this alert applies.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        resolved:
          type: string
          description: 'Date and time that this alert changed to `"status" : "CLOSED"`.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC. The resource returns this parameter once `"status" : "CLOSED"`.'
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        status:
          type: string
          description: State of this alert at the time you requested its details.
            TRACKING indicates the alert condition exists but has not persisted for
            the minimum notification delay. OPEN indicates the alert condition currently
            exists. CLOSED indicates the alert condition has been resolved.
          readOnly: true
          example: OPEN
          enum:
          - CANCELLED
          - CLOSED
          - OPEN
          - TRACKING
        updated:
          type: string
          description: Date and time when someone last updated this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Other alerts which don't have extra details beside of basic one.
    DefaultEventViewForNdsGroup:
      title: Any Other Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          type: object
          description: Unique identifier of event type.
          oneOf:
          - title: Auto Indexing Event Types
            type: string
            enum:
            - AUTO_INDEXING_ENABLED
            - AUTO_INDEXING_DISABLED
            - AUTO_INDEXING_INDEX_BUILD_SUBMITTED
            - AUTO_INDEXING_SLOW_INDEX_BUILD
            - AUTO_INDEXING_STALLED_INDEX_BUILD
            - AUTO_INDEXING_FAILED_INDEX_BUILD
            - AUTO_INDEXING_COMPLETED_INDEX_BUILD
            - AUTO_INDEXING_STARTED_INDEX_BUILD
          - title: AWS Peer Vpc Audit Types
            type: string
            enum:
            - PEER_CREATED
            - PEER_DELETED
            - PEER_UPDATED
          - title: Azure Peer Network Audit Types
            type: string
            enum:
            - AZURE_PEER_CREATED
            - AZURE_PEER_UPDATED
            - AZURE_PEER_ACTIVE
            - AZURE_PEER_DELETED
          - title: Cluster Connection Audit Types
            type: string
            enum:
            - CLUSTER_CONNECTION_GET_DATABASES
            - CLUSTER_CONNECTION_GET_DATABASE_COLLECTIONS
            - CLUSTER_CONNECTION_GET_DATABASE_NAMESPACES
            - CLUSTER_CONNECTION_GET_NAMESPACES_WITH_UUID
            - CLUSTER_CONNECTION_GET_AGGREGATED_VIEW_INFOS
            - CLUSTER_CONNECTION_AGGREGATE
            - CLUSTER_CONNECTION_CREATE_COLLECTION
            - CLUSTER_CONNECTION_SAMPLE_COLLECTION_FIELD_NAMES
            - CLUSTER_CONNECTION_SAMPLE_COLLECTION_FIELD_NAMES_AND_TYPES
            - CLUSTER_CONNECTION_GET_NAMESPACES_AND_PROJECT_SQL_SCHEMA_DATA
          - title: Cps Backup Event Types
            type: string
            enum:
            - CPS_SNAPSHOT_STARTED
            - CPS_SNAPSHOT_SUCCESSFUL
            - CPS_SNAPSHOT_FAILED
            - CPS_CONCURRENT_SNAPSHOT_FAILED_WILL_RETRY
            - CPS_SNAPSHOT_FALLBACK_SUCCESSFUL
            - CPS_SNAPSHOT_BEHIND
            - CPS_COPY_SNAPSHOT_STARTED
            - CPS_COPY_SNAPSHOT_FAILED
            - CPS_COPY_SNAPSHOT_FAILED_WILL_RETRY
            - CPS_COPY_SNAPSHOT_SUCCESSFUL
            - CPS_PREV_SNAPSHOT_OLD
            - CPS_SNAPSHOT_FALLBACK_FAILED
            - CPS_RESTORE_SUCCESSFUL
            - CPS_EXPORT_SUCCESSFUL
            - CPS_RESTORE_FAILED
            - CPS_EXPORT_FAILED
            - CPS_COLLECTION_RESTORE_SUCCESSFUL
            - CPS_COLLECTION_RESTORE_FAILED
            - CPS_COLLECTION_RESTORE_PARTIAL_SUCCESS
            - CPS_COLLECTION_RESTORE_CANCELED
            - CPS_AUTO_EXPORT_FAILED
            - CPS_SNAPSHOT_DOWNLOAD_REQUEST_FAILED
            - CPS_OPLOG_BEHIND
            - CPS_OPLOG_CAUGHT_UP
            x-xgen-IPA-exception:
              xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema values
                all related to CPS backup events.
          - title: CPS Backup Compliance Policy Event Types
            type: string
            enum:
            - CPS_DATA_PROTECTION_ENABLE_REQUESTED
            - CPS_DATA_PROTECTION_ENABLED
            - CPS_DATA_PROTECTION_UPDATE_REQUESTED
            - CPS_DATA_PROTECTION_UPDATED
            - CPS_DATA_PROTECTION_DISABLE_REQUESTED
            - CPS_DATA_PROTECTION_DISABLED
            - CPS_DATA_PROTECTION_APPROVED_FOR_DISABLEMENT
          - title: Disk Backup Event Types
            type: string
            enum:
            - CPS_RESTORE_REQUESTED_AUDIT
            - CPS_SNAPSHOT_SCHEDULE_UPDATED_AUDIT
            - CPS_SNAPSHOT_FASTER_RESTORES_START_AUDIT
            - CPS_SNAPSHOT_FASTER_RESTORES_SUCCESS_AUDIT
            - CPS_SNAPSHOT_FASTER_RESTORES_FAILED_AUDIT
            - CPS_SNAPSHOT_DELETED_AUDIT
            - CPS_SNAPSHOT_RETENTION_MODIFIED_AUDIT
            - CPS_SNAPSHOT_IN_PROGRESS_AUDIT
            - CPS_SNAPSHOT_COMPLETED_AUDIT
            - CPS_ON_DEMAND_SNAPSHOT_REQUESTED
            - CPS_OPLOG_CAUGHT_UP_AUDIT
            - CPS_OPLOG_BEHIND_AUDIT
          - title: Encryption Event Types
            type: string
            enum:
            - AWS_ENCRYPTION_KEY_ROTATED
            - AWS_ENCRYPTION_KEY_NEEDS_ROTATION
            - AZURE_ENCRYPTION_KEY_ROTATED
            - AZURE_ENCRYPTION_KEY_NEEDS_ROTATION
            - GCP_ENCRYPTION_KEY_ROTATED
            - GCP_ENCRYPTION_KEY_NEEDS_ROTATION
            - AWS_ENCRYPTION_KEY_VALID
            - AWS_ENCRYPTION_KEY_INVALID
            - AZURE_ENCRYPTION_KEY_VALID
            - AZURE_ENCRYPTION_KEY_INVALID
            - GCP_ENCRYPTION_KEY_VALID
            - GCP_ENCRYPTION_KEY_INVALID
          - title: Export Bucket Audit Types
            type: string
            enum:
            - BUCKET_CREATED_AUDIT
            - BUCKET_DELETED_AUDIT
          - title: GCP Peer Vpc Audit Types
            type: string
            enum:
            - GCP_PEER_CREATED
            - GCP_PEER_DELETED
            - GCP_PEER_UPDATED
            - GCP_PEER_ACTIVE
            - GCP_PEER_INACTIVE
          - title: Group Audit Types
            type: string
            enum:
            - DATA_EXPLORER_ENABLED
            - DATA_EXPLORER_DISABLED
            - CREDIT_CARD_ADDED
            - CREDIT_CARD_UPDATED
            - GROUP_DELETED
            - GROUP_CREATED
            - GROUP_MOVED
            - GROUP_TEMPORARILY_ACTIVATED
            - GROUP_ACTIVATED
            - GROUP_LOCKED
            - GROUP_SUSPENDED
            - GROUP_FLUSHED
            - GROUP_NAME_CHANGED
            - GROUP_CHARTS_ACTIVATION_REQUESTED
            - GROUP_CHARTS_ACTIVATED
            - GROUP_CHARTS_UPGRADED
            - GROUP_CHARTS_RESET
            - GROUP_DEFAULT_ALERTS_SETTINGS_CHANGED
          - title: Group Event Types
            type: string
            enum:
            - PAID_IN_FULL
            - DELINQUENT
            - ALL_USERS_HAVE_MULTI_FACTOR_AUTH
            - USERS_WITHOUT_MULTI_FACTOR_AUTH
            - ENCRYPTION_AT_REST_KMS_NETWORK_ACCESS_DENIED
            - ENCRYPTION_AT_REST_KMS_NETWORK_ACCESS_RESTORED
            - ENCRYPTION_AT_REST_CONFIG_NO_LONGER_VALID
            - ENCRYPTION_AT_REST_CONFIG_IS_VALID
            - GROUP_SERVICE_ACCOUNT_SECRETS_NO_LONGER_EXPIRING
            - GROUP_SERVICE_ACCOUNT_SECRETS_EXPIRING
            - GROUP_SERVICE_ACCOUNT_SECRETS_NO_LONGER_EXPIRED
            - GROUP_SERVICE_ACCOUNT_SECRETS_EXPIRED
            - ACTIVE_LEGACY_TLS_CONNECTIONS
            - NO_ACTIVE_LEGACY_TLS_CONNECTIONS
          - title: Group Integration Event Types
            type: string
            enum:
            - INTEGRATION_CONFIGURED
            - INTEGRATION_REMOVED
          - title: Index Build Audit Types
            type: string
            enum:
            - ROLLING_INDEX_FAILED_INDEX_BUILD
            - ROLLING_INDEX_SUCCESS_INDEX_BUILD
            - INDEX_FAILED_INDEX_BUILD
            - INDEX_SUCCESS_INDEX_BUILD
          - title: DB Check Audit Types
            type: string
            enum:
            - DB_CHECK_UPDATED
            - CLUSTER_SAMPLED_FOR_DB_CHECK
            - DB_CHECK_SCHEDULED_FOR_CLUSTER
            - DB_CHECK_DEFERRED_FOR_CLUSTER
            - CLUSTER_OPTED_OUT_OF_DB_CHECK
          - title: Data Validation Audit Types
            type: string
            enum:
            - CLUSTER_SAMPLED_FOR_DATA_VALIDATION
            - DATA_VALIDATION_SUBMITTED_FOR_CLUSTER
            - CLUSTER_OPTED_OUT_OF_DATA_VALIDATION
            - REPLICA_SET_SAMPLED_FOR_INTER_NODE_DATA_VALIDATION
            - REPLICA_SET_OPTED_OUT_OF_INTER_NODE_DATA_VALIDATION
            - INTER_NODE_DATA_VALIDATION_SUBMITTED_FOR_REPLICA_SET
          - title: Maintenance Window Audit Types
            type: string
            enum:
            - MAINTENANCE_IN_ADVANCED
            - MAINTENANCE_AUTO_DEFERRED
            - MAINTENANCE_STARTED
            - MAINTENANCE_COMPLETED
            - MAINTENANCE_NO_LONGER_NEEDED
          - title: Serverless Auto Scaling Audit Types
            type: string
            enum:
            - SERVERLESS_AUTO_SCALING_INITIATED
            - SERVERLESS_VERTICAL_SCALING_INITIATED
            - SERVERLESS_HORIZONTAL_SCALING_INITIATED
            - SERVERLESS_MTM_DRAIN_REQUESTED
            - SERVERLESS_MTM_DRAIN_INITIATED
            - SERVERLESS_MTM_DRAIN_COMPLETED
            - SERVERLESS_MTM_DRAIN_STOPPED
          - title: Tenant Endpoint Service Deployment Audit Types
            type: string
            enum:
            - TENANT_ENDPOINT_SERVICE_DEPLOYMENT_CREATED
            - TENANT_ENDPOINT_SERVICE_CREATED
            - TENANT_ENDPOINT_SERVICE_AVAILABLE
            - TENANT_ENDPOINT_SERVICE_DEPLOYMENT_DELETE_REQUESTED
            - TENANT_ENDPOINT_SERVICE_DELETED
            - TENANT_ENDPOINT_SERVICE_DEPLOYMENT_DELETED
            - TENANT_ENDPOINT_SERVICE_DEPLOYMENT_NUM_DESIRED_ENDPOINT_SERVICES_INCREASED
          - title: x509 User Auth Event Types
            type: string
            enum:
            - NDS_X509_USER_AUTHENTICATION_CUSTOMER_CA_EXPIRATION_RESOLVED
            - NDS_X509_USER_AUTHENTICATION_CUSTOMER_CA_EXPIRATION_CHECK
            - NDS_X509_USER_AUTHENTICATION_CUSTOMER_CRL_EXPIRATION_RESOLVED
            - NDS_X509_USER_AUTHENTICATION_CUSTOMER_CRL_EXPIRATION_CHECK
            - NDS_X509_USER_AUTHENTICATION_MANAGED_USER_CERTS_EXPIRATION_RESOLVED
            - NDS_X509_USER_AUTHENTICATION_MANAGED_USER_CERTS_EXPIRATION_CHECK
          - title: Online Archive Event Types
            type: string
            enum:
            - ONLINE_ARCHIVE_INSUFFICIENT_INDEXES_CHECK
            - ONLINE_ARCHIVE_INSUFFICIENT_INDEXES_RESOLVED
            - ONLINE_ARCHIVE_UP_TO_DATE
            - ONLINE_ARCHIVE_DATA_EXPIRATION_RESOLVED
            - ONLINE_ARCHIVE_MAX_CONSECUTIVE_OFFLOAD_WINDOWS_CHECK
          - title: Private Link Audit Types
            type: string
            enum:
            - CROSS_REGION_SUPPORTED_REGION_MODIFIED
            - ENDPOINT_SERVICE_CREATED
            - ENDPOINT_SERVICE_DELETED
            - INTERFACE_ENDPOINT_CREATED
            - INTERFACE_ENDPOINT_DELETED
            - INTERFACE_ENDPOINT_PATCHED
            - INTERFACE_ENDPOINT_RETRIED
          - title: Proactive Operation Event Types
            type: string
            enum:
            - PROACTIVE_OPERATION_EVENT_LOGGED
          - title: Search Deployment Audit Types
            type: string
            enum:
            - SEARCH_DEPLOYMENT_CREATED
            - SEARCH_DEPLOYMENT_UPDATED
            - SEARCH_DEPLOYMENT_DELETED
          - title: Serverless Deployment Audit Types
            type: string
            enum:
            - SERVERLESS_DEPLOYMENT_CREATED
            - SERVERLESS_DEPLOYMENT_DELETED
            - SERVERLESS_DEPLOYMENT_UPDATED
            - SERVERLESS_DEPLOYMENT_INSTANCE_REPLACED
            - SERVERLESS_DEPLOYMENT_INSTANCE_REBOOTED
            - SERVERLESS_DEPLOYMENT_ENDPOINT_SERVICE_LINKED
            - SERVERLESS_DEPLOYMENT_ENDPOINT_SERVICE_UNLINKED
            - SERVERLESS_DEPLOYMENT_ENVOY_INSTANCE_UIS_KEYS_ROTATED
          - title: Serverless Event Types
            type: string
            enum:
            - INSIDE_SERVERLESS_METRIC_THRESHOLD
            - OUTSIDE_SERVERLESS_METRIC_THRESHOLD
          - title: Flex Metric Event Types
            type: string
            enum:
            - INSIDE_FLEX_METRIC_THRESHOLD
            - OUTSIDE_FLEX_METRIC_THRESHOLD
          - title: Setup Serverless Audit Types
            type: string
            enum:
            - SETUP_SERVERLESS_INITIATED
          - title: Streams Event Types
            type: string
            enum:
            - MAX_PROCESSOR_COUNT_REACHED
          - title: Stream Processor Event Types
            type: string
            enum:
            - STREAM_PROCESSOR_STATE_IS_FAILED
            - INSIDE_STREAM_PROCESSOR_METRIC_THRESHOLD
            - OUTSIDE_STREAM_PROCESSOR_METRIC_THRESHOLD
          - title: Support Case Event Types
            type: string
            enum:
            - CASE_CREATED
          - title: Support Event Types
            type: string
            enum:
            - SUPPORT_EMAILS_SENT_SUCCESSFULLY
            - SUPPORT_EMAILS_SENT_FAILURE
          - title: Tenant Backup Event Types
            type: string
            enum:
            - TENANT_SNAPSHOT_STARTED_AUDIT
            - TENANT_SNAPSHOT_COMPLETED_AUDIT
            - TENANT_SNAPSHOT_DELETED_AUDIT
            - TENANT_RESTORE_REQUESTED_AUDIT
            - TENANT_RESTORE_COMPLETED_AUDIT
            - TENANT_SNAPSHOT_DOWNLOAD_REQUESTED_AUDIT
          - title: Version Audit Types
            type: string
            enum:
            - CLUSTER_FCV_FIXED
            - CLUSTER_FCV_UNFIXED
            - CLUSTER_FCV_EXPIRATION_DATE_UPDATED
            - CLUSTER_FCV_DOWNGRADED
            - CLUSTER_BINARY_VERSION_DOWNGRADED
            - CLUSTER_BINARY_VERSION_UPGRADED
            - CLUSTER_OS_FIXED
            - CLUSTER_OS_UNFIXED
          - title: Access Event Types
            type: string
            enum:
            - EMPLOYEE_DOWNLOADED_CLUSTER_LOGS
          - title: Query Shape Event Types
            type: string
            enum:
            - QUERY_SHAPE_BLOCKED
            - QUERY_SHAPE_UNBLOCKED
          - title: Mongotune Event Types
            type: string
            enum:
            - MONGOTUNE_INFO
            - MONGOTUNE_ALERT
          - title: Ai Models Event Types
            type: string
            enum:
            - AI_MODELS_API_KEY_CREATED
            - AI_MODELS_API_KEY_DELETED
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Other events which don't have extra details beside of basic one.
    DefaultEventViewForOrg:
      title: Any Other Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          type: object
          description: Unique identifier of event type.
          oneOf:
          - title: Federation Settings Event Types
            type: string
            enum:
            - FEDERATION_SETTINGS_CREATED
            - FEDERATION_SETTINGS_DELETED
            - FEDERATION_SETTINGS_UPDATED
            - IDENTITY_PROVIDER_CREATED
            - IDENTITY_PROVIDER_UPDATED
            - IDENTITY_PROVIDER_DELETED
            - IDENTITY_PROVIDER_ACTIVATED
            - OIDC_IDENTITY_PROVIDER_UPDATED
            - IDENTITY_PROVIDER_DEACTIVATED
            - IDENTITY_PROVIDER_JWKS_REVOKED
            - OIDC_IDENTITY_PROVIDER_ENABLED
            - OIDC_IDENTITY_PROVIDER_DISABLED
            - DOMAINS_ASSOCIATED
            - DOMAIN_CREATED
            - DOMAIN_DELETED
            - DOMAIN_VERIFIED
            - ORG_SETTINGS_CONFIGURED
            - ORG_SETTINGS_UPDATED
            - ORG_SETTINGS_DELETED
            - RESTRICT_ORG_MEMBERSHIP_ENABLED
            - RESTRICT_ORG_MEMBERSHIP_DISABLED
            - ROLE_MAPPING_CREATED
            - ROLE_MAPPING_UPDATED
            - ROLE_MAPPING_DELETED
            x-xgen-IPA-exception:
              xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
                IPA validation.
          - title: Group Audit Types
            type: string
            enum:
            - GROUP_DELETED
            - GROUP_CREATED
            - GROUP_MOVED
          - title: Mlab Migration Audit Types
            type: string
            enum:
            - MLAB_MIGRATION_COMPLETED
            - MLAB_MIGRATION_TARGET_CLUSTER_CREATED
            - MLAB_MIGRATION_DATABASE_USERS_IMPORTED
            - MLAB_MIGRATION_IP_WHITELIST_IMPORTED
            - MLAB_MIGRATION_TARGET_CLUSTER_SET
            - MLAB_MIGRATION_DATABASE_RENAMED
            - MLAB_MIGRATION_LIVE_IMPORT_STARTED
            - MLAB_MIGRATION_LIVE_IMPORT_READY_FOR_CUTOVER
            - MLAB_MIGRATION_LIVE_IMPORT_CUTOVER_COMPLETE
            - MLAB_MIGRATION_LIVE_IMPORT_ERROR
            - MLAB_MIGRATION_LIVE_IMPORT_CANCELLED
            - MLAB_MIGRATION_DUMP_AND_RESTORE_TEST_STARTED
            - MLAB_MIGRATION_DUMP_AND_RESTORE_TEST_SKIPPED
            - MLAB_MIGRATION_DUMP_AND_RESTORE_STARTED
            - MLAB_MIGRATION_SUPPORT_PLAN_SELECTED
            - MLAB_MIGRATION_SUPPORT_PLAN_OPTED_OUT
          - title: Partner Event Types
            type: string
            enum:
            - AWS_SELF_SERVE_ACCOUNT_LINKED
            - AWS_SELF_SERVE_ACCOUNT_LINK_PENDING
            - AWS_SELF_SERVE_ACCOUNT_CANCELLED
            - AWS_SELF_SERVE_ACCOUNT_LINK_FAILED
            - GCP_SELF_SERVE_ACCOUNT_LINK_PENDING
            - GCP_SELF_SERVE_ACCOUNT_LINK_FAILED
            - AZURE_SELF_SERVE_ACCOUNT_LINKED
            - AZURE_SELF_SERVE_ACCOUNT_LINK_PENDING
            - AZURE_SELF_SERVE_ACCOUNT_CANCELLED
            - AZURE_SELF_SERVE_ACCOUNT_LINK_FAILED
            - GCP_SELF_SERVE_ACCOUNT_LINKED
            - GCP_SELF_SERVE_ACCOUNT_CANCELLED
            - VERCEL_SELF_SERVE_ACCOUNT_LINKED
            - VERCEL_SELF_SERVE_ACCOUNT_LINK_PENDING
            - VERCEL_SELF_SERVE_ACCOUNT_CANCELLED
            - VERCEL_SELF_SERVE_ACCOUNT_LINK_FAILED
            - VERCEL_INVOICE_CREATED
            - VERCEL_INVOICE_NOT_PAID
            - VERCEL_INVOICE_OVERDUE
            - VERCEL_INVOICE_PAID
            - VERCEL_INVOICE_REFUNDED
            x-xgen-IPA-exception:
              xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum grows
                with new partner integrations and event types.
          - title: Support Event Types
            type: string
            enum:
            - SUPPORT_EMAILS_SENT_SUCCESSFULLY
            - SUPPORT_EMAILS_SENT_FAILURE
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Other events which don't have extra details beside of basic one.
    DefaultLimit:
      title: Default Limit
      required:
      - name
      - value
      type: object
      properties:
        currentUsage:
          type: integer
          description: Amount that indicates the current usage of the limit.
          format: int64
          readOnly: true
        defaultLimit:
          type: integer
          description: Default value of the limit.
          format: int64
          readOnly: true
        maximumLimit:
          type: integer
          description: Maximum value of the limit.
          format: int64
          readOnly: true
        name:
          type: string
          description: Human-readable label that identifies the user-managed limit
            to modify.
          readOnly: true
        value:
          type: integer
          description: Amount to set the limit to.
          format: int64
      description: Details of user managed limits.
    DefaultScheduleView:
      required:
      - type
      type: object
      allOf:
      - "$ref": "#/components/schemas/OnlineArchiveSchedule"
    DeleteCopiedBackups:
      type: object
      properties:
        cloudProvider:
          type: string
          description: Human-readable label that identifies the cloud provider for
            the deleted copy setting whose backup copies you want to delete.
          writeOnly: true
          enum:
          - AWS
          - AZURE
          - GCP
        regionName:
          type: string
          description: Target region for the deleted copy setting whose backup copies
            you want to delete. Please supply the 'Atlas Region'.
          writeOnly: true
          externalDocs:
            description: Cloud Provider Regions
            url: https://www.mongodb.com/docs/atlas/reference/cloud-providers/
        replicationSpecId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the replication
            object for a zone in a cluster. For global clusters, there can be multiple
            zones to choose from. For sharded clusters and replica set clusters, there
            is only one zone in the cluster. To find the Replication Specification
            ID, do a GET request to Return One Cluster from One Project and consult
            the `replicationSpecs` array.
          writeOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Return One Cluster from One Project
            url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getCluster
        zoneId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the zone
            in a cluster. For global clusters, there can be multiple zones to choose
            from. For sharded clusters and replica set clusters, there is only one
            zone in the cluster. To find the Zone Id, do a GET request to Return One
            Cluster from One Project and consult the `replicationSpecs` array.
          writeOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Return One Cluster from One Project
            url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getCluster
      description: Deleted copy setting whose backup copies need to also be deleted.
      writeOnly: true
    Destination:
      required:
      - clusterName
      - groupId
      - hostnameSchemaType
      type: object
      properties:
        clusterName:
          minLength: 1
          type: string
          description: Label that identifies the destination cluster.
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the destination
            project.
          example: 32b6e34b3d91647abb20e7b8
        hostnameSchemaType:
          minLength: 1
          type: string
          description: The network type to use between the migration host and the
            destination cluster.
          enum:
          - PUBLIC
          - PRIVATE_LINK
          - VPC_PEERING
          - PUBLIC
          - PRIVATE_LINK
          - VPC_PEERING
        privateLinkId:
          type: string
          description: Represents the endpoint to use when the host schema type is
            `PRIVATE_LINK`.
      description: Document that describes the destination of the migration.
    DiskBackupApiPolicyItem:
      required:
      - frequencyInterval
      - frequencyType
      - retentionUnit
      - retentionValue
      type: object
      properties:
        frequencyInterval:
          type: integer
          description: |-
            Number that indicates the frequency interval for a set of Snapshots. A value of `1` specifies the first instance of the corresponding `frequencyType`.

            - In a yearly policy item, `1` indicates that the yearly Snapshot occurs on the first day of January and `12` indicates the first day of December.

            - In a monthly policy item, `1` indicates that the monthly Snapshot occurs on the first day of the month and `40` indicates the last day of the month.

            - In a weekly policy item, `1` indicates that the weekly Snapshot occurs on Monday and `7` indicates Sunday.

            - In an hourly policy item, you can set the frequency interval to `1`, `2`, `4`, `6`, `8`, or `12`. For hourly policy items for NVMe clusters, MongoDB Cloud accepts only `12` as the frequency interval value.

             MongoDB Cloud ignores this setting for non-hourly policy items in Backup Compliance Policy settings.
          format: int32
          enum:
          - 1
          - 2
          - 3
          - 4
          - 5
          - 6
          - 7
          - 8
          - 9
          - 10
          - 11
          - 12
          - 13
          - 14
          - 15
          - 16
          - 17
          - 18
          - 19
          - 20
          - 21
          - 22
          - 23
          - 24
          - 25
          - 26
          - 27
          - 28
          - 40
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
              IPA validation.
        frequencyType:
          type: string
          description: Human-readable label that identifies the frequency type associated
            with the backup policy.
          enum:
          - daily
          - hourly
          - weekly
          - monthly
          - yearly
          - ondemand
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this backup
            policy item.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        retentionUnit:
          type: string
          description: Unit of time in which MongoDB Cloud measures Snapshot retention.
          enum:
          - days
          - weeks
          - months
          - years
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        retentionValue:
          type: integer
          description: |-
            Duration in days, weeks, months, or years that MongoDB Cloud retains the Snapshot. For less frequent policy items, MongoDB Cloud requires that you specify a value greater than or equal to the value specified for more frequent policy items.

            For example: If the hourly policy item specifies a retention of two days, you must specify two days or greater for the retention of the weekly policy item.
          format: int32
      description: Specifications for one policy.
    DiskBackupCopyPolicyItem:
      required:
      - frequencyType
      type: object
      properties:
        frequencyType:
          type: string
          description: Human-readable label that identifies the frequency type associated
            with the copy policy.
          enum:
          - daily
          - hourly
          - weekly
          - monthly
          - yearly
          - ondemand
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Frequency types remain
              lower case to match copySettings frequencies values and ApiAtlasDiskBackupPolicyItem
              frequencyType values.
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this copy
            policy item.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
      description: Specifications for one copy policy item.
      discriminator:
        propertyName: frequencyType
        mapping:
          daily: "#/components/schemas/DiskBackupTimeBasedCopyPolicyItem"
          hourly: "#/components/schemas/DiskBackupTimeBasedCopyPolicyItem"
          monthly: "#/components/schemas/DiskBackupTimeBasedCopyPolicyItem"
          ondemand: "#/components/schemas/DiskBackupOnDemandCopyPolicyItem"
          weekly: "#/components/schemas/DiskBackupTimeBasedCopyPolicyItem"
          yearly: "#/components/schemas/DiskBackupTimeBasedCopyPolicyItem"
      oneOf:
      - "$ref": "#/components/schemas/DiskBackupOnDemandCopyPolicyItem"
      - "$ref": "#/components/schemas/DiskBackupTimeBasedCopyPolicyItem"
    DiskBackupCopySetting:
      type: object
      properties:
        cloudProvider:
          type: string
          description: Human-readable label that identifies the cloud provider that
            stores the snapshot copy.
          enum:
          - AWS
          - AZURE
          - GCP
        copyPolicyItems:
          maxItems: 6
          type: array
          description: List that describes retention per copy policy item. Allowed
            only when `copyPolicyItemsEnabled` is true. Responses omit this field
            when `copyPolicyItemsEnabled` is false or omitted.
          items:
            "$ref": "#/components/schemas/DiskBackupCopyPolicyItem"
        frequencies:
          maxItems: 6
          type: array
          description: 'Deprecated: use `copyPolicyItems`, which defines which snapshots
            to copy and their retention. Allowed only when `copyPolicyItemsEnabled`
            is false or omitted. Responses omit this field when `copyPolicyItemsEnabled`
            is true.'
          deprecated: true
          items:
            type: string
            enum:
            - HOURLY
            - DAILY
            - WEEKLY
            - MONTHLY
            - YEARLY
            - ON_DEMAND
        lastNumberOfSnapshots:
          maximum: 500
          minimum: 1
          type: integer
          description: Number of most recent snapshots to copy to the target region.
            If specified, Atlas copies this number of the most recent snapshots rather
            than using a frequency-based or policy-based copy schedule. This field
            is mutually exclusive with `frequencies` and `copyPolicyItems`.
          format: int32
        regionName:
          type: string
          description: Target region to copy snapshots belonging to `replicationSpecId`
            to. Please supply the 'Atlas Region'.
          externalDocs:
            description: Cloud Provider Regions
            url: https://www.mongodb.com/docs/atlas/reference/cloud-providers/
        replicationSpecId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the replication
            object for a zone in a cluster. For global clusters, there can be multiple
            zones to choose from. For sharded clusters and replica set clusters, there
            is only one zone in the cluster. To find the Replication Specification
            ID, do a GET request to Return One Cluster from One Project and consult
            the `replicationSpecs` array.
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Return One Cluster from One Project
            url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getCluster
        shouldCopyOplogs:
          type: boolean
          description: Flag that indicates whether to copy the oplogs to the target
            region. You can use the oplogs to perform point-in-time restores.
      description: Copy setting item in the desired backup policy.
    DiskBackupExportJob:
      required:
      - exportBucketId
      type: object
      properties:
        components:
          type: array
          description: Information on the export job for each replica set in the sharded
            cluster.
          readOnly: true
          items:
            "$ref": "#/components/schemas/DiskBackupExportMember"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        createdAt:
          type: string
          description: Date and time when a user or Atlas created the Export Job.
            MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
          format: date-time
          readOnly: true
        customData:
          type: array
          description: Collection of key-value pairs that represent custom data for
            the metadata file that MongoDB Cloud uploads when the Export Job finishes.
          items:
            "$ref": "#/components/schemas/BackupLabel"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        exportBucketId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            Export Bucket.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        exportStatus:
          "$ref": "#/components/schemas/ExportStatus"
        finishedAt:
          type: string
          description: Date and time when this Export Job completed. MongoDB Cloud
            represents this timestamp in ISO 8601 format in UTC.
          format: date-time
          readOnly: true
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            restore job.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        prefix:
          pattern: "/exported_snapshots/\\{ORG-NAME\\}/\\{PROJECT-NAME\\}/\\{CLUSTER-NAME\\}/\\{SNAPSHOT-INITIATION-DATE\\}/\\{TIMESTAMP\\}"
          type: string
          description: Prefix used for all blob storage objects uploaded as part of
            the Export Job.
          readOnly: true
        snapshotId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            snapshot.
          example: 32b6e34b3d91647abb20e7b8
        state:
          type: string
          description: State of the Export Job.
          readOnly: true
          enum:
          - Cancelled
          - Failed
          - InProgress
          - Queued
          - Successful
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        stateReason:
          "$ref": "#/components/schemas/StateReason"
    DiskBackupExportJobRequest:
      required:
      - exportBucketId
      - snapshotId
      type: object
      properties:
        customData:
          type: array
          description: Collection of key-value pairs that represent custom data to
            add to the metadata file that MongoDB Cloud uploads to the bucket when
            the export job finishes.
          items:
            "$ref": "#/components/schemas/BackupLabel"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        exportBucketId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            Export Bucket.
          writeOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        snapshotId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            Cloud Backup Snapshot to export.
          writeOnly: true
          example: 32b6e34b3d91647abb20e7b8
    DiskBackupExportMember:
      type: object
      properties:
        exportId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            the Cloud Backup snapshot export job for each shard in a sharded cluster.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        replicaSetName:
          type: string
          description: Human-readable label that identifies the replica set on the
            sharded cluster.
          readOnly: true
    DiskBackupOnDemandCopyPolicyItem:
      required:
      - frequencyType
      type: object
      description: Specifications for one on-demand copy policy item.
      allOf:
      - "$ref": "#/components/schemas/DiskBackupCopyPolicyItem"
    DiskBackupOnDemandSnapshotRequest:
      type: object
      properties:
        description:
          type: string
          description: 'Human-readable phrase or sentence that explains the purpose
            of the snapshot. The resource returns this parameter when `"status" :
            "onDemand"`.'
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        retentionInDays:
          minimum: 1
          type: integer
          description: Number of days that MongoDB Cloud should retain the on-demand
            snapshot. Must be at least **1**.
          format: int32
    DiskBackupReplicaSet:
      title: Replica Set Snapshot
      type: object
      properties:
        cloudProvider:
          type: string
          description: Human-readable label that identifies the cloud provider.
          readOnly: true
          enum:
          - AWS
          - AZURE
          - GCP
        copyRegions:
          type: array
          description: List that identifies the regions to which MongoDB Cloud copies
            the snapshot.
          readOnly: true
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        createdAt:
          type: string
          description: Date and time when MongoDB Cloud took the snapshot. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        description:
          type: string
          description: 'Human-readable phrase or sentence that explains the purpose
            of the snapshot. The resource returns this parameter when `"status": "onDemand"`.'
          readOnly: true
        expiresAt:
          type: string
          description: Date and time when MongoDB Cloud deletes the snapshot. This
            parameter expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        frequencyType:
          type: string
          description: Human-readable label that identifies how often this snapshot
            triggers.
          readOnly: true
          enum:
          - hourly
          - daily
          - weekly
          - monthly
          - yearly
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the snapshot.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        masterKeyUUID:
          type: string
          description: 'Unique string that identifies the Amazon Web Services (AWS)
            Key Management Service (KMS) Customer Master Key (CMK) used to encrypt
            the snapshot. The resource returns this value when `"encryptionEnabled"
            : true`.'
          format: uuid
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        mongodVersion:
          pattern: "([\\d]+\\.[\\d]+\\.[\\d]+)"
          type: string
          description: Version of the MongoDB host that this snapshot backs up.
          readOnly: true
        policyItems:
          type: array
          description: List that contains unique identifiers for the policy items.
          readOnly: true
          items:
            pattern: "^([a-f0-9]{24})$"
            type: string
            description: Unique 24-hexadecimal digit string that identifies one policy
              item.
            example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        replicaSetName:
          type: string
          description: 'Human-readable label that identifies the replica set from
            which MongoDB Cloud took this snapshot. The resource returns this parameter
            when `"type": "replicaSet"`.'
          readOnly: true
        snapshotType:
          type: string
          description: Human-readable label that identifies when this snapshot triggers.
          readOnly: true
          enum:
          - onDemand
          - scheduled
          - fallback
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        status:
          type: string
          description: Human-readable label that indicates the stage of the backup
            process for this snapshot.
          readOnly: true
          enum:
          - queued
          - inProgress
          - completed
          - failed
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        storageSizeBytes:
          type: integer
          description: Number of bytes taken to store the backup at time of snapshot.
          format: int64
          readOnly: true
        type:
          type: string
          description: Human-readable label that categorizes the cluster as a replica
            set or sharded cluster.
          readOnly: true
          enum:
          - replicaSet
          - shardedCluster
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Details of the replica set snapshot that MongoDB Cloud created.
    DiskBackupRestoreMember:
      type: object
      properties:
        downloadUrl:
          type: string
          description: 'One Uniform Resource Locator that points to the compressed
            snapshot files for manual download. MongoDB Cloud returns this parameter
            when `"deliveryType" : "download"`.'
          readOnly: true
        privateDownloadDeliveryUrls:
          type: array
          description: 'One or more Uniform Resource Locators (URLs) that point to
            the compressed snapshot files for manual download and the corresponding
            private endpoint(s). MongoDB Cloud returns this parameter when `"deliveryType"
            : "download"` and the download can be performed privately.'
          readOnly: true
          items:
            "$ref": "#/components/schemas/ApiPrivateDownloadDeliveryUrl"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        replicaSetName:
          type: string
          description: Human-readable label that identifies the replica set on the
            sharded cluster.
          readOnly: true
    DiskBackupShardedClusterSnapshot:
      title: Sharded Cluster Snapshot
      type: object
      properties:
        configServerType:
          type: string
          description: Describes a sharded cluster's config server type.
          readOnly: true
          enum:
          - EMBEDDED
          - DEDICATED
        createdAt:
          type: string
          description: Date and time when MongoDB Cloud took the snapshot. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        description:
          type: string
          description: 'Human-readable phrase or sentence that explains the purpose
            of the snapshot. The resource returns this parameter when `"status": "onDemand"`.'
          readOnly: true
        expiresAt:
          type: string
          description: Date and time when MongoDB Cloud deletes the snapshot. This
            parameter expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        frequencyType:
          type: string
          description: Human-readable label that identifies how often this snapshot
            triggers.
          readOnly: true
          enum:
          - hourly
          - daily
          - weekly
          - monthly
          - yearly
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the snapshot.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        masterKeyUUID:
          type: string
          description: 'Unique string that identifies the Amazon Web Services (AWS)
            Key Management Service (KMS) Customer Master Key (CMK) used to encrypt
            the snapshot. The resource returns this value when `"encryptionEnabled"
            : true`.'
          format: uuid
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        members:
          type: array
          description: 'List that includes the snapshots and the cloud provider that
            stores the snapshots. The resource returns this parameter when `"type"
            : "SHARDED_CLUSTER"`.'
          readOnly: true
          items:
            "$ref": "#/components/schemas/DiskBackupShardedClusterSnapshotMember"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        mongodVersion:
          pattern: "([\\d]+\\.[\\d]+\\.[\\d]+)"
          type: string
          description: Version of the MongoDB host that this snapshot backs up.
          readOnly: true
        policyItems:
          type: array
          description: List that contains unique identifiers for the policy items.
          readOnly: true
          items:
            pattern: "^([a-f0-9]{24})$"
            type: string
            description: Unique 24-hexadecimal digit string that identifies one policy
              item.
            example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        snapshotIds:
          type: array
          description: 'List that contains the unique identifiers of the snapshots
            created for the shards and config host for a sharded cluster. The resource
            returns this parameter when `"type": "SHARDED_CLUSTER"`. These identifiers
            should match the ones specified in the **members[n].id** parameters. This
            allows you to map a snapshot to its shard or config host name.'
          readOnly: true
          items:
            pattern: "^([a-f0-9]{24})$"
            type: string
            description: Unique 24-hexadecimal digit string that identifies the snapshot
              for part of the sharded cluster.
            readOnly: true
            example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        snapshotType:
          type: string
          description: Human-readable label that identifies when this snapshot triggers.
          readOnly: true
          enum:
          - onDemand
          - scheduled
          - fallback
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        status:
          type: string
          description: Human-readable label that indicates the stage of the backup
            process for this snapshot.
          readOnly: true
          enum:
          - queued
          - inProgress
          - completed
          - failed
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        storageSizeBytes:
          type: integer
          description: Number of bytes taken to store the backup at time of snapshot.
          format: int64
          readOnly: true
        type:
          type: string
          description: Human-readable label that categorizes the cluster as a replica
            set or sharded cluster.
          readOnly: true
          enum:
          - replicaSet
          - shardedCluster
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Details of the sharded cluster snapshot that MongoDB Cloud created.
    DiskBackupShardedClusterSnapshotMember:
      required:
      - cloudProvider
      - id
      - replicaSetName
      type: object
      properties:
        cloudProvider:
          type: string
          description: Human-readable label that identifies the cloud provider.
          readOnly: true
          enum:
          - AWS
          - AZURE
          - GCP
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the snapshot.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        replicaSetName:
          type: string
          description: Human-readable label that identifies the shard or config host
            from which MongoDB Cloud took this snapshot.
          readOnly: true
    DiskBackupSnapshot:
      type: object
      properties:
        createdAt:
          type: string
          description: Date and time when MongoDB Cloud took the snapshot. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        description:
          type: string
          description: 'Human-readable phrase or sentence that explains the purpose
            of the snapshot. The resource returns this parameter when `"status": "onDemand"`.'
          readOnly: true
        expiresAt:
          type: string
          description: Date and time when MongoDB Cloud deletes the snapshot. This
            parameter expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        frequencyType:
          type: string
          description: Human-readable label that identifies how often this snapshot
            triggers.
          readOnly: true
          enum:
          - hourly
          - daily
          - weekly
          - monthly
          - yearly
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the snapshot.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        masterKeyUUID:
          type: string
          description: 'Unique string that identifies the Amazon Web Services (AWS)
            Key Management Service (KMS) Customer Master Key (CMK) used to encrypt
            the snapshot. The resource returns this value when `"encryptionEnabled"
            : true`.'
          format: uuid
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        mongodVersion:
          pattern: "([\\d]+\\.[\\d]+\\.[\\d]+)"
          type: string
          description: Version of the MongoDB host that this snapshot backs up.
          readOnly: true
        policyItems:
          type: array
          description: List that contains unique identifiers for the policy items.
          readOnly: true
          items:
            pattern: "^([a-f0-9]{24})$"
            type: string
            description: Unique 24-hexadecimal digit string that identifies one policy
              item.
            example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        snapshotType:
          type: string
          description: Human-readable label that identifies when this snapshot triggers.
          readOnly: true
          enum:
          - onDemand
          - scheduled
          - fallback
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        status:
          type: string
          description: Human-readable label that indicates the stage of the backup
            process for this snapshot.
          readOnly: true
          enum:
          - queued
          - inProgress
          - completed
          - failed
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        storageSizeBytes:
          type: integer
          description: Number of bytes taken to store the backup at time of snapshot.
          format: int64
          readOnly: true
        type:
          type: string
          description: Human-readable label that categorizes the cluster as a replica
            set or sharded cluster.
          readOnly: true
          enum:
          - replicaSet
          - shardedCluster
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      discriminator:
        propertyName: type
        mapping:
          replicaSet: "#/components/schemas/DiskBackupReplicaSet"
          shardedCluster: "#/components/schemas/DiskBackupShardedClusterSnapshot"
      x-xgen-IPA-exception:
        xgen-IPA-125-discriminator-must-accompany-oneOf-anyOf-allOf: Schema predates
          IPA validation.
    DiskBackupSnapshotAWSExportBucketRequest:
      required:
      - bucketName
      - cloudProvider
      - iamRoleId
      type: object
      properties:
        bucketName:
          maxLength: 63
          minLength: 3
          type: string
          description: Human-readable label that identifies the AWS S3 Bucket that
            the role is authorized to export to.
          example: export-bucket
        cloudProvider:
          type: string
          description: Human-readable label that identifies the cloud provider.
          enum:
          - AWS
          - AZURE
          - GCP
        iamRoleId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            Unified AWS Access role ID that MongoDB Cloud uses to access the AWS S3
            bucket.
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Unified AWS Access role ID
            url: https://www.mongodb.com/docs/atlas/security/set-up-unified-aws-access/
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        requirePrivateNetworking:
          type: boolean
          description: Indicates whether to do exports over PrivateLink as opposed
            to public IPs. Defaults to False.
    DiskBackupSnapshotAWSExportBucketResponse:
      required:
      - _id
      - bucketName
      - cloudProvider
      - iamRoleId
      type: object
      properties:
        _id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            Export Bucket.
          example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        bucketName:
          maxLength: 63
          minLength: 3
          type: string
          description: The name of the AWS S3 Bucket, Azure Storage Container, or
            Google Cloud Storage Bucket that Snapshots are exported to.
          example: export-bucket
        cloudProvider:
          type: string
          description: Human-readable label that identifies the cloud provider.
          enum:
          - AWS
          - AZURE
          - GCP
        iamRoleId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            Unified AWS Access role ID that MongoDB Cloud uses to access the AWS S3
            bucket.
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Unified AWS Access role ID
            url: https://www.mongodb.com/docs/atlas/security/set-up-unified-aws-access/
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        region:
          type: string
          description: AWS region for the export bucket. This is set by Atlas and
            is never user-supplied.
          readOnly: true
          example: us-east-1
        requirePrivateNetworking:
          type: boolean
          description: Indicates whether to use private link. User supplied.
    DiskBackupSnapshotRestoreJob:
      required:
      - deliveryType
      type: object
      properties:
        cancelled:
          type: boolean
          description: Flag that indicates whether someone canceled this restore job.
          readOnly: true
        components:
          type: array
          description: Information on the restore job for each replica set in the
            sharded cluster.
          readOnly: true
          items:
            "$ref": "#/components/schemas/DiskBackupRestoreMember"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        deliveryType:
          type: string
          description: Human-readable label that categorizes the restore job to create.
          enum:
          - automated
          - download
          - pointInTime
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        deliveryUrl:
          type: array
          description: 'One or more Uniform Resource Locators (URLs) that point to
            the compressed snapshot files for manual download. MongoDB Cloud returns
            this parameter when `"deliveryType" : "download"`.'
          readOnly: true
          items:
            type: string
            description: One Uniform Resource Locator that points to the compressed
              snapshot files for manual download.
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        desiredTimestamp:
          "$ref": "#/components/schemas/ApiBSONTimestampView"
        expired:
          type: boolean
          description: Flag that indicates whether the restore job expired.
          readOnly: true
        expiresAt:
          type: string
          description: Date and time when the restore job expires. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        failed:
          type: boolean
          description: Flag that indicates whether the restore job failed.
          readOnly: true
        finishedAt:
          type: string
          description: Date and time when the restore job completed. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            restore job.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        oplogInc:
          minimum: 1
          type: integer
          description: 'Oplog operation number from which you want to restore this
            snapshot. This number represents the second part of an Oplog timestamp.
            The resource returns this parameter when `"deliveryType" : "pointInTime"`
            and `oplogTs` exceeds `0`.'
          format: int32
          example: 1
        oplogTs:
          minimum: 1199145600
          type: integer
          description: 'Date and time from which you want to restore this snapshot.
            This parameter expresses this timestamp in the number of seconds that
            have elapsed since the UNIX epoch. This number represents the first part
            of an Oplog timestamp. The resource returns this parameter when `"deliveryType"
            : "pointInTime"` and `oplogTs` exceeds `0`.'
          format: int32
        pointInTimeUTCSeconds:
          minimum: 1199145600
          type: integer
          description: 'Date and time from which MongoDB Cloud restored this snapshot.
            This parameter expresses this timestamp in the number of seconds that
            have elapsed since the UNIX epoch. The resource returns this parameter
            when `"deliveryType" : "pointInTime"` and `pointInTimeUTCSeconds` exceeds
            `0`.'
          format: int32
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        privateDownloadDeliveryUrls:
          type: array
          description: 'One or more Uniform Resource Locators (URLs) that point to
            the compressed snapshot files for manual download and the corresponding
            private endpoint(s). MongoDB Cloud returns this parameter when `"deliveryType"
            : "download"` and the download can be performed privately.'
          readOnly: true
          items:
            "$ref": "#/components/schemas/ApiPrivateDownloadDeliveryUrl"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        snapshotId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            snapshot.
          example: 32b6e34b3d91647abb20e7b8
        targetClusterName:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the target cluster to
            which the restore job restores the snapshot. The resource returns this
            parameter when `"deliveryType":` `"automated"`. Required for `automated`
            and `pointInTime` restore types.
        targetGroupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the target
            project for the specified `targetClusterName`. Required for `automated`
            and `pointInTime` restore types.
          example: 32b6e34b3d91647abb20e7b8
        timestamp:
          type: string
          description: Date and time when MongoDB Cloud took the snapshot associated
            with `snapshotId`. This parameter expresses its value in the ISO 8601
            timestamp format in UTC.
          format: date-time
          readOnly: true
    DiskBackupSnapshotSchedule:
      required:
      - policies
      type: object
      properties:
        autoExportEnabled:
          type: boolean
          description: Flag that indicates whether MongoDB Cloud automatically exports
            Cloud Backup Snapshots to the Export Bucket.
        clusterId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the cluster
            with the Snapshot you want to return.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        clusterName:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the cluster with the Snapshot
            you want to return.
          readOnly: true
        copyPolicyItemsEnabled:
          type: boolean
          description: Flag that indicates whether copy settings use `copyPolicyItems`
            instead of `frequencies`. When true, requests must supply `copyPolicyItems`
            and responses return `copyPolicyItems` only. When false or omitted, requests
            must supply `frequencies` and responses return `frequencies` only.
        copySettings:
          type: array
          description: List that contains a document for each copy setting item in
            the desired backup policy.
          items:
            "$ref": "#/components/schemas/DiskBackupCopySetting"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        deleteCopiedBackups:
          type: array
          description: List that contains a document for each deleted copy setting
            whose backup copies you want to delete.
          writeOnly: true
          items:
            "$ref": "#/components/schemas/DeleteCopiedBackups"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        deleteCopySnapshots:
          type: boolean
          description: Flag that indicates whether to delete Snapshot copies that
            MongoDB Cloud took previously when their associated `copyPolicyItems`
            are removed from a `copySetting`. This option requires `copyPolicyItemsEnabled`
            to be true.
          writeOnly: true
        deleteSnapshots:
          type: boolean
          description: Flag that indicates whether to delete Snapshots that MongoDB
            Cloud took previously when deleting the associated backup policy.
          writeOnly: true
        export:
          "$ref": "#/components/schemas/AutoExportPolicyView"
        extraRetentionSettings:
          type: array
          description: List that contains a document for each extra retention setting
            item in the desired backup policy.
          items:
            "$ref": "#/components/schemas/ExtraRetentionSetting"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        nextSnapshot:
          type: string
          description: Date and time when MongoDB Cloud takes the next Snapshot. This
            parameter expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        policies:
          maxItems: 1
          type: array
          description: Rules set for this backup schedule.
          items:
            "$ref": "#/components/schemas/AdvancedDiskBackupSnapshotSchedulePolicy"
        referenceHourOfDay:
          type: integer
          description: Hour of day in Coordinated Universal Time (UTC) that represents
            when MongoDB Cloud takes the Snapshot.
          format: int32
        referenceMinuteOfHour:
          type: integer
          description: Minute of the `referenceHourOfDay` that represents when MongoDB
            Cloud takes the Snapshot.
          format: int32
        restoreWindowDays:
          type: integer
          description: Number of previous days that you can restore back to with Continuous
            Cloud Backup accuracy. You must specify a positive, non-zero integer.
            This parameter applies to continuous Cloud Backups only.
          format: int32
        updateCopySnapshots:
          type: boolean
          description: Flag that indicates whether to apply the retention changes
            for updated copy policy items to Snapshot copies that MongoDB Cloud took
            previously.
          writeOnly: true
        updateSnapshots:
          type: boolean
          description: Flag that indicates whether to apply the retention changes
            in the updated backup policy to Snapshots that MongoDB Cloud took previously.
          writeOnly: true
        useOrgAndGroupNamesInExportPrefix:
          type: boolean
          description: Flag that indicates whether to use organization and project
            names instead of organization and project UUIDs in the path to the metadata
            files that MongoDB Cloud uploads to your Export Bucket.
    DiskBackupTimeBasedCopyPolicyItem:
      required:
      - frequencyType
      - retentionUnit
      - retentionValue
      type: object
      description: Specifications for one time-based copy policy item.
      allOf:
      - "$ref": "#/components/schemas/DiskBackupCopyPolicyItem"
      - type: object
        properties:
          retentionUnit:
            type: string
            description: Unit of time in which MongoDB Cloud measures snapshot copy
              retention.
            enum:
            - days
            - weeks
            - months
            - years
            x-xgen-IPA-exception:
              xgen-IPA-123-enum-values-must-be-upper-snake-case: Retention units remain
                lower case to match ApiAtlasDiskBackupPolicyItem retentionUnit values.
          retentionValue:
            type: integer
            description: Duration in days, weeks, months, or years that MongoDB Cloud
              retains the snapshot copy.
            format: int32
    DiskGBAutoScaling:
      type: object
      properties:
        enabled:
          type: boolean
          description: Flag that indicates whether this cluster enables disk auto-scaling.
            The maximum memory allowed for the selected cluster tier and the oplog
            size can limit storage auto-scaling.
      description: Setting that enables disk auto-scaling.
    DiskPartitionQueueDepthDataRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    DiskPartitionQueueDepthIndexRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    DiskPartitionQueueDepthJournalRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    DiskPartitionReadIopsDataRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    DiskPartitionReadIopsIndexRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    DiskPartitionReadIopsJournalRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    DiskPartitionReadLatencyDataTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    DiskPartitionReadLatencyIndexTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    DiskPartitionReadLatencyJournalTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    DiskPartitionSpaceUsedDataRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    DiskPartitionSpaceUsedIndexRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    DiskPartitionSpaceUsedJournalRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    DiskPartitionWriteIopsDataRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    DiskPartitionWriteIopsIndexRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    DiskPartitionWriteIopsJournalRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    DiskPartitionWriteLatencyDataTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    DiskPartitionWriteLatencyIndexTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    DiskPartitionWriteLatencyJournalTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    DocumentDeletedRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    DocumentInsertedRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    DocumentReturnedRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    DocumentUpdatedRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    EmailNotification:
      title: Email Notification
      required:
      - typeName
      type: object
      properties:
        delayMin:
          type: integer
          description: Number of minutes that MongoDB Cloud waits after detecting
            an alert condition before it sends out the first notification.
          format: int32
        emailAddress:
          type: string
          description: |-
            Email address to which MongoDB Cloud sends alert notifications. The resource requires this parameter when `"notifications.[n].typeName" : "EMAIL"`. You don't need to set this value to send emails to individual or groups of MongoDB Cloud users including:

            - specific MongoDB Cloud users (`"notifications.[n].typeName" : "USER"`)
            - MongoDB Cloud users with specific project roles (`"notifications.[n].typeName" : "GROUP"`)
            - MongoDB Cloud users with specific organization roles (`"notifications.[n].typeName" : "ORG"`)
            - MongoDB Cloud teams (`"notifications.[n].typeName" : "TEAM"`)

            To send emails to one MongoDB Cloud user or grouping of users, set the `notifications.[n].emailEnabled` parameter.
          format: email
        intervalMin:
          minimum: 5
          type: integer
          description: |-
            Number of minutes to wait between successive notifications. MongoDB Cloud sends notifications until someone acknowledges the unacknowledged alert.

            PagerDuty, VictorOps, and OpsGenie notifications don't return this element. Configure and manage the notification interval within each of those services.
          format: int32
        notifierId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: The `notifierId` is a system-generated unique identifier assigned
            to each notification method. This is needed when updating third-party
            notifications without requiring explicit authentication credentials.
          example: 32b6e34b3d91647abb20e7b8
        typeName:
          type: string
          description: Human-readable label that displays the alert notification type.
          enum:
          - EMAIL
      description: Email notification configuration for MongoDB Cloud to send information
        when an event triggers an alert condition.
    EmployeeAccessGrantView:
      required:
      - expirationTime
      - grantType
      type: object
      properties:
        expirationTime:
          type: string
          description: Expiration date for the employee access grant. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
        grantType:
          type: string
          description: Level of access to grant to MongoDB Employees.
          enum:
          - CLUSTER_DATABASE_LOGS
          - CLUSTER_INFRASTRUCTURE
          - CLUSTER_INFRASTRUCTURE_AND_APP_SERVICES_SYNC_DATA
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
      description: MongoDB employee granted access level and expiration for a cluster.
      readOnly: true
    EncryptionAtRest:
      type: object
      properties:
        awsKms:
          "$ref": "#/components/schemas/AWSKMSConfiguration"
        azureKeyVault:
          "$ref": "#/components/schemas/AzureKeyVault"
        enabledForSearchNodes:
          type: boolean
          description: Flag that indicates whether Encryption at Rest for Dedicated
            Search Nodes is enabled in the specified project.
        googleCloudKms:
          "$ref": "#/components/schemas/GoogleCloudKMS"
    EncryptionKeyAlertConfigViewForNdsGroup:
      title: Encryption Key Alert Configuration
      required:
      - eventTypeName
      - notifications
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created the alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled this alert configuration
            for the specified project.
          default: false
        eventTypeName:
          "$ref": "#/components/schemas/EncryptionKeyEventTypeViewAlertable"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert
            configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        matchers:
          type: array
          description: Matching conditions for target resources.
          items:
            "$ref": "#/components/schemas/AlertMatcher"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        notifications:
          maxItems: 25
          minItems: 1
          type: array
          description: List that contains the targets that MongoDB Cloud sends notifications.
          items:
            "$ref": "#/components/schemas/AlertsNotificationRootForGroup"
        severityOverride:
          "$ref": "#/components/schemas/EventSeverity"
        threshold:
          "$ref": "#/components/schemas/GreaterThanDaysThresholdView"
        updated:
          type: string
          description: Date and time when someone last updated this alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Encryption key alert configuration allows to select thresholds  which
        trigger alerts and how users are notified.
    EncryptionKeyEventTypeViewAlertable:
      title: Encryption Event Types
      type: string
      description: Event type that triggers an alert.
      example: AWS_ENCRYPTION_KEY_NEEDS_ROTATION
      externalDocs:
        description: Atlas Alert Event Types
        url: https://www.mongodb.com/docs/atlas/reference/atlas-alert-event-types/
      enum:
      - AWS_ENCRYPTION_KEY_NEEDS_ROTATION
      - AZURE_ENCRYPTION_KEY_NEEDS_ROTATION
      - GCP_ENCRYPTION_KEY_NEEDS_ROTATION
      - AWS_ENCRYPTION_KEY_INVALID
      - AZURE_ENCRYPTION_KEY_INVALID
      - GCP_ENCRYPTION_KEY_INVALID
    EndpointService:
      required:
      - cloudProvider
      type: object
      properties:
        cloudProvider:
          type: string
          description: Cloud service provider that serves the requested endpoint service.
          readOnly: true
          enum:
          - AWS
          - AZURE
          - GCP
        errorMessage:
          type: string
          description: Error message returned when requesting private connection resource.
            The resource returns `null` if the request succeeded.
          readOnly: true
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the Private
            Endpoint Service.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        regionName:
          type: string
          description: Cloud provider region that manages this Private Endpoint Service.
          readOnly: true
        status:
          type: string
          description: State of the Private Endpoint Service connection when MongoDB
            Cloud received this request.
          readOnly: true
          enum:
          - INITIATING
          - AVAILABLE
          - WAITING_FOR_USER
          - FAILED
          - DELETING
      discriminator:
        propertyName: cloudProvider
        mapping:
          AWS: "#/components/schemas/AWSPrivateLinkConnection"
          AZURE: "#/components/schemas/AzurePrivateLinkConnection"
          GCP: "#/components/schemas/GCPEndpointService"
      x-xgen-IPA-exception:
        xgen-IPA-125-discriminator-must-accompany-oneOf-anyOf-allOf: Schema predates
          IPA validation.
    EventSeverity:
      type: string
      description: Severity of the event.
      enum:
      - INFO
      - WARNING
      - ERROR
      - CRITICAL
    EventTypeForNdsGroup:
      type: object
      oneOf:
      - title: Alert Audit Types
        type: string
        enum:
        - ALERT_ACKNOWLEDGED_AUDIT
        - ALERT_UNACKNOWLEDGED_AUDIT
      - title: Alert Audit Types
        type: string
        enum:
        - ALERT_CONFIG_DISABLED_AUDIT
        - ALERT_CONFIG_ENABLED_AUDIT
        - ALERT_CONFIG_ADDED_AUDIT
        - ALERT_CONFIG_DELETED_AUDIT
        - ALERT_CONFIG_CHANGED_AUDIT
      - title: API User Event Types
        type: string
        enum:
        - API_KEY_CREATED
        - API_KEY_DELETED
        - API_KEY_ACCESS_LIST_ENTRY_ADDED
        - API_KEY_ACCESS_LIST_ENTRY_DELETED
        - API_KEY_ROLES_CHANGED
        - API_KEY_DESCRIPTION_CHANGED
        - API_KEY_ADDED_TO_GROUP
        - API_KEY_REMOVED_FROM_GROUP
        - API_KEY_UI_IP_ACCESS_LIST_INHERITANCE_ENABLED
        - API_KEY_UI_IP_ACCESS_LIST_INHERITANCE_DISABLED
      - title: Service Account Event Types
        type: string
        enum:
        - SERVICE_ACCOUNT_CREATED
        - SERVICE_ACCOUNT_DELETED
        - SERVICE_ACCOUNT_ROLES_CHANGED
        - SERVICE_ACCOUNT_DETAILS_CHANGED
        - SERVICE_ACCOUNT_ADDED_TO_GROUP
        - SERVICE_ACCOUNT_REMOVED_FROM_GROUP
        - SERVICE_ACCOUNT_ACCESS_LIST_ENTRY_ADDED
        - SERVICE_ACCOUNT_ACCESS_LIST_ENTRY_DELETED
        - SERVICE_ACCOUNT_SECRET_ADDED
        - SERVICE_ACCOUNT_SECRET_DELETED
        - SERVICE_ACCOUNT_UI_IP_ACCESS_LIST_INHERITANCE_ENABLED
        - SERVICE_ACCOUNT_UI_IP_ACCESS_LIST_INHERITANCE_DISABLED
      - title: App Services Event Types
        type: string
        enum:
        - URL_CONFIRMATION
        - SUCCESSFUL_DEPLOY
        - DEPLOYMENT_FAILURE
        - DEPLOYMENT_MODEL_CHANGE_SUCCESS
        - DEPLOYMENT_MODEL_CHANGE_FAILURE
        - REQUEST_RATE_LIMIT
        - LOG_FORWARDER_FAILURE
        - INSIDE_REALM_METRIC_THRESHOLD
        - OUTSIDE_REALM_METRIC_THRESHOLD
        - SYNC_FAILURE
        - TRIGGER_FAILURE
        - TRIGGER_AUTO_RESUMED
      - title: Auto Indexing Event Types
        type: string
        enum:
        - AUTO_INDEXING_ENABLED
        - AUTO_INDEXING_DISABLED
        - AUTO_INDEXING_INDEX_BUILD_SUBMITTED
        - AUTO_INDEXING_SLOW_INDEX_BUILD
        - AUTO_INDEXING_STALLED_INDEX_BUILD
        - AUTO_INDEXING_FAILED_INDEX_BUILD
        - AUTO_INDEXING_COMPLETED_INDEX_BUILD
        - AUTO_INDEXING_STARTED_INDEX_BUILD
      - title: Automation Config Event Types
        type: string
        enum:
        - AUTOMATION_CONFIG_PUBLISHED_AUDIT
      - title: AWS Peer Vpc Audit Types
        type: string
        enum:
        - PEER_CREATED
        - PEER_DELETED
        - PEER_UPDATED
      - title: Azure Peer Network Audit Types
        type: string
        enum:
        - AZURE_PEER_CREATED
        - AZURE_PEER_UPDATED
        - AZURE_PEER_ACTIVE
        - AZURE_PEER_DELETED
      - title: Billing Event Types
        type: string
        enum:
        - CREDIT_CARD_CURRENT
        - CREDIT_CARD_ABOUT_TO_EXPIRE
        - PENDING_INVOICE_UNDER_THRESHOLD
        - PENDING_INVOICE_OVER_THRESHOLD
        - DAILY_BILL_UNDER_THRESHOLD
        - DAILY_BILL_OVER_THRESHOLD
      - title: Cluster Connection Audit Types
        type: string
        enum:
        - CLUSTER_CONNECTION_GET_DATABASES
        - CLUSTER_CONNECTION_GET_DATABASE_COLLECTIONS
        - CLUSTER_CONNECTION_GET_DATABASE_NAMESPACES
        - CLUSTER_CONNECTION_GET_NAMESPACES_WITH_UUID
        - CLUSTER_CONNECTION_GET_AGGREGATED_VIEW_INFOS
        - CLUSTER_CONNECTION_AGGREGATE
        - CLUSTER_CONNECTION_CREATE_COLLECTION
        - CLUSTER_CONNECTION_SAMPLE_COLLECTION_FIELD_NAMES
        - CLUSTER_CONNECTION_SAMPLE_COLLECTION_FIELD_NAMES_AND_TYPES
        - CLUSTER_CONNECTION_GET_NAMESPACES_AND_PROJECT_SQL_SCHEMA_DATA
      - title: Cluster Event Types
        type: string
        enum:
        - CLUSTER_MONGOS_IS_PRESENT
        - CLUSTER_MONGOS_IS_MISSING
      - title: Cps Backup Event Types
        type: string
        enum:
        - CPS_SNAPSHOT_STARTED
        - CPS_SNAPSHOT_SUCCESSFUL
        - CPS_SNAPSHOT_FAILED
        - CPS_CONCURRENT_SNAPSHOT_FAILED_WILL_RETRY
        - CPS_SNAPSHOT_FALLBACK_SUCCESSFUL
        - CPS_SNAPSHOT_BEHIND
        - CPS_COPY_SNAPSHOT_STARTED
        - CPS_COPY_SNAPSHOT_FAILED
        - CPS_COPY_SNAPSHOT_FAILED_WILL_RETRY
        - CPS_COPY_SNAPSHOT_SUCCESSFUL
        - CPS_PREV_SNAPSHOT_OLD
        - CPS_SNAPSHOT_FALLBACK_FAILED
        - CPS_RESTORE_SUCCESSFUL
        - CPS_EXPORT_SUCCESSFUL
        - CPS_RESTORE_FAILED
        - CPS_EXPORT_FAILED
        - CPS_COLLECTION_RESTORE_SUCCESSFUL
        - CPS_COLLECTION_RESTORE_FAILED
        - CPS_COLLECTION_RESTORE_PARTIAL_SUCCESS
        - CPS_COLLECTION_RESTORE_CANCELED
        - CPS_AUTO_EXPORT_FAILED
        - CPS_SNAPSHOT_DOWNLOAD_REQUEST_FAILED
        - CPS_OPLOG_BEHIND
        - CPS_OPLOG_CAUGHT_UP
        x-xgen-IPA-exception:
          xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema values all
            related to CPS backup events.
      - title: Data Explorer Accessed Event Types
        type: string
        enum:
        - DATA_EXPLORER
        - DATA_EXPLORER_CRUD_ATTEMPT
        - DATA_EXPLORER_CRUD_ERROR
        - DATA_EXPLORER_CRUD
      - title: Data Explorer Event Types
        type: string
        enum:
        - DATA_EXPLORER_SESSION_CREATED
      - title: CPS Backup Compliance Policy Event Types
        type: string
        enum:
        - CPS_DATA_PROTECTION_ENABLE_REQUESTED
        - CPS_DATA_PROTECTION_ENABLED
        - CPS_DATA_PROTECTION_UPDATE_REQUESTED
        - CPS_DATA_PROTECTION_UPDATED
        - CPS_DATA_PROTECTION_DISABLE_REQUESTED
        - CPS_DATA_PROTECTION_DISABLED
        - CPS_DATA_PROTECTION_APPROVED_FOR_DISABLEMENT
      - title: Disk Backup Event Types
        type: string
        enum:
        - CPS_RESTORE_REQUESTED_AUDIT
        - CPS_SNAPSHOT_SCHEDULE_UPDATED_AUDIT
        - CPS_SNAPSHOT_FASTER_RESTORES_START_AUDIT
        - CPS_SNAPSHOT_FASTER_RESTORES_SUCCESS_AUDIT
        - CPS_SNAPSHOT_FASTER_RESTORES_FAILED_AUDIT
        - CPS_SNAPSHOT_DELETED_AUDIT
        - CPS_SNAPSHOT_RETENTION_MODIFIED_AUDIT
        - CPS_SNAPSHOT_IN_PROGRESS_AUDIT
        - CPS_SNAPSHOT_COMPLETED_AUDIT
        - CPS_ON_DEMAND_SNAPSHOT_REQUESTED
        - CPS_OPLOG_CAUGHT_UP_AUDIT
        - CPS_OPLOG_BEHIND_AUDIT
      - title: Encryption Event Types
        type: string
        enum:
        - AWS_ENCRYPTION_KEY_ROTATED
        - AWS_ENCRYPTION_KEY_NEEDS_ROTATION
        - AZURE_ENCRYPTION_KEY_ROTATED
        - AZURE_ENCRYPTION_KEY_NEEDS_ROTATION
        - GCP_ENCRYPTION_KEY_ROTATED
        - GCP_ENCRYPTION_KEY_NEEDS_ROTATION
        - AWS_ENCRYPTION_KEY_VALID
        - AWS_ENCRYPTION_KEY_INVALID
        - AZURE_ENCRYPTION_KEY_VALID
        - AZURE_ENCRYPTION_KEY_INVALID
        - GCP_ENCRYPTION_KEY_VALID
        - GCP_ENCRYPTION_KEY_INVALID
      - title: Export Bucket Audit Types
        type: string
        enum:
        - BUCKET_CREATED_AUDIT
        - BUCKET_DELETED_AUDIT
      - title: FTS Index Audit Types
        type: string
        enum:
        - FTS_INDEX_DELETION_FAILED
        - FTS_INDEX_BUILD_COMPLETE
        - FTS_INDEX_BUILD_FAILED
        - FTS_INDEX_CREATED
        - FTS_INDEX_UPDATED
        - FTS_INDEX_DELETED
        - FTS_INDEX_CLEANED_UP
        - FTS_INDEX_STALE
        - FTS_INDEXES_RESTORED
        - FTS_INDEXES_RESTORE_FAILED
        - FTS_INDEXES_SYNONYM_MAPPING_INVALID
      - title: GCP Peer Vpc Audit Types
        type: string
        enum:
        - GCP_PEER_CREATED
        - GCP_PEER_DELETED
        - GCP_PEER_UPDATED
        - GCP_PEER_ACTIVE
        - GCP_PEER_INACTIVE
      - title: Group Audit Types
        type: string
        enum:
        - DATA_EXPLORER_ENABLED
        - DATA_EXPLORER_DISABLED
        - CREDIT_CARD_ADDED
        - CREDIT_CARD_UPDATED
        - GROUP_DELETED
        - GROUP_CREATED
        - GROUP_MOVED
        - GROUP_TEMPORARILY_ACTIVATED
        - GROUP_ACTIVATED
        - GROUP_LOCKED
        - GROUP_SUSPENDED
        - GROUP_FLUSHED
        - GROUP_NAME_CHANGED
        - GROUP_CHARTS_ACTIVATION_REQUESTED
        - GROUP_CHARTS_ACTIVATED
        - GROUP_CHARTS_UPGRADED
        - GROUP_CHARTS_RESET
        - GROUP_DEFAULT_ALERTS_SETTINGS_CHANGED
      - title: Group Event Types
        type: string
        enum:
        - PAID_IN_FULL
        - DELINQUENT
        - ALL_USERS_HAVE_MULTI_FACTOR_AUTH
        - USERS_WITHOUT_MULTI_FACTOR_AUTH
        - ENCRYPTION_AT_REST_KMS_NETWORK_ACCESS_DENIED
        - ENCRYPTION_AT_REST_KMS_NETWORK_ACCESS_RESTORED
        - ENCRYPTION_AT_REST_CONFIG_NO_LONGER_VALID
        - ENCRYPTION_AT_REST_CONFIG_IS_VALID
        - GROUP_SERVICE_ACCOUNT_SECRETS_NO_LONGER_EXPIRING
        - GROUP_SERVICE_ACCOUNT_SECRETS_EXPIRING
        - GROUP_SERVICE_ACCOUNT_SECRETS_NO_LONGER_EXPIRED
        - GROUP_SERVICE_ACCOUNT_SECRETS_EXPIRED
        - ACTIVE_LEGACY_TLS_CONNECTIONS
        - NO_ACTIVE_LEGACY_TLS_CONNECTIONS
      - title: Group Integration Event Types
        type: string
        enum:
        - INTEGRATION_CONFIGURED
        - INTEGRATION_REMOVED
      - title: Host Event Types
        type: string
        enum:
        - ATTEMPT_KILLOP_AUDIT
        - ATTEMPT_KILLSESSION_AUDIT
        - HOST_UP
        - HOST_DOWN
        - HOST_HAS_INDEX_SUGGESTIONS
        - HOST_MONGOT_RECOVERED_OOM
        - HOST_MONGOT_CRASHING_OOM
        - HOST_MONGOT_RESUME_REPLICATION
        - HOST_MONGOT_STOP_REPLICATION
        - HOST_MONGOT_UNPAUSE_INITIAL_SYNC
        - HOST_MONGOT_PAUSE_INITIAL_SYNC
        - HOST_MONGOT_SUFFICIENT_DISK_SPACE
        - HOST_MONGOT_APPROACHING_STOP_REPLICATION
        - HOST_MONGOT_RESTARTED
        - HOST_SEARCH_NODE_UNBLOCKED
        - HOST_SEARCH_NODE_INDEX_FAILED
        - HOST_EXTERNAL_LOG_SINK_EXPORT_DOWN
        - HOST_EXTERNAL_LOG_SINK_EXPORT_RESUMED
        - HOST_ENOUGH_DISK_SPACE
        - HOST_NOT_ENOUGH_DISK_SPACE
        - SSH_KEY_NDS_HOST_ACCESS_REQUESTED
        - SSH_KEY_NDS_HOST_ACCESS_REFRESHED
        - SSH_KEY_NDS_HOST_ACCESS_ATTEMPT
        - SSH_KEY_NDS_HOST_ACCESS_GRANTED
        - SSH_KEY_NDS_HOST_ACCESS_LEVEL_CHANGED
        - ALERT_HOST_SSH_SESSION_STARTED
        - HOST_SSH_SESSION_ENDED
        - HOST_X509_CERTIFICATE_CERTIFICATE_GENERATED_FOR_SUPPORT_ACCESS
        - PUSH_BASED_LOG_EXPORT_RESUMED
        - PUSH_BASED_LOG_EXPORT_STOPPED
        - PUSH_BASED_LOG_EXPORT_DROPPED_LOG
        - HOST_VERSION_BEHIND
        - VERSION_BEHIND
        - HOST_EXPOSED
        - HOST_SSL_CERTIFICATE_STALE
        - HOST_SECURITY_CHECKUP_NOT_MET
        - PROFILER_CONFIGURED_TOO_WIDELY
        x-xgen-IPA-exception:
          xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
            IPA validation.
      - title: Host Metric Event Types
        type: string
        enum:
        - INSIDE_METRIC_THRESHOLD
        - OUTSIDE_METRIC_THRESHOLD
      - title: Index Build Audit Types
        type: string
        enum:
        - ROLLING_INDEX_FAILED_INDEX_BUILD
        - ROLLING_INDEX_SUCCESS_INDEX_BUILD
        - INDEX_FAILED_INDEX_BUILD
        - INDEX_SUCCESS_INDEX_BUILD
      - title: Mongotune Event Types
        type: string
        enum:
        - MONGOTUNE_INFO
        - MONGOTUNE_ALERT
      - title: Atlas Audit Types
        type: string
        enum:
        - CLUSTER_CREATED
        - CLUSTER_RESURRECTED
        - CLUSTER_READY
        - CLUSTER_UPDATE_SUBMITTED
        - CLUSTER_PROCESS_ARGS_UPDATE_SUBMITTED
        - CLUSTER_MONGOT_PROCESS_ARGS_UPDATE_SUBMITTED
        - CLUSTER_SERVER_PARAMETERS_UPDATE_SUBMITTED
        - CLUSTER_AUTOMATICALLY_PAUSED
        - CLUSTER_UPDATE_STARTED
        - CLUSTER_UPDATE_STARTED_INTERNAL
        - CLUSTER_UPDATE_COMPLETED
        - MATERIAL_CLUSTER_UPDATE_COMPLETED_INTERNAL
        - CLUSTER_DELETE_SUBMITTED
        - CLUSTER_DELETE_SUBMITTED_INTERNAL
        - CLUSTER_DELETED
        - CLUSTER_IMPORT_STARTED
        - CLUSTER_IMPORT_CANCELLED
        - CLUSTER_IMPORT_EXPIRED
        - CLUSTER_IMPORT_CUTOVER
        - CLUSTER_IMPORT_COMPLETED
        - CLUSTER_IMPORT_FAILED
        - CLUSTER_IMPORT_RESTART_REQUESTED
        - PROJECT_LIVE_IMPORT_OVERRIDES_ADDED
        - PROJECT_LIVE_IMPORT_OVERRIDES_UPDATED
        - PROJECT_LIVE_IMPORT_OVERRIDES_DELETED
        - CLUSTER_OPLOG_RESIZED
        - CLUSTER_INSTANCE_RESTARTED
        - CLUSTER_INSTANCE_STOP_START
        - CLUSTER_INSTANCE_RESYNC_REQUESTED
        - CLUSTER_INSTANCE_RESYNC_CLEARED
        - CLUSTER_INSTANCE_UPDATE_REQUESTED
        - CLUSTER_INSTANCE_REPLACED
        - CLUSTER_INSTANCE_REPLACE_CLEARED
        - CLUSTER_INSTANCE_SWAPPED
        - CLUSTER_INSTANCE_SWAP_CLEARED
        - CLUSTER_INSTANCE_VM_RESTART_CLEARED
        - CLUSTER_INSTANCE_VM_REBOOT_CLEARED
        - CLUSTER_INSTANCE_CONFIG_UPDATED
        - CLUSTER_INSTANCE_AGENT_API_KEY_ROTATED
        - CLUSTER_INSTANCE_SSL_ROTATED
        - CLUSTER_INSTANCE_SSL_ROTATED_PER_CLUSTER
        - CLUSTER_INSTANCE_SSL_REVOKED
        - RELOAD_SSL_ON_PROCESSES
        - RELOAD_SSL_ON_PROCESSES_REQUESTED
        - CLUSTER_INSTANCE_ADMIN_BACKUP_SNAPSHOT_REQUESTED
        - DATA_LAKE_QUERY_LOGS_DOWNLOADED
        - FEDERATED_DATABASE_QUERY_LOGS_DOWNLOADED
        - ONLINE_ARCHIVE_QUERY_LOGS_DOWNLOADED
        - MONGODB_LOGS_DOWNLOADED
        - MONGOSQLD_LOGS_DOWNLOADED
        - MONGOT_LOGS_DOWNLOADED
        - MONGODB_USER_ADDED
        - MONGODB_USER_DELETED
        - MONGODB_USER_X509_CERT_CREATED
        - MONGODB_USER_X509_CERT_REVOKED
        - MONGODB_USER_UPDATED
        - MONGODB_ROLE_ADDED
        - MONGODB_ROLE_DELETED
        - MONGODB_ROLE_UPDATED
        - NETWORK_PERMISSION_ENTRY_ADDED
        - NETWORK_PERMISSION_ENTRY_REMOVED
        - NETWORK_PERMISSION_ENTRY_UPDATED
        - PRIVATE_NETWORK_ENDPOINT_ENTRY_ADDED
        - PRIVATE_NETWORK_ENDPOINT_ENTRY_REMOVED
        - PRIVATE_NETWORK_ENDPOINT_ENTRY_UPDATED
        - PLAN_STARTED
        - PLAN_COMPLETED
        - PLAN_ABANDONED
        - PLAN_DECLINED
        - PLAN_FAILURE_COUNT_RESET
        - PLAN_ASAP_REQUESTED
        - INDEPENDENT_SHARD_AUTO_SCALING_AVAILABLE
        - INDEPENDENT_SHARD_SCALING_CLUSTER_MIGRATED
        - INDEPENDENT_SHARD_SCALING_CLUSTER_ROLLED_BACK
        - MOVE_SKIPPED
        - STEP_SKIPPED
        - PROXY_RESTARTED
        - PROXY_PANICKED
        - ATLAS_MAINTENANCE_PROTECTED_HOURS_CREATED
        - ATLAS_MAINTENANCE_PROTECTED_HOURS_MODIFIED
        - ATLAS_MAINTENANCE_PROTECTED_HOURS_REMOVED
        - ATLAS_MAINTENANCE_WINDOW_ADDED
        - ATLAS_MAINTENANCE_WINDOW_MODIFIED
        - ATLAS_MAINTENANCE_WINDOW_REMOVED
        - ATLAS_MAINTENANCE_START_ASAP
        - ATLAS_MAINTENANCE_SCHEDULED_FOR_NEXT_WINDOW
        - ATLAS_MAINTENANCE_DEFERRED
        - ATLAS_MAINTENANCE_AUTO_DEFER_ENABLED
        - ATLAS_MAINTENANCE_AUTO_DEFER_DISABLED
        - ATLAS_MAINTENANCE_RESET_BY_ADMIN
        - ATLAS_MAINTENANCE_DEFERRED_BY_ADMIN
        - SCHEDULED_MAINTENANCE
        - PROJECT_SCHEDULED_MAINTENANCE
        - PROJECT_LIMIT_UPDATED
        - PROJECT_ENABLE_EXTENDED_STORAGE_SIZES_UPDATED
        - OS_MAINTENANCE
        - OS_MAINTENANCE_RESTART
        - OS_MAINTENANCE_REPLACEMENT
        - FREE_UPGRADE_STARTED
        - FLEX_UPGRADE_STARTED
        - SERVERLESS_UPGRADE_STARTED
        - TEST_FAILOVER_REQUESTED
        - USER_SECURITY_SETTINGS_UPDATED
        - AUDIT_LOG_CONFIGURATION_UPDATED
        - STREAMS_AUDIT_LOG_CONFIGURATION_UPDATED
        - ENCRYPTION_AT_REST_CONFIGURATION_UPDATED
        - ENCRYPTION_AT_REST_CONFIGURATION_VALIDATION_FAILED
        - ENCRYPTION_AT_REST_CONFIGURATION_VALIDATION_SUCCEEDED
        - ENCRYPTION_AT_REST_KEY_ROTATION_STARTED
        - NDS_SET_IMAGE_OVERRIDES
        - NDS_SET_CHEF_TARBALL_URI
        - RESTRICTED_EMPLOYEE_ACCESS_BYPASS
        - REVOKED_EMPLOYEE_ACCESS_BYPASS
        - DEVICE_SYNC_DEBUG_ACCESS_GRANTED
        - DEVICE_SYNC_DEBUG_ACCESS_REVOKED
        - DEVICE_SYNC_DEBUG_X509_CERT_CREATED
        - EMPLOYEE_ACCESS_GRANTED
        - EMPLOYEE_ACCESS_REVOKED
        - QUERY_ENGINE_TENANT_CREATED
        - QUERY_ENGINE_TENANT_UPDATED
        - QUERY_ENGINE_TENANT_REMOVED
        - FEDERATED_DATABASE_CREATED
        - FEDERATED_DATABASE_UPDATED
        - FEDERATED_DATABASE_REMOVED
        - TENANT_SNAPSHOT_FAILED
        - TENANT_RESTORE_FAILED
        - SAMPLE_DATASET_LOAD_REQUESTED
        - CUSTOMER_X509_CRL_UPDATED
        - CONTAINER_SUBNETS_UPDATE_REQUESTED
        - ONLINE_ARCHIVE_CREATED
        - ONLINE_ARCHIVE_DELETED
        - ONLINE_ARCHIVE_UPDATED
        - ONLINE_ARCHIVE_PAUSE_REQUESTED
        - ONLINE_ARCHIVE_PAUSED
        - ONLINE_ARCHIVE_ACTIVE
        - ONLINE_ARCHIVE_ORPHANED
        - ONLINE_ARCHIVE_DATA_EXPIRATION_RULE_ENABLED
        - ONLINE_ARCHIVE_DATA_EXPIRATION_RULE_UPDATED
        - ONLINE_ARCHIVE_DATA_EXPIRATION_RULE_DISABLED
        - ONLINE_ARCHIVE_DELETE_AFTER_DATE_UPDATED
        - CLOUD_PROVIDER_ACCESS_AWS_IAM_ROLE_ADDED
        - CLOUD_PROVIDER_ACCESS_AWS_IAM_ROLE_DELETED
        - CLOUD_PROVIDER_ACCESS_AWS_IAM_ROLE_UPDATED
        - CLOUD_PROVIDER_ACCESS_AZURE_SERVICE_PRINCIPAL_ADDED
        - CLOUD_PROVIDER_ACCESS_AZURE_SERVICE_PRINCIPAL_DELETED
        - CLOUD_PROVIDER_ACCESS_AZURE_SERVICE_PRINCIPAL_UPDATED
        - CLOUD_PROVIDER_ACCESS_GCP_SERVICE_ACCOUNT_ADDED
        - CLOUD_PROVIDER_ACCESS_GCP_SERVICE_ACCOUNT_DELETED
        - CLOUD_PROVIDER_ACCESS_GCP_SERVICE_ACCOUNT_UPDATED
        - PENDING_INDEXES_DELETED
        - PENDING_INDEXES_CANCELED
        - PROCESS_RESTART_REQUESTED
        - AUTO_HEALING_ACTION
        - AUTO_HEALING_REQUESTED_CRITICAL_INSTANCE_POWER_CYCLE
        - AUTO_HEALING_REQUESTED_INSTANCE_REPLACEMENT
        - AUTO_HEALING_REQUESTED_NODE_RESYNC
        - EXTRA_MAINTENANCE_DEFERRAL_GRANTED
        - GROUP_AUTOMATION_CONFIG_PUBLISHED
        - CLUSTER_AUTOMATION_CONFIG_PUBLISHED
        - SET_ENSURE_CLUSTER_CONNECTIVITY_AFTER_FOR_CLUSTER
        - CLUSTER_LINKED_TO_VERCEL
        - CLUSTER_UNLINKED_FROM_VERCEL
        - INGESTION_PIPELINE_DELETED
        - INGESTION_PIPELINE_DESTROYED
        - INGESTION_PIPELINE_CREATED
        - INGESTION_PIPELINE_UPDATED
        - OS_TUNE_FILE_OVERRIDES
        - MONITORING_AGENT_OVERRIDES
        - MONITORING_AGENT_REBALANCE_FLAG
        - MONITORING_AGENT_REBALANCE_TRIGGERED
        - CLUSTER_PREFERRED_CPU_ARCHITECTURE_MODIFIED
        - CLUSTER_FORCE_PLANNED
        - CLUSTER_REGIONAL_OUTAGE_SIMULATION_STARTED
        - CLUSTER_REGIONAL_OUTAGE_SIMULATION_FAILED_TO_START
        - CLUSTER_REGIONAL_OUTAGE_SIMULATION_END_REQUESTED
        - CLUSTER_REGIONAL_OUTAGE_SIMULATION_COMPLETED
        - CLUSTER_REGIONAL_OUTAGE_SIMULATION_CANCELLED_CLUSTER_PAUSE
        - UIS_PANICKED
        - TENANT_UPGRADE_TO_SERVERLESS_SUCCESSFUL
        - TENANT_UPGRADE_TO_SERVERLESS_FAILED
        - SERVERLESS_UPGRADE_TO_DEDICATED_SUCCESSFUL
        - SERVERLESS_UPGRADE_TO_DEDICATED_FAILED
        - CLUSTER_FORCE_RECONFIG_REQUESTED
        - PROJECT_BYPASSED_MAINTENANCE
        - FEATURE_FLAG_MAINTENANCE
        - DATA_FEDERATION_QUERY_LIMIT_CONFIGURED
        - DATA_FEDERATION_QUERY_LIMIT_DELETED
        - DATA_API_SETUP_FOR_VERCEL
        - ADMIN_CLUSTER_LOCK_UPDATED
        - CLUSTER_ROLLING_RESYNC_STARTED
        - CLUSTER_ROLLING_RESYNC_COMPLETED
        - CLUSTER_ROLLING_RESYNC_FAILED
        - NODE_ROLLING_RESYNC_SCHEDULED
        - CLUSTER_ROLLING_RESYNC_CANCELED
        - CLUSTER_OS_UPDATED
        - CLUSTER_INSTANCE_FAMILY_UPDATED
        - PUSH_BASED_LOG_EXPORT_ENABLED
        - PUSH_BASED_LOG_EXPORT_CONFIGURATION_UPDATED
        - PUSH_BASED_LOG_EXPORT_DISABLED
        - LOG_STREAMING_ENABLED
        - LOG_STREAMING_CONFIGURATION_UPDATED
        - LOG_STREAMING_DISABLED
        - DATADOG_LOG_STREAMING_ENABLED
        - DATADOG_LOG_STREAMING_CONFIGURATION_UPDATED
        - DATADOG_LOG_STREAMING_DISABLED
        - SPLUNK_LOG_STREAMING_ENABLED
        - SPLUNK_LOG_STREAMING_CONFIGURATION_UPDATED
        - SPLUNK_LOG_STREAMING_DISABLED
        - S3_LOG_STREAMING_ENABLED
        - S3_LOG_STREAMING_CONFIGURATION_UPDATED
        - S3_LOG_STREAMING_DISABLED
        - AZURE_LOG_STREAMING_ENABLED
        - AZURE_LOG_STREAMING_CONFIGURATION_UPDATED
        - AZURE_LOG_STREAMING_DISABLED
        - GCP_LOG_STREAMING_ENABLED
        - GCP_LOG_STREAMING_CONFIGURATION_UPDATED
        - GCP_LOG_STREAMING_DISABLED
        - OTEL_LOG_STREAMING_ENABLED
        - OTEL_LOG_STREAMING_CONFIGURATION_UPDATED
        - OTEL_LOG_STREAMING_DISABLED
        - AZURE_CLUSTER_PREFERRED_STORAGE_TYPE_UPDATED
        - CONTAINER_DELETED
        - REGIONALIZED_PRIVATE_ENDPOINT_MODE_ENABLED
        - REGIONALIZED_PRIVATE_ENDPOINT_MODE_DISABLED
        - STREAM_TENANT_CREATED
        - STREAM_TENANT_UPDATED
        - STREAM_TENANT_DELETED
        - STREAM_TENANT_CONNECTIONS_LISTED
        - STREAM_TENANT_CONNECTION_UPDATED
        - STREAM_TENANT_CONNECTION_DELETED
        - STREAM_TENANT_CONNECTION_CREATED
        - STREAM_TENANT_CONNECTION_VIEWED
        - STREAM_TENANT_OPERATIONAL_LOGS
        - STREAM_TENANT_AUDIT_LOGS
        - STREAM_TENANT_AUDIT_LOGS_DELETED
        - QUEUED_ADMIN_ACTION_CREATED
        - QUEUED_ADMIN_ACTION_COMPLETED
        - QUEUED_ADMIN_ACTION_CANCELLED
        - ATLAS_SQL_SCHEDULED_UPDATE_CREATED
        - ATLAS_SQL_SCHEDULED_UPDATE_MODIFIED
        - ATLAS_SQL_SCHEDULED_UPDATE_REMOVED
        - CLUSTER_INSTANCE_DISABLED
        - CLUSTER_INSTANCE_ENABLED
        - CLUSTER_BLOCK_WRITE
        - CLUSTER_UNBLOCK_WRITE
        - KMIP_KEY_ROTATION_SCHEDULED
        - SSL_CERTIFICATE_ISSUED
        - PROJECT_SCHEDULED_MAINTENANCE_OUTSIDE_OF_PROTECTED_HOURS
        - CLUSTER_CANCELING_SHARD_DRAIN_REQUESTED
        - CLUSTER_CANCELING_CONFIG_SERVER_TRANSITION_REQUESTED
        - CLUSTER_MIGRATE_BACK_TO_AWS_MANAGED_IP_REQUESTED
        - CLUSTER_IP_MIGRATED_FIRST_ROUND
        - CLUSTER_IP_MIGRATED_SECOND_ROUND
        - CLUSTER_IP_MIGRATED_FINAL_ROUND
        - CLUSTER_IP_ROLLED_BACK
        - AZ_BALANCING_OVERRIDE_MODIFIED
        - FTDC_SETTINGS_UPDATED
        - PROXY_PROTOCOL_FOR_PRIVATE_LINK_MODE_UPDATED
        - MONGOTUNE_WRITE_BLOCK_POLICY_ELIGIBLE
        - MONGOTUNE_WRITE_BLOCK_POLICY_INELIGIBLE
        - PREDICTIVE_AUTOSCALING_ENABLED
        - PREDICTIVE_AUTOSCALING_DISABLED
        - SHADOW_CLUSTER_CREATE_EXPOSURE
        - SHADOW_CLUSTER_DELETE_EXPOSURE
        - SHADOW_CLUSTER_RECORDING_STATUS_UPDATE
        - SHADOW_CLUSTER_REPLAY_STATUS_UPDATE
        - NODE_HIDDEN_BY_ADMIN
        - NODE_UNHIDDEN_BY_ADMIN
        x-xgen-IPA-exception:
          xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
            IPA validation.
      - title: DB Check Audit Types
        type: string
        enum:
        - DB_CHECK_UPDATED
        - CLUSTER_SAMPLED_FOR_DB_CHECK
        - DB_CHECK_SCHEDULED_FOR_CLUSTER
        - DB_CHECK_DEFERRED_FOR_CLUSTER
        - CLUSTER_OPTED_OUT_OF_DB_CHECK
      - title: Data Validation Audit Types
        type: string
        enum:
        - CLUSTER_SAMPLED_FOR_DATA_VALIDATION
        - DATA_VALIDATION_SUBMITTED_FOR_CLUSTER
        - CLUSTER_OPTED_OUT_OF_DATA_VALIDATION
        - REPLICA_SET_SAMPLED_FOR_INTER_NODE_DATA_VALIDATION
        - REPLICA_SET_OPTED_OUT_OF_INTER_NODE_DATA_VALIDATION
        - INTER_NODE_DATA_VALIDATION_SUBMITTED_FOR_REPLICA_SET
      - title: Auto Scaling Audit Types
        type: string
        enum:
        - COMPUTE_AUTO_SCALE_INITIATED
        - DISK_AUTO_SCALE_INITIATED
        - COMPUTE_AUTO_SCALE_INITIATED_BASE
        - COMPUTE_AUTO_SCALE_INITIATED_ANALYTICS
        - COMPUTE_AUTO_SCALE_SCALE_DOWN_FAIL_BASE
        - COMPUTE_AUTO_SCALE_SCALE_DOWN_FAIL_ANALYTICS
        - COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_BASE
        - COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_ANALYTICS
        - COMPUTE_AUTO_SCALE_OPLOG_FAIL_BASE
        - COMPUTE_AUTO_SCALE_OPLOG_FAIL_ANALYTICS
        - DISK_AUTO_SCALE_MAX_DISK_SIZE_FAIL
        - DISK_AUTO_SCALE_OPLOG_FAIL
        - PREDICTIVE_COMPUTE_AUTO_SCALE_INITIATED_BASE
        - PREDICTIVE_COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_BASE
        - PREDICTIVE_COMPUTE_AUTO_SCALE_OPLOG_FAIL_BASE
        - CLUSTER_AUTO_SHARDING_INITIATED
      - title: Maintenance Window Audit Types
        type: string
        enum:
        - MAINTENANCE_IN_ADVANCED
        - MAINTENANCE_AUTO_DEFERRED
        - MAINTENANCE_STARTED
        - MAINTENANCE_COMPLETED
        - MAINTENANCE_NO_LONGER_NEEDED
      - title: Serverless Auto Scaling Audit Types
        type: string
        enum:
        - SERVERLESS_AUTO_SCALING_INITIATED
        - SERVERLESS_VERTICAL_SCALING_INITIATED
        - SERVERLESS_HORIZONTAL_SCALING_INITIATED
        - SERVERLESS_MTM_DRAIN_REQUESTED
        - SERVERLESS_MTM_DRAIN_INITIATED
        - SERVERLESS_MTM_DRAIN_COMPLETED
        - SERVERLESS_MTM_DRAIN_STOPPED
      - title: Serverless Instance Audit Types
        type: string
        enum:
        - SERVERLESS_INSTANCE_CREATED
        - SERVERLESS_INSTANCE_READY
        - SERVERLESS_INSTANCE_UPDATE_SUBMITTED
        - SERVERLESS_INSTANCE_UPDATE_STARTED
        - SERVERLESS_INSTANCE_UPDATE_COMPLETED
        - SERVERLESS_INSTANCE_DELETE_SUBMITTED
        - SERVERLESS_INSTANCE_DELETED
        - SERVERLESS_INSTANCE_UNBLOCKED
      - title: Auto Scaling Audit Types
        type: string
        enum:
        - TENANT_ENDPOINT_CREATED
        - TENANT_ENDPOINT_RESERVED
        - TENANT_ENDPOINT_RESERVATION_FAILED
        - TENANT_ENDPOINT_UPDATED
        - TENANT_ENDPOINT_INITIATING
        - TENANT_ENDPOINT_AVAILABLE
        - TENANT_ENDPOINT_FAILED
        - TENANT_ENDPOINT_DELETING
        - TENANT_ENDPOINT_DELETED
        - TENANT_ENDPOINT_EXPIRED
      - title: Tenant Endpoint Service Deployment Audit Types
        type: string
        enum:
        - TENANT_ENDPOINT_SERVICE_DEPLOYMENT_CREATED
        - TENANT_ENDPOINT_SERVICE_CREATED
        - TENANT_ENDPOINT_SERVICE_AVAILABLE
        - TENANT_ENDPOINT_SERVICE_DEPLOYMENT_DELETE_REQUESTED
        - TENANT_ENDPOINT_SERVICE_DELETED
        - TENANT_ENDPOINT_SERVICE_DEPLOYMENT_DELETED
        - TENANT_ENDPOINT_SERVICE_DEPLOYMENT_NUM_DESIRED_ENDPOINT_SERVICES_INCREASED
      - title: x509 User Auth Event Types
        type: string
        enum:
        - NDS_X509_USER_AUTHENTICATION_CUSTOMER_CA_EXPIRATION_RESOLVED
        - NDS_X509_USER_AUTHENTICATION_CUSTOMER_CA_EXPIRATION_CHECK
        - NDS_X509_USER_AUTHENTICATION_CUSTOMER_CRL_EXPIRATION_RESOLVED
        - NDS_X509_USER_AUTHENTICATION_CUSTOMER_CRL_EXPIRATION_CHECK
        - NDS_X509_USER_AUTHENTICATION_MANAGED_USER_CERTS_EXPIRATION_RESOLVED
        - NDS_X509_USER_AUTHENTICATION_MANAGED_USER_CERTS_EXPIRATION_CHECK
      - title: Online Archive Event Types
        type: string
        enum:
        - ONLINE_ARCHIVE_INSUFFICIENT_INDEXES_CHECK
        - ONLINE_ARCHIVE_INSUFFICIENT_INDEXES_RESOLVED
        - ONLINE_ARCHIVE_UP_TO_DATE
        - ONLINE_ARCHIVE_DATA_EXPIRATION_RESOLVED
        - ONLINE_ARCHIVE_MAX_CONSECUTIVE_OFFLOAD_WINDOWS_CHECK
      - title: Private Link Audit Types
        type: string
        enum:
        - CROSS_REGION_SUPPORTED_REGION_MODIFIED
        - ENDPOINT_SERVICE_CREATED
        - ENDPOINT_SERVICE_DELETED
        - INTERFACE_ENDPOINT_CREATED
        - INTERFACE_ENDPOINT_DELETED
        - INTERFACE_ENDPOINT_PATCHED
        - INTERFACE_ENDPOINT_RETRIED
      - title: Proactive Operation Event Types
        type: string
        enum:
        - PROACTIVE_OPERATION_EVENT_LOGGED
      - title: ReplicaSet Event Types
        type: string
        enum:
        - PRIMARY_ELECTED
        - REPLICATION_OPLOG_WINDOW_HEALTHY
        - REPLICATION_OPLOG_WINDOW_RUNNING_OUT
        - ONE_PRIMARY
        - NO_PRIMARY
        - TOO_MANY_ELECTIONS
        - TOO_FEW_HEALTHY_MEMBERS
        - TOO_MANY_UNHEALTHY_MEMBERS
      - title: Search Deployment Audit Types
        type: string
        enum:
        - SEARCH_DEPLOYMENT_CREATED
        - SEARCH_DEPLOYMENT_UPDATED
        - SEARCH_DEPLOYMENT_DELETED
      - title: Serverless Deployment Audit Types
        type: string
        enum:
        - SERVERLESS_DEPLOYMENT_CREATED
        - SERVERLESS_DEPLOYMENT_DELETED
        - SERVERLESS_DEPLOYMENT_UPDATED
        - SERVERLESS_DEPLOYMENT_INSTANCE_REPLACED
        - SERVERLESS_DEPLOYMENT_INSTANCE_REBOOTED
        - SERVERLESS_DEPLOYMENT_ENDPOINT_SERVICE_LINKED
        - SERVERLESS_DEPLOYMENT_ENDPOINT_SERVICE_UNLINKED
        - SERVERLESS_DEPLOYMENT_ENVOY_INSTANCE_UIS_KEYS_ROTATED
      - title: Serverless Event Types
        type: string
        enum:
        - INSIDE_SERVERLESS_METRIC_THRESHOLD
        - OUTSIDE_SERVERLESS_METRIC_THRESHOLD
      - title: Flex Metric Event Types
        type: string
        enum:
        - INSIDE_FLEX_METRIC_THRESHOLD
        - OUTSIDE_FLEX_METRIC_THRESHOLD
      - title: Setup Serverless Audit Types
        type: string
        enum:
        - SETUP_SERVERLESS_INITIATED
      - title: Streams Event Types
        type: string
        enum:
        - MAX_PROCESSOR_COUNT_REACHED
      - title: Stream Processor Event Types
        type: string
        enum:
        - STREAM_PROCESSOR_STATE_IS_FAILED
        - INSIDE_STREAM_PROCESSOR_METRIC_THRESHOLD
        - OUTSIDE_STREAM_PROCESSOR_METRIC_THRESHOLD
      - title: Support Case Event Types
        type: string
        enum:
        - CASE_CREATED
      - title: Support Event Types
        type: string
        enum:
        - SUPPORT_EMAILS_SENT_SUCCESSFULLY
        - SUPPORT_EMAILS_SENT_FAILURE
      - title: Team Event Types
        type: string
        enum:
        - TEAM_ADDED_TO_GROUP
        - TEAM_REMOVED_FROM_GROUP
        - TEAM_ROLES_MODIFIED
      - title: Tenant Backup Event Types
        type: string
        enum:
        - TENANT_SNAPSHOT_STARTED_AUDIT
        - TENANT_SNAPSHOT_COMPLETED_AUDIT
        - TENANT_SNAPSHOT_DELETED_AUDIT
        - TENANT_RESTORE_REQUESTED_AUDIT
        - TENANT_RESTORE_COMPLETED_AUDIT
        - TENANT_SNAPSHOT_DOWNLOAD_REQUESTED_AUDIT
      - title: User Event Types
        type: string
        enum:
        - JOINED_GROUP
        - REMOVED_FROM_GROUP
        - INVITED_TO_GROUP
        - REQUESTED_TO_JOIN_GROUP
        - GROUP_INVITATION_DELETED
        - USER_ROLES_CHANGED_AUDIT
        - JOIN_GROUP_REQUEST_DENIED_AUDIT
        - JOIN_GROUP_REQUEST_APPROVED_AUDIT
      - title: Version Audit Types
        type: string
        enum:
        - CLUSTER_FCV_FIXED
        - CLUSTER_FCV_UNFIXED
        - CLUSTER_FCV_EXPIRATION_DATE_UPDATED
        - CLUSTER_FCV_DOWNGRADED
        - CLUSTER_BINARY_VERSION_DOWNGRADED
        - CLUSTER_BINARY_VERSION_UPGRADED
        - CLUSTER_OS_FIXED
        - CLUSTER_OS_UNFIXED
      - title: Resource Event Types
        type: string
        enum:
        - TAGS_MODIFIED
        - CLUSTER_TAGS_MODIFIED
        - GROUP_TAGS_MODIFIED
      - title: Access Event Types
        type: string
        enum:
        - EMPLOYEE_DOWNLOADED_CLUSTER_LOGS
      - title: Charts Api Call Audit Types
        type: string
        enum:
        - CHARTS_API_SUCCESS
        - CHARTS_API_FAILURE
      - title: Atlas Resource Policy Audit Types
        type: string
        enum:
        - RESOURCE_POLICY_VIOLATED
      - title: Query Shape Event Types
        type: string
        enum:
        - QUERY_SHAPE_BLOCKED
        - QUERY_SHAPE_UNBLOCKED
      - title: Ai Models Event Types
        type: string
        enum:
        - AI_MODELS_API_KEY_CREATED
        - AI_MODELS_API_KEY_DELETED
    EventTypeForOrg:
      type: object
      oneOf:
      - title: Alert Audit Types
        type: string
        enum:
        - ALERT_ACKNOWLEDGED_AUDIT
        - ALERT_UNACKNOWLEDGED_AUDIT
      - title: Alert Audit Types
        type: string
        enum:
        - ALERT_CONFIG_DISABLED_AUDIT
        - ALERT_CONFIG_ENABLED_AUDIT
        - ALERT_CONFIG_ADDED_AUDIT
        - ALERT_CONFIG_DELETED_AUDIT
        - ALERT_CONFIG_CHANGED_AUDIT
      - title: API User Event Types
        type: string
        enum:
        - API_KEY_CREATED
        - API_KEY_DELETED
        - API_KEY_ACCESS_LIST_ENTRY_ADDED
        - API_KEY_ACCESS_LIST_ENTRY_DELETED
        - API_KEY_ROLES_CHANGED
        - API_KEY_DESCRIPTION_CHANGED
        - API_KEY_ADDED_TO_GROUP
        - API_KEY_REMOVED_FROM_GROUP
        - API_KEY_UI_IP_ACCESS_LIST_INHERITANCE_ENABLED
        - API_KEY_UI_IP_ACCESS_LIST_INHERITANCE_DISABLED
      - title: Service Account Event Types
        type: string
        enum:
        - SERVICE_ACCOUNT_CREATED
        - SERVICE_ACCOUNT_DELETED
        - SERVICE_ACCOUNT_ROLES_CHANGED
        - SERVICE_ACCOUNT_DETAILS_CHANGED
        - SERVICE_ACCOUNT_ADDED_TO_GROUP
        - SERVICE_ACCOUNT_REMOVED_FROM_GROUP
        - SERVICE_ACCOUNT_ACCESS_LIST_ENTRY_ADDED
        - SERVICE_ACCOUNT_ACCESS_LIST_ENTRY_DELETED
        - SERVICE_ACCOUNT_SECRET_ADDED
        - SERVICE_ACCOUNT_SECRET_DELETED
        - SERVICE_ACCOUNT_UI_IP_ACCESS_LIST_INHERITANCE_ENABLED
        - SERVICE_ACCOUNT_UI_IP_ACCESS_LIST_INHERITANCE_DISABLED
      - title: Billing Event Types
        type: string
        enum:
        - AWS_PAYMENT_PAID
        - CHARGE_SUCCEEDED
        - CHARGE_FAILED
        - CHARGE_PROCESSING
        - CHARGE_PENDING_REVERSAL
        - BRAINTREE_CHARGE_FAILED
        - INVOICE_CLOSED
        - CHECK_PAYMENT_RECEIVED
        - WIRE_TRANSFER_PAYMENT_RECEIVED
        - DISCOUNT_APPLIED
        - CREDIT_ISSUED
        - CREDIT_PULLED_FWD
        - CREDIT_END_DATE_MODIFIED
        - PROMO_CODE_APPLIED
        - PAYMENT_FORGIVEN
        - REFUND_ISSUED
        - ACCOUNT_DOWNGRADED
        - ACCOUNT_UPGRADED
        - ACCOUNT_MODIFIED
        - SUPPORT_PLAN_ACTIVATED
        - SUPPORT_PLAN_CANCELLED
        - SUPPORT_PLAN_CANCELLATION_SCHEDULED
        - INITIATE_SALESFORCE_SERVICE_CLOUD_SYNC
        - INVOICE_ADDRESS_CHANGED
        - INVOICE_ADDRESS_ADDED
        - PREPAID_PLAN_ACTIVATED
        - ELASTIC_INVOICING_MODE_ACTIVATED
        - ELASTIC_INVOICING_MODE_DEACTIVATED
        - TERMINATE_PAID_SERVICES
        - BILLING_EMAIL_ADDRESS_ADDED
        - BILLING_EMAIL_ADDRESS_CHANGED
        - BILLING_EMAIL_ADDRESS_REMOVED
        - AWS_BILLING_ACCOUNT_CREDIT_ISSUED
        - GCP_BILLING_ACCOUNT_CREDIT_ISSUED
        - CREDIT_SFOLID_MODIFIED
        - PREPAID_PLAN_MODIFIED
        - AWS_USAGE_REPORTED
        - AZURE_USAGE_REPORTED
        - GCP_USAGE_REPORTED
        - VERCEL_USAGE_REPORTED
        - BECAME_PAYING_ORG
        - BECAME_LINKED_ORG
        - NEW_LINKED_ORG
        - UNLINKED_ORG
        - ORG_LINKED_TO_PAYING_ORG
        - ORG_UNLINKED_FROM_PAYING_ORG
        - ORG_UNLINK_REQUESTED
        - ORG_UNLINK_CANCELLED
        - PAYMENT_UPDATED_THROUGH_API
        - AZURE_BILLING_ACCOUNT_CREDIT_ISSUED
        - CREDIT_START_DATE_MODIFIED
        - CREDIT_ELASTIC_INVOICING_MODIFIED
        - CREDIT_TYPE_MODIFIED
        - CREDIT_AMOUNT_CENTS_MODIFIED
        - CREDIT_AMOUNT_REMAINING_CENTS_MODIFIED
        - CREDIT_TOTAL_BILLED_CENTS_MODIFIED
        - CREDIT_AWS_CUSTOMER_ID_MODIFIED
        - CREDIT_AWS_PRODUCT_CODE_MODIFIED
        - CREDIT_GCP_MARKETPLACE_ENTITLEMENT_ID_MODIFIED
        - CREDIT_AZURE_SUBSCRIPTION_ID_MODIFIED
        - CREDIT_AZURE_PRIVATE_PLAN_ID_MODIFIED
        - TARGETED_REBILL_EXECUTED
        - LEGACY_REBILL_EXECUTED
        - EVERGREEN_DEAL_CANCELLED
        - GRACE_PERIOD_ACTIVATED
        - GRACE_PERIOD_NO_LONGER_IN_EFFECT
        - PENDING_DEAL_ACTIVATION_ADDED
        - PENDING_DEAL_ACTIVATION_CANCELED
        - PENDING_DEAL_APPLIED
        - PENDING_DEAL_ACTIVATION_FAILED
        - EVERGREEN_PRIORITY_MODIFIED
        - CROSS_ORG_OPERATION_TICKET_TRACKING
        - ADMIN_OVERRIDE_PAYMENT_METHOD_DELETED
        - ADMIN_OVERRIDE_PAYMENT_METHOD_EXPIRED
        - PAYMENT_METHOD_FLAGGED
        - PAYMENT_METHOD_UNFLAGGED
        - MARKETPLACE_REFUND_ISSUED
        - PAYMENT_DUE_DATE_EXTENDED
        x-xgen-IPA-exception:
          xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
            IPA validation.
      - title: Federation Settings Event Types
        type: string
        enum:
        - FEDERATION_SETTINGS_CREATED
        - FEDERATION_SETTINGS_DELETED
        - FEDERATION_SETTINGS_UPDATED
        - IDENTITY_PROVIDER_CREATED
        - IDENTITY_PROVIDER_UPDATED
        - IDENTITY_PROVIDER_DELETED
        - IDENTITY_PROVIDER_ACTIVATED
        - OIDC_IDENTITY_PROVIDER_UPDATED
        - IDENTITY_PROVIDER_DEACTIVATED
        - IDENTITY_PROVIDER_JWKS_REVOKED
        - OIDC_IDENTITY_PROVIDER_ENABLED
        - OIDC_IDENTITY_PROVIDER_DISABLED
        - DOMAINS_ASSOCIATED
        - DOMAIN_CREATED
        - DOMAIN_DELETED
        - DOMAIN_VERIFIED
        - ORG_SETTINGS_CONFIGURED
        - ORG_SETTINGS_UPDATED
        - ORG_SETTINGS_DELETED
        - RESTRICT_ORG_MEMBERSHIP_ENABLED
        - RESTRICT_ORG_MEMBERSHIP_DISABLED
        - ROLE_MAPPING_CREATED
        - ROLE_MAPPING_UPDATED
        - ROLE_MAPPING_DELETED
        x-xgen-IPA-exception:
          xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
            IPA validation.
      - title: Group Audit Types
        type: string
        enum:
        - GROUP_DELETED
        - GROUP_CREATED
        - GROUP_MOVED
      - title: Mlab Migration Audit Types
        type: string
        enum:
        - MLAB_MIGRATION_COMPLETED
        - MLAB_MIGRATION_TARGET_CLUSTER_CREATED
        - MLAB_MIGRATION_DATABASE_USERS_IMPORTED
        - MLAB_MIGRATION_IP_WHITELIST_IMPORTED
        - MLAB_MIGRATION_TARGET_CLUSTER_SET
        - MLAB_MIGRATION_DATABASE_RENAMED
        - MLAB_MIGRATION_LIVE_IMPORT_STARTED
        - MLAB_MIGRATION_LIVE_IMPORT_READY_FOR_CUTOVER
        - MLAB_MIGRATION_LIVE_IMPORT_CUTOVER_COMPLETE
        - MLAB_MIGRATION_LIVE_IMPORT_ERROR
        - MLAB_MIGRATION_LIVE_IMPORT_CANCELLED
        - MLAB_MIGRATION_DUMP_AND_RESTORE_TEST_STARTED
        - MLAB_MIGRATION_DUMP_AND_RESTORE_TEST_SKIPPED
        - MLAB_MIGRATION_DUMP_AND_RESTORE_STARTED
        - MLAB_MIGRATION_SUPPORT_PLAN_SELECTED
        - MLAB_MIGRATION_SUPPORT_PLAN_OPTED_OUT
      - title: Atlas Audit Types
        type: string
        enum:
        - ORG_LIMIT_UPDATED
        - SHADOW_CLUSTER_ORG_OPT_IN
        - SHADOW_CLUSTER_ORG_OPT_OUT
      - title: Org Event Types
        type: string
        enum:
        - ORG_CREATED
        - CUSTOM_SESSION_TIMEOUT_MODIFIED
        - SECURITY_CONTACT_MODIFIED
        - ORG_CREDIT_CARD_ADDED
        - ORG_CREDIT_CARD_UPDATED
        - ORG_CREDIT_CARD_CURRENT
        - ORG_CREDIT_CARD_ABOUT_TO_EXPIRE
        - ORG_PAYPAL_LINKED
        - ORG_PAYPAL_UPDATED
        - ORG_PAYPAL_CANCELLED
        - ORG_OVERRIDE_PAYMENT_METHOD_ADDED
        - ORG_BANK_ACCOUNT_ADDED
        - ORG_BANK_ACCOUNT_UPDATED
        - ORG_WALLET_ADDED
        - ORG_WALLET_UPDATED
        - ORG_ACTIVATED
        - ORG_TEMPORARILY_ACTIVATED
        - ORG_SUSPENSION_DATE_CHANGED
        - ORG_SUSPENDED
        - ORG_ADMIN_SUSPENDED
        - ORG_ADMIN_LOCKED
        - ORG_CLUSTERS_DELETED
        - ORG_CLUSTERS_PAUSED
        - ORG_LOCKED
        - ORG_LOCKED_ACCELERATED
        - ORG_UNDER_FINANCIAL_PROTECTION
        - ORG_NO_FINANCIAL_PROTECTION
        - ORG_RENAMED
        - ALL_ORG_USERS_HAVE_MFA
        - ORG_USERS_WITHOUT_MFA
        - ORG_INVOICE_UNDER_THRESHOLD
        - ORG_INVOICE_OVER_THRESHOLD
        - ORG_DAILY_BILL_UNDER_THRESHOLD
        - ORG_DAILY_BILL_OVER_THRESHOLD
        - ORG_GROUP_CHARGES_UNDER_THRESHOLD
        - ORG_GROUP_CHARGES_OVER_THRESHOLD
        - ORG_TWO_FACTOR_AUTH_REQUIRED
        - ORG_TWO_FACTOR_AUTH_OPTIONAL
        - ORG_PUBLIC_API_ACCESS_LIST_REQUIRED
        - ORG_PUBLIC_API_ACCESS_LIST_NOT_REQUIRED
        - ORG_EMPLOYEE_ACCESS_RESTRICTED
        - ORG_EMPLOYEE_ACCESS_UNRESTRICTED
        - ORG_CONNECTED_TO_MLAB
        - ORG_DISCONNECTED_FROM_MLAB
        - ORG_IDP_CERTIFICATE_CURRENT
        - ORG_IDP_CERTIFICATE_ABOUT_TO_EXPIRE
        - ORG_CONNECTED_TO_VERCEL
        - ORG_DISCONNECTED_TO_VERCEL
        - ORG_CONNECTION_UNINSTALLED_FROM_VERCEL
        - ORG_UI_IP_ACCESS_LIST_ENABLED
        - ORG_UI_IP_ACCESS_LIST_DISABLED
        - ORG_EDITED_UI_IP_ACCESS_LIST_ENTRIES
        - ORG_SERVICE_ACCOUNT_MAX_SECRET_VALIDITY_EDITED
        - ORG_SERVICE_ACCOUNT_SECRETS_EXPIRED
        - ORG_SERVICE_ACCOUNT_SECRETS_NO_LONGER_EXPIRED
        - ORG_SERVICE_ACCOUNT_SECRETS_EXPIRING
        - ORG_SERVICE_ACCOUNT_SECRETS_NO_LONGER_EXPIRING
        - ORG_MONGODB_VERSION_EOL_EXTENSION_ACCEPTED
        - ORG_MONGODB_VERSION_EOL_EXTENSION_PENDING
        - ORG_MONGODB_VERSION_EOL_EXTENSION_CANCELLED
        - ORG_BAAS_EOL_EXTENSION_ACCEPTED
        - ORG_BAAS_EOL_EXTENSION_PENDING
        - ORG_BAAS_EOL_EXTENSION_CANCELED
        - GROUP_MOVED_FROM_ORG
        - SANDBOX_ENABLED_FOR_ORG
        - SANDBOX_DISABLED_FOR_ORG
        - SANDBOX_CONFIG_DELETED
        - SANDBOX_TEMPLATE_UPDATED
        - ORGANIZATION_VOYAGE_SETTINGS_CREATED
        - ORGANIZATION_VOYAGE_SETTINGS_DELETED
        x-xgen-IPA-exception:
          xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
            IPA validation.
      - title: Partner Event Types
        type: string
        enum:
        - AWS_SELF_SERVE_ACCOUNT_LINKED
        - AWS_SELF_SERVE_ACCOUNT_LINK_PENDING
        - AWS_SELF_SERVE_ACCOUNT_CANCELLED
        - AWS_SELF_SERVE_ACCOUNT_LINK_FAILED
        - GCP_SELF_SERVE_ACCOUNT_LINK_PENDING
        - GCP_SELF_SERVE_ACCOUNT_LINK_FAILED
        - AZURE_SELF_SERVE_ACCOUNT_LINKED
        - AZURE_SELF_SERVE_ACCOUNT_LINK_PENDING
        - AZURE_SELF_SERVE_ACCOUNT_CANCELLED
        - AZURE_SELF_SERVE_ACCOUNT_LINK_FAILED
        - GCP_SELF_SERVE_ACCOUNT_LINKED
        - GCP_SELF_SERVE_ACCOUNT_CANCELLED
        - VERCEL_SELF_SERVE_ACCOUNT_LINKED
        - VERCEL_SELF_SERVE_ACCOUNT_LINK_PENDING
        - VERCEL_SELF_SERVE_ACCOUNT_CANCELLED
        - VERCEL_SELF_SERVE_ACCOUNT_LINK_FAILED
        - VERCEL_INVOICE_CREATED
        - VERCEL_INVOICE_NOT_PAID
        - VERCEL_INVOICE_OVERDUE
        - VERCEL_INVOICE_PAID
        - VERCEL_INVOICE_REFUNDED
        x-xgen-IPA-exception:
          xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum grows with
            new partner integrations and event types.
      - title: Support Event Types
        type: string
        enum:
        - SUPPORT_EMAILS_SENT_SUCCESSFULLY
        - SUPPORT_EMAILS_SENT_FAILURE
      - title: Team Event Types
        type: string
        enum:
        - TEAM_CREATED
        - TEAM_DELETED
        - TEAM_UPDATED
        - TEAM_NAME_CHANGED
        - TEAM_ADDED_TO_GROUP
        - TEAM_REMOVED_FROM_GROUP
        - TEAM_ROLES_MODIFIED
      - title: User Event Types
        type: string
        enum:
        - JOINED_ORG
        - JOINED_TEAM
        - INVITED_TO_ORG
        - ORG_INVITATION_DELETED
        - REMOVED_FROM_ORG
        - REMOVED_FROM_TEAM
        - USER_ROLES_CHANGED_AUDIT
        - ORG_FLEX_CONSULTING_PURCHASED
        - ORG_FLEX_CONSULTING_PURCHASE_FAILED
        - INVITED_TO_TEAM
      - title: Resource Event Types
        type: string
        enum:
        - TAGS_MODIFIED
        - GROUP_TAGS_MODIFIED
      - title: Atlas Resource Policy Audit Types
        type: string
        enum:
        - RESOURCE_POLICY_CREATED
        - RESOURCE_POLICY_MODIFIED
        - RESOURCE_POLICY_DELETED
        - RESOURCE_POLICY_VIOLATED
    EventViewForNdsGroup:
      type: object
      oneOf:
      - "$ref": "#/components/schemas/DefaultEventViewForNdsGroup"
      - "$ref": "#/components/schemas/AlertAudit"
      - "$ref": "#/components/schemas/AlertConfigAudit"
      - "$ref": "#/components/schemas/ApiUserEventViewForNdsGroup"
      - "$ref": "#/components/schemas/ServiceAccountGroupEvents"
      - "$ref": "#/components/schemas/AutomationConfigEventView"
      - "$ref": "#/components/schemas/AppServiceEventView"
      - "$ref": "#/components/schemas/BillingEventViewForNdsGroup"
      - "$ref": "#/components/schemas/ClusterEventViewForNdsGroup"
      - "$ref": "#/components/schemas/DataExplorerAccessedEventView"
      - "$ref": "#/components/schemas/DataExplorerEvent"
      - "$ref": "#/components/schemas/FTSIndexAuditView"
      - "$ref": "#/components/schemas/HostEventViewForNdsGroup"
      - "$ref": "#/components/schemas/HostMetricEvent"
      - "$ref": "#/components/schemas/NDSAuditViewForNdsGroup"
      - "$ref": "#/components/schemas/NDSAutoScalingAuditViewForNdsGroup"
      - "$ref": "#/components/schemas/NDSServerlessInstanceAuditView"
      - "$ref": "#/components/schemas/NDSTenantEndpointAuditView"
      - "$ref": "#/components/schemas/ForNdsGroup"
      - "$ref": "#/components/schemas/SearchDeploymentAuditView"
      - "$ref": "#/components/schemas/TeamEventViewForNdsGroup"
      - "$ref": "#/components/schemas/UserEventViewForNdsGroup"
      - "$ref": "#/components/schemas/ResourceEventViewForNdsGroup"
      - "$ref": "#/components/schemas/StreamsEventViewForNdsGroup"
      - "$ref": "#/components/schemas/StreamProcessorEventViewForNdsGroup"
      - "$ref": "#/components/schemas/ChartsAudit"
      - "$ref": "#/components/schemas/AtlasResourcePolicyAuditForNdsGroup"
      x-xgen-IPA-exception:
        xgen-IPA-125-oneOf-must-have-discriminator: Schema predates IPA validation.
    EventViewForOrg:
      type: object
      oneOf:
      - "$ref": "#/components/schemas/DefaultEventViewForOrg"
      - "$ref": "#/components/schemas/AlertAudit"
      - "$ref": "#/components/schemas/AlertConfigAudit"
      - "$ref": "#/components/schemas/ApiUserEventViewForOrg"
      - "$ref": "#/components/schemas/ServiceAccountOrgEvents"
      - "$ref": "#/components/schemas/BillingEventViewForOrg"
      - "$ref": "#/components/schemas/NDSAuditViewForOrg"
      - "$ref": "#/components/schemas/OrgEventViewForOrg"
      - "$ref": "#/components/schemas/TeamEvent"
      - "$ref": "#/components/schemas/UserEventViewForOrg"
      - "$ref": "#/components/schemas/ResourceEventViewForOrg"
      - "$ref": "#/components/schemas/AtlasResourcePolicyAuditForOrg"
      x-xgen-IPA-exception:
        xgen-IPA-125-oneOf-must-have-discriminator: Schema predates IPA validation.
    ExportStatus:
      type: object
      properties:
        exportedCollections:
          type: integer
          description: Count of collections whose documents were exported to the Export
            Bucket.
          format: int32
          readOnly: true
        totalCollections:
          type: integer
          description: Total count of collections whose documents will be exported
            to the Export Bucket.
          format: int32
          readOnly: true
      description: State of the Export Job.
    ExtraInfoPageFaultsRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    ExtraRetentionSetting:
      type: object
      properties:
        frequencyType:
          type: string
          description: The frequency type for the extra retention settings for the
            cluster.
          enum:
          - HOURLY
          - DAILY
          - WEEKLY
          - MONTHLY
          - YEARLY
          - ON_DEMAND
        retentionDays:
          type: integer
          description: The number of extra retention days for the cluster.
          format: int32
      description: Extra retention setting item in the desired backup policy.
    FTSIndexAuditTypeView:
      title: FTS Index Audit Types
      type: string
      description: Unique identifier of event type.
      example: FTS_INDEX_CREATED
      enum:
      - FTS_INDEX_DELETION_FAILED
      - FTS_INDEX_BUILD_COMPLETE
      - FTS_INDEX_BUILD_FAILED
      - FTS_INDEX_CREATED
      - FTS_INDEX_UPDATED
      - FTS_INDEX_DELETED
      - FTS_INDEX_CLEANED_UP
      - FTS_INDEX_STALE
      - FTS_INDEXES_RESTORED
      - FTS_INDEXES_RESTORE_FAILED
      - FTS_INDEXES_SYNONYM_MAPPING_INVALID
    FTSIndexAuditView:
      title: FTS Index Audits
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/FTSIndexAuditTypeView"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: FTS index audit indicates any activities about search index.
    FTSMetric:
      required:
      - metricName
      - units
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies this Atlas Search hardware,
            status, or index measurement.
          readOnly: true
          enum:
          - INDEX_SIZE_ON_DISK
          - NUMBER_OF_DELETES
          - NUMBER_OF_ERROR_QUERIES
          - NUMBER_OF_GETMORE_COMMANDS
          - NUMBER_OF_INDEX_FIELDS
          - NUMBER_OF_INSERTS
          - NUMBER_OF_SUCCESS_QUERIES
          - NUMBER_OF_UPDATES
          - REPLICATION_LAG
          - TOTAL_NUMBER_OF_QUERIES
          - FTS_DISK_USAGE
          - FTS_PROCESS_CPU_KERNEL
          - FTS_PROCESS_CPU_USER
          - FTS_PROCESS_NORMALIZED_CPU_KERNEL
          - FTS_PROCESS_NORMALIZED_CPU_USER
          - FTS_PROCESS_RESIDENT_MEMORY
          - FTS_PROCESS_SHARED_MEMORY
          - FTS_PROCESS_VIRTUAL_MEMORY
          - JVM_CURRENT_MEMORY
          - JVM_MAX_MEMORY
          - PAGE_FAULTS
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
              IPA validation.
        units:
          type: string
          description: Unit of measurement that applies to this Atlas Search metric.
          readOnly: true
          enum:
          - BYTES
          - BYTES_PER_SECOND
          - GIGABYTES
          - GIGABYTES_PER_HOUR
          - KILOBYTES
          - MEGABYTES
          - MEGABYTES_PER_SECOND
          - MILLISECONDS
          - MILLISECONDS_LOGSCALE
          - PERCENT
          - SCALAR
          - SCALAR_PER_SECOND
          - SECONDS
      description: Measurement of one Atlas Search status when MongoDB Atlas received
        this request.
      readOnly: true
    FederatedUser:
      title: Federated User
      required:
      - emailAddress
      - federationSettingsId
      - firstName
      - lastName
      type: object
      properties:
        emailAddress:
          type: string
          description: Email address of the MongoDB Cloud user linked to the federated
            organization.
          format: email
        federationSettingsId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the federation
            to which this MongoDB Cloud user belongs.
          example: 32b6e34b3d91647abb20e7b8
        firstName:
          type: string
          description: First or given name that belongs to the MongoDB Cloud user.
        lastName:
          type: string
          description: Last name, family name, or surname that belongs to the MongoDB
            Cloud user.
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this user.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
      description: MongoDB Cloud user linked to this federated authentication.
    FederationIdentityProvider:
      required:
      - id
      - oktaIdpId
      type: object
      properties:
        associatedOrgs:
          uniqueItems: true
          type: array
          description: List that contains the connected organization configurations
            associated with the identity provider.
          items:
            "$ref": "#/components/schemas/ConnectedOrgConfig"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        createdAt:
          type: string
          description: Date that the identity provider was created on. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        description:
          type: string
          description: The description of the identity provider.
        displayName:
          type: string
          description: Human-readable label that identifies the identity provider.
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the identity
            provider.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        idpType:
          type: string
          description: String enum that indicates the type of the identity provider.
            Default is WORKFORCE.
          enum:
          - WORKFORCE
          - WORKLOAD
        issuerUri:
          type: string
          description: Unique string that identifies the issuer of the SAML Assertion
            or OIDC metadata/discovery document URL.
        oktaIdpId:
          pattern: "^([a-f0-9]{20})$"
          type: string
          description: Legacy 20-hexadecimal digit string that identifies the identity
            provider.
        protocol:
          type: string
          description: String enum that indicates the protocol of the identity provider.
            Either SAML or OIDC.
          enum:
          - SAML
          - OIDC
        updatedAt:
          type: string
          description: Date that the identity provider was last updated on. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
      oneOf:
      - "$ref": "#/components/schemas/FederationSamlIdentityProvider"
      - "$ref": "#/components/schemas/FederationOidcWorkforceIdentityProvider"
      - "$ref": "#/components/schemas/FederationOidcWorkloadIdentityProvider"
      x-xgen-IPA-exception:
        xgen-IPA-125-oneOf-must-have-discriminator: Schema predates IPA validation.
    FederationOidcWorkforceIdentityProvider:
      title: OIDC WORKFORCE
      required:
      - id
      - oktaIdpId
      type: object
      properties:
        associatedDomains:
          uniqueItems: true
          type: array
          description: List that contains the domains associated with the identity
            provider.
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        associatedOrgs:
          uniqueItems: true
          type: array
          description: List that contains the connected organization configurations
            associated with the identity provider.
          items:
            "$ref": "#/components/schemas/ConnectedOrgConfig"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        audience:
          type: string
          description: Identifier of the intended recipient of the token.
        authorizationType:
          type: string
          description: Indicates whether authorization is granted based on group membership
            or user ID.
          enum:
          - GROUP
          - USER
        clientId:
          type: string
          description: Client identifier that is assigned to an application by the
            Identity Provider.
        createdAt:
          type: string
          description: Date that the identity provider was created on. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        description:
          type: string
          description: The description of the identity provider.
        displayName:
          type: string
          description: Human-readable label that identifies the identity provider.
        groupsClaim:
          type: string
          description: Identifier of the claim which contains IdP Group IDs in the
            token.
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the identity
            provider.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        idpType:
          type: string
          description: String enum that indicates the type of the identity provider.
            Default is WORKFORCE.
          enum:
          - WORKFORCE
          - WORKLOAD
        issuerUri:
          type: string
          description: Unique string that identifies the issuer of the SAML Assertion
            or OIDC metadata/discovery document URL.
        oktaIdpId:
          pattern: "^([a-f0-9]{20})$"
          type: string
          description: Legacy 20-hexadecimal digit string that identifies the identity
            provider.
        protocol:
          type: string
          description: String enum that indicates the protocol of the identity provider.
            Either SAML or OIDC.
          enum:
          - SAML
          - OIDC
        requestedScopes:
          type: array
          description: Scopes that MongoDB applications will request from the authorization
            endpoint.
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        updatedAt:
          type: string
          description: Date that the identity provider was last updated on. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        userClaim:
          type: string
          description: Identifier of the claim which contains the user ID in the token.
    FederationOidcWorkloadIdentityProvider:
      title: OIDC WORKLOAD
      required:
      - id
      - oktaIdpId
      type: object
      properties:
        associatedOrgs:
          uniqueItems: true
          type: array
          description: List that contains the connected organization configurations
            associated with the identity provider.
          items:
            "$ref": "#/components/schemas/ConnectedOrgConfig"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        audience:
          type: string
          description: Identifier of the intended recipient of the token.
        authorizationType:
          type: string
          description: Indicates whether authorization is granted based on group membership
            or user ID.
          enum:
          - GROUP
          - USER
        createdAt:
          type: string
          description: Date that the identity provider was created on. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        description:
          type: string
          description: The description of the identity provider.
        displayName:
          type: string
          description: Human-readable label that identifies the identity provider.
        groupsClaim:
          type: string
          description: Identifier of the claim which contains IdP Group IDs in the
            token.
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the identity
            provider.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        idpType:
          type: string
          description: String enum that indicates the type of the identity provider.
            Default is WORKFORCE.
          enum:
          - WORKFORCE
          - WORKLOAD
        issuerUri:
          type: string
          description: Unique string that identifies the issuer of the SAML Assertion
            or OIDC metadata/discovery document URL.
        oktaIdpId:
          pattern: "^([a-f0-9]{20})$"
          type: string
          description: Legacy 20-hexadecimal digit string that identifies the identity
            provider.
        protocol:
          type: string
          description: String enum that indicates the protocol of the identity provider.
            Either SAML or OIDC.
          enum:
          - SAML
          - OIDC
        updatedAt:
          type: string
          description: Date that the identity provider was last updated on. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        userClaim:
          type: string
          description: Identifier of the claim which contains the user ID in the token.
    FederationSamlIdentityProvider:
      title: SAML
      required:
      - id
      - oktaIdpId
      type: object
      properties:
        acsUrl:
          type: string
          description: URL that points to where to send the SAML response.
        associatedDomains:
          uniqueItems: true
          type: array
          description: List that contains the domains associated with the identity
            provider.
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        associatedOrgs:
          uniqueItems: true
          type: array
          description: List that contains the connected organization configurations
            associated with the identity provider.
          items:
            "$ref": "#/components/schemas/ConnectedOrgConfig"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        audienceUri:
          type: string
          description: Unique string that identifies the intended audience of the
            SAML assertion.
        createdAt:
          type: string
          description: Date that the identity provider was created on. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        description:
          type: string
          description: The description of the identity provider.
        displayName:
          type: string
          description: Human-readable label that identifies the identity provider.
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the identity
            provider.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        idpType:
          type: string
          description: String enum that indicates the type of the identity provider.
            Default is WORKFORCE.
          enum:
          - WORKFORCE
          - WORKLOAD
        issuerUri:
          type: string
          description: Unique string that identifies the issuer of the SAML Assertion
            or OIDC metadata/discovery document URL.
        oktaIdpId:
          pattern: "^([a-f0-9]{20})$"
          type: string
          description: Legacy 20-hexadecimal digit string that identifies the identity
            provider.
        pemFileInfo:
          "$ref": "#/components/schemas/PemFileInfo"
        protocol:
          type: string
          description: String enum that indicates the protocol of the identity provider.
            Either SAML or OIDC.
          enum:
          - SAML
          - OIDC
        requestBinding:
          type: string
          description: SAML Authentication Request Protocol HTTP method binding (POST
            or REDIRECT) that Federated Authentication uses to send the authentication
            request.
          enum:
          - HTTP-POST
          - HTTP-REDIRECT
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        responseSignatureAlgorithm:
          type: string
          description: Signature algorithm that Federated Authentication uses to encrypt
            the identity provider signature.
          enum:
          - SHA-1
          - SHA-256
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        slug:
          type: string
          description: Custom SSO URL for the identity provider.
        ssoDebugEnabled:
          type: boolean
          description: Flag that indicates whether the identity provider has SSO debug
            enabled.
        ssoUrl:
          type: string
          description: URL that points to the receiver of the SAML authentication
            request.
        status:
          type: string
          description: String enum that indicates whether the identity provider is
            active.
          enum:
          - ACTIVE
          - INACTIVE
        updatedAt:
          type: string
          description: Date that the identity provider was last updated on. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
    FieldTransformation:
      title: Field Transformation
      type: object
      properties:
        field:
          type: string
          description: Key in the document.
        type:
          type: string
          description: Type of transformation applied during the export of the namespace
            in a Data Lake Pipeline.
          enum:
          - EXCLUDE
      description: Field Transformations during ingestion of a Data Lake Pipeline.
    FieldViolation:
      required:
      - description
      - field
      type: object
      properties:
        description:
          type: string
          description: A description of why the request element is bad.
        field:
          type: string
          description: A path that leads to a field in the request body.
    FlexAVGCommandExecutionTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    FlexAVGWriteExecutionTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    FlexClusterMetricThreshold:
      title: Flex Cluster Metric Threshold
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          type: string
          description: Element used to express the quantity. This can be an element
            of time, storage capacity, and the like.
          enum:
          - bits
          - Kbits
          - Mbits
          - Gbits
          - bytes
          - KB
          - MB
          - GB
          - TB
          - PB
          - nsec
          - msec
          - sec
          - min
          - hours
          - million minutes
          - days
          - requests
          - 1000 requests
          - tokens
          - million tokens
          - pixels
          - billion pixels
          - GB seconds
          - GB hours
          - GB days
          - RPU
          - thousand RPU
          - million RPU
          - WPU
          - thousand WPU
          - million WPU
          - count
          - thousand
          - million
          - billion
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
              IPA validation.
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Threshold for the metric that, when exceeded, triggers an alert.
        The metric threshold pertains to event types which reflects changes of measurements
        and metrics about the serverless database.
      discriminator:
        propertyName: metricName
        mapping:
          FLEX_AVG_COMMAND_EXECUTION_TIME: "#/components/schemas/FlexAVGCommandExecutionTimeMetricThresholdView"
          FLEX_AVG_READ_EXECUTION_TIME: "#/components/schemas/TimeMetricThresholdView"
          FLEX_AVG_WRITE_EXECUTION_TIME: "#/components/schemas/FlexAVGWriteExecutionTimeMetricThresholdView"
          FLEX_CONNECTIONS: "#/components/schemas/RawMetricThresholdView"
          FLEX_CONNECTIONS_PERCENT: "#/components/schemas/FlexConnectionPercentRawMetricThresholdView"
          FLEX_DATA_SIZE_TOTAL: "#/components/schemas/DataMetricThresholdView"
          FLEX_NETWORK_BYTES_IN: "#/components/schemas/FlexNetworkBytesInDataMetricThresholdView"
          FLEX_NETWORK_BYTES_OUT: "#/components/schemas/FlexNetworkBytesOutDataMetricThresholdView"
          FLEX_NETWORK_NUM_REQUESTS: "#/components/schemas/FlexNetworkNumRequestsRawMetricThresholdView"
          FLEX_OPCOUNTER_CMD: "#/components/schemas/FlexOpCounterCMDRawMetricThresholdView"
          FLEX_OPCOUNTER_DELETE: "#/components/schemas/FlexOpCounterDeleteRawMetricThresholdView"
          FLEX_OPCOUNTER_GETMORE: "#/components/schemas/FlexOpCounterGetMoreRawMetricThresholdView"
          FLEX_OPCOUNTER_INSERT: "#/components/schemas/FlexOpCounterInsertRawMetricThresholdView"
          FLEX_OPCOUNTER_QUERY: "#/components/schemas/FlexOpCounterQueryRawMetricThresholdView"
          FLEX_OPCOUNTER_UPDATE: "#/components/schemas/FlexOpCounterUpdateRawMetricThresholdView"
      oneOf:
      - "$ref": "#/components/schemas/RawMetricThresholdView"
      - "$ref": "#/components/schemas/FlexConnectionPercentRawMetricThresholdView"
      - "$ref": "#/components/schemas/DataMetricThresholdView"
      - "$ref": "#/components/schemas/FlexNetworkBytesInDataMetricThresholdView"
      - "$ref": "#/components/schemas/FlexNetworkBytesOutDataMetricThresholdView"
      - "$ref": "#/components/schemas/FlexNetworkNumRequestsRawMetricThresholdView"
      - "$ref": "#/components/schemas/FlexOpCounterCMDRawMetricThresholdView"
      - "$ref": "#/components/schemas/FlexOpCounterDeleteRawMetricThresholdView"
      - "$ref": "#/components/schemas/FlexOpCounterInsertRawMetricThresholdView"
      - "$ref": "#/components/schemas/FlexOpCounterQueryRawMetricThresholdView"
      - "$ref": "#/components/schemas/FlexOpCounterUpdateRawMetricThresholdView"
      - "$ref": "#/components/schemas/FlexOpCounterGetMoreRawMetricThresholdView"
      - "$ref": "#/components/schemas/TimeMetricThresholdView"
      - "$ref": "#/components/schemas/FlexAVGWriteExecutionTimeMetricThresholdView"
      - "$ref": "#/components/schemas/FlexAVGCommandExecutionTimeMetricThresholdView"
    FlexConnectionPercentRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    FlexMetricAlertConfigViewForNdsGroup:
      title: Flex Alert Configuration
      required:
      - eventTypeName
      - notifications
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created the alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled this alert configuration
            for the specified project.
          default: false
        eventTypeName:
          "$ref": "#/components/schemas/FlexMetricEventTypeViewAlertable"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert
            configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        matchers:
          type: array
          description: Matching conditions for target resources.
          items:
            "$ref": "#/components/schemas/AlertMatcher"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        metricThreshold:
          "$ref": "#/components/schemas/FlexClusterMetricThreshold"
        notifications:
          maxItems: 25
          minItems: 1
          type: array
          description: List that contains the targets that MongoDB Cloud sends notifications.
          items:
            "$ref": "#/components/schemas/AlertsNotificationRootForGroup"
        severityOverride:
          "$ref": "#/components/schemas/EventSeverity"
        updated:
          type: string
          description: Date and time when someone last updated this alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Flex metric alert configuration allows to select which Flex database
        metrics trigger alerts and how users are notified.
    FlexMetricEventTypeViewAlertable:
      title: Flex Metric Event Types
      type: string
      description: Event type that triggers an alert.
      example: OUTSIDE_FLEX_METRIC_THRESHOLD
      externalDocs:
        description: Atlas Alert Event Types
        url: https://www.mongodb.com/docs/atlas/reference/atlas-alert-event-types/
      enum:
      - OUTSIDE_FLEX_METRIC_THRESHOLD
    FlexNetworkBytesInDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    FlexNetworkBytesOutDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    FlexNetworkNumRequestsRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    FlexOpCounterCMDRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    FlexOpCounterDeleteRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    FlexOpCounterGetMoreRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    FlexOpCounterInsertRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    FlexOpCounterQueryRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    FlexOpCounterUpdateRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    ForNdsGroup:
      title: ReplicaSet Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/ReplicaSetEventTypeViewForNdsGroup"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        port:
          type: integer
          description: IANA port on which the MongoDB process listens for requests.
          format: int32
          readOnly: true
          example: 27017
        raw:
          "$ref": "#/components/schemas/raw"
        replicaSetName:
          type: string
          description: Human-readable label of the replica set associated with the
            event.
          readOnly: true
          example: event-replica-set
        shardName:
          type: string
          description: Human-readable label of the shard associated with the event.
          readOnly: true
          example: event-sh-01
      description: Replica Set Event identifies different activities about replica
        set of mongod instances.
    FreeComputeAutoScalingRules:
      title: Tenant
      type: object
      properties:
        maxInstanceSize:
          title: Tenant Instance Sizes
          type: string
          description: Maximum instance size to which your cluster can automatically
            scale.
          enum:
          - M0
          - M2
          - M5
        minInstanceSize:
          title: Tenant Instance Sizes
          type: string
          description: Minimum instance size to which your cluster can automatically
            scale.
          enum:
          - M0
          - M2
          - M5
      description: Collection of settings that configures how a cluster might scale
        its cluster tier and whether the cluster can scale down.
    FtsDiskUtilizationDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    FtsJvmCurrentMemoryDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    FtsJvmMaxMemoryDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    FtsMemoryMappedDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    FtsMemoryResidentDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    FtsMemoryVirtualDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    FtsProcessCpuKernelRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    FtsProcessCpuUserRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    GCPCloudProviderContainer:
      title: GCP
      required:
      - atlasCidrBlock
      - regions
      type: object
      description: Collection of settings that configures the network container for
        a virtual private connection on Amazon Web Services.
      allOf:
      - "$ref": "#/components/schemas/CloudProviderContainer"
      - type: object
        properties:
          atlasCidrBlock:
            pattern: "^((([0-9]{1,3}\\.){3}[0-9]{1,3})|(:{0,2}([0-9a-f]{1,4}:){0,7}[0-9a-f]{1,4}[:]{0,2}))((%2[fF]|/)[0-9]{1,3})+$"
            type: string
            description: |-
              IP addresses expressed in Classless Inter-Domain Routing (CIDR) notation that MongoDB Cloud uses for the network peering containers in your project. MongoDB Cloud assigns all of the project's clusters deployed to this cloud provider an IP address from this range. MongoDB Cloud locks this value if an M10 or greater cluster or a network peering connection exists in this project.

              These CIDR blocks must fall within the ranges reserved per RFC 1918. GCP further limits the block to a lower bound of the `/18` range.

              To modify the CIDR block, the target project cannot have:

              - Any M10 or greater clusters
              - Any other VPC peering connections

               You can also create a new project and create a network peering connection to set the desired MongoDB Cloud network peering container CIDR block for that project. MongoDB Cloud limits the number of MongoDB nodes per network peering connection based on the CIDR block and the region selected for the project.

               **Example:** A project in an Google Cloud (GCP) region supporting three availability zones and an MongoDB CIDR network peering container block of limit of `/24` equals 27 three-node replica sets.
          gcpProjectId:
            pattern: "^p-[0-9a-z]{24}$"
            type: string
            description: Unique string that identifies the GCP project in which MongoDB
              Cloud clusters in this network peering container exist. The response
              returns **null** if no clusters exist in this network peering container.
            readOnly: true
          networkName:
            pattern: "^nt-[0-9a-f]{24}-[0-9a-z]{8}$"
            type: string
            description: Human-readable label that identifies the network in which
              MongoDB Cloud clusters in this network peering container exist. MongoDB
              Cloud returns **null** if no clusters exist in this network peering
              container.
            readOnly: true
          regions:
            type: array
            description: List of GCP regions to which you want to deploy this MongoDB
              Cloud network peering container.  In this MongoDB Cloud project, you
              can deploy clusters only to the GCP regions in this list. To deploy
              MongoDB Cloud clusters to other GCP regions, create additional projects.
            items:
              type: string
              description: List of GCP regions to which you want to deploy this MongoDB
                Cloud network peering container.  In this MongoDB Cloud project, you
                can deploy clusters only to the GCP regions in this list. To deploy
                MongoDB Cloud clusters to other GCP regions, create additional projects.
              enum:
              - AFRICA_SOUTH_1
              - ASIA_EAST_2
              - ASIA_NORTHEAST_2
              - ASIA_NORTHEAST_3
              - ASIA_SOUTH_1
              - ASIA_SOUTH_2
              - ASIA_SOUTHEAST_2
              - AUSTRALIA_SOUTHEAST_1
              - AUSTRALIA_SOUTHEAST_2
              - CENTRAL_US
              - EASTERN_ASIA_PACIFIC
              - EASTERN_US
              - EUROPE_CENTRAL_2
              - EUROPE_NORTH_1
              - EUROPE_WEST_2
              - EUROPE_WEST_3
              - EUROPE_WEST_4
              - EUROPE_WEST_6
              - EUROPE_WEST_10
              - EUROPE_WEST_12
              - MIDDLE_EAST_CENTRAL_1
              - MIDDLE_EAST_CENTRAL_2
              - MIDDLE_EAST_WEST_1
              - NORTH_AMERICA_NORTHEAST_1
              - NORTH_AMERICA_NORTHEAST_2
              - NORTH_AMERICA_SOUTH_1
              - NORTHEASTERN_ASIA_PACIFIC
              - SOUTH_AMERICA_EAST_1
              - SOUTH_AMERICA_WEST_1
              - SOUTHEASTERN_ASIA_PACIFIC
              - US_EAST_4
              - US_EAST_5
              - US_WEST_2
              - US_WEST_3
              - US_WEST_4
              - US_SOUTH_1
              - WESTERN_EUROPE
              - WESTERN_US
            x-xgen-IPA-exception:
              xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Enum values
                standardized by cloud providers.
              xgen-IPA-124-array-max-items: Schema predates IPA validation.
    GCPComputeAutoScaling:
      title: GCP
      type: object
      properties:
        maxInstanceSize:
          title: GCP Instance Sizes
          type: string
          description: Maximum instance size to which your cluster can automatically
            scale.
          enum:
          - M10
          - M20
          - M30
          - M40
          - M50
          - M60
          - M80
          - M140
          - M200
          - M250
          - M300
          - M400
          - R40
          - R50
          - R60
          - R80
          - R200
          - R300
          - R400
          - R600
        minInstanceSize:
          title: GCP Instance Sizes
          type: string
          description: Minimum instance size to which your cluster can automatically
            scale.
          enum:
          - M10
          - M20
          - M30
          - M40
          - M50
          - M60
          - M80
          - M140
          - M200
          - M250
          - M300
          - M400
          - R40
          - R50
          - R60
          - R80
          - R200
          - R300
          - R400
          - R600
      description: Collection of settings that configures how a cluster might scale
        its cluster tier and whether the cluster can scale down. Cluster tier auto-scaling
        is unavailable for clusters using Low CPU or NVME storage classes.
    GCPConsumerForwardingRule:
      type: object
      properties:
        endpointName:
          type: string
          description: Human-readable label that identifies the Google Cloud consumer
            forwarding rule that you created.
          readOnly: true
          externalDocs:
            description: Google Cloud Forwarding Rule Concepts
            url: https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts
        ipAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: One Private Internet Protocol version 4 (IPv4) address to which
            this Google Cloud consumer forwarding rule resolves.
          readOnly: true
        status:
          type: string
          description: State of the MongoDB Cloud endpoint group when MongoDB Cloud
            received this request.
          readOnly: true
          enum:
          - INITIATING
          - AVAILABLE
          - FAILED
          - DELETING
    GCPCreateDataProcessRegionView:
      type: object
      allOf:
      - "$ref": "#/components/schemas/CreateDataProcessRegionView"
      - type: object
        properties:
          region:
            type: string
            description: Human-readable label that identifies the geographic location
              of the region where you wish to store your archived data.
            enum:
            - CENTRAL_US
            - WESTERN_EUROPE
    GCPDataProcessRegionView:
      type: object
      allOf:
      - "$ref": "#/components/schemas/DataProcessRegionView"
      - type: object
        properties:
          region:
            type: string
            description: Human-readable label that identifies the geographic location
              of the region where you store your archived data.
            readOnly: true
            enum:
            - CENTRAL_US
            - WESTERN_EUROPE
    GCPEndpointService:
      title: GCP
      required:
      - cloudProvider
      type: object
      properties:
        cloudProvider:
          type: string
          description: Cloud service provider that serves the requested endpoint service.
          readOnly: true
          enum:
          - AWS
          - AZURE
          - GCP
        endpointGroupNames:
          type: array
          description: List of Google Cloud network endpoint groups that corresponds
            to the Private Service Connect endpoint service. If this endpoint service
            uses PSC port-mapping, this field will only contain a list of one endpoint.
          externalDocs:
            description: Google Cloud Forwarding Rule Concepts
            url: https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts
          items:
            type: string
            description: One Google Cloud network endpoint group that corresponds
              to the Private Service Connect endpoint service.
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        errorMessage:
          type: string
          description: Error message returned when requesting private connection resource.
            The resource returns `null` if the request succeeded.
          readOnly: true
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the Private
            Endpoint Service.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        portMappingEnabled:
          type: boolean
          description: Flag that indicates whether this endpoint service uses PSC
            port-mapping.
        regionName:
          type: string
          description: Cloud provider region that manages this Private Endpoint Service.
          readOnly: true
        serviceAttachmentNames:
          type: array
          description: List of Uniform Resource Locators (URLs) that identifies endpoints
            that MongoDB Cloud can use to access one Google Cloud Service across a
            Google Cloud Virtual Private Connection (VPC) network. If this endpoint
            service uses PSC port-mapping, this field will only contain a list of
            one service attachment.
          externalDocs:
            description: Google Cloud Private Service Connect Service Attachments
            url: https://cloud.google.com/vpc/docs/private-service-connect#service-attachments
          items:
            pattern: https:\/\/([a-z0-9\.]+)+\.[a-z]{2,}(\/[a-z0-9\-]+)+\/projects\/p-[a-z0-9]+\/regions\/[a-z\-0-9]+\/serviceAttachments\/[a-z0-9\-]+
            type: string
            description: Uniform Resource Locator (URL) that identifies one endpoint
              that MongoDB Cloud can use to access one Google Cloud Service across
              a Google Cloud Virtual Private Connection (VPC) network.
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        status:
          type: string
          description: State of the Private Endpoint Service connection when MongoDB
            Cloud received this request.
          readOnly: true
          enum:
          - INITIATING
          - AVAILABLE
          - WAITING_FOR_USER
          - FAILED
          - DELETING
      description: Group of Private Endpoint Service settings.
    GCPHardwareSpec:
      type: object
      properties:
        instanceSize:
          title: GCP Instance Sizes
          type: string
          description: Hardware specification for the instance sizes in this region.
            Each instance size has a default storage and memory capacity. The instance
            size you select applies to all the data-bearing hosts of the node type.
          enum:
          - M10
          - M20
          - M30
          - M40
          - M50
          - M60
          - M80
          - M140
          - M200
          - M250
          - M300
          - M400
          - R40
          - R50
          - R60
          - R80
          - R200
          - R300
          - R400
          - R600
        nodeCount:
          type: integer
          description: Number of nodes of the given type for MongoDB Cloud to deploy
            to the region.
          format: int32
    GCPNetworkPeeringConnectionSettings:
      title: GCP
      required:
      - containerId
      - gcpProjectId
      - networkName
      type: object
      properties:
        containerId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the MongoDB
            Cloud network container that contains the specified network peering connection.
          example: 32b6e34b3d91647abb20e7b8
        errorMessage:
          type: string
          description: Details of the error returned when requesting a GCP network
            peering resource. The resource returns `null` if the request succeeded.
          readOnly: true
        gcpProjectId:
          pattern: "^[a-z][0-9a-z-]{4,28}[0-9a-z]{1}"
          type: string
          description: Human-readable label that identifies the GCP project that contains
            the network that you want to peer with the MongoDB Cloud VPC.
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the network
            peering connection.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        networkName:
          pattern: "[a-z]([-a-z0-9]{0,62}[a-z0-9]{0,1})?"
          type: string
          description: Human-readable label that identifies the network to peer with
            the MongoDB Cloud VPC.
        providerName:
          type: string
          description: Cloud service provider that serves the requested network peering
            connection.
          enum:
          - AWS
          - AZURE
          - GCP
        status:
          type: string
          description: State of the network peering connection at the time you made
            the request.
          readOnly: true
          enum:
          - ADDING_PEER
          - WAITING_FOR_USER
          - AVAILABLE
          - FAILED
          - DELETING
      description: Group of Network Peering connection settings.
    GCPRegionConfig:
      title: GCP Regional Replication Specifications
      type: object
      description: Details that explain how MongoDB Cloud replicates data in one region
        on the specified MongoDB database.
      allOf:
      - "$ref": "#/components/schemas/CloudRegionConfig"
      - type: object
        properties:
          analyticsAutoScaling:
            "$ref": "#/components/schemas/AdvancedAutoScalingSettings"
          analyticsSpecs:
            "$ref": "#/components/schemas/DedicatedHardwareSpec"
          autoScaling:
            "$ref": "#/components/schemas/AdvancedAutoScalingSettings"
          readOnlySpecs:
            "$ref": "#/components/schemas/DedicatedHardwareSpec"
    GeoSharding:
      type: object
      properties:
        customZoneMapping:
          type: object
          additionalProperties:
            pattern: "^([a-f0-9]{24})$"
            type: string
            description: |-
              List that contains comma-separated key value pairs to map zones to geographic regions. These pairs map an ISO 3166-1a2 location code, with an ISO 3166-2 subdivision code when possible, to a unique 24-hexadecimal string that identifies the custom zone.

               The 24-hexadecimal string corresponds to a `Replication Specifications` `id` property.

              This parameter returns an empty object if no custom zones exist.

              Example: `{"US-VA": "6716c5a804f4ce77e899bf99", "DE": "6716c5a804f4ce77e899bf9a"}`.
            readOnly: true
            example: 32b6e34b3d91647abb20e7b8
          description: |-
            List that contains comma-separated key value pairs to map zones to geographic regions. These pairs map an ISO 3166-1a2 location code, with an ISO 3166-2 subdivision code when possible, to a unique 24-hexadecimal string that identifies the custom zone.

             The 24-hexadecimal string corresponds to a `Replication Specifications` `id` property.

            This parameter returns an empty object if no custom zones exist.

            Example: `{"US-VA": "6716c5a804f4ce77e899bf99", "DE": "6716c5a804f4ce77e899bf9a"}`.
          readOnly: true
        managedNamespaces:
          type: array
          description: List that contains a namespace for a Global Cluster. MongoDB
            Cloud manages this cluster.
          readOnly: true
          items:
            "$ref": "#/components/schemas/ManagedNamespaces"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        selfManagedSharding:
          type: boolean
          description: Boolean that controls which management mode the Global Cluster
            is operating under. If this parameter is true Self-Managed Sharding is
            enabled and users are in control of the zone sharding within the Global
            Cluster. If this parameter is false Atlas-Managed Sharding is enabled
            and Atlas is control of zone sharding within the Global Cluster.
          readOnly: true
    GlobalAccessesNotInMemoryRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    GlobalLockCurrentQueueReadersRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    GlobalLockCurrentQueueTotalRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    GlobalLockCurrentQueueWritersRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    GlobalLockPercentageRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    GlobalPageFaultExceptionsThrownRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    GoogleCloudKMS:
      type: object
      properties:
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled encryption at rest
            for the specified  project. To disable encryption at rest using customer
            key management and remove the configuration details, pass only this parameter
            with a value of `false`.
        keyVersionResourceID:
          type: string
          description: Resource path that displays the key version resource ID for
            your Google Cloud KMS.
          example: projects/my-project-common-0/locations/us-east4/keyRings/my-key-ring-0/cryptoKeys/my-key-0/cryptoKeyVersions/1
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        roleId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the Google
            Cloud Provider Access Role that MongoDB Cloud uses to access the Google
            Cloud KMS.
          example: 32b6e34b3d91647abb20e7b8
        serviceAccountKey:
          type: string
          description: JavaScript Object Notation (JSON) object that contains the
            Google Cloud Key Management Service (KMS). Format the JSON as a string
            and not as an object.
          writeOnly: true
          externalDocs:
            description: Google Cloud Authentication
            url: https://cloud.google.com/docs/authentication/getting-started
        valid:
          type: boolean
          description: Flag that indicates whether the Google Cloud Key Management
            Service (KMS) encryption key can encrypt and decrypt data.
          readOnly: true
      description: Details that define the configuration of Encryption at Rest using
        Google Cloud Key Management Service (KMS).
      externalDocs:
        description: Google Cloud Key Management Service
        url: https://www.mongodb.com/docs/atlas/security-gcp-kms/
    GreaterThanDaysThresholdView:
      type: object
      properties:
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - GREATER_THAN
        threshold:
          type: integer
          description: Value of metric that, when exceeded, triggers an alert.
          format: int32
        units:
          type: string
          description: Element used to express the quantity. This can be an element
            of time, storage capacity, and the like.
          enum:
          - DAYS
      description: Threshold value that triggers an alert.
    GreaterThanRawThreshold:
      title: Greater Than Raw Threshold
      type: object
      properties:
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - GREATER_THAN
        threshold:
          type: integer
          description: Value of metric that, when exceeded, triggers an alert.
          format: int32
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
      description: A Limit that triggers an alert when greater than a number.
    GreaterThanRawThresholdAlertConfigViewForNdsGroup:
      required:
      - eventTypeName
      - notifications
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created the alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled this alert configuration
            for the specified project.
          default: false
        eventTypeName:
          "$ref": "#/components/schemas/ReplicaSetEventTypeViewForNdsGroupAlertableWithThreshold"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert
            configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        matchers:
          type: array
          description: List of rules that determine whether MongoDB Cloud checks an
            object for the alert configuration. You can filter using the matchers
            array if the `eventTypeName` specifies an event for a host, replica set,
            or sharded cluster.
          items:
            "$ref": "#/components/schemas/ReplicaSetMatcher"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        notifications:
          maxItems: 25
          minItems: 1
          type: array
          description: List that contains the targets that MongoDB Cloud sends notifications.
          items:
            "$ref": "#/components/schemas/AlertsNotificationRootForGroup"
        severityOverride:
          "$ref": "#/components/schemas/EventSeverity"
        threshold:
          "$ref": "#/components/schemas/GreaterThanRawThreshold"
        updated:
          type: string
          description: Date and time when someone last updated this alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
    GreaterThanTimeThreshold:
      title: Greater Than Time Threshold
      type: object
      properties:
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - GREATER_THAN
        threshold:
          type: integer
          description: Value of metric that, when exceeded, triggers an alert.
          format: int32
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
      description: A Limit that triggers an alert when greater than a time period.
    Group:
      required:
      - clusterCount
      - created
      - name
      - orgId
      type: object
      properties:
        clusterCount:
          type: integer
          description: Quantity of MongoDB Cloud clusters deployed in this project.
          format: int64
          readOnly: true
        created:
          type: string
          description: Date and time when MongoDB Cloud created this project. This
            parameter expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the MongoDB
            Cloud project.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        name:
          pattern: "^[\\p{L}\\p{N}\\-_.(),:&@+']{1,64}$"
          type: string
          description: Human-readable label that identifies the project included in
            the MongoDB Cloud organization.
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the MongoDB
            Cloud organization to which the project belongs.
          example: 32b6e34b3d91647abb20e7b8
        regionUsageRestrictions:
          type: string
          description: |-
            Applies to Atlas for Government only.

            In Commercial Atlas, this field will be rejected in requests and missing in responses.

            This field sets restrictions on available regions in the project.

            `COMMERCIAL_FEDRAMP_REGIONS_ONLY`: Only allows deployments in FedRAMP Moderate regions.

            `GOV_REGIONS_ONLY`: Only allows deployments in GovCloud regions.
          externalDocs:
            url: https://www.mongodb.com/docs/atlas/government/overview/supported-regions/#supported-cloud-providers-and-regions
          enum:
          - COMMERCIAL_FEDRAMP_REGIONS_ONLY
          - GOV_REGIONS_ONLY
          default: COMMERCIAL_FEDRAMP_REGIONS_ONLY
        tags:
          type: array
          description: List that contains key-value pairs between 1 to 255 characters
            in length for tagging and categorizing the project.
          externalDocs:
            description: Resource Tags
            url: https://www.mongodb.com/docs/atlas/tags
          items:
            "$ref": "#/components/schemas/ResourceTag"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        withDefaultAlertsSettings:
          type: boolean
          description: Flag that indicates whether to create the project with default
            alert settings.
          default: true
    GroupAlertsConfig:
      type: object
      oneOf:
      - "$ref": "#/components/schemas/DefaultAlertConfigViewForNdsGroup"
      - "$ref": "#/components/schemas/AppServiceAlertConfigViewForNdsGroup"
      - "$ref": "#/components/schemas/AppServiceMetricAlertConfigViewForNdsGroup"
      - "$ref": "#/components/schemas/BillingThresholdAlertConfigViewForNdsGroup"
      - "$ref": "#/components/schemas/ClusterAlertConfigViewForNdsGroup"
      - "$ref": "#/components/schemas/CpsBackupThresholdAlertConfigViewForNdsGroup"
      - "$ref": "#/components/schemas/EncryptionKeyAlertConfigViewForNdsGroup"
      - "$ref": "#/components/schemas/HostAlertConfigViewForNdsGroup"
      - "$ref": "#/components/schemas/HostMetricAlertConfigViewForNdsGroup"
      - "$ref": "#/components/schemas/MongotuneAlertConfigViewForNdsGroup"
      - "$ref": "#/components/schemas/NDSX509UserAuthenticationAlertConfigViewForNdsGroup"
      - "$ref": "#/components/schemas/ReplicaSetAlertConfigViewForNdsGroup"
      - "$ref": "#/components/schemas/ReplicaSetThresholdAlertConfigViewForNdsGroup"
      - "$ref": "#/components/schemas/ServerlessMetricAlertConfigViewForNdsGroup"
      - "$ref": "#/components/schemas/FlexMetricAlertConfigViewForNdsGroup"
      - "$ref": "#/components/schemas/StreamProcessorAlertConfigViewForNdsGroup"
      - "$ref": "#/components/schemas/StreamProcessorMetricAlertConfigViewForNdsGroup"
      x-xgen-IPA-exception:
        xgen-IPA-125-oneOf-must-have-discriminator: Schema predates IPA validation.
        xgen-IPA-125-oneOf-schema-property-same-type: Schema predates IPA validation.
    GroupInvitation:
      type: object
      properties:
        createdAt:
          type: string
          description: Date and time when MongoDB Cloud sent the invitation. This
            parameter expresses its value in ISO 8601 format in UTC.
          format: date-time
          readOnly: true
        expiresAt:
          type: string
          description: Date and time when MongoDB Cloud expires the invitation. This
            parameter expresses its value in ISO 8601 format in UTC.
          format: date-time
          readOnly: true
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            project.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        groupName:
          pattern: "^[\\p{L}\\p{N}\\-_.(),:&@+']{1,64}$"
          type: string
          description: Human-readable label that identifies the project to which you
            invited the MongoDB Cloud user.
          readOnly: true
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            invitation.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        inviterUsername:
          type: string
          description: Email address of the MongoDB Cloud user who sent the invitation.
          format: email
          readOnly: true
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        roles:
          uniqueItems: true
          type: array
          description: One or more organization or project level roles to assign to
            the MongoDB Cloud user.
          externalDocs:
            description: MongoDB Cloud User Roles
            url: https://www.mongodb.com/docs/atlas/reference/user-roles/
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        username:
          type: string
          description: Email address of the MongoDB Cloud user invited to join the
            project.
          format: email
          readOnly: true
    GroupInvitationRequest:
      type: object
      properties:
        roles:
          uniqueItems: true
          type: array
          description: One or more project level roles to assign to the MongoDB Cloud
            user.
          externalDocs:
            description: MongoDB Cloud User Roles
            url: https://www.mongodb.com/docs/atlas/reference/user-roles/
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        username:
          type: string
          description: Email address of the MongoDB Cloud user invited to the specified
            project.
          format: email
    GroupInvitationUpdateRequest:
      type: object
      properties:
        roles:
          uniqueItems: true
          type: array
          description: One or more project-level roles to assign to the MongoDB Cloud
            user.
          externalDocs:
            description: MongoDB Cloud User Roles
            url: https://www.mongodb.com/docs/atlas/reference/user-roles/
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    GroupMaintenanceWindow:
      required:
      - dayOfWeek
      type: object
      properties:
        autoDeferOnceEnabled:
          type: boolean
          description: Flag that indicates whether MongoDB Cloud should defer all
            maintenance windows for one week after you enable them. This setting controls
            the same underlying auto-deferral feature as the `/maintenanceWindow/autoDefer`
            endpoint. Use either this field (to set a specific value) or that endpoint
            (to toggle the current value). For most use cases, this field in the PATCH
            request is preferred because it allows setting an explicit value rather
            than toggling.
        dayOfWeek:
          maximum: 7
          minimum: 1
          type: integer
          description: |-
            One-based integer that represents the day of the week that the maintenance window starts.

            - `1`: Sunday.
            - `2`: Monday.
            - `3`: Tuesday.
            - `4`: Wednesday.
            - `5`: Thursday.
            - `6`: Friday.
            - `7`: Saturday.
          format: int32
        hourOfDay:
          maximum: 23
          minimum: 0
          type: integer
          description: Zero-based integer that represents the hour of the of the day
            that the maintenance window starts according to a 24-hour clock. Use `0`
            for midnight and `12` for noon.
          format: int32
        numberOfDeferrals:
          type: integer
          description: Number of times the current maintenance event for this project
            has been deferred.
          format: int32
          readOnly: true
        protectedHours:
          "$ref": "#/components/schemas/ProtectedHours"
        startASAP:
          type: boolean
          description: Flag that indicates whether MongoDB Cloud starts the maintenance
            window immediately upon receiving this request. To start the maintenance
            window immediately for your project, MongoDB Cloud must have maintenance
            scheduled and you must set a maintenance window. This flag resets to `false`
            after MongoDB Cloud completes maintenance.
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        timeZoneId:
          type: string
          description: Identifier for the current time zone of the maintenance window.
            This can only be updated via the Project Settings UI.
          readOnly: true
    GroupNotification:
      title: Group Notification
      required:
      - typeName
      type: object
      properties:
        delayMin:
          type: integer
          description: Number of minutes that MongoDB Cloud waits after detecting
            an alert condition before it sends out the first notification.
          format: int32
        emailEnabled:
          type: boolean
          description: |-
            Flag that indicates whether MongoDB Cloud should send email notifications. The resource requires this parameter when one of the following values have been set:

            - `"notifications.[n].typeName" : "ORG"`
            - `"notifications.[n].typeName" : "GROUP"`
            - `"notifications.[n].typeName" : "USER"`
          x-xgen-IPA-exception:
            xgen-IPA-117-description-ends-with-period: Description ends with an item
              list.
        intervalMin:
          minimum: 5
          type: integer
          description: |-
            Number of minutes to wait between successive notifications. MongoDB Cloud sends notifications until someone acknowledges the unacknowledged alert.

            PagerDuty, VictorOps, and OpsGenie notifications don't return this element. Configure and manage the notification interval within each of those services.
          format: int32
        notifierId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: The `notifierId` is a system-generated unique identifier assigned
            to each notification method. This is needed when updating third-party
            notifications without requiring explicit authentication credentials.
          example: 32b6e34b3d91647abb20e7b8
        roles:
          type: array
          description: 'List that contains the one or more project roles that receive
            the configured alert. This parameter is available when `"notifications.[n].typeName"
            : "GROUP"` or `"notifications.[n].typeName" : "ORG"`. If you include this
            parameter, MongoDB Cloud sends alerts only to users assigned the roles
            you specify in the array. If you omit this parameter, MongoDB Cloud sends
            alerts to users assigned any role.'
          externalDocs:
            description: Project Roles
            url: https://dochub.mongodb.org/core/atlas-proj-roles
          items:
            type: string
            description: One or more project roles that receive the configured alert.
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        smsEnabled:
          type: boolean
          description: |-
            Flag that indicates whether MongoDB Cloud should send text message notifications. The resource requires this parameter when one of the following values have been set:

            - `"notifications.[n].typeName" : "ORG"`
            - `"notifications.[n].typeName" : "GROUP"`
            - `"notifications.[n].typeName" : "USER"`
          x-xgen-IPA-exception:
            xgen-IPA-117-description-ends-with-period: Description ends with an item
              list.
        typeName:
          type: string
          description: Human-readable label that displays the alert notification type.
          enum:
          - GROUP
      description: Group notification configuration for MongoDB Cloud to send information
        when an event triggers an alert condition.
    GroupPaginatedEventView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/EventViewForNdsGroup"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    GroupRole:
      type: object
      properties:
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            to which this role belongs.
          example: 32b6e34b3d91647abb20e7b8
        groupRole:
          type: string
          description: Human-readable label that identifies the collection of privileges
            that MongoDB Cloud grants a specific API key, MongoDB Cloud user, or MongoDB
            Cloud team. These roles include project-level roles.
          externalDocs:
            description: MongoDB Cloud User Roles
            url: https://www.mongodb.com/docs/atlas/reference/user-roles/#project-roles
    GroupSettings:
      type: object
      properties:
        isClusterAiAssistantEnabled:
          type: boolean
          description: Flag that indicates whether the AI Cluster Assistant is enabled
            for the specified project.
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Used 'is' prefix for
              alignment with other grouped boolean fields in this endpoint.
        isCollectDatabaseSpecificsStatisticsEnabled:
          type: boolean
          description: Flag that indicates whether to collect database-specific metrics
            for the specified project.
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        isDataExplorerEnabled:
          type: boolean
          description: Flag that indicates whether to enable the Data Explorer for
            the specified project.
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        isDataExplorerGenAIFeaturesEnabled:
          type: boolean
          description: Flag that indicates whether to enable the use of generative
            AI features which make requests to 3rd party services in Data Explorer
            for the specified project.
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        isDataExplorerGenAISampleDocumentPassingEnabled:
          type: boolean
          description: Flag that indicates whether to enable the passing of sample
            field values with the use of generative AI features in the Data Explorer
            for the specified project.
          default: false
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        isExtendedStorageSizesEnabled:
          type: boolean
          description: Flag that indicates whether to enable extended storage sizes
            for the specified project.
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        isNativeRerankingEnabled:
          type: boolean
          description: Flag that indicates whether to enable Native Reranking with
            Voyage AI models in the Aggregation Pipeline for the specified project.
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        isPerformanceAdvisorEnabled:
          type: boolean
          description: Flag that indicates whether to enable the Performance Advisor
            and Profiler for the specified project.
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        isRealtimePerformancePanelEnabled:
          type: boolean
          description: Flag that indicates whether to enable the Real Time Performance
            Panel for the specified project.
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        isSchemaAdvisorEnabled:
          type: boolean
          description: Flag that indicates whether to enable the Schema Advisor for
            the specified project.
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
      description: Collection of settings that configures the project.
    GroupUpdate:
      type: object
      properties:
        name:
          type: string
          description: Human-readable label that identifies the project included in
            the MongoDB Cloud organization.
        tags:
          type: array
          description: List that contains key-value pairs between 1 to 255 characters
            in length for tagging and categorizing the project.
          externalDocs:
            description: Resource Tags
            url: https://www.mongodb.com/docs/atlas/tags
          items:
            "$ref": "#/components/schemas/ResourceTag"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        withDefaultAlertsSettings:
          type: boolean
          description: Flag that indicates whether the project can automatically create
            default alerts.
      description: Request view to update the group.
    HardwareSpec:
      type: object
      description: Hardware specifications for all electable nodes deployed in the
        region. Electable nodes can become the primary and can enable local reads.
        If you don't specify this option, MongoDB Cloud deploys no electable nodes
        to the region.
      oneOf:
      - "$ref": "#/components/schemas/AWSHardwareSpec"
      - "$ref": "#/components/schemas/AzureHardwareSpec"
      - "$ref": "#/components/schemas/GCPHardwareSpec"
      - "$ref": "#/components/schemas/TenantHardwareSpec"
      x-xgen-IPA-exception:
        xgen-IPA-125-oneOf-must-have-discriminator: Schema predates IPA validation.
    HipChatNotification:
      title: HipChat Notification
      required:
      - typeName
      type: object
      properties:
        delayMin:
          type: integer
          description: Number of minutes that MongoDB Cloud waits after detecting
            an alert condition before it sends out the first notification.
          format: int32
        integrationId:
          type: string
          description: The id of the associated integration, the credentials of which
            to use for requests.
          example: 32b6e34b3d91647abb20e7b8
        intervalMin:
          minimum: 5
          type: integer
          description: |-
            Number of minutes to wait between successive notifications. MongoDB Cloud sends notifications until someone acknowledges the unacknowledged alert.

            PagerDuty, VictorOps, and OpsGenie notifications don't return this element. Configure and manage the notification interval within each of those services.
          format: int32
        notificationToken:
          type: string
          description: |-
            HipChat API token that MongoDB Cloud needs to send alert notifications to HipChat. The resource requires this parameter when `"notifications.[n].typeName" : "HIP_CHAT"`". If the token later becomes invalid, MongoDB Cloud sends an email to the project owners. If the token remains invalid, MongoDB Cloud removes it.

            **NOTE**: After you create a notification which requires an API or integration key, the key appears partially redacted when you:

            * View or edit the alert through the Atlas UI.

            * Query the alert for the notification through the Atlas Administration API.
          example: "************************************1234"
        notifierId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: The `notifierId` is a system-generated unique identifier assigned
            to each notification method. This is needed when updating third-party
            notifications without requiring explicit authentication credentials.
          example: 32b6e34b3d91647abb20e7b8
        roomName:
          type: string
          description: 'HipChat API room name to which MongoDB Cloud sends alert notifications.
            The resource requires this parameter when `"notifications.[n].typeName"
            : "HIP_CHAT"`".'
          example: test room
        typeName:
          type: string
          description: Human-readable label that displays the alert notification type.
          enum:
          - HIP_CHAT
      description: HipChat notification configuration for MongoDB Cloud to send information
        when an event triggers an alert condition.
    HostAlertConfigViewForNdsGroup:
      title: Host Alert Configuration
      required:
      - eventTypeName
      - notifications
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created the alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled this alert configuration
            for the specified project.
          default: false
        eventTypeName:
          "$ref": "#/components/schemas/HostEventTypeViewForNdsGroupAlertable"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert
            configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        matchers:
          type: array
          description: List of rules that determine whether MongoDB Cloud checks an
            object for the alert configuration. You can filter using the matchers
            array if the `eventTypeName` specifies an event for a host, replica set,
            or sharded cluster.
          items:
            "$ref": "#/components/schemas/HostMatcher"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        notifications:
          maxItems: 25
          minItems: 1
          type: array
          description: List that contains the targets that MongoDB Cloud sends notifications.
          items:
            "$ref": "#/components/schemas/AlertsNotificationRootForGroup"
        severityOverride:
          "$ref": "#/components/schemas/EventSeverity"
        updated:
          type: string
          description: Date and time when someone last updated this alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Host alert configuration allows to select which mongod host events
        trigger alerts and how users are notified.
    HostAlertViewForNdsGroup:
      title: Host Alerts
      required:
      - alertConfigId
      - created
      - eventTypeName
      - id
      - status
      - updated
      type: object
      properties:
        acknowledgedUntil:
          type: string
          description: |-
            Date and time until which this alert has been acknowledged. This parameter expresses its value in the ISO 8601 timestamp format in UTC. The resource returns this parameter if a MongoDB User previously acknowledged this alert.

            - To acknowledge this alert forever, set the parameter value to 100 years in the future.

            - To unacknowledge a previously acknowledged alert, do not set this parameter value.
          format: date-time
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        acknowledgementComment:
          maxLength: 200
          type: string
          description: Comment that a MongoDB Cloud user submitted when acknowledging
            the alert.
          example: Expiration on 3/19.  Silencing for 7days.
        acknowledgingUsername:
          type: string
          description: MongoDB Cloud username of the person who acknowledged the alert.
            The response returns this parameter if a MongoDB Cloud user previously
            acknowledged this alert.
          format: email
          readOnly: true
        alertConfigId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the alert
            configuration that sets this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        clusterName:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the cluster to which this
            alert applies. This resource returns this parameter for alerts of events
            impacting backups, replica sets, or sharded clusters.
          readOnly: true
          example: cluster1
        created:
          type: string
          description: Date and time when MongoDB Cloud created this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/HostEventTypeViewForNdsGroupAlertable"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        hostnameAndPort:
          type: string
          description: Hostname and port of the host to which this alert applies.
            The resource returns this parameter for alerts of events impacting hosts
            or replica sets.
          readOnly: true
          example: cloud-test.mongodb.com:27017
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        lastNotified:
          type: string
          description: Date and time that any notifications were last sent for this
            alert. This parameter expresses its value in the ISO 8601 timestamp format
            in UTC. The resource returns this parameter if MongoDB Cloud has sent
            notifications for this alert.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            organization that owns the project to which this alert applies.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        replicaSetName:
          type: string
          description: Name of the replica set to which this alert applies. The response
            returns this parameter for alerts of events impacting backups, hosts,
            or replica sets.
          readOnly: true
          example: event-replica-set
        resolved:
          type: string
          description: 'Date and time that this alert changed to `"status" : "CLOSED"`.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC. The resource returns this parameter once `"status" : "CLOSED"`.'
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        status:
          type: string
          description: State of this alert at the time you requested its details.
            TRACKING indicates the alert condition exists but has not persisted for
            the minimum notification delay. OPEN indicates the alert condition currently
            exists. CLOSED indicates the alert condition has been resolved.
          readOnly: true
          example: OPEN
          enum:
          - CANCELLED
          - CLOSED
          - OPEN
          - TRACKING
        updated:
          type: string
          description: Date and time when someone last updated this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Host alert notifies about activities on mongod host.
    HostEventTypeViewForNdsGroup:
      title: Host Event Types
      type: string
      description: Unique identifier of event type.
      example: HOST_DOWN
      enum:
      - ATTEMPT_KILLOP_AUDIT
      - ATTEMPT_KILLSESSION_AUDIT
      - HOST_UP
      - HOST_DOWN
      - HOST_HAS_INDEX_SUGGESTIONS
      - HOST_MONGOT_RECOVERED_OOM
      - HOST_MONGOT_CRASHING_OOM
      - HOST_MONGOT_RESUME_REPLICATION
      - HOST_MONGOT_STOP_REPLICATION
      - HOST_MONGOT_UNPAUSE_INITIAL_SYNC
      - HOST_MONGOT_PAUSE_INITIAL_SYNC
      - HOST_MONGOT_SUFFICIENT_DISK_SPACE
      - HOST_MONGOT_APPROACHING_STOP_REPLICATION
      - HOST_MONGOT_RESTARTED
      - HOST_SEARCH_NODE_UNBLOCKED
      - HOST_SEARCH_NODE_INDEX_FAILED
      - HOST_EXTERNAL_LOG_SINK_EXPORT_DOWN
      - HOST_EXTERNAL_LOG_SINK_EXPORT_RESUMED
      - HOST_ENOUGH_DISK_SPACE
      - HOST_NOT_ENOUGH_DISK_SPACE
      - SSH_KEY_NDS_HOST_ACCESS_REQUESTED
      - SSH_KEY_NDS_HOST_ACCESS_REFRESHED
      - SSH_KEY_NDS_HOST_ACCESS_ATTEMPT
      - SSH_KEY_NDS_HOST_ACCESS_GRANTED
      - SSH_KEY_NDS_HOST_ACCESS_LEVEL_CHANGED
      - ALERT_HOST_SSH_SESSION_STARTED
      - HOST_SSH_SESSION_ENDED
      - HOST_X509_CERTIFICATE_CERTIFICATE_GENERATED_FOR_SUPPORT_ACCESS
      - PUSH_BASED_LOG_EXPORT_RESUMED
      - PUSH_BASED_LOG_EXPORT_STOPPED
      - PUSH_BASED_LOG_EXPORT_DROPPED_LOG
      - HOST_VERSION_BEHIND
      - VERSION_BEHIND
      - HOST_EXPOSED
      - HOST_SSL_CERTIFICATE_STALE
      - HOST_SECURITY_CHECKUP_NOT_MET
      - PROFILER_CONFIGURED_TOO_WIDELY
      x-xgen-IPA-exception:
        xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates IPA
          validation.
    HostEventTypeViewForNdsGroupAlertable:
      title: Host Event Types
      type: string
      description: Event type that triggers an alert.
      example: HOST_DOWN
      externalDocs:
        description: Atlas Alert Event Types
        url: https://www.mongodb.com/docs/atlas/reference/atlas-alert-event-types/
      enum:
      - HOST_DOWN
      - HOST_HAS_INDEX_SUGGESTIONS
      - HOST_MONGOT_CRASHING_OOM
      - HOST_MONGOT_STOP_REPLICATION
      - HOST_MONGOT_APPROACHING_STOP_REPLICATION
      - HOST_MONGOT_PAUSE_INITIAL_SYNC
      - HOST_SEARCH_NODE_INDEX_FAILED
      - HOST_EXTERNAL_LOG_SINK_EXPORT_DOWN
      - HOST_NOT_ENOUGH_DISK_SPACE
      - SSH_KEY_NDS_HOST_ACCESS_REQUESTED
      - SSH_KEY_NDS_HOST_ACCESS_REFRESHED
      - PUSH_BASED_LOG_EXPORT_STOPPED
      - PUSH_BASED_LOG_EXPORT_DROPPED_LOG
      - HOST_VERSION_BEHIND
      - VERSION_BEHIND
      - HOST_EXPOSED
      - HOST_SSL_CERTIFICATE_STALE
      - HOST_SECURITY_CHECKUP_NOT_MET
      - ALERT_HOST_SSH_SESSION_STARTED
      - PROFILER_CONFIGURED_TOO_WIDELY
    HostEventViewForNdsGroup:
      title: Host Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        deskLocation:
          type: string
          description: Desk location of MongoDB employee associated with the event.
          readOnly: true
        employeeIdentifier:
          type: string
          description: Identifier of MongoDB employee associated with the event.
          readOnly: true
        eventTypeName:
          "$ref": "#/components/schemas/HostEventTypeViewForNdsGroup"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        port:
          type: integer
          description: IANA port on which the MongoDB process listens for requests.
          format: int32
          readOnly: true
          example: 27017
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        replicaSetName:
          type: string
          description: Human-readable label of the replica set associated with the
            event.
          readOnly: true
          example: event-replica-set
        shardName:
          type: string
          description: Human-readable label of the shard associated with the event.
          readOnly: true
          example: event-sh-01
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Host event identifies different activities about mongod host.
    HostMatcher:
      title: Matchers
      required:
      - fieldName
      - operator
      type: object
      properties:
        fieldName:
          "$ref": "#/components/schemas/HostMatcherField"
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value against **matcher[n].value**. The `REGEX` operator only supports
            inclusive matches. Use the `NOT_CONTAINS` operator to exclude values.
          enum:
          - EQUALS
          - CONTAINS
          - STARTS_WITH
          - ENDS_WITH
          - NOT_EQUALS
          - NOT_CONTAINS
          - REGEX
        value:
          "$ref": "#/components/schemas/MatcherHostType"
      description: Rules to apply when comparing an host against this alert configuration.
    HostMatcherField:
      title: Host Matcher Fields
      type: string
      description: Name of the parameter in the target object that MongoDB Cloud checks.
        The parameter must match all rules for MongoDB Cloud to check for alert configurations.
      example: HOSTNAME
      enum:
      - TYPE_NAME
      - HOSTNAME
      - PORT
      - HOSTNAME_AND_PORT
      - REPLICA_SET_NAME
    HostMetricAlert:
      title: Host Metric Alerts
      required:
      - alertConfigId
      - created
      - eventTypeName
      - id
      - status
      - updated
      type: object
      properties:
        acknowledgedUntil:
          type: string
          description: |-
            Date and time until which this alert has been acknowledged. This parameter expresses its value in the ISO 8601 timestamp format in UTC. The resource returns this parameter if a MongoDB User previously acknowledged this alert.

            - To acknowledge this alert forever, set the parameter value to 100 years in the future.

            - To unacknowledge a previously acknowledged alert, do not set this parameter value.
          format: date-time
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        acknowledgementComment:
          maxLength: 200
          type: string
          description: Comment that a MongoDB Cloud user submitted when acknowledging
            the alert.
          example: Expiration on 3/19.  Silencing for 7days.
        acknowledgingUsername:
          type: string
          description: MongoDB Cloud username of the person who acknowledged the alert.
            The response returns this parameter if a MongoDB Cloud user previously
            acknowledged this alert.
          format: email
          readOnly: true
        alertConfigId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the alert
            configuration that sets this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        clusterName:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the cluster to which this
            alert applies. This resource returns this parameter for alerts of events
            impacting backups, replica sets, or sharded clusters.
          readOnly: true
          example: cluster1
        created:
          type: string
          description: Date and time when MongoDB Cloud created this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        currentValue:
          "$ref": "#/components/schemas/HostMetricValue"
        eventTypeName:
          "$ref": "#/components/schemas/HostMetricEventTypeViewAlertable"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        hostnameAndPort:
          type: string
          description: Hostname and port of the host to which this alert applies.
            The resource returns this parameter for alerts of events impacting hosts
            or replica sets.
          readOnly: true
          example: cloud-test.mongodb.com:27017
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        lastNotified:
          type: string
          description: Date and time that any notifications were last sent for this
            alert. This parameter expresses its value in the ISO 8601 timestamp format
            in UTC. The resource returns this parameter if MongoDB Cloud has sent
            notifications for this alert.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        metricName:
          type: string
          description: |-
            Name of the metric against which Atlas checks the configured `metricThreshold.threshold`.

            To learn more about the available metrics, see <a href="https://www.mongodb.com/docs/atlas/reference/alert-host-metrics/#std-label-measurement-types" target="_blank">Host Metrics</a>.

            **NOTE**: If you set `eventTypeName` to `OUTSIDE_SERVERLESS_METRIC_THRESHOLD`, you can specify only metrics available for serverless. To learn more, see <a href="https://dochub.mongodb.org/core/alert-config-serverless-measurements" target="_blank">Serverless Measurements</a>.
          readOnly: true
          example: ASSERT_USER
          x-xgen-IPA-exception:
            xgen-IPA-117-description-must-not-use-html: Description predates IPA validation.
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            organization that owns the project to which this alert applies.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        replicaSetName:
          type: string
          description: Name of the replica set to which this alert applies. The response
            returns this parameter for alerts of events impacting backups, hosts,
            or replica sets.
          readOnly: true
          example: event-replica-set
        resolved:
          type: string
          description: 'Date and time that this alert changed to `"status" : "CLOSED"`.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC. The resource returns this parameter once `"status" : "CLOSED"`.'
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        status:
          type: string
          description: State of this alert at the time you requested its details.
            TRACKING indicates the alert condition exists but has not persisted for
            the minimum notification delay. OPEN indicates the alert condition currently
            exists. CLOSED indicates the alert condition has been resolved.
          readOnly: true
          example: OPEN
          enum:
          - CANCELLED
          - CLOSED
          - OPEN
          - TRACKING
        updated:
          type: string
          description: Date and time when someone last updated this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Host Metric Alert notifies about changes of measurements or metrics
        for mongod host.
      discriminator:
        propertyName: metricName
        mapping:
          ASSERT_MSG: "#/components/schemas/RawMetricAlertView"
          ASSERT_REGULAR: "#/components/schemas/RawMetricAlertView"
          ASSERT_USER: "#/components/schemas/RawMetricAlertView"
          ASSERT_WARNING: "#/components/schemas/RawMetricAlertView"
          AVG_COMMAND_EXECUTION_TIME: "#/components/schemas/TimeMetricAlertView"
          AVG_READ_EXECUTION_TIME: "#/components/schemas/TimeMetricAlertView"
          AVG_WRITE_EXECUTION_TIME: "#/components/schemas/TimeMetricAlertView"
          BACKGROUND_FLUSH_AVG: "#/components/schemas/TimeMetricAlertView"
          CACHE_BYTES_READ_INTO: "#/components/schemas/DataMetricAlertView"
          CACHE_BYTES_WRITTEN_FROM: "#/components/schemas/DataMetricAlertView"
          CACHE_USAGE_DIRTY: "#/components/schemas/DataMetricAlertView"
          CACHE_USAGE_USED: "#/components/schemas/DataMetricAlertView"
          COMPUTED_MEMORY: "#/components/schemas/DataMetricAlertView"
          CONNECTIONS: "#/components/schemas/RawMetricAlertView"
          CONNECTIONS_MAX: "#/components/schemas/RawMetricAlertView"
          CONNECTIONS_PERCENT: "#/components/schemas/RawMetricAlertView"
          CURSORS_TOTAL_CLIENT_CURSORS_SIZE: "#/components/schemas/RawMetricAlertView"
          CURSORS_TOTAL_OPEN: "#/components/schemas/RawMetricAlertView"
          CURSORS_TOTAL_TIMED_OUT: "#/components/schemas/RawMetricAlertView"
          DB_DATA_SIZE_TOTAL: "#/components/schemas/DataMetricAlertView"
          DB_DATA_SIZE_TOTAL_WO_SYSTEM: "#/components/schemas/DataMetricAlertView"
          DB_INDEX_SIZE_TOTAL: "#/components/schemas/DataMetricAlertView"
          DB_STORAGE_TOTAL: "#/components/schemas/DataMetricAlertView"
          DISK_PARTITION_QUEUE_DEPTH_DATA: "#/components/schemas/RawMetricAlertView"
          DISK_PARTITION_QUEUE_DEPTH_INDEX: "#/components/schemas/RawMetricAlertView"
          DISK_PARTITION_QUEUE_DEPTH_JOURNAL: "#/components/schemas/RawMetricAlertView"
          DISK_PARTITION_READ_IOPS_DATA: "#/components/schemas/RawMetricAlertView"
          DISK_PARTITION_READ_IOPS_INDEX: "#/components/schemas/RawMetricAlertView"
          DISK_PARTITION_READ_IOPS_JOURNAL: "#/components/schemas/RawMetricAlertView"
          DISK_PARTITION_READ_LATENCY_DATA: "#/components/schemas/TimeMetricAlertView"
          DISK_PARTITION_READ_LATENCY_INDEX: "#/components/schemas/TimeMetricAlertView"
          DISK_PARTITION_READ_LATENCY_JOURNAL: "#/components/schemas/TimeMetricAlertView"
          DISK_PARTITION_SPACE_USED_DATA: "#/components/schemas/RawMetricAlertView"
          DISK_PARTITION_SPACE_USED_INDEX: "#/components/schemas/RawMetricAlertView"
          DISK_PARTITION_SPACE_USED_JOURNAL: "#/components/schemas/RawMetricAlertView"
          DISK_PARTITION_UTILIZATION_DATA: "#/components/schemas/RawMetricAlertView"
          DISK_PARTITION_UTILIZATION_INDEX: "#/components/schemas/RawMetricAlertView"
          DISK_PARTITION_UTILIZATION_JOURNAL: "#/components/schemas/RawMetricAlertView"
          DISK_PARTITION_WRITE_IOPS_DATA: "#/components/schemas/RawMetricAlertView"
          DISK_PARTITION_WRITE_IOPS_INDEX: "#/components/schemas/RawMetricAlertView"
          DISK_PARTITION_WRITE_IOPS_JOURNAL: "#/components/schemas/RawMetricAlertView"
          DISK_PARTITION_WRITE_LATENCY_DATA: "#/components/schemas/TimeMetricAlertView"
          DISK_PARTITION_WRITE_LATENCY_INDEX: "#/components/schemas/TimeMetricAlertView"
          DISK_PARTITION_WRITE_LATENCY_JOURNAL: "#/components/schemas/TimeMetricAlertView"
          DOCUMENT_DELETED: "#/components/schemas/RawMetricAlertView"
          DOCUMENT_INSERTED: "#/components/schemas/RawMetricAlertView"
          DOCUMENT_RETURNED: "#/components/schemas/RawMetricAlertView"
          DOCUMENT_UPDATED: "#/components/schemas/RawMetricAlertView"
          EXTRA_INFO_PAGE_FAULTS: "#/components/schemas/RawMetricAlertView"
          FTS_DISK_UTILIZATION: "#/components/schemas/DataMetricAlertView"
          FTS_JVM_CURRENT_MEMORY: "#/components/schemas/DataMetricAlertView"
          FTS_JVM_MAX_MEMORY: "#/components/schemas/DataMetricAlertView"
          FTS_MEMORY_MAPPED: "#/components/schemas/DataMetricAlertView"
          FTS_MEMORY_RESIDENT: "#/components/schemas/DataMetricAlertView"
          FTS_MEMORY_VIRTUAL: "#/components/schemas/DataMetricAlertView"
          FTS_PROCESS_CPU_KERNEL: "#/components/schemas/RawMetricAlertView"
          FTS_PROCESS_CPU_USER: "#/components/schemas/RawMetricAlertView"
          GLOBAL_ACCESSES_NOT_IN_MEMORY: "#/components/schemas/RawMetricAlertView"
          GLOBAL_LOCK_CURRENT_QUEUE_READERS: "#/components/schemas/RawMetricAlertView"
          GLOBAL_LOCK_CURRENT_QUEUE_TOTAL: "#/components/schemas/RawMetricAlertView"
          GLOBAL_LOCK_CURRENT_QUEUE_WRITERS: "#/components/schemas/RawMetricAlertView"
          GLOBAL_LOCK_PERCENTAGE: "#/components/schemas/RawMetricAlertView"
          GLOBAL_PAGE_FAULT_EXCEPTIONS_THROWN: "#/components/schemas/RawMetricAlertView"
          INDEX_COUNTERS_BTREE_ACCESSES: "#/components/schemas/RawMetricAlertView"
          INDEX_COUNTERS_BTREE_HITS: "#/components/schemas/RawMetricAlertView"
          INDEX_COUNTERS_BTREE_MISSES: "#/components/schemas/RawMetricAlertView"
          INDEX_COUNTERS_BTREE_MISS_RATIO: "#/components/schemas/RawMetricAlertView"
          JOURNALING_COMMITS_IN_WRITE_LOCK: "#/components/schemas/RawMetricAlertView"
          JOURNALING_MB: "#/components/schemas/DataMetricAlertView"
          JOURNALING_WRITE_DATA_FILES_MB: "#/components/schemas/DataMetricAlertView"
          LOGICAL_SIZE: "#/components/schemas/DataMetricAlertView"
          MAX_DISK_PARTITION_QUEUE_DEPTH_DATA: "#/components/schemas/RawMetricAlertView"
          MAX_DISK_PARTITION_QUEUE_DEPTH_INDEX: "#/components/schemas/RawMetricAlertView"
          MAX_DISK_PARTITION_QUEUE_DEPTH_JOURNAL: "#/components/schemas/RawMetricAlertView"
          MAX_DISK_PARTITION_READ_IOPS_DATA: "#/components/schemas/RawMetricAlertView"
          MAX_DISK_PARTITION_READ_IOPS_INDEX: "#/components/schemas/RawMetricAlertView"
          MAX_DISK_PARTITION_READ_IOPS_JOURNAL: "#/components/schemas/RawMetricAlertView"
          MAX_DISK_PARTITION_READ_LATENCY_DATA: "#/components/schemas/TimeMetricAlertView"
          MAX_DISK_PARTITION_READ_LATENCY_INDEX: "#/components/schemas/TimeMetricAlertView"
          MAX_DISK_PARTITION_READ_LATENCY_JOURNAL: "#/components/schemas/TimeMetricAlertView"
          MAX_DISK_PARTITION_SPACE_USED_DATA: "#/components/schemas/RawMetricAlertView"
          MAX_DISK_PARTITION_SPACE_USED_INDEX: "#/components/schemas/RawMetricAlertView"
          MAX_DISK_PARTITION_SPACE_USED_JOURNAL: "#/components/schemas/RawMetricAlertView"
          MAX_DISK_PARTITION_UTILIZATION_DATA: "#/components/schemas/RawMetricAlertView"
          MAX_DISK_PARTITION_UTILIZATION_INDEX: "#/components/schemas/RawMetricAlertView"
          MAX_DISK_PARTITION_UTILIZATION_JOURNAL: "#/components/schemas/RawMetricAlertView"
          MAX_DISK_PARTITION_WRITE_IOPS_DATA: "#/components/schemas/RawMetricAlertView"
          MAX_DISK_PARTITION_WRITE_IOPS_INDEX: "#/components/schemas/RawMetricAlertView"
          MAX_DISK_PARTITION_WRITE_IOPS_JOURNAL: "#/components/schemas/RawMetricAlertView"
          MAX_DISK_PARTITION_WRITE_LATENCY_DATA: "#/components/schemas/TimeMetricAlertView"
          MAX_DISK_PARTITION_WRITE_LATENCY_INDEX: "#/components/schemas/TimeMetricAlertView"
          MAX_DISK_PARTITION_WRITE_LATENCY_JOURNAL: "#/components/schemas/TimeMetricAlertView"
          MAX_NORMALIZED_SYSTEM_CPU_STEAL: "#/components/schemas/RawMetricAlertView"
          MAX_NORMALIZED_SYSTEM_CPU_USER: "#/components/schemas/RawMetricAlertView"
          MAX_SWAP_USAGE_FREE: "#/components/schemas/DataMetricAlertView"
          MAX_SWAP_USAGE_USED: "#/components/schemas/DataMetricAlertView"
          MAX_SYSTEM_MEMORY_AVAILABLE: "#/components/schemas/DataMetricAlertView"
          MAX_SYSTEM_MEMORY_PERCENT_USED: "#/components/schemas/RawMetricAlertView"
          MAX_SYSTEM_MEMORY_USED: "#/components/schemas/DataMetricAlertView"
          MAX_SYSTEM_NETWORK_IN: "#/components/schemas/DataMetricAlertView"
          MAX_SYSTEM_NETWORK_OUT: "#/components/schemas/DataMetricAlertView"
          MEMORY_MAPPED: "#/components/schemas/DataMetricAlertView"
          MEMORY_RESIDENT: "#/components/schemas/DataMetricAlertView"
          MEMORY_VIRTUAL: "#/components/schemas/DataMetricAlertView"
          MUNIN_CPU_IOWAIT: "#/components/schemas/RawMetricAlertView"
          MUNIN_CPU_IRQ: "#/components/schemas/RawMetricAlertView"
          MUNIN_CPU_NICE: "#/components/schemas/RawMetricAlertView"
          MUNIN_CPU_SOFTIRQ: "#/components/schemas/RawMetricAlertView"
          MUNIN_CPU_STEAL: "#/components/schemas/RawMetricAlertView"
          MUNIN_CPU_SYSTEM: "#/components/schemas/RawMetricAlertView"
          MUNIN_CPU_USER: "#/components/schemas/RawMetricAlertView"
          NETWORK_BYTES_IN: "#/components/schemas/DataMetricAlertView"
          NETWORK_BYTES_OUT: "#/components/schemas/DataMetricAlertView"
          NETWORK_NUM_REQUESTS: "#/components/schemas/RawMetricAlertView"
          NORMALIZED_FTS_PROCESS_CPU_KERNEL: "#/components/schemas/RawMetricAlertView"
          NORMALIZED_FTS_PROCESS_CPU_USER: "#/components/schemas/RawMetricAlertView"
          NORMALIZED_SYSTEM_CPU_STEAL: "#/components/schemas/RawMetricAlertView"
          NORMALIZED_SYSTEM_CPU_USER: "#/components/schemas/RawMetricAlertView"
          OPCOUNTER_CMD: "#/components/schemas/RawMetricAlertView"
          OPCOUNTER_DELETE: "#/components/schemas/RawMetricAlertView"
          OPCOUNTER_GETMORE: "#/components/schemas/RawMetricAlertView"
          OPCOUNTER_INSERT: "#/components/schemas/RawMetricAlertView"
          OPCOUNTER_QUERY: "#/components/schemas/RawMetricAlertView"
          OPCOUNTER_REPL_CMD: "#/components/schemas/RawMetricAlertView"
          OPCOUNTER_REPL_DELETE: "#/components/schemas/RawMetricAlertView"
          OPCOUNTER_REPL_INSERT: "#/components/schemas/RawMetricAlertView"
          OPCOUNTER_REPL_UPDATE: "#/components/schemas/RawMetricAlertView"
          OPCOUNTER_TTL_DELETED: "#/components/schemas/RawMetricAlertView"
          OPCOUNTER_UPDATE: "#/components/schemas/RawMetricAlertView"
          OPERATIONS_QUERIES_KILLED: "#/components/schemas/RawMetricAlertView"
          OPERATIONS_SCAN_AND_ORDER: "#/components/schemas/RawMetricAlertView"
          OPERATION_THROTTLING_REJECTED_OPERATIONS: "#/components/schemas/RawMetricAlertView"
          OPLOG_MASTER_LAG_TIME_DIFF: "#/components/schemas/TimeMetricAlertView"
          OPLOG_MASTER_TIME: "#/components/schemas/TimeMetricAlertView"
          OPLOG_MASTER_TIME_ESTIMATED_TTL: "#/components/schemas/TimeMetricAlertView"
          OPLOG_RATE_GB_PER_HOUR: "#/components/schemas/DataMetricAlertView"
          OPLOG_REPLICATION_LAG_TIME: "#/components/schemas/TimeMetricAlertView"
          OPLOG_SLAVE_LAG_MASTER_TIME: "#/components/schemas/TimeMetricAlertView"
          QUERY_EXECUTOR_SCANNED: "#/components/schemas/RawMetricAlertView"
          QUERY_EXECUTOR_SCANNED_OBJECTS: "#/components/schemas/RawMetricAlertView"
          QUERY_SPILL_TO_DISK_DURING_SORT: "#/components/schemas/RawMetricAlertView"
          QUERY_TARGETING_SCANNED_OBJECTS_PER_RETURNED: "#/components/schemas/RawMetricAlertView"
          QUERY_TARGETING_SCANNED_PER_RETURNED: "#/components/schemas/RawMetricAlertView"
          RESTARTS_IN_LAST_HOUR: "#/components/schemas/RawMetricAlertView"
          SEARCH_INDEX_SIZE: "#/components/schemas/DataMetricAlertView"
          SEARCH_MAX_FIELDS_INDEXED: "#/components/schemas/RawMetricAlertView"
          SEARCH_MAX_NGRAM_FIELDS_INDEXED: "#/components/schemas/RawMetricAlertView"
          SEARCH_MAX_NUMBER_OF_LUCENE_DOCS: "#/components/schemas/NumberMetricAlertView"
          SEARCH_NUMBER_OF_FIELDS_IN_INDEX: "#/components/schemas/RawMetricAlertView"
          SEARCH_NUMBER_OF_QUERIES_ERROR: "#/components/schemas/RawMetricAlertView"
          SEARCH_NUMBER_OF_QUERIES_SUCCESS: "#/components/schemas/RawMetricAlertView"
          SEARCH_NUMBER_OF_QUERIES_TOTAL: "#/components/schemas/RawMetricAlertView"
          SEARCH_OPCOUNTER_DELETE: "#/components/schemas/RawMetricAlertView"
          SEARCH_OPCOUNTER_GETMORE: "#/components/schemas/RawMetricAlertView"
          SEARCH_OPCOUNTER_INSERT: "#/components/schemas/RawMetricAlertView"
          SEARCH_OPCOUNTER_UPDATE: "#/components/schemas/RawMetricAlertView"
          SEARCH_REPLICATION_LAG: "#/components/schemas/TimeMetricAlertView"
          SWAP_USAGE_FREE: "#/components/schemas/DataMetricAlertView"
          SWAP_USAGE_USED: "#/components/schemas/DataMetricAlertView"
          SYSTEM_MEMORY_AVAILABLE: "#/components/schemas/DataMetricAlertView"
          SYSTEM_MEMORY_PERCENT_USED: "#/components/schemas/RawMetricAlertView"
          SYSTEM_MEMORY_USED: "#/components/schemas/DataMetricAlertView"
          SYSTEM_NETWORK_IN: "#/components/schemas/DataMetricAlertView"
          SYSTEM_NETWORK_OUT: "#/components/schemas/DataMetricAlertView"
          TICKETS_AVAILABLE_READS: "#/components/schemas/RawMetricAlertView"
          TICKETS_AVAILABLE_WRITES: "#/components/schemas/RawMetricAlertView"
      x-xgen-IPA-exception:
        xgen-IPA-125-discriminator-must-accompany-oneOf-anyOf-allOf: Schema predates
          IPA validation.
    HostMetricAlertConfigViewForNdsGroup:
      title: Host Metric Alert Configuration
      required:
      - eventTypeName
      - notifications
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created the alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled this alert configuration
            for the specified project.
          default: false
        eventTypeName:
          "$ref": "#/components/schemas/HostMetricEventTypeViewAlertable"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert
            configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        matchers:
          type: array
          description: List of rules that determine whether MongoDB Cloud checks an
            object for the alert configuration. You can filter using the matchers
            array if the `eventTypeName` specifies an event for a host, replica set,
            or sharded cluster.
          items:
            "$ref": "#/components/schemas/HostMatcher"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        metricThreshold:
          "$ref": "#/components/schemas/HostMetricThreshold"
        notifications:
          maxItems: 25
          minItems: 1
          type: array
          description: List that contains the targets that MongoDB Cloud sends notifications.
          items:
            "$ref": "#/components/schemas/AlertsNotificationRootForGroup"
        severityOverride:
          "$ref": "#/components/schemas/EventSeverity"
        updated:
          type: string
          description: Date and time when someone last updated this alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Host metric alert configuration allows to select which mongod host
        metrics trigger alerts and how users are notified.
    HostMetricEvent:
      title: Host Metric Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        currentValue:
          "$ref": "#/components/schemas/HostMetricValue"
        deskLocation:
          type: string
          description: Desk location of MongoDB employee associated with the event.
          readOnly: true
        employeeIdentifier:
          type: string
          description: Identifier of MongoDB employee associated with the event.
          readOnly: true
        eventTypeName:
          "$ref": "#/components/schemas/HostMetricEventTypeView"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        metricName:
          type: string
          description: Human-readable label of the metric associated with the `alertId`.
            This field may change type of `currentValue` field.
          readOnly: true
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        port:
          type: integer
          description: IANA port on which the MongoDB process listens for requests.
          format: int32
          readOnly: true
          example: 27017
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        replicaSetName:
          type: string
          description: Human-readable label of the replica set associated with the
            event.
          readOnly: true
          example: event-replica-set
        shardName:
          type: string
          description: Human-readable label of the shard associated with the event.
          readOnly: true
          example: event-sh-01
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Host Metric Event reflects different measurements and metrics about
        mongod host.
      discriminator:
        propertyName: metricName
        mapping:
          ASSERT_MSG: "#/components/schemas/RawMetricEventView"
          ASSERT_REGULAR: "#/components/schemas/RawMetricEventView"
          ASSERT_USER: "#/components/schemas/RawMetricEventView"
          ASSERT_WARNING: "#/components/schemas/RawMetricEventView"
          AVG_COMMAND_EXECUTION_TIME: "#/components/schemas/TimeMetricEventView"
          AVG_READ_EXECUTION_TIME: "#/components/schemas/TimeMetricEventView"
          AVG_WRITE_EXECUTION_TIME: "#/components/schemas/TimeMetricEventView"
          BACKGROUND_FLUSH_AVG: "#/components/schemas/TimeMetricEventView"
          CACHE_BYTES_READ_INTO: "#/components/schemas/DataMetricEventView"
          CACHE_BYTES_WRITTEN_FROM: "#/components/schemas/DataMetricEventView"
          CACHE_USAGE_DIRTY: "#/components/schemas/DataMetricEventView"
          CACHE_USAGE_USED: "#/components/schemas/DataMetricEventView"
          COMPUTED_MEMORY: "#/components/schemas/DataMetricEventView"
          CONNECTIONS: "#/components/schemas/RawMetricEventView"
          CONNECTIONS_MAX: "#/components/schemas/RawMetricEventView"
          CONNECTIONS_PERCENT: "#/components/schemas/RawMetricEventView"
          CURSORS_TOTAL_CLIENT_CURSORS_SIZE: "#/components/schemas/RawMetricEventView"
          CURSORS_TOTAL_OPEN: "#/components/schemas/RawMetricEventView"
          CURSORS_TOTAL_TIMED_OUT: "#/components/schemas/RawMetricEventView"
          DB_DATA_SIZE_TOTAL: "#/components/schemas/DataMetricEventView"
          DB_DATA_SIZE_TOTAL_WO_SYSTEM: "#/components/schemas/DataMetricEventView"
          DB_INDEX_SIZE_TOTAL: "#/components/schemas/DataMetricEventView"
          DB_STORAGE_TOTAL: "#/components/schemas/DataMetricEventView"
          DISK_PARTITION_QUEUE_DEPTH_DATA: "#/components/schemas/RawMetricEventView"
          DISK_PARTITION_QUEUE_DEPTH_INDEX: "#/components/schemas/RawMetricEventView"
          DISK_PARTITION_QUEUE_DEPTH_JOURNAL: "#/components/schemas/RawMetricEventView"
          DISK_PARTITION_READ_IOPS_DATA: "#/components/schemas/RawMetricEventView"
          DISK_PARTITION_READ_IOPS_INDEX: "#/components/schemas/RawMetricEventView"
          DISK_PARTITION_READ_IOPS_JOURNAL: "#/components/schemas/RawMetricEventView"
          DISK_PARTITION_READ_LATENCY_DATA: "#/components/schemas/TimeMetricEventView"
          DISK_PARTITION_READ_LATENCY_INDEX: "#/components/schemas/TimeMetricEventView"
          DISK_PARTITION_READ_LATENCY_JOURNAL: "#/components/schemas/TimeMetricEventView"
          DISK_PARTITION_SPACE_USED_DATA: "#/components/schemas/RawMetricEventView"
          DISK_PARTITION_SPACE_USED_INDEX: "#/components/schemas/RawMetricEventView"
          DISK_PARTITION_SPACE_USED_JOURNAL: "#/components/schemas/RawMetricEventView"
          DISK_PARTITION_UTILIZATION_DATA: "#/components/schemas/RawMetricEventView"
          DISK_PARTITION_UTILIZATION_INDEX: "#/components/schemas/RawMetricEventView"
          DISK_PARTITION_UTILIZATION_JOURNAL: "#/components/schemas/RawMetricEventView"
          DISK_PARTITION_WRITE_IOPS_DATA: "#/components/schemas/RawMetricEventView"
          DISK_PARTITION_WRITE_IOPS_INDEX: "#/components/schemas/RawMetricEventView"
          DISK_PARTITION_WRITE_IOPS_JOURNAL: "#/components/schemas/RawMetricEventView"
          DISK_PARTITION_WRITE_LATENCY_DATA: "#/components/schemas/TimeMetricEventView"
          DISK_PARTITION_WRITE_LATENCY_INDEX: "#/components/schemas/TimeMetricEventView"
          DISK_PARTITION_WRITE_LATENCY_JOURNAL: "#/components/schemas/TimeMetricEventView"
          DOCUMENT_DELETED: "#/components/schemas/RawMetricEventView"
          DOCUMENT_INSERTED: "#/components/schemas/RawMetricEventView"
          DOCUMENT_RETURNED: "#/components/schemas/RawMetricEventView"
          DOCUMENT_UPDATED: "#/components/schemas/RawMetricEventView"
          EXTRA_INFO_PAGE_FAULTS: "#/components/schemas/RawMetricEventView"
          FTS_DISK_UTILIZATION: "#/components/schemas/DataMetricEventView"
          FTS_JVM_CURRENT_MEMORY: "#/components/schemas/DataMetricEventView"
          FTS_JVM_MAX_MEMORY: "#/components/schemas/DataMetricEventView"
          FTS_MEMORY_MAPPED: "#/components/schemas/DataMetricEventView"
          FTS_MEMORY_RESIDENT: "#/components/schemas/DataMetricEventView"
          FTS_MEMORY_VIRTUAL: "#/components/schemas/DataMetricEventView"
          FTS_PROCESS_CPU_KERNEL: "#/components/schemas/RawMetricEventView"
          FTS_PROCESS_CPU_USER: "#/components/schemas/RawMetricEventView"
          GLOBAL_ACCESSES_NOT_IN_MEMORY: "#/components/schemas/RawMetricEventView"
          GLOBAL_LOCK_CURRENT_QUEUE_READERS: "#/components/schemas/RawMetricEventView"
          GLOBAL_LOCK_CURRENT_QUEUE_TOTAL: "#/components/schemas/RawMetricEventView"
          GLOBAL_LOCK_CURRENT_QUEUE_WRITERS: "#/components/schemas/RawMetricEventView"
          GLOBAL_LOCK_PERCENTAGE: "#/components/schemas/RawMetricEventView"
          GLOBAL_PAGE_FAULT_EXCEPTIONS_THROWN: "#/components/schemas/RawMetricEventView"
          INDEX_COUNTERS_BTREE_ACCESSES: "#/components/schemas/RawMetricEventView"
          INDEX_COUNTERS_BTREE_HITS: "#/components/schemas/RawMetricEventView"
          INDEX_COUNTERS_BTREE_MISSES: "#/components/schemas/RawMetricEventView"
          INDEX_COUNTERS_BTREE_MISS_RATIO: "#/components/schemas/RawMetricEventView"
          JOURNALING_COMMITS_IN_WRITE_LOCK: "#/components/schemas/RawMetricEventView"
          JOURNALING_MB: "#/components/schemas/DataMetricEventView"
          JOURNALING_WRITE_DATA_FILES_MB: "#/components/schemas/DataMetricEventView"
          LOGICAL_SIZE: "#/components/schemas/DataMetricEventView"
          MAX_DISK_PARTITION_QUEUE_DEPTH_DATA: "#/components/schemas/RawMetricEventView"
          MAX_DISK_PARTITION_QUEUE_DEPTH_INDEX: "#/components/schemas/RawMetricEventView"
          MAX_DISK_PARTITION_QUEUE_DEPTH_JOURNAL: "#/components/schemas/RawMetricEventView"
          MAX_DISK_PARTITION_READ_IOPS_DATA: "#/components/schemas/RawMetricEventView"
          MAX_DISK_PARTITION_READ_IOPS_INDEX: "#/components/schemas/RawMetricEventView"
          MAX_DISK_PARTITION_READ_IOPS_JOURNAL: "#/components/schemas/RawMetricEventView"
          MAX_DISK_PARTITION_READ_LATENCY_DATA: "#/components/schemas/TimeMetricEventView"
          MAX_DISK_PARTITION_READ_LATENCY_INDEX: "#/components/schemas/TimeMetricEventView"
          MAX_DISK_PARTITION_READ_LATENCY_JOURNAL: "#/components/schemas/TimeMetricEventView"
          MAX_DISK_PARTITION_SPACE_USED_DATA: "#/components/schemas/RawMetricEventView"
          MAX_DISK_PARTITION_SPACE_USED_INDEX: "#/components/schemas/RawMetricEventView"
          MAX_DISK_PARTITION_SPACE_USED_JOURNAL: "#/components/schemas/RawMetricEventView"
          MAX_DISK_PARTITION_UTILIZATION_DATA: "#/components/schemas/RawMetricEventView"
          MAX_DISK_PARTITION_UTILIZATION_INDEX: "#/components/schemas/RawMetricEventView"
          MAX_DISK_PARTITION_UTILIZATION_JOURNAL: "#/components/schemas/RawMetricEventView"
          MAX_DISK_PARTITION_WRITE_IOPS_DATA: "#/components/schemas/RawMetricEventView"
          MAX_DISK_PARTITION_WRITE_IOPS_INDEX: "#/components/schemas/RawMetricEventView"
          MAX_DISK_PARTITION_WRITE_IOPS_JOURNAL: "#/components/schemas/RawMetricEventView"
          MAX_DISK_PARTITION_WRITE_LATENCY_DATA: "#/components/schemas/TimeMetricEventView"
          MAX_DISK_PARTITION_WRITE_LATENCY_INDEX: "#/components/schemas/TimeMetricEventView"
          MAX_DISK_PARTITION_WRITE_LATENCY_JOURNAL: "#/components/schemas/TimeMetricEventView"
          MAX_NORMALIZED_SYSTEM_CPU_STEAL: "#/components/schemas/RawMetricEventView"
          MAX_NORMALIZED_SYSTEM_CPU_USER: "#/components/schemas/RawMetricEventView"
          MAX_SWAP_USAGE_FREE: "#/components/schemas/DataMetricEventView"
          MAX_SWAP_USAGE_USED: "#/components/schemas/DataMetricEventView"
          MAX_SYSTEM_MEMORY_AVAILABLE: "#/components/schemas/DataMetricEventView"
          MAX_SYSTEM_MEMORY_PERCENT_USED: "#/components/schemas/RawMetricEventView"
          MAX_SYSTEM_MEMORY_USED: "#/components/schemas/DataMetricEventView"
          MAX_SYSTEM_NETWORK_IN: "#/components/schemas/DataMetricEventView"
          MAX_SYSTEM_NETWORK_OUT: "#/components/schemas/DataMetricEventView"
          MEMORY_MAPPED: "#/components/schemas/DataMetricEventView"
          MEMORY_RESIDENT: "#/components/schemas/DataMetricEventView"
          MEMORY_VIRTUAL: "#/components/schemas/DataMetricEventView"
          MUNIN_CPU_IOWAIT: "#/components/schemas/RawMetricEventView"
          MUNIN_CPU_IRQ: "#/components/schemas/RawMetricEventView"
          MUNIN_CPU_NICE: "#/components/schemas/RawMetricEventView"
          MUNIN_CPU_SOFTIRQ: "#/components/schemas/RawMetricEventView"
          MUNIN_CPU_STEAL: "#/components/schemas/RawMetricEventView"
          MUNIN_CPU_SYSTEM: "#/components/schemas/RawMetricEventView"
          MUNIN_CPU_USER: "#/components/schemas/RawMetricEventView"
          NETWORK_BYTES_IN: "#/components/schemas/DataMetricEventView"
          NETWORK_BYTES_OUT: "#/components/schemas/DataMetricEventView"
          NETWORK_NUM_REQUESTS: "#/components/schemas/RawMetricEventView"
          NORMALIZED_FTS_PROCESS_CPU_KERNEL: "#/components/schemas/RawMetricEventView"
          NORMALIZED_FTS_PROCESS_CPU_USER: "#/components/schemas/RawMetricEventView"
          NORMALIZED_SYSTEM_CPU_STEAL: "#/components/schemas/RawMetricEventView"
          NORMALIZED_SYSTEM_CPU_USER: "#/components/schemas/RawMetricEventView"
          OPCOUNTER_CMD: "#/components/schemas/RawMetricEventView"
          OPCOUNTER_DELETE: "#/components/schemas/RawMetricEventView"
          OPCOUNTER_GETMORE: "#/components/schemas/RawMetricEventView"
          OPCOUNTER_INSERT: "#/components/schemas/RawMetricEventView"
          OPCOUNTER_QUERY: "#/components/schemas/RawMetricEventView"
          OPCOUNTER_REPL_CMD: "#/components/schemas/RawMetricEventView"
          OPCOUNTER_REPL_DELETE: "#/components/schemas/RawMetricEventView"
          OPCOUNTER_REPL_INSERT: "#/components/schemas/RawMetricEventView"
          OPCOUNTER_REPL_UPDATE: "#/components/schemas/RawMetricEventView"
          OPCOUNTER_TTL_DELETED: "#/components/schemas/RawMetricEventView"
          OPCOUNTER_UPDATE: "#/components/schemas/RawMetricEventView"
          OPERATIONS_QUERIES_KILLED: "#/components/schemas/RawMetricEventView"
          OPERATIONS_SCAN_AND_ORDER: "#/components/schemas/RawMetricEventView"
          OPERATION_THROTTLING_REJECTED_OPERATIONS: "#/components/schemas/RawMetricEventView"
          OPLOG_MASTER_LAG_TIME_DIFF: "#/components/schemas/TimeMetricEventView"
          OPLOG_MASTER_TIME: "#/components/schemas/TimeMetricEventView"
          OPLOG_MASTER_TIME_ESTIMATED_TTL: "#/components/schemas/TimeMetricEventView"
          OPLOG_RATE_GB_PER_HOUR: "#/components/schemas/DataMetricEventView"
          OPLOG_REPLICATION_LAG_TIME: "#/components/schemas/TimeMetricEventView"
          OPLOG_SLAVE_LAG_MASTER_TIME: "#/components/schemas/TimeMetricEventView"
          QUERY_EXECUTOR_SCANNED: "#/components/schemas/RawMetricEventView"
          QUERY_EXECUTOR_SCANNED_OBJECTS: "#/components/schemas/RawMetricEventView"
          QUERY_SPILL_TO_DISK_DURING_SORT: "#/components/schemas/RawMetricEventView"
          QUERY_TARGETING_SCANNED_OBJECTS_PER_RETURNED: "#/components/schemas/RawMetricEventView"
          QUERY_TARGETING_SCANNED_PER_RETURNED: "#/components/schemas/RawMetricEventView"
          RESTARTS_IN_LAST_HOUR: "#/components/schemas/RawMetricEventView"
          SEARCH_INDEX_SIZE: "#/components/schemas/DataMetricEventView"
          SEARCH_MAX_FIELDS_INDEXED: "#/components/schemas/RawMetricEventView"
          SEARCH_MAX_NGRAM_FIELDS_INDEXED: "#/components/schemas/RawMetricEventView"
          SEARCH_MAX_NUMBER_OF_LUCENE_DOCS: "#/components/schemas/NumberMetricEventView"
          SEARCH_NUMBER_OF_FIELDS_IN_INDEX: "#/components/schemas/RawMetricEventView"
          SEARCH_NUMBER_OF_QUERIES_ERROR: "#/components/schemas/RawMetricEventView"
          SEARCH_NUMBER_OF_QUERIES_SUCCESS: "#/components/schemas/RawMetricEventView"
          SEARCH_NUMBER_OF_QUERIES_TOTAL: "#/components/schemas/RawMetricEventView"
          SEARCH_OPCOUNTER_DELETE: "#/components/schemas/RawMetricEventView"
          SEARCH_OPCOUNTER_GETMORE: "#/components/schemas/RawMetricEventView"
          SEARCH_OPCOUNTER_INSERT: "#/components/schemas/RawMetricEventView"
          SEARCH_OPCOUNTER_UPDATE: "#/components/schemas/RawMetricEventView"
          SEARCH_REPLICATION_LAG: "#/components/schemas/TimeMetricEventView"
          SWAP_USAGE_FREE: "#/components/schemas/DataMetricEventView"
          SWAP_USAGE_USED: "#/components/schemas/DataMetricEventView"
          SYSTEM_MEMORY_AVAILABLE: "#/components/schemas/DataMetricEventView"
          SYSTEM_MEMORY_PERCENT_USED: "#/components/schemas/RawMetricEventView"
          SYSTEM_MEMORY_USED: "#/components/schemas/DataMetricEventView"
          SYSTEM_NETWORK_IN: "#/components/schemas/DataMetricEventView"
          SYSTEM_NETWORK_OUT: "#/components/schemas/DataMetricEventView"
          TICKETS_AVAILABLE_READS: "#/components/schemas/RawMetricEventView"
          TICKETS_AVAILABLE_WRITES: "#/components/schemas/RawMetricEventView"
      x-xgen-IPA-exception:
        xgen-IPA-125-discriminator-must-accompany-oneOf-anyOf-allOf: Schema predates
          IPA validation.
    HostMetricEventTypeView:
      title: Host Metric Event Types
      type: string
      description: Unique identifier of event type.
      example: OUTSIDE_METRIC_THRESHOLD
      enum:
      - INSIDE_METRIC_THRESHOLD
      - OUTSIDE_METRIC_THRESHOLD
    HostMetricEventTypeViewAlertable:
      title: Host Metric Event Types
      type: string
      description: Event type that triggers an alert.
      example: OUTSIDE_METRIC_THRESHOLD
      externalDocs:
        description: Atlas Alert Event Types
        url: https://www.mongodb.com/docs/atlas/reference/atlas-alert-event-types/
      enum:
      - OUTSIDE_METRIC_THRESHOLD
    HostMetricThreshold:
      title: Host Metric Threshold
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          type: string
          description: Element used to express the quantity. This can be an element
            of time, storage capacity, and the like.
          enum:
          - bits
          - Kbits
          - Mbits
          - Gbits
          - bytes
          - KB
          - MB
          - GB
          - TB
          - PB
          - nsec
          - msec
          - sec
          - min
          - hours
          - million minutes
          - days
          - requests
          - 1000 requests
          - tokens
          - million tokens
          - pixels
          - billion pixels
          - GB seconds
          - GB hours
          - GB days
          - RPU
          - thousand RPU
          - million RPU
          - WPU
          - thousand WPU
          - million WPU
          - count
          - thousand
          - million
          - billion
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
              IPA validation.
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Threshold for the metric that, when exceeded, triggers an alert.
        The metric threshold pertains to event types which reflects changes of measurements
        and metrics about mongod host.
      discriminator:
        propertyName: metricName
        mapping:
          ASSERT_MSG: "#/components/schemas/AssertMsgRawMetricThresholdView"
          ASSERT_REGULAR: "#/components/schemas/AssertRegularRawMetricThresholdView"
          ASSERT_USER: "#/components/schemas/AssertUserRawMetricThresholdView"
          ASSERT_WARNING: "#/components/schemas/AssertWarningRawMetricThresholdView"
          AVG_COMMAND_EXECUTION_TIME: "#/components/schemas/AvgCommandExecutionTimeTimeMetricThresholdView"
          AVG_READ_EXECUTION_TIME: "#/components/schemas/AvgReadExecutionTimeTimeMetricThresholdView"
          AVG_WRITE_EXECUTION_TIME: "#/components/schemas/AvgWriteExecutionTimeTimeMetricThresholdView"
          BACKGROUND_FLUSH_AVG: "#/components/schemas/TimeMetricThresholdView"
          CACHE_BYTES_READ_INTO: "#/components/schemas/CacheBytesReadIntoDataMetricThresholdView"
          CACHE_BYTES_WRITTEN_FROM: "#/components/schemas/CacheBytesWrittenFromDataMetricThresholdView"
          CACHE_USAGE_DIRTY: "#/components/schemas/CacheUsageDirtyDataMetricThresholdView"
          CACHE_USAGE_USED: "#/components/schemas/CacheUsageUsedDataMetricThresholdView"
          COMPUTED_MEMORY: "#/components/schemas/ComputedMemoryDataMetricThresholdView"
          CONNECTIONS: "#/components/schemas/ConnectionsRawMetricThresholdView"
          CONNECTIONS_MAX: "#/components/schemas/ConnectionsMaxRawMetricThresholdView"
          CONNECTIONS_PERCENT: "#/components/schemas/ConnectionsPercentRawMetricThresholdView"
          CURSORS_TOTAL_CLIENT_CURSORS_SIZE: "#/components/schemas/CursorsTotalClientCursorsSizeRawMetricThresholdView"
          CURSORS_TOTAL_OPEN: "#/components/schemas/CursorsTotalOpenRawMetricThresholdView"
          CURSORS_TOTAL_TIMED_OUT: "#/components/schemas/CursorsTotalTimedOutRawMetricThresholdView"
          DB_DATA_SIZE_TOTAL: "#/components/schemas/DbDataSizeTotalDataMetricThresholdView"
          DB_DATA_SIZE_TOTAL_WO_SYSTEM: "#/components/schemas/DbDataSizeTotalWoSystemDataMetricThresholdView"
          DB_INDEX_SIZE_TOTAL: "#/components/schemas/DbIndexSizeTotalDataMetricThresholdView"
          DB_STORAGE_TOTAL: "#/components/schemas/DbStorageTotalDataMetricThresholdView"
          DISK_PARTITION_QUEUE_DEPTH_DATA: "#/components/schemas/DiskPartitionQueueDepthDataRawMetricThresholdView"
          DISK_PARTITION_QUEUE_DEPTH_INDEX: "#/components/schemas/DiskPartitionQueueDepthIndexRawMetricThresholdView"
          DISK_PARTITION_QUEUE_DEPTH_JOURNAL: "#/components/schemas/DiskPartitionQueueDepthJournalRawMetricThresholdView"
          DISK_PARTITION_READ_IOPS_DATA: "#/components/schemas/DiskPartitionReadIopsDataRawMetricThresholdView"
          DISK_PARTITION_READ_IOPS_INDEX: "#/components/schemas/DiskPartitionReadIopsIndexRawMetricThresholdView"
          DISK_PARTITION_READ_IOPS_JOURNAL: "#/components/schemas/DiskPartitionReadIopsJournalRawMetricThresholdView"
          DISK_PARTITION_READ_LATENCY_DATA: "#/components/schemas/DiskPartitionReadLatencyDataTimeMetricThresholdView"
          DISK_PARTITION_READ_LATENCY_INDEX: "#/components/schemas/DiskPartitionReadLatencyIndexTimeMetricThresholdView"
          DISK_PARTITION_READ_LATENCY_JOURNAL: "#/components/schemas/DiskPartitionReadLatencyJournalTimeMetricThresholdView"
          DISK_PARTITION_SPACE_USED_DATA: "#/components/schemas/DiskPartitionSpaceUsedDataRawMetricThresholdView"
          DISK_PARTITION_SPACE_USED_INDEX: "#/components/schemas/DiskPartitionSpaceUsedIndexRawMetricThresholdView"
          DISK_PARTITION_SPACE_USED_JOURNAL: "#/components/schemas/DiskPartitionSpaceUsedJournalRawMetricThresholdView"
          DISK_PARTITION_WRITE_IOPS_DATA: "#/components/schemas/DiskPartitionWriteIopsDataRawMetricThresholdView"
          DISK_PARTITION_WRITE_IOPS_INDEX: "#/components/schemas/DiskPartitionWriteIopsIndexRawMetricThresholdView"
          DISK_PARTITION_WRITE_IOPS_JOURNAL: "#/components/schemas/DiskPartitionWriteIopsJournalRawMetricThresholdView"
          DISK_PARTITION_WRITE_LATENCY_DATA: "#/components/schemas/DiskPartitionWriteLatencyDataTimeMetricThresholdView"
          DISK_PARTITION_WRITE_LATENCY_INDEX: "#/components/schemas/DiskPartitionWriteLatencyIndexTimeMetricThresholdView"
          DISK_PARTITION_WRITE_LATENCY_JOURNAL: "#/components/schemas/DiskPartitionWriteLatencyJournalTimeMetricThresholdView"
          DOCUMENT_DELETED: "#/components/schemas/DocumentDeletedRawMetricThresholdView"
          DOCUMENT_INSERTED: "#/components/schemas/DocumentInsertedRawMetricThresholdView"
          DOCUMENT_RETURNED: "#/components/schemas/DocumentReturnedRawMetricThresholdView"
          DOCUMENT_UPDATED: "#/components/schemas/DocumentUpdatedRawMetricThresholdView"
          EXTRA_INFO_PAGE_FAULTS: "#/components/schemas/ExtraInfoPageFaultsRawMetricThresholdView"
          FTS_DISK_UTILIZATION: "#/components/schemas/FtsDiskUtilizationDataMetricThresholdView"
          FTS_JVM_CURRENT_MEMORY: "#/components/schemas/FtsJvmCurrentMemoryDataMetricThresholdView"
          FTS_JVM_MAX_MEMORY: "#/components/schemas/FtsJvmMaxMemoryDataMetricThresholdView"
          FTS_MEMORY_MAPPED: "#/components/schemas/FtsMemoryMappedDataMetricThresholdView"
          FTS_MEMORY_RESIDENT: "#/components/schemas/FtsMemoryResidentDataMetricThresholdView"
          FTS_MEMORY_VIRTUAL: "#/components/schemas/FtsMemoryVirtualDataMetricThresholdView"
          FTS_PROCESS_CPU_KERNEL: "#/components/schemas/FtsProcessCpuKernelRawMetricThresholdView"
          FTS_PROCESS_CPU_USER: "#/components/schemas/FtsProcessCpuUserRawMetricThresholdView"
          GLOBAL_ACCESSES_NOT_IN_MEMORY: "#/components/schemas/GlobalAccessesNotInMemoryRawMetricThresholdView"
          GLOBAL_LOCK_CURRENT_QUEUE_READERS: "#/components/schemas/GlobalLockCurrentQueueReadersRawMetricThresholdView"
          GLOBAL_LOCK_CURRENT_QUEUE_TOTAL: "#/components/schemas/GlobalLockCurrentQueueTotalRawMetricThresholdView"
          GLOBAL_LOCK_CURRENT_QUEUE_WRITERS: "#/components/schemas/GlobalLockCurrentQueueWritersRawMetricThresholdView"
          GLOBAL_LOCK_PERCENTAGE: "#/components/schemas/GlobalLockPercentageRawMetricThresholdView"
          GLOBAL_PAGE_FAULT_EXCEPTIONS_THROWN: "#/components/schemas/GlobalPageFaultExceptionsThrownRawMetricThresholdView"
          INDEX_COUNTERS_BTREE_ACCESSES: "#/components/schemas/IndexCountersBtreeAccessesRawMetricThresholdView"
          INDEX_COUNTERS_BTREE_HITS: "#/components/schemas/IndexCountersBtreeHitsRawMetricThresholdView"
          INDEX_COUNTERS_BTREE_MISSES: "#/components/schemas/IndexCountersBtreeMissesRawMetricThresholdView"
          INDEX_COUNTERS_BTREE_MISS_RATIO: "#/components/schemas/IndexCountersBtreeMissRatioRawMetricThresholdView"
          JOURNALING_COMMITS_IN_WRITE_LOCK: "#/components/schemas/JournalingCommitsInWriteLockRawMetricThresholdView"
          JOURNALING_MB: "#/components/schemas/JournalingMbDataMetricThresholdView"
          JOURNALING_WRITE_DATA_FILES_MB: "#/components/schemas/JournalingWriteDataFilesMbDataMetricThresholdView"
          LOGICAL_SIZE: "#/components/schemas/LogicalSizeDataMetricThresholdView"
          MAX_DISK_PARTITION_QUEUE_DEPTH_DATA: "#/components/schemas/MaxDiskPartitionQueueDepthDataRawMetricThresholdView"
          MAX_DISK_PARTITION_QUEUE_DEPTH_INDEX: "#/components/schemas/MaxDiskPartitionQueueDepthIndexRawMetricThresholdView"
          MAX_DISK_PARTITION_QUEUE_DEPTH_JOURNAL: "#/components/schemas/MaxDiskPartitionQueueDepthJournalRawMetricThresholdView"
          MAX_DISK_PARTITION_READ_IOPS_DATA: "#/components/schemas/MaxDiskPartitionReadIopsDataRawMetricThresholdView"
          MAX_DISK_PARTITION_READ_IOPS_INDEX: "#/components/schemas/MaxDiskPartitionReadIopsIndexRawMetricThresholdView"
          MAX_DISK_PARTITION_READ_IOPS_JOURNAL: "#/components/schemas/MaxDiskPartitionReadIopsJournalRawMetricThresholdView"
          MAX_DISK_PARTITION_READ_LATENCY_DATA: "#/components/schemas/MaxDiskPartitionReadLatencyDataTimeMetricThresholdView"
          MAX_DISK_PARTITION_READ_LATENCY_INDEX: "#/components/schemas/MaxDiskPartitionReadLatencyIndexTimeMetricThresholdView"
          MAX_DISK_PARTITION_READ_LATENCY_JOURNAL: "#/components/schemas/MaxDiskPartitionReadLatencyJournalTimeMetricThresholdView"
          MAX_DISK_PARTITION_SPACE_USED_DATA: "#/components/schemas/MaxDiskPartitionSpaceUsedDataRawMetricThresholdView"
          MAX_DISK_PARTITION_SPACE_USED_INDEX: "#/components/schemas/MaxDiskPartitionSpaceUsedIndexRawMetricThresholdView"
          MAX_DISK_PARTITION_SPACE_USED_JOURNAL: "#/components/schemas/MaxDiskPartitionSpaceUsedJournalRawMetricThresholdView"
          MAX_DISK_PARTITION_WRITE_IOPS_DATA: "#/components/schemas/MaxDiskPartitionWriteIopsDataRawMetricThresholdView"
          MAX_DISK_PARTITION_WRITE_IOPS_INDEX: "#/components/schemas/MaxDiskPartitionWriteIopsIndexRawMetricThresholdView"
          MAX_DISK_PARTITION_WRITE_IOPS_JOURNAL: "#/components/schemas/MaxDiskPartitionWriteIopsJournalRawMetricThresholdView"
          MAX_DISK_PARTITION_WRITE_LATENCY_DATA: "#/components/schemas/MaxDiskPartitionWriteLatencyDataTimeMetricThresholdView"
          MAX_DISK_PARTITION_WRITE_LATENCY_INDEX: "#/components/schemas/MaxDiskPartitionWriteLatencyIndexTimeMetricThresholdView"
          MAX_DISK_PARTITION_WRITE_LATENCY_JOURNAL: "#/components/schemas/MaxDiskPartitionWriteLatencyJournalTimeMetricThresholdView"
          MAX_NORMALIZED_SYSTEM_CPU_STEAL: "#/components/schemas/MaxNormalizedSystemCpuStealRawMetricThresholdView"
          MAX_NORMALIZED_SYSTEM_CPU_USER: "#/components/schemas/MaxNormalizedSystemCpuUserRawMetricThresholdView"
          MAX_SWAP_USAGE_FREE: "#/components/schemas/MaxSwapUsageFreeDataMetricThresholdView"
          MAX_SWAP_USAGE_USED: "#/components/schemas/MaxSwapUsageUsedDataMetricThresholdView"
          MAX_SYSTEM_MEMORY_AVAILABLE: "#/components/schemas/MaxSystemMemoryAvailableDataMetricThresholdView"
          MAX_SYSTEM_MEMORY_PERCENT_USED: "#/components/schemas/MaxSystemMemoryPercentUsedRawMetricThresholdView"
          MAX_SYSTEM_MEMORY_USED: "#/components/schemas/MaxSystemMemoryUsedDataMetricThresholdView"
          MAX_SYSTEM_NETWORK_IN: "#/components/schemas/MaxSystemNetworkInDataMetricThresholdView"
          MAX_SYSTEM_NETWORK_OUT: "#/components/schemas/MaxSystemNetworkOutDataMetricThresholdView"
          MEMORY_MAPPED: "#/components/schemas/MemoryMappedDataMetricThresholdView"
          MEMORY_RESIDENT: "#/components/schemas/MemoryResidentDataMetricThresholdView"
          MEMORY_VIRTUAL: "#/components/schemas/MemoryVirtualDataMetricThresholdView"
          MUNIN_CPU_IOWAIT: "#/components/schemas/MuninCpuIowaitRawMetricThresholdView"
          MUNIN_CPU_IRQ: "#/components/schemas/MuninCpuIrqRawMetricThresholdView"
          MUNIN_CPU_NICE: "#/components/schemas/MuninCpuNiceRawMetricThresholdView"
          MUNIN_CPU_SOFTIRQ: "#/components/schemas/MuninCpuSoftirqRawMetricThresholdView"
          MUNIN_CPU_STEAL: "#/components/schemas/MuninCpuStealRawMetricThresholdView"
          MUNIN_CPU_SYSTEM: "#/components/schemas/MuninCpuSystemRawMetricThresholdView"
          MUNIN_CPU_USER: "#/components/schemas/MuninCpuUserRawMetricThresholdView"
          NETWORK_BYTES_IN: "#/components/schemas/NetworkBytesInDataMetricThresholdView"
          NETWORK_BYTES_OUT: "#/components/schemas/NetworkBytesOutDataMetricThresholdView"
          NETWORK_NUM_REQUESTS: "#/components/schemas/NetworkNumRequestsRawMetricThresholdView"
          NORMALIZED_FTS_PROCESS_CPU_KERNEL: "#/components/schemas/NormalizedFtsProcessCpuKernelRawMetricThresholdView"
          NORMALIZED_FTS_PROCESS_CPU_USER: "#/components/schemas/NormalizedFtsProcessCpuUserRawMetricThresholdView"
          NORMALIZED_SYSTEM_CPU_STEAL: "#/components/schemas/NormalizedSystemCpuStealRawMetricThresholdView"
          NORMALIZED_SYSTEM_CPU_USER: "#/components/schemas/NormalizedSystemCpuUserRawMetricThresholdView"
          OPCOUNTER_CMD: "#/components/schemas/OpCounterCmdRawMetricThresholdView"
          OPCOUNTER_DELETE: "#/components/schemas/OpCounterDeleteRawMetricThresholdView"
          OPCOUNTER_GETMORE: "#/components/schemas/OpCounterGetMoreRawMetricThresholdView"
          OPCOUNTER_INSERT: "#/components/schemas/OpCounterInsertRawMetricThresholdView"
          OPCOUNTER_QUERY: "#/components/schemas/OpCounterQueryRawMetricThresholdView"
          OPCOUNTER_REPL_CMD: "#/components/schemas/OpCounterReplCmdRawMetricThresholdView"
          OPCOUNTER_REPL_DELETE: "#/components/schemas/OpCounterReplDeleteRawMetricThresholdView"
          OPCOUNTER_REPL_INSERT: "#/components/schemas/OpCounterReplInsertRawMetricThresholdView"
          OPCOUNTER_REPL_UPDATE: "#/components/schemas/OpCounterReplUpdateRawMetricThresholdView"
          OPCOUNTER_TTL_DELETED: "#/components/schemas/OpCounterTtlDeletedRawMetricThresholdView"
          OPCOUNTER_UPDATE: "#/components/schemas/OpCounterUpdateRawMetricThresholdView"
          OPERATIONS_QUERIES_KILLED: "#/components/schemas/OperationsQueriesKilledRawMetricThresholdView"
          OPERATIONS_SCAN_AND_ORDER: "#/components/schemas/OperationsScanAndOrderRawMetricThresholdView"
          OPERATION_THROTTLING_REJECTED_OPERATIONS: "#/components/schemas/OperationThrottlingRejectedOperationsRawMetricThresholdView"
          OPLOG_MASTER_LAG_TIME_DIFF: "#/components/schemas/OplogMasterLagTimeDiffTimeMetricThresholdView"
          OPLOG_MASTER_TIME: "#/components/schemas/OplogMasterTimeTimeMetricThresholdView"
          OPLOG_MASTER_TIME_ESTIMATED_TTL: "#/components/schemas/OplogMasterTimeEstimatedTtlTimeMetricThresholdView"
          OPLOG_RATE_GB_PER_HOUR: "#/components/schemas/OplogRateGbPerHourDataMetricThresholdView"
          OPLOG_SLAVE_LAG_MASTER_TIME: "#/components/schemas/OplogSlaveLagMasterTimeTimeMetricThresholdView"
          QUERY_EXECUTOR_SCANNED: "#/components/schemas/QueryExecutorScannedRawMetricThresholdView"
          QUERY_EXECUTOR_SCANNED_OBJECTS: "#/components/schemas/QueryExecutorScannedObjectsRawMetricThresholdView"
          QUERY_SPILL_TO_DISK_DURING_SORT: "#/components/schemas/QuerySpillToDiskDuringSortRawMetricThresholdView"
          QUERY_TARGETING_SCANNED_OBJECTS_PER_RETURNED: "#/components/schemas/QueryTargetingScannedObjectsPerReturnedRawMetricThresholdView"
          QUERY_TARGETING_SCANNED_PER_RETURNED: "#/components/schemas/QueryTargetingScannedPerReturnedRawMetricThresholdView"
          RESTARTS_IN_LAST_HOUR: "#/components/schemas/RestartsInLastHourRawMetricThresholdView"
          SEARCH_INDEX_SIZE: "#/components/schemas/SearchIndexSizeDataMetricThresholdView"
          SEARCH_MAX_FIELDS_INDEXED: "#/components/schemas/SearchMaxFieldsIndexedRawMetricThresholdView"
          SEARCH_MAX_NGRAM_FIELDS_INDEXED: "#/components/schemas/SearchMaxNgramFieldsIndexedRawMetricThresholdView"
          SEARCH_MAX_NUMBER_OF_LUCENE_DOCS: "#/components/schemas/NumberMetricThresholdView"
          SEARCH_NUMBER_OF_FIELDS_IN_INDEX: "#/components/schemas/SearchNumberOfFieldsInIndexRawMetricThresholdView"
          SEARCH_NUMBER_OF_QUERIES_ERROR: "#/components/schemas/SearchNumberOfQueriesErrorRawMetricThresholdView"
          SEARCH_NUMBER_OF_QUERIES_SUCCESS: "#/components/schemas/SearchNumberOfQueriesSuccessRawMetricThresholdView"
          SEARCH_NUMBER_OF_QUERIES_TOTAL: "#/components/schemas/SearchNumberOfQueriesTotalRawMetricThresholdView"
          SEARCH_OPCOUNTER_DELETE: "#/components/schemas/SearchOpCounterDeleteRawMetricThresholdView"
          SEARCH_OPCOUNTER_GETMORE: "#/components/schemas/SearchOpCounterGetMoreRawMetricThresholdView"
          SEARCH_OPCOUNTER_INSERT: "#/components/schemas/SearchOpCounterInsertRawMetricThresholdView"
          SEARCH_OPCOUNTER_UPDATE: "#/components/schemas/SearchOpCounterUpdateRawMetricThresholdView"
          SEARCH_REPLICATION_LAG: "#/components/schemas/SearchReplicationLagTimeMetricThresholdView"
          SWAP_USAGE_FREE: "#/components/schemas/SwapUsageFreeDataMetricThresholdView"
          SWAP_USAGE_USED: "#/components/schemas/SwapUsageUsedDataMetricThresholdView"
          SYSTEM_MEMORY_AVAILABLE: "#/components/schemas/SystemMemoryAvailableDataMetricThresholdView"
          SYSTEM_MEMORY_PERCENT_USED: "#/components/schemas/SystemMemoryPercentUsedRawMetricThresholdView"
          SYSTEM_MEMORY_USED: "#/components/schemas/SystemMemoryUsedDataMetricThresholdView"
          SYSTEM_NETWORK_IN: "#/components/schemas/SystemNetworkInDataMetricThresholdView"
          SYSTEM_NETWORK_OUT: "#/components/schemas/SystemNetworkOutDataMetricThresholdView"
          TICKETS_AVAILABLE_READS: "#/components/schemas/TicketsAvailableReadsRawMetricThresholdView"
          TICKETS_AVAILABLE_WRITES: "#/components/schemas/TicketsAvailableWritesRawMetricThresholdView"
      oneOf:
      - "$ref": "#/components/schemas/AssertRegularRawMetricThresholdView"
      - "$ref": "#/components/schemas/AssertWarningRawMetricThresholdView"
      - "$ref": "#/components/schemas/AssertMsgRawMetricThresholdView"
      - "$ref": "#/components/schemas/AssertUserRawMetricThresholdView"
      - "$ref": "#/components/schemas/OpCounterCmdRawMetricThresholdView"
      - "$ref": "#/components/schemas/OpCounterQueryRawMetricThresholdView"
      - "$ref": "#/components/schemas/OpCounterUpdateRawMetricThresholdView"
      - "$ref": "#/components/schemas/OpCounterDeleteRawMetricThresholdView"
      - "$ref": "#/components/schemas/OpCounterTtlDeletedRawMetricThresholdView"
      - "$ref": "#/components/schemas/OpCounterInsertRawMetricThresholdView"
      - "$ref": "#/components/schemas/OpCounterGetMoreRawMetricThresholdView"
      - "$ref": "#/components/schemas/OpCounterReplCmdRawMetricThresholdView"
      - "$ref": "#/components/schemas/OpCounterReplUpdateRawMetricThresholdView"
      - "$ref": "#/components/schemas/OpCounterReplDeleteRawMetricThresholdView"
      - "$ref": "#/components/schemas/OpCounterReplInsertRawMetricThresholdView"
      - "$ref": "#/components/schemas/FtsMemoryResidentDataMetricThresholdView"
      - "$ref": "#/components/schemas/FtsMemoryVirtualDataMetricThresholdView"
      - "$ref": "#/components/schemas/FtsMemoryMappedDataMetricThresholdView"
      - "$ref": "#/components/schemas/FtsProcessCpuUserRawMetricThresholdView"
      - "$ref": "#/components/schemas/FtsProcessCpuKernelRawMetricThresholdView"
      - "$ref": "#/components/schemas/NormalizedFtsProcessCpuUserRawMetricThresholdView"
      - "$ref": "#/components/schemas/NormalizedFtsProcessCpuKernelRawMetricThresholdView"
      - "$ref": "#/components/schemas/SystemMemoryPercentUsedRawMetricThresholdView"
      - "$ref": "#/components/schemas/MemoryResidentDataMetricThresholdView"
      - "$ref": "#/components/schemas/MemoryVirtualDataMetricThresholdView"
      - "$ref": "#/components/schemas/MemoryMappedDataMetricThresholdView"
      - "$ref": "#/components/schemas/ComputedMemoryDataMetricThresholdView"
      - "$ref": "#/components/schemas/IndexCountersBtreeAccessesRawMetricThresholdView"
      - "$ref": "#/components/schemas/IndexCountersBtreeHitsRawMetricThresholdView"
      - "$ref": "#/components/schemas/IndexCountersBtreeMissesRawMetricThresholdView"
      - "$ref": "#/components/schemas/IndexCountersBtreeMissRatioRawMetricThresholdView"
      - "$ref": "#/components/schemas/GlobalLockPercentageRawMetricThresholdView"
      - "$ref": "#/components/schemas/TimeMetricThresholdView"
      - "$ref": "#/components/schemas/ConnectionsRawMetricThresholdView"
      - "$ref": "#/components/schemas/ConnectionsMaxRawMetricThresholdView"
      - "$ref": "#/components/schemas/ConnectionsPercentRawMetricThresholdView"
      - "$ref": "#/components/schemas/GlobalAccessesNotInMemoryRawMetricThresholdView"
      - "$ref": "#/components/schemas/GlobalPageFaultExceptionsThrownRawMetricThresholdView"
      - "$ref": "#/components/schemas/GlobalLockCurrentQueueTotalRawMetricThresholdView"
      - "$ref": "#/components/schemas/GlobalLockCurrentQueueReadersRawMetricThresholdView"
      - "$ref": "#/components/schemas/GlobalLockCurrentQueueWritersRawMetricThresholdView"
      - "$ref": "#/components/schemas/CursorsTotalOpenRawMetricThresholdView"
      - "$ref": "#/components/schemas/CursorsTotalTimedOutRawMetricThresholdView"
      - "$ref": "#/components/schemas/CursorsTotalClientCursorsSizeRawMetricThresholdView"
      - "$ref": "#/components/schemas/NetworkBytesInDataMetricThresholdView"
      - "$ref": "#/components/schemas/NetworkBytesOutDataMetricThresholdView"
      - "$ref": "#/components/schemas/NetworkNumRequestsRawMetricThresholdView"
      - "$ref": "#/components/schemas/OplogMasterTimeTimeMetricThresholdView"
      - "$ref": "#/components/schemas/OplogMasterTimeEstimatedTtlTimeMetricThresholdView"
      - "$ref": "#/components/schemas/OplogSlaveLagMasterTimeTimeMetricThresholdView"
      - "$ref": "#/components/schemas/OplogMasterLagTimeDiffTimeMetricThresholdView"
      - "$ref": "#/components/schemas/OplogRateGbPerHourDataMetricThresholdView"
      - "$ref": "#/components/schemas/ExtraInfoPageFaultsRawMetricThresholdView"
      - "$ref": "#/components/schemas/DbStorageTotalDataMetricThresholdView"
      - "$ref": "#/components/schemas/DbDataSizeTotalDataMetricThresholdView"
      - "$ref": "#/components/schemas/DbDataSizeTotalWoSystemDataMetricThresholdView"
      - "$ref": "#/components/schemas/DbIndexSizeTotalDataMetricThresholdView"
      - "$ref": "#/components/schemas/JournalingCommitsInWriteLockRawMetricThresholdView"
      - "$ref": "#/components/schemas/JournalingMbDataMetricThresholdView"
      - "$ref": "#/components/schemas/JournalingWriteDataFilesMbDataMetricThresholdView"
      - "$ref": "#/components/schemas/TicketsAvailableReadsRawMetricThresholdView"
      - "$ref": "#/components/schemas/TicketsAvailableWritesRawMetricThresholdView"
      - "$ref": "#/components/schemas/CacheUsageDirtyDataMetricThresholdView"
      - "$ref": "#/components/schemas/CacheUsageUsedDataMetricThresholdView"
      - "$ref": "#/components/schemas/CacheBytesReadIntoDataMetricThresholdView"
      - "$ref": "#/components/schemas/CacheBytesWrittenFromDataMetricThresholdView"
      - "$ref": "#/components/schemas/NormalizedSystemCpuUserRawMetricThresholdView"
      - "$ref": "#/components/schemas/NormalizedSystemCpuStealRawMetricThresholdView"
      - "$ref": "#/components/schemas/DiskPartitionSpaceUsedDataRawMetricThresholdView"
      - "$ref": "#/components/schemas/DiskPartitionSpaceUsedIndexRawMetricThresholdView"
      - "$ref": "#/components/schemas/DiskPartitionSpaceUsedJournalRawMetricThresholdView"
      - "$ref": "#/components/schemas/DiskPartitionReadIopsDataRawMetricThresholdView"
      - "$ref": "#/components/schemas/DiskPartitionReadIopsIndexRawMetricThresholdView"
      - "$ref": "#/components/schemas/DiskPartitionReadIopsJournalRawMetricThresholdView"
      - "$ref": "#/components/schemas/DiskPartitionWriteIopsDataRawMetricThresholdView"
      - "$ref": "#/components/schemas/DiskPartitionWriteIopsIndexRawMetricThresholdView"
      - "$ref": "#/components/schemas/DiskPartitionWriteIopsJournalRawMetricThresholdView"
      - "$ref": "#/components/schemas/DiskPartitionReadLatencyDataTimeMetricThresholdView"
      - "$ref": "#/components/schemas/DiskPartitionReadLatencyIndexTimeMetricThresholdView"
      - "$ref": "#/components/schemas/DiskPartitionReadLatencyJournalTimeMetricThresholdView"
      - "$ref": "#/components/schemas/DiskPartitionWriteLatencyDataTimeMetricThresholdView"
      - "$ref": "#/components/schemas/DiskPartitionWriteLatencyIndexTimeMetricThresholdView"
      - "$ref": "#/components/schemas/DiskPartitionWriteLatencyJournalTimeMetricThresholdView"
      - "$ref": "#/components/schemas/DiskPartitionQueueDepthDataRawMetricThresholdView"
      - "$ref": "#/components/schemas/DiskPartitionQueueDepthIndexRawMetricThresholdView"
      - "$ref": "#/components/schemas/DiskPartitionQueueDepthJournalRawMetricThresholdView"
      - "$ref": "#/components/schemas/FtsDiskUtilizationDataMetricThresholdView"
      - "$ref": "#/components/schemas/MuninCpuUserRawMetricThresholdView"
      - "$ref": "#/components/schemas/MuninCpuNiceRawMetricThresholdView"
      - "$ref": "#/components/schemas/MuninCpuSystemRawMetricThresholdView"
      - "$ref": "#/components/schemas/MuninCpuIowaitRawMetricThresholdView"
      - "$ref": "#/components/schemas/MuninCpuIrqRawMetricThresholdView"
      - "$ref": "#/components/schemas/MuninCpuSoftirqRawMetricThresholdView"
      - "$ref": "#/components/schemas/MuninCpuStealRawMetricThresholdView"
      - "$ref": "#/components/schemas/DocumentReturnedRawMetricThresholdView"
      - "$ref": "#/components/schemas/DocumentInsertedRawMetricThresholdView"
      - "$ref": "#/components/schemas/DocumentUpdatedRawMetricThresholdView"
      - "$ref": "#/components/schemas/DocumentDeletedRawMetricThresholdView"
      - "$ref": "#/components/schemas/OperationsScanAndOrderRawMetricThresholdView"
      - "$ref": "#/components/schemas/QueryExecutorScannedRawMetricThresholdView"
      - "$ref": "#/components/schemas/QueryExecutorScannedObjectsRawMetricThresholdView"
      - "$ref": "#/components/schemas/OperationThrottlingRejectedOperationsRawMetricThresholdView"
      - "$ref": "#/components/schemas/QuerySpillToDiskDuringSortRawMetricThresholdView"
      - "$ref": "#/components/schemas/OperationsQueriesKilledRawMetricThresholdView"
      - "$ref": "#/components/schemas/QueryTargetingScannedPerReturnedRawMetricThresholdView"
      - "$ref": "#/components/schemas/QueryTargetingScannedObjectsPerReturnedRawMetricThresholdView"
      - "$ref": "#/components/schemas/AvgReadExecutionTimeTimeMetricThresholdView"
      - "$ref": "#/components/schemas/AvgWriteExecutionTimeTimeMetricThresholdView"
      - "$ref": "#/components/schemas/AvgCommandExecutionTimeTimeMetricThresholdView"
      - "$ref": "#/components/schemas/LogicalSizeDataMetricThresholdView"
      - "$ref": "#/components/schemas/RestartsInLastHourRawMetricThresholdView"
      - "$ref": "#/components/schemas/SystemMemoryUsedDataMetricThresholdView"
      - "$ref": "#/components/schemas/SystemMemoryAvailableDataMetricThresholdView"
      - "$ref": "#/components/schemas/SwapUsageUsedDataMetricThresholdView"
      - "$ref": "#/components/schemas/SwapUsageFreeDataMetricThresholdView"
      - "$ref": "#/components/schemas/SystemNetworkInDataMetricThresholdView"
      - "$ref": "#/components/schemas/SystemNetworkOutDataMetricThresholdView"
      - "$ref": "#/components/schemas/MaxNormalizedSystemCpuUserRawMetricThresholdView"
      - "$ref": "#/components/schemas/MaxNormalizedSystemCpuStealRawMetricThresholdView"
      - "$ref": "#/components/schemas/MaxDiskPartitionSpaceUsedDataRawMetricThresholdView"
      - "$ref": "#/components/schemas/MaxDiskPartitionSpaceUsedIndexRawMetricThresholdView"
      - "$ref": "#/components/schemas/MaxDiskPartitionSpaceUsedJournalRawMetricThresholdView"
      - "$ref": "#/components/schemas/MaxDiskPartitionReadIopsDataRawMetricThresholdView"
      - "$ref": "#/components/schemas/MaxDiskPartitionReadIopsIndexRawMetricThresholdView"
      - "$ref": "#/components/schemas/MaxDiskPartitionReadIopsJournalRawMetricThresholdView"
      - "$ref": "#/components/schemas/MaxDiskPartitionWriteIopsDataRawMetricThresholdView"
      - "$ref": "#/components/schemas/MaxDiskPartitionWriteIopsIndexRawMetricThresholdView"
      - "$ref": "#/components/schemas/MaxDiskPartitionWriteIopsJournalRawMetricThresholdView"
      - "$ref": "#/components/schemas/MaxDiskPartitionReadLatencyDataTimeMetricThresholdView"
      - "$ref": "#/components/schemas/MaxDiskPartitionReadLatencyIndexTimeMetricThresholdView"
      - "$ref": "#/components/schemas/MaxDiskPartitionReadLatencyJournalTimeMetricThresholdView"
      - "$ref": "#/components/schemas/MaxDiskPartitionWriteLatencyDataTimeMetricThresholdView"
      - "$ref": "#/components/schemas/MaxDiskPartitionWriteLatencyIndexTimeMetricThresholdView"
      - "$ref": "#/components/schemas/MaxDiskPartitionWriteLatencyJournalTimeMetricThresholdView"
      - "$ref": "#/components/schemas/MaxDiskPartitionQueueDepthDataRawMetricThresholdView"
      - "$ref": "#/components/schemas/MaxDiskPartitionQueueDepthIndexRawMetricThresholdView"
      - "$ref": "#/components/schemas/MaxDiskPartitionQueueDepthJournalRawMetricThresholdView"
      - "$ref": "#/components/schemas/MaxSystemMemoryPercentUsedRawMetricThresholdView"
      - "$ref": "#/components/schemas/MaxSystemMemoryUsedDataMetricThresholdView"
      - "$ref": "#/components/schemas/MaxSystemMemoryAvailableDataMetricThresholdView"
      - "$ref": "#/components/schemas/MaxSwapUsageUsedDataMetricThresholdView"
      - "$ref": "#/components/schemas/MaxSwapUsageFreeDataMetricThresholdView"
      - "$ref": "#/components/schemas/MaxSystemNetworkInDataMetricThresholdView"
      - "$ref": "#/components/schemas/MaxSystemNetworkOutDataMetricThresholdView"
      - "$ref": "#/components/schemas/SearchIndexSizeDataMetricThresholdView"
      - "$ref": "#/components/schemas/SearchMaxFieldsIndexedRawMetricThresholdView"
      - "$ref": "#/components/schemas/SearchNumberOfFieldsInIndexRawMetricThresholdView"
      - "$ref": "#/components/schemas/SearchMaxNgramFieldsIndexedRawMetricThresholdView"
      - "$ref": "#/components/schemas/SearchReplicationLagTimeMetricThresholdView"
      - "$ref": "#/components/schemas/NumberMetricThresholdView"
      - "$ref": "#/components/schemas/SearchOpCounterInsertRawMetricThresholdView"
      - "$ref": "#/components/schemas/SearchOpCounterDeleteRawMetricThresholdView"
      - "$ref": "#/components/schemas/SearchOpCounterUpdateRawMetricThresholdView"
      - "$ref": "#/components/schemas/SearchOpCounterGetMoreRawMetricThresholdView"
      - "$ref": "#/components/schemas/SearchNumberOfQueriesTotalRawMetricThresholdView"
      - "$ref": "#/components/schemas/SearchNumberOfQueriesErrorRawMetricThresholdView"
      - "$ref": "#/components/schemas/SearchNumberOfQueriesSuccessRawMetricThresholdView"
      - "$ref": "#/components/schemas/FtsJvmMaxMemoryDataMetricThresholdView"
      - "$ref": "#/components/schemas/FtsJvmCurrentMemoryDataMetricThresholdView"
    HostMetricValue:
      type: object
      properties:
        number:
          type: number
          description: Amount of the `metricName` recorded at the time of the event.
            This value triggered the alert.
          format: double
          readOnly: true
        units:
          type: string
          description: Element used to express the quantity in `currentValue.number`.
            This can be an element of time, storage capacity, and the like. This metric
            triggered the alert.
          readOnly: true
          enum:
          - bits
          - Kbits
          - Mbits
          - Gbits
          - bytes
          - KB
          - MB
          - GB
          - TB
          - PB
          - nsec
          - msec
          - sec
          - min
          - hours
          - million minutes
          - days
          - requests
          - 1000 requests
          - tokens
          - million tokens
          - pixels
          - billion pixels
          - GB seconds
          - GB hours
          - GB days
          - RPU
          - thousand RPU
          - million RPU
          - WPU
          - thousand WPU
          - million WPU
          - count
          - thousand
          - million
          - billion
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
              IPA validation.
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Value of the metric that triggered the alert. The resource returns
        this parameter for alerts of events impacting hosts.
      readOnly: true
    IndexCountersBtreeAccessesRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    IndexCountersBtreeHitsRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    IndexCountersBtreeMissRatioRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    IndexCountersBtreeMissesRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    IndexOptions:
      type: object
      properties:
        2dsphereIndexVersion:
          type: integer
          description: Index version number applied to the 2dsphere index. MongoDB
            3.2 and later use version 3. Use this option to override the default version
            number. This option applies to the **2dsphere** index type only.
          format: int32
          default: 3
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        background:
          type: boolean
          description: Flag that indicates whether MongoDB should build the index
            in the background. This applies to MongoDB databases running feature compatibility
            version 4.0 or earlier. MongoDB databases running FCV 4.2 or later build
            indexes using an optimized build process. This process holds the exclusive
            lock only at the beginning and end of the build process. The rest of the
            build process yields to interleaving read and write operations. MongoDB
            databases running FCV 4.2 or later ignore this option. This option applies
            to all index types.
          default: false
        bits:
          type: integer
          description: Number of precision applied to the stored geohash value of
            the location data. This option applies to the **2d** index type only.
          format: int32
          default: 26
        bucketSize:
          type: integer
          description: |-
            Number of units within which to group the location values. You could group in the same bucket those location values within the specified number of units to each other. This option applies to the geoHaystack index type only.

            MongoDB 5.0 removed geoHaystack Indexes and the `geoSearch` command.
          format: int32
        columnstoreProjection:
          type: object
          additionalProperties:
            type: integer
            description: |-
              The `columnstoreProjection` document allows to include or exclude sub-schemas schema. One cannot combine inclusion and exclusion statements. Accordingly, the <value> can be either of the following:
              1 or true to include the field and recursively all fields it is a prefix of in the index
              0 or false to exclude the field and recursively all fields it is a prefix of from the index.
            format: int32
          description: |-
            The `columnstoreProjection` document allows to include or exclude sub-schemas schema. One cannot combine inclusion and exclusion statements. Accordingly, the <value> can be either of the following:
            1 or true to include the field and recursively all fields it is a prefix of in the index
            0 or false to exclude the field and recursively all fields it is a prefix of from the index.
        default_language:
          type: string
          description: Human language that determines the list of stop words and the
            rules for the stemmer and tokenizer. This option accepts the supported
            languages using its name in lowercase English or the ISO 639-2 code. If
            you set this parameter to `"none"`, then the text search uses simple tokenization
            with no list of stop words and no stemming. This option applies to the
            **text** index type only.
          default: english
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        expireAfterSeconds:
          type: integer
          description: Number of seconds that MongoDB retains documents in a Time
            To Live (TTL) index.
          format: int32
        hidden:
          type: boolean
          description: Flag that determines whether the index is hidden from the query
            planner. A hidden index is not evaluated as part of the query plan selection.
          default: false
        language_override:
          type: string
          description: Human-readable label that identifies the document parameter
            that contains the override language for the document. This option applies
            to the **text** index type only.
          default: language
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        max:
          type: integer
          description: Upper inclusive boundary to limit the longitude and latitude
            values. This option applies to the 2d index type only.
          format: int32
          default: 180
        min:
          type: integer
          description: Lower inclusive boundary to limit the longitude and latitude
            values. This option applies to the 2d index type only.
          format: int32
          default: -180
        name:
          type: string
          description: Human-readable label that identifies this index. This option
            applies to all index types.
        partialFilterExpression:
          type: object
          additionalProperties:
            type: object
            description: |-
              Rules that limit the documents that the index references to a filter expression. All MongoDB index types accept a `partialFilterExpression` option. `partialFilterExpression` can include following expressions:

              - equality (`"parameter" : "value"` or using the `$eq` operator)
              - `"$exists": true`
              , maximum: `$gt`, `$gte`, `$lt`, `$lte` comparisons
              - `$type`
              - `$and` (top-level only)
               This option applies to all index types.
          description: |-
            Rules that limit the documents that the index references to a filter expression. All MongoDB index types accept a `partialFilterExpression` option. `partialFilterExpression` can include following expressions:

            - equality (`"parameter" : "value"` or using the `$eq` operator)
            - `"$exists": true`
            , maximum: `$gt`, `$gte`, `$lt`, `$lte` comparisons
            - `$type`
            - `$and` (top-level only)
             This option applies to all index types.
        sparse:
          type: boolean
          description: |-
            Flag that indicates whether the index references documents that only have the specified parameter. These indexes use less space but behave differently in some situations like when sorting. The following index types default to sparse and ignore this option: `2dsphere`, `2d`, `geoHaystack`, `text`.

            Compound indexes that includes one or more indexes with `2dsphere` keys alongside other key types, only the `2dsphere` index parameters determine which documents the index references. If you run MongoDB 3.2 or later, use partial indexes. This option applies to all index types.
          default: false
        storageEngine:
          type: object
          additionalProperties:
            type: object
            description: 'Storage engine set for the specific index. This value can
              be set only at creation. This option uses the following format: `"storageEngine"
              : { "<storage-engine-name>" : "<options>" }` MongoDB validates storage
              engine configuration options when creating indexes. To support replica
              sets with members with different storage engines, MongoDB logs these
              options to the oplog during replication. This option applies to all
              index types.'
            externalDocs:
              description: MongoDB Server Storage Engines
              url: https://docs.mongodb.com/manual/core/storage-engines/
          description: 'Storage engine set for the specific index. This value can
            be set only at creation. This option uses the following format: `"storageEngine"
            : { "<storage-engine-name>" : "<options>" }` MongoDB validates storage
            engine configuration options when creating indexes. To support replica
            sets with members with different storage engines, MongoDB logs these options
            to the oplog during replication. This option applies to all index types.'
          externalDocs:
            description: MongoDB Server Storage Engines
            url: https://docs.mongodb.com/manual/core/storage-engines/
        textIndexVersion:
          type: integer
          description: Version applied to this text index. MongoDB 3.2 and later use
            version `3`. Use this option to override the default version number. This
            option applies to the **text** index type only.
          format: int32
          default: 3
        weights:
          type: object
          additionalProperties:
            type: object
            description: Relative importance to place upon provided index parameters.
              This object expresses this as key/value pairs of index parameter and
              weight to apply to that parameter. You can specify weights for some
              or all the indexed parameters. The weight must be an integer between
              1 and 99,999. MongoDB 5.0 and later can apply **weights** to **text**
              indexes only.
          description: Relative importance to place upon provided index parameters.
            This object expresses this as key/value pairs of index parameter and weight
            to apply to that parameter. You can specify weights for some or all the
            indexed parameters. The weight must be an integer between 1 and 99,999.
            MongoDB 5.0 and later can apply **weights** to **text** indexes only.
      description: One or more settings that determine how the MongoDB Cloud creates
        this MongoDB index.
      writeOnly: true
      externalDocs:
        description: Index Options
        url: https://docs.mongodb.com/manual/reference/method/db.collection.createIndex/#options
    IngestionPipelineRun:
      title: Data Lake Pipeline Run
      type: object
      properties:
        _id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies a Data
            Lake Pipeline run.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        backupFrequencyType:
          type: string
          description: Backup schedule interval of the Data Lake Pipeline.
          readOnly: true
          enum:
          - HOURLY
          - DAILY
          - WEEKLY
          - MONTHLY
          - YEARLY
          - ON_DEMAND
        createdDate:
          type: string
          description: Timestamp that indicates when the pipeline run was created.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
        datasetName:
          type: string
          description: Human-readable label that identifies the dataset that Atlas
            generates during this pipeline run. You can use this dataset as a `dataSource`
            in a Federated Database collection.
          readOnly: true
          example: v1$atlas$snapshot$Cluster0$myDatabase$myCollection$19700101T000000Z
        datasetRetentionPolicy:
          "$ref": "#/components/schemas/DatasetRetentionPolicy"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            project.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        lastUpdatedDate:
          type: string
          description: Timestamp that indicates the last time that the pipeline run
            was updated. This parameter expresses its value in the ISO 8601 timestamp
            format in UTC.
          format: date-time
          readOnly: true
        phase:
          type: string
          description: Processing phase of the Data Lake Pipeline.
          readOnly: true
          enum:
          - SNAPSHOT
          - EXPORT
          - INGESTION
        pipelineId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies a Data
            Lake Pipeline.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        scheduledDeletionDate:
          type: string
          description: Timestamp that indicates when the pipeline run will expire
            and its dataset will be deleted. This parameter expresses its value in
            the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        snapshotId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            snapshot of a cluster.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        state:
          type: string
          description: State of the pipeline run.
          readOnly: true
          enum:
          - PENDING
          - IN_PROGRESS
          - DONE
          - FAILED
          - DATASET_DELETED
        stats:
          "$ref": "#/components/schemas/PipelineRunStats"
      description: Run details of a Data Lake Pipeline.
    IngestionSink:
      title: Ingestion Destination
      type: object
      properties:
        type:
          type: string
          description: Type of ingestion destination of this Data Lake Pipeline.
          readOnly: true
          enum:
          - DLS
      description: Ingestion destination of a Data Lake Pipeline.
      discriminator:
        propertyName: type
        mapping:
          DLS: "#/components/schemas/DLSIngestionSink"
      x-xgen-IPA-exception:
        xgen-IPA-125-discriminator-must-accompany-oneOf-anyOf-allOf: Schema predates
          IPA validation.
    IngestionSource:
      title: Ingestion Source
      type: object
      properties:
        type:
          type: string
          description: Type of ingestion source of this Data Lake Pipeline.
          enum:
          - PERIODIC_CPS
          - ON_DEMAND_CPS
      description: Ingestion Source of a Data Lake Pipeline.
      discriminator:
        propertyName: type
        mapping:
          ON_DEMAND_CPS: "#/components/schemas/OnDemandCpsSnapshotSource"
          PERIODIC_CPS: "#/components/schemas/PeriodicCpsSnapshotSource"
      x-xgen-IPA-exception:
        xgen-IPA-125-discriminator-must-accompany-oneOf-anyOf-allOf: Schema predates
          IPA validation.
    InvoiceLineItem:
      title: Line Item
      type: object
      properties:
        clusterName:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the cluster that incurred
            the charge.
          readOnly: true
        created:
          type: string
          description: Date and time when MongoDB Cloud created this line item. This
            parameter expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        discountCents:
          type: integer
          description: Sum by which MongoDB discounted this line item. MongoDB Cloud
            expresses this value in cents (100ths of one US Dollar). The resource
            returns this parameter when a discount applies.
          format: int64
          readOnly: true
        endDate:
          type: string
          description: Date and time when when MongoDB Cloud finished charging for
            this line item. This parameter expresses its value in the ISO 8601 timestamp
            format in UTC.
          format: date-time
          readOnly: true
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            associated to this line item.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        groupName:
          type: string
          description: Human-readable label that identifies the project.
        note:
          type: string
          description: Comment that applies to this line item.
          readOnly: true
        percentDiscount:
          type: number
          description: Percentage by which MongoDB discounted this line item. The
            resource returns this parameter when a discount applies.
          format: float
          readOnly: true
        quantity:
          type: number
          description: Number of units included for the line item. These can be expressions
            of storage (GB), time (hours), or other units.
          format: double
          readOnly: true
        sku:
          type: string
          description: Human-readable description of the service that this line item
            provided. This Stock Keeping Unit (SKU) could be the instance type, a
            support charge, advanced security, or another service.
          readOnly: true
          externalDocs:
            description: To see how to list all possible values, click here.
            url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Invoices/operation/listSkus
        startDate:
          type: string
          description: Date and time when MongoDB Cloud began charging for this line
            item. This parameter expresses its value in the ISO 8601 timestamp format
            in UTC.
          format: date-time
          readOnly: true
        stitchAppName:
          type: string
          description: Human-readable label that identifies the Atlas App Services
            application associated with this line item.
          readOnly: true
          externalDocs:
            description: Create a new Atlas App Service
            url: https://www.mongodb.com/docs/atlas/app-services/manage-apps/create/create-with-ui/
        tags:
          type: object
          additionalProperties:
            type: array
            description: A map of key-value pairs corresponding to the tags associated
              with the line item resource.
            readOnly: true
            items:
              type: string
              description: A map of key-value pairs corresponding to the tags associated
                with the line item resource.
              readOnly: true
          description: A map of key-value pairs corresponding to the tags associated
            with the line item resource.
          readOnly: true
        tierLowerBound:
          type: number
          description: "Lower bound for usage amount range in current SKU tier. \n\n**NOTE**:
            `lineItems[n].tierLowerBound` appears only if your `lineItems[n].sku`
            is tiered."
          format: double
          readOnly: true
        tierUpperBound:
          type: number
          description: "Upper bound for usage amount range in current SKU tier. \n\n**NOTE**:
            `lineItems[n].tierUpperBound` appears only if your `lineItems[n].sku`
            is tiered."
          format: double
          readOnly: true
        totalPriceCents:
          type: integer
          description: Sum of the cost set for this line item. MongoDB Cloud expresses
            this value in cents (100ths of one US Dollar) and calculates this value
            as `unitPriceDollars` * `quantity` * 100.
          format: int64
          readOnly: true
        unit:
          type: string
          description: Element used to express what **quantity** this line item measures.
            This value can be elements of time, storage capacity, and the like.
          readOnly: true
        unitPriceDollars:
          type: number
          description: Value per **unit** for this line item expressed in US Dollars.
          format: double
          readOnly: true
      description: One service included in this invoice.
    JournalingCommitsInWriteLockRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    JournalingMbDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    JournalingWriteDataFilesMbDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    KafkaRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    LDAPSecuritySettings:
      title: LDAP Security Settings
      type: object
      properties:
        authenticationEnabled:
          type: boolean
          description: Flag that indicates whether users can authenticate using an
            Lightweight Directory Access Protocol (LDAP) host.
        authorizationEnabled:
          type: boolean
          description: Flag that indicates whether users can authorize access to MongoDB
            Cloud resources using an Lightweight Directory Access Protocol (LDAP)
            host.
        authzQueryTemplate:
          type: string
          description: Lightweight Directory Access Protocol (LDAP) query template
            that MongoDB Cloud runs to obtain the LDAP groups associated with the
            authenticated user. MongoDB Cloud uses this parameter only for user authorization.
            Use the `{USER}` placeholder in the Uniform Resource Locator (URL) to
            substitute the authenticated username. The query relates to the host specified
            with the hostname. Format this query according to [RFC 4515](https://datatracker.ietf.org/doc/html/rfc4515)
            and [RFC 4516](https://datatracker.ietf.org/doc/html/rfc4516).
          example: "{USER}?memberOf?base"
          default: "{USER}?memberOf?base"
          x-xgen-IPA-exception:
            xgen-IPA-117-description-should-not-use-inline-links: Description has
              multiple links, and externalDocs only supports one.
        bindPassword:
          type: string
          description: Password that MongoDB Cloud uses to authenticate the `bindUsername`.
          writeOnly: true
        bindUsername:
          pattern: "^(?:(?<cn>CN=(?<name>[^,]*)),)?(?:(?<path>(?:(?:CN|OU)=[^,]+,?)+),)?(?<domain>(?:DC=[^,]+,?)+)$"
          type: string
          description: Full Distinguished Name (DN) of the Lightweight Directory Access
            Protocol (LDAP) user that MongoDB Cloud uses to connect to the LDAP host.
            LDAP distinguished names must be formatted according to RFC 2253.
          example: CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com
          externalDocs:
            description: RFC 2253
            url: https://tools.ietf.org/html/2253
        caCertificate:
          type: string
          description: 'Certificate Authority (CA) certificate that MongoDB Cloud
            uses to verify the identity of the Lightweight Directory Access Protocol
            (LDAP) host. MongoDB Cloud allows self-signed certificates. To delete
            an assigned value, pass an empty string: `"caCertificate": ""`.'
        hostname:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?$"
          type: string
          description: Human-readable label that identifies the hostname or Internet
            Protocol (IP) address of the Lightweight Directory Access Protocol (LDAP)
            host. This host must have access to the internet or have a Virtual Private
            Cloud (VPC) peering connection to your cluster.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        port:
          type: integer
          description: Port to which the Lightweight Directory Access Protocol (LDAP)
            host listens for client connections.
          format: int32
          default: 636
        userToDNMapping:
          type: array
          description: User-to-Distinguished Name (DN) map that MongoDB Cloud uses
            to transform a Lightweight Directory Access Protocol (LDAP) username into
            an LDAP DN.
          items:
            "$ref": "#/components/schemas/UserToDNMapping"
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
      description: Lightweight Directory Access Protocol (LDAP) over Transport Layer
        Security (TLS) configuration details that apply to the specified project.
    LDAPVerifyConnectivityJobRequest:
      type: object
      properties:
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            associated with this Lightweight Directory Access Protocol (LDAP) over
            Transport Layer Security (TLS) configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        request:
          "$ref": "#/components/schemas/LDAPVerifyConnectivityJobRequestParams"
        requestId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this request
            to verify an Lightweight Directory Access Protocol (LDAP) configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        status:
          type: string
          description: Human-readable string that indicates the status of the Lightweight
            Directory Access Protocol (LDAP) over Transport Layer Security (TLS) configuration.
          readOnly: true
          enum:
          - FAIL
          - PENDING
          - SUCCESS
        validations:
          type: array
          description: List that contains the validation messages related to the verification
            of the provided Lightweight Directory Access Protocol (LDAP) over Transport
            Layer Security (TLS) configuration details. The list contains a document
            for each test that MongoDB Cloud runs. MongoDB Cloud stops running tests
            after the first failure.
          readOnly: true
          items:
            "$ref": "#/components/schemas/LDAPVerifyConnectivityJobRequestValidation"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    LDAPVerifyConnectivityJobRequestParams:
      required:
      - bindPassword
      - bindUsername
      - hostname
      - port
      type: object
      properties:
        authzQueryTemplate:
          type: string
          description: |-
            Lightweight Directory Access Protocol (LDAP) query template that MongoDB Cloud applies to create an LDAP query to return the LDAP groups associated with the authenticated MongoDB user. MongoDB Cloud uses this parameter only for user authorization.

            Use the `{USER}` placeholder in the Uniform Resource Locator (URL) to substitute the authenticated username. The query relates to the host specified with the hostname. Format this query per [RFC 4515](https://datatracker.ietf.org/doc/html/rfc4515) and [RFC 4516](https://datatracker.ietf.org/doc/html/rfc4516).
          writeOnly: true
          example: "{USER}?memberOf?base"
          default: "{USER}?memberOf?base"
          x-xgen-IPA-exception:
            xgen-IPA-117-description-should-not-use-inline-links: Description has
              multiple links, and externalDocs only supports one.
        bindPassword:
          type: string
          description: Password that MongoDB Cloud uses to authenticate the `bindUsername`.
          writeOnly: true
        bindUsername:
          pattern: "^(?:(?<cn>CN=(?<name>[^,]*)),)?(?:(?<path>(?:(?:CN|OU)=[^,]+,?)+),)?(?<domain>(?:DC=[^,]+,?)+)$"
          type: string
          description: Full Distinguished Name (DN) of the Lightweight Directory Access
            Protocol (LDAP) user that MongoDB Cloud uses to connect to the LDAP host.
            LDAP distinguished names must be formatted according to RFC 2253.
          example: CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com
          externalDocs:
            description: RFC 2253
            url: https://tools.ietf.org/html/2253
        caCertificate:
          type: string
          description: 'Certificate Authority (CA) certificate that MongoDB Cloud
            uses to verify the identity of the Lightweight Directory Access Protocol
            (LDAP) host. MongoDB Cloud allows self-signed certificates. To delete
            an assigned value, pass an empty string: `"caCertificate": ""`.'
        hostname:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?$"
          type: string
          description: Human-readable label that identifies the hostname or Internet
            Protocol (IP) address of the Lightweight Directory Access Protocol (LDAP)
            host. This host must have access to the internet or have a Virtual Private
            Cloud (VPC) peering connection to your cluster.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        port:
          type: integer
          description: IANA port to which the Lightweight Directory Access Protocol
            (LDAP) host listens for client connections.
          format: int32
          default: 636
      description: Request information needed to verify an Lightweight Directory Access
        Protocol (LDAP) over Transport Layer Security (TLS) configuration. The response
        does not return the `bindPassword`.
    LDAPVerifyConnectivityJobRequestValidation:
      type: object
      properties:
        status:
          type: string
          description: Human-readable string that indicates the result of this verification
            test.
          readOnly: true
          enum:
          - FAIL
          - OK
        validationType:
          type: string
          description: Human-readable label that identifies this verification test
            that MongoDB Cloud runs.
          readOnly: true
          enum:
          - AUTHENTICATE
          - AUTHORIZATION_ENABLED
          - CONNECT
          - PARSE_AUTHZ_QUERY
          - QUERY_SERVER
          - SERVER_SPECIFIED
          - TEMPLATE
      description: One test that MongoDB Cloud runs to test verification of the provided
        Lightweight Directory Access Protocol (LDAP) over Transport Layer Security
        (TLS) configuration details.
      readOnly: true
    LegacyAtlasCluster:
      title: Cluster Description
      type: object
      properties:
        acceptDataRisksAndForceReplicaSetReconfig:
          type: string
          description: If reconfiguration is necessary to regain a primary due to
            a regional outage, submit this field alongside your topology reconfiguration
            to request a new regional outage resistant topology. Forced reconfigurations
            during an outage of the majority of electable nodes carry a risk of data
            loss if replicated writes (even majority committed writes) have not been
            replicated to the new primary node. MongoDB Atlas docs contain more information.
            To proceed with an operation which carries that risk, set `acceptDataRisksAndForceReplicaSetReconfig`
            to the current date. This parameter expresses its value in the ISO 8601
            timestamp format in UTC.
          format: date-time
          externalDocs:
            description: Reconfiguring a Replica Set during a regional outage
            url: https://dochub.mongodb.org/core/regional-outage-reconfigure-replica-set
        advancedConfiguration:
          "$ref": "#/components/schemas/ApiAtlasClusterAdvancedConfigurationView"
        autoScaling:
          "$ref": "#/components/schemas/ClusterAutoScalingSettings"
        backupEnabled:
          type: boolean
          description: Flag that indicates whether the cluster can perform backups.
            If set to `true`, the cluster can perform backups. You must set this value
            to `true` for NVMe clusters. Backup uses Cloud Backups for dedicated clusters
            and Shared Cluster Backups for tenant clusters. If set to `false`, the
            cluster doesn't use MongoDB Cloud backups.
        biConnector:
          "$ref": "#/components/schemas/BiConnector"
        clusterType:
          type: string
          description: Configuration of nodes that comprise the cluster.
          enum:
          - REPLICASET
          - SHARDED
          - GEOSHARDED
        configServerManagementMode:
          type: string
          description: Config Server Management Mode for creating or updating a sharded
            cluster. When configured as `ATLAS_MANAGED`, Atlas may automatically switch
            the cluster's config server type for optimal performance and savings.
            When configured as `FIXED_TO_DEDICATED`, the cluster will always use a
            dedicated config server.
          externalDocs:
            description: MongoDB Sharded Cluster Config Servers
            url: https://dochub.mongodb.org/docs/manual/core/sharded-cluster-config-servers
          enum:
          - ATLAS_MANAGED
          - FIXED_TO_DEDICATED
          default: ATLAS_MANAGED
        configServerType:
          type: string
          description: Describes a sharded cluster's config server type.
          readOnly: true
          externalDocs:
            description: MongoDB Sharded Cluster Config Servers
            url: https://dochub.mongodb.org/docs/manual/core/sharded-cluster-config-servers
          enum:
          - DEDICATED
          - EMBEDDED
        connectionStrings:
          "$ref": "#/components/schemas/ClusterConnectionStrings"
        createDate:
          type: string
          description: Date and time when MongoDB Cloud created this serverless instance.
            MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
          format: date-time
          readOnly: true
        deleteAfterCreationHours:
          type: integer
          description: |-
            Number of hours after cluster creation that this cluster will be automatically deleted.

            This field is used to derive `deleteAfterDate` relative to `createDate`.

            When set to null or zero on cluster creation, the cluster will not be automatically deleted.

            When set to a positive value on cluster creation, the cluster will be automatically deleted after the specified number of hours.

            When updating this field on an existing (non-deleted) cluster, and this is set to null, then existing values are preserved for this & `deleteAfterDate`.

            When updating this field on an existing (non-deleted) cluster, and this is set to zero, then `deleteAfterDate` is reset to null (disable auto deletion) regardless of previous configurations.

            When updating this field on an existing (non-deleted) cluster, and this is set to a positive value, then `createDate` + `deleteAfterCreationHours` must be later than now else the field update is ignored and existing values are preserved for this & `deleteAfterDate`.
          format: int32
        deleteAfterDate:
          type: string
          description: |-
            The date at which this cluster will be automatically deleted.

            This parameter expresses its value in the ISO 8601 timestamp format in UTC and is derived based on the `createDate` + `deleteAfterCreationHours`.
          format: date-time
          readOnly: true
        diskSizeGB:
          maximum: 4096
          minimum: 10
          type: number
          description: "Storage capacity of instance data volumes expressed in gigabytes.
            Increase this number to add capacity.\n\n This value is not configurable
            on M0/M2/M5 clusters.\n\n MongoDB Cloud requires this parameter if you
            set `replicationSpecs`.\n\n If you specify a disk size below the minimum
            (10 GB), this parameter defaults to the minimum disk size value. \n\n
            Storage charge calculations depend on whether you choose the default value
            or a custom value.\n\n The maximum value for disk storage cannot exceed
            50 times the maximum RAM for the selected cluster. If you require more
            storage space, consider upgrading your cluster to a higher tier."
          format: double
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        diskWarmingMode:
          type: string
          description: Disk warming mode selection.
          externalDocs:
            description: Reduce Secondary Disk Warming Impact
            url: https://docs.atlas.mongodb.com/reference/replica-set-tags/#reduce-secondary-disk-warming-impact
          enum:
          - FULLY_WARMED
          - VISIBLE_EARLIER
          default: FULLY_WARMED
        encryptionAtRestProvider:
          type: string
          description: 'Cloud service provider that manages your customer keys to
            provide an additional layer of encryption at rest for the cluster. To
            enable customer key management for encryption at rest, the cluster `replicationSpecs[n].regionConfigs[m].{type}Specs.instanceSize`
            setting must be `M10` or higher and `"backupEnabled" : false` or omitted
            entirely.'
          externalDocs:
            description: Encryption at Rest using Customer Key Management
            url: https://www.mongodb.com/docs/atlas/security-kms-encryption/
          enum:
          - NONE
          - AWS
          - AZURE
          - GCP
        featureCompatibilityVersion:
          type: string
          description: Feature compatibility version of the cluster.
          readOnly: true
        featureCompatibilityVersionExpirationDate:
          type: string
          description: Feature compatibility version expiration date. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        globalClusterSelfManagedSharding:
          type: boolean
          description: |-
            Set this field to configure the Sharding Management Mode when creating a new Global Cluster.

            When set to false, the management mode is set to Atlas-Managed Sharding. This mode fully manages the sharding of your Global Cluster and is built to provide a seamless deployment experience.

            When set to true, the management mode is set to Self-Managed Sharding. This mode leaves the management of shards in your hands and is built to provide an advanced and flexible deployment experience.

            This setting cannot be changed once the cluster is deployed.
          externalDocs:
            description: Creating a Global Cluster
            url: https://dochub.mongodb.org/core/global-cluster-management
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            project.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the cluster.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        labels:
          type: array
          description: |-
            Collection of key-value pairs between 1 to 255 characters in length that tag and categorize the cluster. The MongoDB Cloud console doesn't display your labels.

            Cluster labels are deprecated and will be removed in a future release. We strongly recommend that you use Resource Tags instead.
          externalDocs:
            description: Resource Tags
            url: https://dochub.mongodb.org/core/add-cluster-tag-atlas
          deprecated: true
          items:
            "$ref": "#/components/schemas/ComponentLabel"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        mongoDBEmployeeAccessGrant:
          "$ref": "#/components/schemas/EmployeeAccessGrantView"
        mongoDBMajorVersion:
          type: string
          description: |-
            MongoDB major version of the cluster.

            On creation: Choose from the available versions of MongoDB, or leave unspecified for the current recommended default in the MongoDB Cloud platform. The recommended version is a recent Long Term Support version. The default is not guaranteed to be the most recently released version throughout the entire release cycle. For versions available in a specific project, see the linked documentation or use the API endpoint for [project LTS versions endpoint](#tag/Projects/operation/getProjectLTSVersions).

             On update: Increase version only by 1 major version at a time. If the cluster is pinned to a MongoDB feature compatibility version exactly one major version below the current MongoDB version, the MongoDB version can be downgraded to the previous major version.
          example: '5.0'
          externalDocs:
            description: Available MongoDB Versions in Atlas
            url: https://www.mongodb.com/docs/atlas/reference/faq/database/#which-versions-of-mongodb-do-service-clusters-use-
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
            xgen-IPA-117-description-should-not-use-inline-links: Description has
              multiple links, and externalDocs only supports one.
        mongoDBVersion:
          pattern: "([\\d]+\\.[\\d]+\\.[\\d]+)"
          type: string
          description: Version of MongoDB that the cluster runs.
          example: 5.0.25
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        mongoURI:
          type: string
          description: Base connection string that you can use to connect to the cluster.
            MongoDB Cloud displays the string only after the cluster starts, not while
            it builds the cluster.
          readOnly: true
          externalDocs:
            description: Connection string URI format.
            url: https://docs.mongodb.com/manual/reference/connection-string/
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        mongoURIUpdated:
          type: string
          description: Date and time when someone last updated the connection string.
            MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
          format: date-time
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        mongoURIWithOptions:
          type: string
          description: Connection string that you can use to connect to the cluster
            including the `replicaSet`, `ssl`, and `authSource` query parameters with
            values appropriate for the cluster. You may need to add MongoDB database
            users. The response returns this parameter once the cluster can receive
            requests, not while it builds the cluster.
          readOnly: true
          externalDocs:
            description: Connection string URI format.
            url: https://docs.mongodb.com/manual/reference/connection-string/
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        name:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the cluster.
        numShards:
          maximum: 50
          minimum: 1
          type: integer
          description: Number of shards up to 50 to deploy for a sharded cluster.
            The resource returns `1` to indicate a replica set and values of `2` and
            higher to indicate a sharded cluster. The returned value equals the number
            of shards in the cluster.
          format: int32
          externalDocs:
            description: Sharding
            url: https://docs.mongodb.com/manual/sharding/
          default: 1
        paused:
          type: boolean
          description: Flag that indicates whether the cluster is paused.
        pitEnabled:
          type: boolean
          description: Flag that indicates whether the cluster uses continuous cloud
            backups.
          externalDocs:
            description: Continuous Cloud Backups
            url: https://docs.atlas.mongodb.com/backup/cloud-backup/overview/
        providerBackupEnabled:
          type: boolean
          description: Flag that indicates whether the M10 or higher cluster can perform
            Cloud Backups. If set to `true`, the cluster can perform backups. If this
            and `backupEnabled` are set to `false`, the cluster doesn't use MongoDB
            Cloud backups.
        providerSettings:
          "$ref": "#/components/schemas/ClusterProviderSettings"
        replicaSetScalingStrategy:
          type: string
          description: |-
            Set this field to configure the replica set scaling mode for your cluster.

            By default, Atlas scales under `WORKLOAD_TYPE`. This mode allows Atlas to scale your analytics nodes in parallel to your operational nodes.

            When configured as `SEQUENTIAL`, Atlas scales all nodes sequentially. This mode is intended for steady-state workloads and applications performing latency-sensitive secondary reads.

            When configured as `NODE_TYPE`, Atlas scales your electable nodes in parallel with your read-only and analytics nodes. This mode is intended for large, dynamic workloads requiring frequent and timely cluster tier scaling. This is the fastest scaling strategy, but it might impact latency of workloads when performing extensive secondary reads.
          externalDocs:
            description: Modify the Replica Set Scaling Mode
            url: https://dochub.mongodb.org/core/scale-nodes
          enum:
          - SEQUENTIAL
          - WORKLOAD_TYPE
          - NODE_TYPE
          default: WORKLOAD_TYPE
        replicationFactor:
          type: integer
          description: Number of members that belong to the replica set. Each member
            retains a copy of your databases, providing high availability and data
            redundancy. Use `replicationSpecs` instead.
          format: int32
          deprecated: true
          enum:
          - 3
          - 5
          - 7
          default: 3
        replicationSpec:
          title: Region Configuration
          type: object
          additionalProperties:
            "$ref": "#/components/schemas/RegionSpec"
          description: Physical location where MongoDB Cloud provisions cluster nodes.
        replicationSpecs:
          type: array
          description: |-
            List of settings that configure your cluster regions.

            - For Global Clusters, each object in the array represents one zone where MongoDB Cloud deploys your clusters nodes.
            - For non-Global sharded clusters and replica sets, the single object represents where MongoDB Cloud deploys your clusters nodes.
          items:
            "$ref": "#/components/schemas/LegacyReplicationSpec"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        rootCertType:
          type: string
          description: Root Certificate Authority that MongoDB Atlas cluster uses.
            MongoDB Cloud supports Internet Security Research Group.
          enum:
          - ISRGROOTX1
          default: ISRGROOTX1
        srvAddress:
          type: string
          description: Connection string that you can use to connect to the cluster.
            The `+srv` modifier forces the connection to use Transport Layer Security
            (TLS). The `mongoURI` parameter lists additional options.
          readOnly: true
          externalDocs:
            description: Connection string URI format.
            url: https://docs.mongodb.com/manual/reference/connection-string/
        stateName:
          type: string
          description: |-
            Human-readable label that indicates any current activity being taken on this cluster by the Atlas control plane. With the exception of CREATING and DELETING states, clusters should always be available and have a Primary node even when in states indicating ongoing activity.

             - `IDLE`: Atlas is making no changes to this cluster and all changes requested via the UI or API can be assumed to have been applied.
             - `CREATING`: A cluster being provisioned for the very first time returns state CREATING until it is ready for connections. Ensure IP Access List and DB Users are configured before attempting to connect.
             - `UPDATING`: A change requested via the UI, API, AutoScaling, or other scheduled activity is taking place.
             - `DELETING`: The cluster is in the process of deletion and will soon be deleted.
             - `REPAIRING`: One or more nodes in the cluster are being returned to service by the Atlas control plane. Other nodes should continue to provide service as normal.
          readOnly: true
          enum:
          - IDLE
          - CREATING
          - UPDATING
          - DELETING
          - REPAIRING
        tags:
          type: array
          description: List that contains key-value pairs between 1 to 255 characters
            in length for tagging and categorizing the cluster.
          externalDocs:
            description: Resource Tags
            url: https://dochub.mongodb.org/core/add-cluster-tag-atlas
          items:
            "$ref": "#/components/schemas/ResourceTag"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        terminationProtectionEnabled:
          type: boolean
          description: Flag that indicates whether termination protection is enabled
            on the cluster. If set to `true`, MongoDB Cloud won't delete the cluster.
            If set to `false`, MongoDB Cloud will delete the cluster.
          default: false
        versionReleaseSystem:
          type: string
          description: Method by which the cluster maintains the MongoDB versions.
            If value is `CONTINUOUS`, you must not specify `mongoDBMajorVersion`.
          enum:
          - LTS
          - CONTINUOUS
          default: LTS
      description: Group of settings that configure a MongoDB cluster.
    LegacyAtlasTenantClusterUpgradeRequest:
      title: Tenant Cluster Upgrade Request
      required:
      - name
      type: object
      properties:
        acceptDataRisksAndForceReplicaSetReconfig:
          type: string
          description: If reconfiguration is necessary to regain a primary due to
            a regional outage, submit this field alongside your topology reconfiguration
            to request a new regional outage resistant topology. Forced reconfigurations
            during an outage of the majority of electable nodes carry a risk of data
            loss if replicated writes (even majority committed writes) have not been
            replicated to the new primary node. MongoDB Atlas docs contain more information.
            To proceed with an operation which carries that risk, set `acceptDataRisksAndForceReplicaSetReconfig`
            to the current date. This parameter expresses its value in the ISO 8601
            timestamp format in UTC.
          format: date-time
          externalDocs:
            description: Reconfiguring a Replica Set during a regional outage
            url: https://dochub.mongodb.org/core/regional-outage-reconfigure-replica-set
        advancedConfiguration:
          "$ref": "#/components/schemas/ApiAtlasClusterAdvancedConfigurationView"
        autoScaling:
          "$ref": "#/components/schemas/ClusterAutoScalingSettings"
        backupEnabled:
          type: boolean
          description: Flag that indicates whether the cluster can perform backups.
            If set to `true`, the cluster can perform backups. You must set this value
            to `true` for NVMe clusters. Backup uses Cloud Backups for dedicated clusters
            and Shared Cluster Backups for tenant clusters. If set to `false`, the
            cluster doesn't use MongoDB Cloud backups.
        biConnector:
          "$ref": "#/components/schemas/BiConnector"
        clusterType:
          type: string
          description: Configuration of nodes that comprise the cluster.
          enum:
          - REPLICASET
          - SHARDED
          - GEOSHARDED
        configServerManagementMode:
          type: string
          description: Config Server Management Mode for creating or updating a sharded
            cluster. When configured as `ATLAS_MANAGED`, Atlas may automatically switch
            the cluster's config server type for optimal performance and savings.
            When configured as `FIXED_TO_DEDICATED`, the cluster will always use a
            dedicated config server.
          externalDocs:
            description: MongoDB Sharded Cluster Config Servers
            url: https://dochub.mongodb.org/docs/manual/core/sharded-cluster-config-servers
          enum:
          - ATLAS_MANAGED
          - FIXED_TO_DEDICATED
          default: ATLAS_MANAGED
        configServerType:
          type: string
          description: Describes a sharded cluster's config server type.
          readOnly: true
          externalDocs:
            description: MongoDB Sharded Cluster Config Servers
            url: https://dochub.mongodb.org/docs/manual/core/sharded-cluster-config-servers
          enum:
          - DEDICATED
          - EMBEDDED
        connectionStrings:
          "$ref": "#/components/schemas/ClusterConnectionStrings"
        createDate:
          type: string
          description: Date and time when MongoDB Cloud created this serverless instance.
            MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
          format: date-time
          readOnly: true
        deleteAfterCreationHours:
          type: integer
          description: |-
            Number of hours after cluster creation that this cluster will be automatically deleted.

            This field is used to derive `deleteAfterDate` relative to `createDate`.

            When set to null or zero on cluster creation, the cluster will not be automatically deleted.

            When set to a positive value on cluster creation, the cluster will be automatically deleted after the specified number of hours.

            When updating this field on an existing (non-deleted) cluster, and this is set to null, then existing values are preserved for this & `deleteAfterDate`.

            When updating this field on an existing (non-deleted) cluster, and this is set to zero, then `deleteAfterDate` is reset to null (disable auto deletion) regardless of previous configurations.

            When updating this field on an existing (non-deleted) cluster, and this is set to a positive value, then `createDate` + `deleteAfterCreationHours` must be later than now else the field update is ignored and existing values are preserved for this & `deleteAfterDate`.
          format: int32
        deleteAfterDate:
          type: string
          description: |-
            The date at which this cluster will be automatically deleted.

            This parameter expresses its value in the ISO 8601 timestamp format in UTC and is derived based on the `createDate` + `deleteAfterCreationHours`.
          format: date-time
          readOnly: true
        diskSizeGB:
          maximum: 4096
          minimum: 10
          type: number
          description: "Storage capacity of instance data volumes expressed in gigabytes.
            Increase this number to add capacity.\n\n This value is not configurable
            on M0/M2/M5 clusters.\n\n MongoDB Cloud requires this parameter if you
            set `replicationSpecs`.\n\n If you specify a disk size below the minimum
            (10 GB), this parameter defaults to the minimum disk size value. \n\n
            Storage charge calculations depend on whether you choose the default value
            or a custom value.\n\n The maximum value for disk storage cannot exceed
            50 times the maximum RAM for the selected cluster. If you require more
            storage space, consider upgrading your cluster to a higher tier."
          format: double
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        diskWarmingMode:
          type: string
          description: Disk warming mode selection.
          externalDocs:
            description: Reduce Secondary Disk Warming Impact
            url: https://docs.atlas.mongodb.com/reference/replica-set-tags/#reduce-secondary-disk-warming-impact
          enum:
          - FULLY_WARMED
          - VISIBLE_EARLIER
          default: FULLY_WARMED
        encryptionAtRestProvider:
          type: string
          description: 'Cloud service provider that manages your customer keys to
            provide an additional layer of encryption at rest for the cluster. To
            enable customer key management for encryption at rest, the cluster `replicationSpecs[n].regionConfigs[m].{type}Specs.instanceSize`
            setting must be `M10` or higher and `"backupEnabled" : false` or omitted
            entirely.'
          externalDocs:
            description: Encryption at Rest using Customer Key Management
            url: https://www.mongodb.com/docs/atlas/security-kms-encryption/
          enum:
          - NONE
          - AWS
          - AZURE
          - GCP
        featureCompatibilityVersion:
          type: string
          description: Feature compatibility version of the cluster.
          readOnly: true
        featureCompatibilityVersionExpirationDate:
          type: string
          description: Feature compatibility version expiration date. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        globalClusterSelfManagedSharding:
          type: boolean
          description: |-
            Set this field to configure the Sharding Management Mode when creating a new Global Cluster.

            When set to false, the management mode is set to Atlas-Managed Sharding. This mode fully manages the sharding of your Global Cluster and is built to provide a seamless deployment experience.

            When set to true, the management mode is set to Self-Managed Sharding. This mode leaves the management of shards in your hands and is built to provide an advanced and flexible deployment experience.

            This setting cannot be changed once the cluster is deployed.
          externalDocs:
            description: Creating a Global Cluster
            url: https://dochub.mongodb.org/core/global-cluster-management
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            project.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the cluster.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        labels:
          type: array
          description: |-
            Collection of key-value pairs between 1 to 255 characters in length that tag and categorize the cluster. The MongoDB Cloud console doesn't display your labels.

            Cluster labels are deprecated and will be removed in a future release. We strongly recommend that you use Resource Tags instead.
          externalDocs:
            description: Resource Tags
            url: https://dochub.mongodb.org/core/add-cluster-tag-atlas
          deprecated: true
          items:
            "$ref": "#/components/schemas/ComponentLabel"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        mongoDBEmployeeAccessGrant:
          "$ref": "#/components/schemas/EmployeeAccessGrantView"
        mongoDBMajorVersion:
          type: string
          description: |-
            MongoDB major version of the cluster.

            On creation: Choose from the available versions of MongoDB, or leave unspecified for the current recommended default in the MongoDB Cloud platform. The recommended version is a recent Long Term Support version. The default is not guaranteed to be the most recently released version throughout the entire release cycle. For versions available in a specific project, see the linked documentation or use the API endpoint for [project LTS versions endpoint](#tag/Projects/operation/getProjectLTSVersions).

             On update: Increase version only by 1 major version at a time. If the cluster is pinned to a MongoDB feature compatibility version exactly one major version below the current MongoDB version, the MongoDB version can be downgraded to the previous major version.
          example: '5.0'
          externalDocs:
            description: Available MongoDB Versions in Atlas
            url: https://www.mongodb.com/docs/atlas/reference/faq/database/#which-versions-of-mongodb-do-service-clusters-use-
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
            xgen-IPA-117-description-should-not-use-inline-links: Description has
              multiple links, and externalDocs only supports one.
        mongoDBVersion:
          pattern: "([\\d]+\\.[\\d]+\\.[\\d]+)"
          type: string
          description: Version of MongoDB that the cluster runs.
          example: 5.0.25
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        mongoURI:
          type: string
          description: Base connection string that you can use to connect to the cluster.
            MongoDB Cloud displays the string only after the cluster starts, not while
            it builds the cluster.
          readOnly: true
          externalDocs:
            description: Connection string URI format.
            url: https://docs.mongodb.com/manual/reference/connection-string/
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        mongoURIUpdated:
          type: string
          description: Date and time when someone last updated the connection string.
            MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
          format: date-time
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        mongoURIWithOptions:
          type: string
          description: Connection string that you can use to connect to the cluster
            including the `replicaSet`, `ssl`, and `authSource` query parameters with
            values appropriate for the cluster. You may need to add MongoDB database
            users. The response returns this parameter once the cluster can receive
            requests, not while it builds the cluster.
          readOnly: true
          externalDocs:
            description: Connection string URI format.
            url: https://docs.mongodb.com/manual/reference/connection-string/
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        name:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the cluster.
        numShards:
          maximum: 50
          minimum: 1
          type: integer
          description: Number of shards up to 50 to deploy for a sharded cluster.
            The resource returns `1` to indicate a replica set and values of `2` and
            higher to indicate a sharded cluster. The returned value equals the number
            of shards in the cluster.
          format: int32
          externalDocs:
            description: Sharding
            url: https://docs.mongodb.com/manual/sharding/
          default: 1
        paused:
          type: boolean
          description: Flag that indicates whether the cluster is paused.
        pitEnabled:
          type: boolean
          description: Flag that indicates whether the cluster uses continuous cloud
            backups.
          externalDocs:
            description: Continuous Cloud Backups
            url: https://docs.atlas.mongodb.com/backup/cloud-backup/overview/
        providerBackupEnabled:
          type: boolean
          description: Flag that indicates whether the M10 or higher cluster can perform
            Cloud Backups. If set to `true`, the cluster can perform backups. If this
            and `backupEnabled` are set to `false`, the cluster doesn't use MongoDB
            Cloud backups.
        providerSettings:
          "$ref": "#/components/schemas/ClusterProviderSettings"
        replicaSetScalingStrategy:
          type: string
          description: |-
            Set this field to configure the replica set scaling mode for your cluster.

            By default, Atlas scales under `WORKLOAD_TYPE`. This mode allows Atlas to scale your analytics nodes in parallel to your operational nodes.

            When configured as `SEQUENTIAL`, Atlas scales all nodes sequentially. This mode is intended for steady-state workloads and applications performing latency-sensitive secondary reads.

            When configured as `NODE_TYPE`, Atlas scales your electable nodes in parallel with your read-only and analytics nodes. This mode is intended for large, dynamic workloads requiring frequent and timely cluster tier scaling. This is the fastest scaling strategy, but it might impact latency of workloads when performing extensive secondary reads.
          externalDocs:
            description: Modify the Replica Set Scaling Mode
            url: https://dochub.mongodb.org/core/scale-nodes
          enum:
          - SEQUENTIAL
          - WORKLOAD_TYPE
          - NODE_TYPE
          default: WORKLOAD_TYPE
        replicationFactor:
          type: integer
          description: Number of members that belong to the replica set. Each member
            retains a copy of your databases, providing high availability and data
            redundancy. Use `replicationSpecs` instead.
          format: int32
          deprecated: true
          enum:
          - 3
          - 5
          - 7
          default: 3
        replicationSpec:
          title: Region Configuration
          type: object
          additionalProperties:
            "$ref": "#/components/schemas/RegionSpec"
          description: Physical location where MongoDB Cloud provisions cluster nodes.
        replicationSpecs:
          type: array
          description: |-
            List of settings that configure your cluster regions.

            - For Global Clusters, each object in the array represents one zone where MongoDB Cloud deploys your clusters nodes.
            - For non-Global sharded clusters and replica sets, the single object represents where MongoDB Cloud deploys your clusters nodes.
          items:
            "$ref": "#/components/schemas/LegacyReplicationSpec"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        rootCertType:
          type: string
          description: Root Certificate Authority that MongoDB Atlas cluster uses.
            MongoDB Cloud supports Internet Security Research Group.
          enum:
          - ISRGROOTX1
          default: ISRGROOTX1
        srvAddress:
          type: string
          description: Connection string that you can use to connect to the cluster.
            The `+srv` modifier forces the connection to use Transport Layer Security
            (TLS). The `mongoURI` parameter lists additional options.
          readOnly: true
          externalDocs:
            description: Connection string URI format.
            url: https://docs.mongodb.com/manual/reference/connection-string/
        stateName:
          type: string
          description: |-
            Human-readable label that indicates any current activity being taken on this cluster by the Atlas control plane. With the exception of CREATING and DELETING states, clusters should always be available and have a Primary node even when in states indicating ongoing activity.

             - `IDLE`: Atlas is making no changes to this cluster and all changes requested via the UI or API can be assumed to have been applied.
             - `CREATING`: A cluster being provisioned for the very first time returns state CREATING until it is ready for connections. Ensure IP Access List and DB Users are configured before attempting to connect.
             - `UPDATING`: A change requested via the UI, API, AutoScaling, or other scheduled activity is taking place.
             - `DELETING`: The cluster is in the process of deletion and will soon be deleted.
             - `REPAIRING`: One or more nodes in the cluster are being returned to service by the Atlas control plane. Other nodes should continue to provide service as normal.
          readOnly: true
          enum:
          - IDLE
          - CREATING
          - UPDATING
          - DELETING
          - REPAIRING
        tags:
          type: array
          description: List that contains key-value pairs between 1 to 255 characters
            in length for tagging and categorizing the cluster.
          externalDocs:
            description: Resource Tags
            url: https://dochub.mongodb.org/core/add-cluster-tag-atlas
          items:
            "$ref": "#/components/schemas/ResourceTag"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        terminationProtectionEnabled:
          type: boolean
          description: Flag that indicates whether termination protection is enabled
            on the cluster. If set to `true`, MongoDB Cloud won't delete the cluster.
            If set to `false`, MongoDB Cloud will delete the cluster.
          default: false
        versionReleaseSystem:
          type: string
          description: Method by which the cluster maintains the MongoDB versions.
            If value is `CONTINUOUS`, you must not specify `mongoDBMajorVersion`.
          enum:
          - LTS
          - CONTINUOUS
          default: LTS
      description: Request containing target state of tenant cluster to be upgraded.
    LegacyRegionsConfig:
      title: Region Configuration
      type: object
      additionalProperties:
        "$ref": "#/components/schemas/RegionSpec"
      description: Physical location where MongoDB Cloud provisions cluster nodes.
    LegacyReplicationSpec:
      type: object
      properties:
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: |-
            Unique 24-hexadecimal digit string that identifies the replication object for a zone in a Global Cluster.

            - If you include existing zones in the request, you must specify this parameter.

            - If you add a new zone to an existing Global Cluster, you may specify this parameter. The request deletes any existing zones in a Global Cluster that you exclude from the request.
          example: 32b6e34b3d91647abb20e7b8
        numShards:
          type: integer
          description: |-
            Positive integer that specifies the number of shards to deploy in each specified zone If you set this value to `1` and `clusterType` is `SHARDED`, MongoDB Cloud deploys a single-shard sharded cluster. Don't create a sharded cluster with a single shard for production environments. Single-shard sharded clusters don't provide the same benefits as multi-shard configurations.

             If you are upgrading a replica set to a sharded cluster, you cannot increase the number of shards in the same update request.  You should wait until after the cluster has completed upgrading to sharded and you have reconnected all application clients to the MongoDB router before adding additional shards. Otherwise, your data might become inconsistent once MongoDB Cloud begins distributing data across shards.
          format: int32
          default: 1
        regionsConfig:
          "$ref": "#/components/schemas/LegacyRegionsConfig"
        zoneName:
          type: string
          description: Human-readable label that identifies the zone in a Global Cluster.
            Provide this value only if `clusterType` is `GEOSHARDED`.
    LessThanDaysThresholdView:
      type: object
      properties:
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
        threshold:
          type: integer
          description: Value of metric that, when exceeded, triggers an alert.
          format: int32
        units:
          type: string
          description: Element used to express the quantity. This can be an element
            of time, storage capacity, and the like.
          enum:
          - DAYS
      description: Threshold value that triggers an alert.
    LessThanTimeThreshold:
      title: Less Than Time Threshold
      type: object
      properties:
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
        threshold:
          type: integer
          description: Value of metric that, when exceeded, triggers an alert.
          format: int32
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
      description: A Limit that triggers an alert when less than a time period.
    LessThanTimeThresholdAlertConfigViewForNdsGroup:
      required:
      - eventTypeName
      - notifications
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created the alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled this alert configuration
            for the specified project.
          default: false
        eventTypeName:
          "$ref": "#/components/schemas/ReplicaSetEventTypeViewForNdsGroupAlertableWithThreshold"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert
            configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        matchers:
          type: array
          description: List of rules that determine whether MongoDB Cloud checks an
            object for the alert configuration. You can filter using the matchers
            array if the `eventTypeName` specifies an event for a host, replica set,
            or sharded cluster.
          items:
            "$ref": "#/components/schemas/ReplicaSetMatcher"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        notifications:
          maxItems: 25
          minItems: 1
          type: array
          description: List that contains the targets that MongoDB Cloud sends notifications.
          items:
            "$ref": "#/components/schemas/AlertsNotificationRootForGroup"
        severityOverride:
          "$ref": "#/components/schemas/EventSeverity"
        threshold:
          "$ref": "#/components/schemas/LessThanTimeThreshold"
        updated:
          type: string
          description: Date and time when someone last updated this alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
    Link:
      type: object
      properties:
        href:
          type: string
          description: Uniform Resource Locator (URL) that points another API resource
            to which this response has some relationship. This URL often begins with
            `https://cloud.mongodb.com/api/atlas`.
          example: https://cloud.mongodb.com/api/atlas
        rel:
          type: string
          description: Uniform Resource Locator (URL) that defines the semantic relationship
            between this resource and another API resource. This URL often begins
            with `https://cloud.mongodb.com/api/atlas`.
          example: self
    Link_Atlas:
      type: object
      properties:
        href:
          type: string
          description: Uniform Resource Locator (URL) that points another API resource
            to which this response has some relationship. This URL often begins with
            `https://cloud.mongodb.com/api/atlas`.
          example: https://cloud.mongodb.com/api/atlas
        rel:
          type: string
          description: Uniform Resource Locator (URL) that defines the semantic relationship
            between this resource and another API resource. This URL often begins
            with `https://cloud.mongodb.com/api/atlas`.
          example: self
    LiveImportAvailableProject:
      required:
      - deployments
      - migrationHosts
      - name
      - projectId
      type: object
      properties:
        deployments:
          type: array
          description: List of clusters that can be migrated to MongoDB Cloud.
          items:
            "$ref": "#/components/schemas/AvailableClustersDeployment"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        migrationHosts:
          type: array
          description: Hostname of MongoDB Agent list that you configured to perform
            a migration.
          items:
            type: string
            description: Hostname of MongoDB Agent that you configured to perform
              a migration.
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        name:
          maxLength: 64
          minLength: 1
          type: string
          description: Human-readable label that identifies this project.
          readOnly: true
        projectId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            to be migrated.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-112-avoid-project-field-names: Schema predates IPA validation.
    LiveImportValidation:
      type: object
      properties:
        _id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the validation.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        errorMessage:
          type: string
          description: Reason why the validation job failed.
          nullable: true
          readOnly: true
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            to validate.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        sourceGroupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the source
            project.
          example: 32b6e34b3d91647abb20e7b8
        status:
          type: string
          description: State of the specified validation job returned at the time
            of the request.
          nullable: true
          readOnly: true
          enum:
          - PENDING
          - SUCCESS
          - FAILED
    LiveMigrationRequest:
      required:
      - destination
      - dropEnabled
      - migrationHosts
      - source
      type: object
      properties:
        _id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the migration
            request.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        destination:
          "$ref": "#/components/schemas/Destination"
        dropEnabled:
          type: boolean
          description: Flag that indicates whether the migration process drops all
            collections from the destination cluster before the migration starts.
          writeOnly: true
        migrationHosts:
          maxItems: 1
          minItems: 1
          type: array
          description: List of migration hosts used for this migration.
          items:
            type: string
            example: vm001.example.com
        sharding:
          "$ref": "#/components/schemas/ShardingRequest"
        source:
          "$ref": "#/components/schemas/Source"
    LiveMigrationResponse:
      type: object
      properties:
        _id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the migration
            job.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        lagTimeSeconds:
          type: integer
          description: Replication lag between the source and destination clusters.
            Atlas returns this setting only during an active migration, before the
            cutover phase.
          format: int64
          nullable: true
          readOnly: true
        migrationHosts:
          type: array
          description: List of hosts running MongoDB Agents. These Agents can transfer
            your MongoDB data between one source and one destination cluster.
          readOnly: true
          items:
            pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?$"
            type: string
            description: One host running a MongoDB Agent. This Agent can transfer
              your MongoDB data between one source and one destination cluster.
            example: vm001.example.com
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        readyForCutover:
          type: boolean
          description: Flag that indicates the migrated cluster can be cut over to
            MongoDB Atlas.
          readOnly: true
        status:
          type: string
          description: |-
            Progress made in migrating one cluster to MongoDB Atlas.

            `NEW`: Someone scheduled a local cluster migration to MongoDB Atlas.

            `FAILED`: The cluster migration to MongoDB Atlas failed.

            `COMPLETE`: The cluster migration to MongoDB Atlas succeeded.

            `EXPIRED`: MongoDB Atlas prepares to begin the cut over of the migrating cluster when source and destination clusters have almost synchronized. If `"readyForCutover" : true`, this synchronization starts a timer of 120 hours. You can extend this timer. If the timer expires, MongoDB Atlas returns this status.

            `WORKING`: The cluster migration to MongoDB Atlas is performing one of the following tasks:

            - Preparing connections to source and destination clusters.
            - Replicating data from source to destination.
            - Verifying MongoDB Atlas connection settings.
            - Stopping replication after the cut over.
          readOnly: true
          enum:
          - NEW
          - WORKING
          - FAILED
          - COMPLETE
          - EXPIRED
    LogicalSizeDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    ManagedNamespaces:
      required:
      - collection
      - customShardKey
      - db
      type: object
      properties:
        collection:
          type: string
          description: Human-readable label of the collection to manage for this Global
            Cluster.
        customShardKey:
          type: string
          description: Database parameter used to divide the *collection* into shards.
            Global clusters require a compound shard key. This compound shard key
            combines the location parameter and the user-selected custom key.
        db:
          type: string
          description: Human-readable label of the database to manage for this Global
            Cluster.
        isCustomShardKeyHashed:
          type: boolean
          description: Flag that indicates whether someone hashed the custom shard
            key for the specified collection. If you set this value to `false`, MongoDB
            Cloud uses ranged sharding.
          externalDocs:
            description: Hashed Shard Keys
            url: https://www.mongodb.com/docs/manual/reference/method/sh.shardCollection/#hashed-shard-keys
          default: false
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        isShardKeyUnique:
          type: boolean
          description: Flag that indicates whether someone [hashed](https://www.mongodb.com/docs/manual/reference/method/sh.shardCollection/#hashed-shard-keys)
            the custom shard key. If this parameter returns `false`, this cluster
            uses [ranged sharding](https://www.mongodb.com/docs/manual/core/ranged-sharding/).
          default: false
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
            xgen-IPA-117-description-should-not-use-inline-links: Description has
              multiple links, and externalDocs only supports one.
        numInitialChunks:
          maximum: 8192
          type: integer
          description: Minimum number of chunks to create initially when sharding
            an empty collection with a [hashed shard key](https://www.mongodb.com/docs/manual/core/hashed-sharding/).
          format: int64
          externalDocs:
            description: Global Cluster Sharding
            url: https://www.mongodb.com/docs/atlas/shard-global-collection/
          x-xgen-IPA-exception:
            xgen-IPA-117-description-should-not-use-inline-links: Description has
              multiple links, and externalDocs only supports one.
        presplitHashedZones:
          type: boolean
          description: Flag that indicates whether MongoDB Cloud should create and
            distribute initial chunks for an empty or non-existing collection. MongoDB
            Cloud distributes data based on the defined zones and zone ranges for
            the collection.
          externalDocs:
            description: Hashed Shard Key
            url: https://www.mongodb.com/docs/manual/core/hashed-sharding/
          default: false
    MatcherFieldView:
      type: object
      oneOf:
      - title: App Services Metric Matcher Fields
        type: string
        enum:
        - APPLICATION_ID
      - title: Cluster Matcher Fields
        type: string
        enum:
        - CLUSTER_NAME
      - title: Host Matcher Fields
        type: string
        enum:
        - TYPE_NAME
        - HOSTNAME
        - PORT
        - HOSTNAME_AND_PORT
        - REPLICA_SET_NAME
      - title: Replica Set Matcher Fields
        type: string
        enum:
        - REPLICA_SET_NAME
        - SHARD_NAME
        - CLUSTER_NAME
      - title: Streams Matcher Fields
        type: string
        enum:
        - INSTANCE_NAME
        - PROCESSOR_NAME
      - title: Log Ingestion Matcher Fields
        type: string
        enum:
        - RULE_ID
      - title: Global Software Type Matcher Fields
        type: string
        enum:
        - SOFTWARE_TYPE
    MatcherHostType:
      title: Matcher Host Types
      type: string
      description: Value to match or exceed using the specified `matchers.operator`.
      example: STANDALONE
      enum:
      - STANDALONE
      - PRIMARY
      - SECONDARY
      - ARBITER
      - MONGOS
      - CONFIG
      - MONGOT
    MaxDiskPartitionQueueDepthDataRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MaxDiskPartitionQueueDepthIndexRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MaxDiskPartitionQueueDepthJournalRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MaxDiskPartitionReadIopsDataRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MaxDiskPartitionReadIopsIndexRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MaxDiskPartitionReadIopsJournalRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MaxDiskPartitionReadLatencyDataTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    MaxDiskPartitionReadLatencyIndexTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    MaxDiskPartitionReadLatencyJournalTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    MaxDiskPartitionSpaceUsedDataRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MaxDiskPartitionSpaceUsedIndexRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MaxDiskPartitionSpaceUsedJournalRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MaxDiskPartitionWriteIopsDataRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MaxDiskPartitionWriteIopsIndexRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MaxDiskPartitionWriteIopsJournalRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MaxDiskPartitionWriteLatencyDataTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    MaxDiskPartitionWriteLatencyIndexTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    MaxDiskPartitionWriteLatencyJournalTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    MaxNormalizedSystemCpuStealRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MaxNormalizedSystemCpuUserRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MaxSwapUsageFreeDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    MaxSwapUsageUsedDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    MaxSystemMemoryAvailableDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    MaxSystemMemoryPercentUsedRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MaxSystemMemoryUsedDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    MaxSystemNetworkInDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    MaxSystemNetworkOutDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    MeasurementDiskPartition:
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        partitionName:
          type: string
          description: Human-readable label of the disk or partition to which the
            measurements apply.
          readOnly: true
    MeasurementsIndexes:
      type: object
      properties:
        collectionName:
          type: string
          description: Human-readable label that identifies the collection.
          readOnly: true
        databaseName:
          type: string
          description: Human-readable label that identifies the database that the
            specified MongoDB process serves.
          readOnly: true
        end:
          type: string
          description: Date and time that specifies when to stop retrieving measurements.
            If you set **end**, you must set **start**. You can't set this parameter
            and **period** in the same request. This parameter expresses its value
            in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        granularity:
          type: string
          description: Duration that specifies the interval between measurement data
            points. The parameter expresses its value in ISO 8601 timestamp format
            in UTC. If you set this parameter, you must set either **period** or **start**
            and **end**.
          readOnly: true
          enum:
          - PT1M
          - PT5M
          - PT1H
          - P1D
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project.
            The project contains MongoDB processes that you want to return. The MongoDB
            process can be either the `mongod` or `mongos`.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        indexIds:
          type: array
          description: List that contains the Atlas Search index identifiers.
          readOnly: true
          items:
            type: string
            description: Unique 24-hexadecimal digit string that identifies the index.
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        indexStatsMeasurements:
          type: array
          description: List that contains the Atlas Search index stats measurements.
          readOnly: true
          items:
            "$ref": "#/components/schemas/MetricsMeasurement"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        processId:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\\:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?(\\:[0-9]{4,5})$"
          type: string
          description: Combination of hostname and Internet Assigned Numbers Authority
            (IANA) port that serves the MongoDB process. The host must be the hostname,
            fully qualified domain name (FQDN), or Internet Protocol address (IPv4
            or IPv6) of the host that runs the MongoDB process (`mongod` or `mongos`).
            The port must be the IANA port on which the MongoDB process listens for
            requests.
          readOnly: true
          example: mongodb.example.com:27017
        start:
          type: string
          description: Date and time that specifies when to start retrieving measurements.
            If you set **start**, you must set **end**. You can't set this parameter
            and **period** in the same request. This parameter expresses its value
            in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
    MeasurementsNonIndex:
      type: object
      properties:
        end:
          type: string
          description: Date and time that specifies when to stop retrieving measurements.
            If you set **end**, you must set **start**. You can't set this parameter
            and **period** in the same request. This parameter expresses its value
            in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        granularity:
          type: string
          description: Duration that specifies the interval between measurement data
            points. The parameter expresses its value in ISO 8601 timestamp format
            in UTC. If you set this parameter, you must set either **period** or **start**
            and **end**.
          readOnly: true
          enum:
          - PT1M
          - PT5M
          - PT1H
          - P1D
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project.
            The project contains MongoDB processes that you want to return. The MongoDB
            process can be either the `mongod` or `mongos`.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        hardwareMeasurements:
          type: array
          description: List that contains the Atlas Search hardware measurements.
          readOnly: true
          items:
            "$ref": "#/components/schemas/MetricsMeasurement"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        processId:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\\:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?(\\:[0-9]{4,5})$"
          type: string
          description: Combination of hostname and Internet Assigned Numbers Authority
            (IANA) port that serves the MongoDB process. The host must be the hostname,
            fully qualified domain name (FQDN), or Internet Protocol address (IPv4
            or IPv6) of the host that runs the MongoDB process (`mongod` or `mongos`).
            The port must be the IANA port on which the MongoDB process listens for
            requests.
          readOnly: true
          example: mongodb.example.com:27017
        start:
          type: string
          description: Date and time that specifies when to start retrieving measurements.
            If you set **start**, you must set **end**. You can't set this parameter
            and **period** in the same request. This parameter expresses its value
            in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        statusMeasurements:
          type: array
          description: List that contains the Atlas Search status measurements.
          readOnly: true
          items:
            "$ref": "#/components/schemas/MetricsMeasurement"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    MemoryMappedDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    MemoryResidentDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    MemoryVirtualDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    MesurementsDatabase:
      type: object
      properties:
        databaseName:
          type: string
          description: Human-readable label that identifies the database that the
            specified MongoDB process serves.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
    MetricDataPoint:
      type: object
      properties:
        timestamp:
          type: string
          description: Date and time when this data point occurred. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        value:
          type: number
          description: Value that comprises this data point.
          readOnly: true
      description: Value of, and metadata provided for, one data point generated at
        a particular moment in time. If no data point exists for a particular moment
        in time, the `value` parameter returns `null`.
      readOnly: true
    MetricDataPoint_Atlas:
      type: object
      properties:
        timestamp:
          type: string
          description: Date and time when this data point occurred. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        value:
          type: number
          description: Value that comprises this data point.
          readOnly: true
      description: Value of, and metadata provided for, one data point generated at
        a particular moment in time. If no data point exists for a particular moment
        in time, the `value` parameter returns `null`.
      readOnly: true
    MetricsMeasurement:
      type: object
      properties:
        dataPoints:
          type: array
          description: List that contains the value of, and metadata provided for,
            one data point generated at a particular moment in time. If no data point
            exists for a particular moment in time, the `value` parameter returns
            `null`.
          readOnly: true
          items:
            "$ref": "#/components/schemas/MetricDataPoint"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        name:
          type: string
          description: Human-readable label of the measurement that this data point
            covers.
          readOnly: true
        units:
          type: string
          description: Element used to quantify the measurement. The resource returns
            units of throughput, storage, and time.
          readOnly: true
          enum:
          - BYTES
          - BYTES_PER_SECOND
          - GIGABYTES
          - GIGABYTES_PER_HOUR
          - MEGABYTES_PER_SECOND
          - MICROSECONDS
          - MILLISECONDS
          - PERCENT
          - SCALAR
          - SCALAR_PER_SECOND
    MetricsMeasurement_Atlas:
      type: object
      properties:
        dataPoints:
          type: array
          description: List that contains the value of, and metadata provided for,
            one data point generated at a particular moment in time. If no data point
            exists for a particular moment in time, the `value` parameter returns
            `null`.
          readOnly: true
          items:
            "$ref": "#/components/schemas/MetricDataPoint_Atlas"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        name:
          type: string
          description: Human-readable label of the measurement that this data point
            covers.
          readOnly: true
        units:
          type: string
          description: Element used to quantify the measurement. The resource returns
            units of throughput, storage, and time.
          readOnly: true
          enum:
          - BYTES
          - BYTES_PER_SECOND
          - GIGABYTES
          - GIGABYTES_PER_HOUR
          - MEGABYTES_PER_SECOND
          - MICROSECONDS
          - MILLISECONDS
          - PERCENT
          - SCALAR
          - SCALAR_PER_SECOND
    MicrosoftTeams:
      title: MICROSOFT_TEAMS
      required:
      - microsoftTeamsWebhookUrl
      type: object
      properties:
        id:
          type: string
          description: Integration id.
          nullable: true
        microsoftTeamsWebhookUrl:
          type: string
          description: |-
            Endpoint web address of the Microsoft Teams webhook to which MongoDB Cloud sends notifications.

            **NOTE**: When you view or edit the alert for a Microsoft Teams notification, the URL appears partially redacted.
          example: https://webhook.com/****
        type:
          type: string
          description: Human-readable label that identifies the service to which you
            want to integrate with MongoDB Cloud. The value must match the third-party
            service integration type.
          enum:
          - MICROSOFT_TEAMS
      description: Details to integrate one Microsoft Teams account with one MongoDB
        Cloud project.
    MicrosoftTeamsNotification:
      title: Microsoft Teams Notification
      required:
      - typeName
      type: object
      properties:
        delayMin:
          type: integer
          description: Number of minutes that MongoDB Cloud waits after detecting
            an alert condition before it sends out the first notification.
          format: int32
        integrationId:
          type: string
          description: The id of the associated integration, the credentials of which
            to use for requests.
          example: 32b6e34b3d91647abb20e7b8
        intervalMin:
          minimum: 5
          type: integer
          description: |-
            Number of minutes to wait between successive notifications. MongoDB Cloud sends notifications until someone acknowledges the unacknowledged alert.

            PagerDuty, VictorOps, and OpsGenie notifications don't return this element. Configure and manage the notification interval within each of those services.
          format: int32
        microsoftTeamsWebhookUrl:
          type: string
          description: |-
            Microsoft Teams Webhook Uniform Resource Locator (URL) that MongoDB Cloud needs to send this notification via Microsoft Teams. The resource requires this parameter when `"notifications.[n].typeName" : "MICROSOFT_TEAMS"`. If the URL later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it.

            **NOTE**: When you view or edit the alert for a Microsoft Teams notification, the URL appears partially redacted.
          example: https://webhook.com/****
        notifierId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: The `notifierId` is a system-generated unique identifier assigned
            to each notification method. This is needed when updating third-party
            notifications without requiring explicit authentication credentials.
          example: 32b6e34b3d91647abb20e7b8
        typeName:
          type: string
          description: Human-readable label that displays the alert notification type.
          enum:
          - MICROSOFT_TEAMS
      description: Microsoft Teams notification configuration for MongoDB Cloud to
        send information when an event triggers an alert condition.
    MongoDBAccessLogs:
      type: object
      properties:
        authResult:
          type: boolean
          description: Flag that indicates whether the response should return successful
            authentication attempts only.
        authSource:
          type: string
          description: Database against which someone attempted to authenticate.
          readOnly: true
        failureReason:
          type: string
          description: Reason that the authentication failed. Null if authentication
            succeeded.
          readOnly: true
        groupId:
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            project.
          readOnly: true
        hostname:
          type: string
          description: Human-readable label that identifies the hostname of the target
            node that received the authentication attempt.
          readOnly: true
        ipAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: Internet Protocol address that attempted to authenticate with
            the database.
          readOnly: true
        logLine:
          type: string
          description: Text of the host log concerning the authentication attempt.
          readOnly: true
        timestamp:
          type: string
          description: Date and time when someone made this authentication attempt.
            MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
          readOnly: true
        username:
          type: string
          description: Username used to authenticate against the database.
          readOnly: true
      description: Authentication attempt, one per object, made against the cluster.
    MongoDBAccessLogsList:
      type: object
      properties:
        accessLogs:
          type: array
          description: Authentication attempt, one per object, made against the cluster.
          readOnly: true
          items:
            "$ref": "#/components/schemas/MongoDBAccessLogs"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    MongotuneAlertConfigViewForNdsGroup:
      title: Intelligent Workload Management Alert Configuration
      required:
      - eventTypeName
      - notifications
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created the alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled this alert configuration
            for the specified project.
          default: false
        eventTypeName:
          "$ref": "#/components/schemas/MongotuneEventTypeViewAlertable"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert
            configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        matchers:
          type: array
          description: Matching conditions for target resources.
          items:
            "$ref": "#/components/schemas/AlertMatcher"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        notifications:
          maxItems: 25
          minItems: 1
          type: array
          description: List that contains the targets that MongoDB Cloud sends notifications.
          items:
            "$ref": "#/components/schemas/AlertsNotificationRootForGroup"
        severityOverride:
          "$ref": "#/components/schemas/EventSeverity"
        updated:
          type: string
          description: Date and time when someone last updated this alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Intelligent Workload Management alert configuration allows to select
        which Intelligent Workload Management events trigger alerts and how users
        are notified.
    MongotuneEventTypeViewAlertable:
      title: Mongotune Event Types
      type: string
      description: Event type that triggers an alert.
      example: MONGOTUNE_ALERT
      externalDocs:
        description: Atlas Alert Event Types
        url: https://www.mongodb.com/docs/atlas/reference/atlas-alert-event-types/
      enum:
      - MONGOTUNE_ALERT
    MonthlyScheduleView:
      required:
      - type
      type: object
      allOf:
      - "$ref": "#/components/schemas/OnlineArchiveSchedule"
      - type: object
        properties:
          dayOfMonth:
            maximum: 31
            minimum: 1
            type: integer
            description: Day of the month when the scheduled archive starts.
            format: int32
          endHour:
            maximum: 23
            minimum: 0
            type: integer
            description: Hour of the day when the scheduled window to run one online
              archive ends. This field uses the UTC time zone. The window must have
              a duration of at least two hours. If the end time is before or equal
              to the start time, the window extends to the next day.
            format: int32
          endMinute:
            maximum: 59
            minimum: 0
            type: integer
            description: Minute of the hour when the scheduled window to run one online
              archive ends. This field uses the UTC time zone. The window must have
              a duration of at least two hours. If the end time is before or equal
              to the start time, the window extends to the next day.
            format: int32
          startHour:
            maximum: 23
            minimum: 0
            type: integer
            description: Hour of the day when the scheduled window to run one online
              archive starts. This field uses the UTC time zone.
            format: int32
          startMinute:
            maximum: 59
            minimum: 0
            type: integer
            description: Minute of the hour when the scheduled window to run one online
              archive starts. This field uses the UTC time zone.
            format: int32
    MuninCpuIowaitRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MuninCpuIrqRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MuninCpuNiceRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MuninCpuSoftirqRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MuninCpuStealRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MuninCpuSystemRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    MuninCpuUserRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    NDSAuditTypeViewForNdsGroup:
      title: Atlas Audit Types
      type: string
      description: Unique identifier of event type.
      example: CLUSTER_CREATED
      enum:
      - CLUSTER_CREATED
      - CLUSTER_RESURRECTED
      - CLUSTER_READY
      - CLUSTER_UPDATE_SUBMITTED
      - CLUSTER_PROCESS_ARGS_UPDATE_SUBMITTED
      - CLUSTER_MONGOT_PROCESS_ARGS_UPDATE_SUBMITTED
      - CLUSTER_SERVER_PARAMETERS_UPDATE_SUBMITTED
      - CLUSTER_AUTOMATICALLY_PAUSED
      - CLUSTER_UPDATE_STARTED
      - CLUSTER_UPDATE_STARTED_INTERNAL
      - CLUSTER_UPDATE_COMPLETED
      - MATERIAL_CLUSTER_UPDATE_COMPLETED_INTERNAL
      - CLUSTER_DELETE_SUBMITTED
      - CLUSTER_DELETE_SUBMITTED_INTERNAL
      - CLUSTER_DELETED
      - CLUSTER_IMPORT_STARTED
      - CLUSTER_IMPORT_CANCELLED
      - CLUSTER_IMPORT_EXPIRED
      - CLUSTER_IMPORT_CUTOVER
      - CLUSTER_IMPORT_COMPLETED
      - CLUSTER_IMPORT_FAILED
      - CLUSTER_IMPORT_RESTART_REQUESTED
      - PROJECT_LIVE_IMPORT_OVERRIDES_ADDED
      - PROJECT_LIVE_IMPORT_OVERRIDES_UPDATED
      - PROJECT_LIVE_IMPORT_OVERRIDES_DELETED
      - CLUSTER_OPLOG_RESIZED
      - CLUSTER_INSTANCE_RESTARTED
      - CLUSTER_INSTANCE_STOP_START
      - CLUSTER_INSTANCE_RESYNC_REQUESTED
      - CLUSTER_INSTANCE_RESYNC_CLEARED
      - CLUSTER_INSTANCE_UPDATE_REQUESTED
      - CLUSTER_INSTANCE_REPLACED
      - CLUSTER_INSTANCE_REPLACE_CLEARED
      - CLUSTER_INSTANCE_SWAPPED
      - CLUSTER_INSTANCE_SWAP_CLEARED
      - CLUSTER_INSTANCE_VM_RESTART_CLEARED
      - CLUSTER_INSTANCE_VM_REBOOT_CLEARED
      - CLUSTER_INSTANCE_CONFIG_UPDATED
      - CLUSTER_INSTANCE_AGENT_API_KEY_ROTATED
      - CLUSTER_INSTANCE_SSL_ROTATED
      - CLUSTER_INSTANCE_SSL_ROTATED_PER_CLUSTER
      - CLUSTER_INSTANCE_SSL_REVOKED
      - RELOAD_SSL_ON_PROCESSES
      - RELOAD_SSL_ON_PROCESSES_REQUESTED
      - CLUSTER_INSTANCE_ADMIN_BACKUP_SNAPSHOT_REQUESTED
      - DATA_LAKE_QUERY_LOGS_DOWNLOADED
      - FEDERATED_DATABASE_QUERY_LOGS_DOWNLOADED
      - ONLINE_ARCHIVE_QUERY_LOGS_DOWNLOADED
      - MONGODB_LOGS_DOWNLOADED
      - MONGOSQLD_LOGS_DOWNLOADED
      - MONGOT_LOGS_DOWNLOADED
      - MONGODB_USER_ADDED
      - MONGODB_USER_DELETED
      - MONGODB_USER_X509_CERT_CREATED
      - MONGODB_USER_X509_CERT_REVOKED
      - MONGODB_USER_UPDATED
      - MONGODB_ROLE_ADDED
      - MONGODB_ROLE_DELETED
      - MONGODB_ROLE_UPDATED
      - NETWORK_PERMISSION_ENTRY_ADDED
      - NETWORK_PERMISSION_ENTRY_REMOVED
      - NETWORK_PERMISSION_ENTRY_UPDATED
      - PRIVATE_NETWORK_ENDPOINT_ENTRY_ADDED
      - PRIVATE_NETWORK_ENDPOINT_ENTRY_REMOVED
      - PRIVATE_NETWORK_ENDPOINT_ENTRY_UPDATED
      - PLAN_STARTED
      - PLAN_COMPLETED
      - PLAN_ABANDONED
      - PLAN_DECLINED
      - PLAN_FAILURE_COUNT_RESET
      - PLAN_ASAP_REQUESTED
      - INDEPENDENT_SHARD_AUTO_SCALING_AVAILABLE
      - INDEPENDENT_SHARD_SCALING_CLUSTER_MIGRATED
      - INDEPENDENT_SHARD_SCALING_CLUSTER_ROLLED_BACK
      - MOVE_SKIPPED
      - STEP_SKIPPED
      - PROXY_RESTARTED
      - PROXY_PANICKED
      - ATLAS_MAINTENANCE_PROTECTED_HOURS_CREATED
      - ATLAS_MAINTENANCE_PROTECTED_HOURS_MODIFIED
      - ATLAS_MAINTENANCE_PROTECTED_HOURS_REMOVED
      - ATLAS_MAINTENANCE_WINDOW_ADDED
      - ATLAS_MAINTENANCE_WINDOW_MODIFIED
      - ATLAS_MAINTENANCE_WINDOW_REMOVED
      - ATLAS_MAINTENANCE_START_ASAP
      - ATLAS_MAINTENANCE_SCHEDULED_FOR_NEXT_WINDOW
      - ATLAS_MAINTENANCE_DEFERRED
      - ATLAS_MAINTENANCE_AUTO_DEFER_ENABLED
      - ATLAS_MAINTENANCE_AUTO_DEFER_DISABLED
      - ATLAS_MAINTENANCE_RESET_BY_ADMIN
      - ATLAS_MAINTENANCE_DEFERRED_BY_ADMIN
      - SCHEDULED_MAINTENANCE
      - PROJECT_SCHEDULED_MAINTENANCE
      - PROJECT_LIMIT_UPDATED
      - PROJECT_ENABLE_EXTENDED_STORAGE_SIZES_UPDATED
      - OS_MAINTENANCE
      - OS_MAINTENANCE_RESTART
      - OS_MAINTENANCE_REPLACEMENT
      - FREE_UPGRADE_STARTED
      - FLEX_UPGRADE_STARTED
      - SERVERLESS_UPGRADE_STARTED
      - TEST_FAILOVER_REQUESTED
      - USER_SECURITY_SETTINGS_UPDATED
      - AUDIT_LOG_CONFIGURATION_UPDATED
      - STREAMS_AUDIT_LOG_CONFIGURATION_UPDATED
      - ENCRYPTION_AT_REST_CONFIGURATION_UPDATED
      - ENCRYPTION_AT_REST_CONFIGURATION_VALIDATION_FAILED
      - ENCRYPTION_AT_REST_CONFIGURATION_VALIDATION_SUCCEEDED
      - ENCRYPTION_AT_REST_KEY_ROTATION_STARTED
      - NDS_SET_IMAGE_OVERRIDES
      - NDS_SET_CHEF_TARBALL_URI
      - RESTRICTED_EMPLOYEE_ACCESS_BYPASS
      - REVOKED_EMPLOYEE_ACCESS_BYPASS
      - DEVICE_SYNC_DEBUG_ACCESS_GRANTED
      - DEVICE_SYNC_DEBUG_ACCESS_REVOKED
      - DEVICE_SYNC_DEBUG_X509_CERT_CREATED
      - EMPLOYEE_ACCESS_GRANTED
      - EMPLOYEE_ACCESS_REVOKED
      - QUERY_ENGINE_TENANT_CREATED
      - QUERY_ENGINE_TENANT_UPDATED
      - QUERY_ENGINE_TENANT_REMOVED
      - FEDERATED_DATABASE_CREATED
      - FEDERATED_DATABASE_UPDATED
      - FEDERATED_DATABASE_REMOVED
      - TENANT_SNAPSHOT_FAILED
      - TENANT_RESTORE_FAILED
      - SAMPLE_DATASET_LOAD_REQUESTED
      - CUSTOMER_X509_CRL_UPDATED
      - CONTAINER_SUBNETS_UPDATE_REQUESTED
      - ONLINE_ARCHIVE_CREATED
      - ONLINE_ARCHIVE_DELETED
      - ONLINE_ARCHIVE_UPDATED
      - ONLINE_ARCHIVE_PAUSE_REQUESTED
      - ONLINE_ARCHIVE_PAUSED
      - ONLINE_ARCHIVE_ACTIVE
      - ONLINE_ARCHIVE_ORPHANED
      - ONLINE_ARCHIVE_DATA_EXPIRATION_RULE_ENABLED
      - ONLINE_ARCHIVE_DATA_EXPIRATION_RULE_UPDATED
      - ONLINE_ARCHIVE_DATA_EXPIRATION_RULE_DISABLED
      - ONLINE_ARCHIVE_DELETE_AFTER_DATE_UPDATED
      - CLOUD_PROVIDER_ACCESS_AWS_IAM_ROLE_ADDED
      - CLOUD_PROVIDER_ACCESS_AWS_IAM_ROLE_DELETED
      - CLOUD_PROVIDER_ACCESS_AWS_IAM_ROLE_UPDATED
      - CLOUD_PROVIDER_ACCESS_AZURE_SERVICE_PRINCIPAL_ADDED
      - CLOUD_PROVIDER_ACCESS_AZURE_SERVICE_PRINCIPAL_DELETED
      - CLOUD_PROVIDER_ACCESS_AZURE_SERVICE_PRINCIPAL_UPDATED
      - CLOUD_PROVIDER_ACCESS_GCP_SERVICE_ACCOUNT_ADDED
      - CLOUD_PROVIDER_ACCESS_GCP_SERVICE_ACCOUNT_DELETED
      - CLOUD_PROVIDER_ACCESS_GCP_SERVICE_ACCOUNT_UPDATED
      - PENDING_INDEXES_DELETED
      - PENDING_INDEXES_CANCELED
      - PROCESS_RESTART_REQUESTED
      - AUTO_HEALING_ACTION
      - AUTO_HEALING_REQUESTED_CRITICAL_INSTANCE_POWER_CYCLE
      - AUTO_HEALING_REQUESTED_INSTANCE_REPLACEMENT
      - AUTO_HEALING_REQUESTED_NODE_RESYNC
      - EXTRA_MAINTENANCE_DEFERRAL_GRANTED
      - GROUP_AUTOMATION_CONFIG_PUBLISHED
      - CLUSTER_AUTOMATION_CONFIG_PUBLISHED
      - SET_ENSURE_CLUSTER_CONNECTIVITY_AFTER_FOR_CLUSTER
      - CLUSTER_LINKED_TO_VERCEL
      - CLUSTER_UNLINKED_FROM_VERCEL
      - INGESTION_PIPELINE_DELETED
      - INGESTION_PIPELINE_DESTROYED
      - INGESTION_PIPELINE_CREATED
      - INGESTION_PIPELINE_UPDATED
      - OS_TUNE_FILE_OVERRIDES
      - MONITORING_AGENT_OVERRIDES
      - MONITORING_AGENT_REBALANCE_FLAG
      - MONITORING_AGENT_REBALANCE_TRIGGERED
      - CLUSTER_PREFERRED_CPU_ARCHITECTURE_MODIFIED
      - CLUSTER_FORCE_PLANNED
      - CLUSTER_REGIONAL_OUTAGE_SIMULATION_STARTED
      - CLUSTER_REGIONAL_OUTAGE_SIMULATION_FAILED_TO_START
      - CLUSTER_REGIONAL_OUTAGE_SIMULATION_END_REQUESTED
      - CLUSTER_REGIONAL_OUTAGE_SIMULATION_COMPLETED
      - CLUSTER_REGIONAL_OUTAGE_SIMULATION_CANCELLED_CLUSTER_PAUSE
      - UIS_PANICKED
      - TENANT_UPGRADE_TO_SERVERLESS_SUCCESSFUL
      - TENANT_UPGRADE_TO_SERVERLESS_FAILED
      - SERVERLESS_UPGRADE_TO_DEDICATED_SUCCESSFUL
      - SERVERLESS_UPGRADE_TO_DEDICATED_FAILED
      - CLUSTER_FORCE_RECONFIG_REQUESTED
      - PROJECT_BYPASSED_MAINTENANCE
      - FEATURE_FLAG_MAINTENANCE
      - DATA_FEDERATION_QUERY_LIMIT_CONFIGURED
      - DATA_FEDERATION_QUERY_LIMIT_DELETED
      - DATA_API_SETUP_FOR_VERCEL
      - ADMIN_CLUSTER_LOCK_UPDATED
      - CLUSTER_ROLLING_RESYNC_STARTED
      - CLUSTER_ROLLING_RESYNC_COMPLETED
      - CLUSTER_ROLLING_RESYNC_FAILED
      - NODE_ROLLING_RESYNC_SCHEDULED
      - CLUSTER_ROLLING_RESYNC_CANCELED
      - CLUSTER_OS_UPDATED
      - CLUSTER_INSTANCE_FAMILY_UPDATED
      - PUSH_BASED_LOG_EXPORT_ENABLED
      - PUSH_BASED_LOG_EXPORT_CONFIGURATION_UPDATED
      - PUSH_BASED_LOG_EXPORT_DISABLED
      - LOG_STREAMING_ENABLED
      - LOG_STREAMING_CONFIGURATION_UPDATED
      - LOG_STREAMING_DISABLED
      - DATADOG_LOG_STREAMING_ENABLED
      - DATADOG_LOG_STREAMING_CONFIGURATION_UPDATED
      - DATADOG_LOG_STREAMING_DISABLED
      - SPLUNK_LOG_STREAMING_ENABLED
      - SPLUNK_LOG_STREAMING_CONFIGURATION_UPDATED
      - SPLUNK_LOG_STREAMING_DISABLED
      - S3_LOG_STREAMING_ENABLED
      - S3_LOG_STREAMING_CONFIGURATION_UPDATED
      - S3_LOG_STREAMING_DISABLED
      - AZURE_LOG_STREAMING_ENABLED
      - AZURE_LOG_STREAMING_CONFIGURATION_UPDATED
      - AZURE_LOG_STREAMING_DISABLED
      - GCP_LOG_STREAMING_ENABLED
      - GCP_LOG_STREAMING_CONFIGURATION_UPDATED
      - GCP_LOG_STREAMING_DISABLED
      - OTEL_LOG_STREAMING_ENABLED
      - OTEL_LOG_STREAMING_CONFIGURATION_UPDATED
      - OTEL_LOG_STREAMING_DISABLED
      - AZURE_CLUSTER_PREFERRED_STORAGE_TYPE_UPDATED
      - CONTAINER_DELETED
      - REGIONALIZED_PRIVATE_ENDPOINT_MODE_ENABLED
      - REGIONALIZED_PRIVATE_ENDPOINT_MODE_DISABLED
      - STREAM_TENANT_CREATED
      - STREAM_TENANT_UPDATED
      - STREAM_TENANT_DELETED
      - STREAM_TENANT_CONNECTIONS_LISTED
      - STREAM_TENANT_CONNECTION_UPDATED
      - STREAM_TENANT_CONNECTION_DELETED
      - STREAM_TENANT_CONNECTION_CREATED
      - STREAM_TENANT_CONNECTION_VIEWED
      - STREAM_TENANT_OPERATIONAL_LOGS
      - STREAM_TENANT_AUDIT_LOGS
      - STREAM_TENANT_AUDIT_LOGS_DELETED
      - QUEUED_ADMIN_ACTION_CREATED
      - QUEUED_ADMIN_ACTION_COMPLETED
      - QUEUED_ADMIN_ACTION_CANCELLED
      - ATLAS_SQL_SCHEDULED_UPDATE_CREATED
      - ATLAS_SQL_SCHEDULED_UPDATE_MODIFIED
      - ATLAS_SQL_SCHEDULED_UPDATE_REMOVED
      - CLUSTER_INSTANCE_DISABLED
      - CLUSTER_INSTANCE_ENABLED
      - CLUSTER_BLOCK_WRITE
      - CLUSTER_UNBLOCK_WRITE
      - KMIP_KEY_ROTATION_SCHEDULED
      - SSL_CERTIFICATE_ISSUED
      - PROJECT_SCHEDULED_MAINTENANCE_OUTSIDE_OF_PROTECTED_HOURS
      - CLUSTER_CANCELING_SHARD_DRAIN_REQUESTED
      - CLUSTER_CANCELING_CONFIG_SERVER_TRANSITION_REQUESTED
      - CLUSTER_MIGRATE_BACK_TO_AWS_MANAGED_IP_REQUESTED
      - CLUSTER_IP_MIGRATED_FIRST_ROUND
      - CLUSTER_IP_MIGRATED_SECOND_ROUND
      - CLUSTER_IP_MIGRATED_FINAL_ROUND
      - CLUSTER_IP_ROLLED_BACK
      - AZ_BALANCING_OVERRIDE_MODIFIED
      - FTDC_SETTINGS_UPDATED
      - PROXY_PROTOCOL_FOR_PRIVATE_LINK_MODE_UPDATED
      - MONGOTUNE_WRITE_BLOCK_POLICY_ELIGIBLE
      - MONGOTUNE_WRITE_BLOCK_POLICY_INELIGIBLE
      - PREDICTIVE_AUTOSCALING_ENABLED
      - PREDICTIVE_AUTOSCALING_DISABLED
      - SHADOW_CLUSTER_CREATE_EXPOSURE
      - SHADOW_CLUSTER_DELETE_EXPOSURE
      - SHADOW_CLUSTER_RECORDING_STATUS_UPDATE
      - SHADOW_CLUSTER_REPLAY_STATUS_UPDATE
      - NODE_HIDDEN_BY_ADMIN
      - NODE_UNHIDDEN_BY_ADMIN
      x-xgen-IPA-exception:
        xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates IPA
          validation.
    NDSAuditTypeViewForOrg:
      title: Atlas Audit Types
      type: string
      description: Unique identifier of event type.
      example: ORG_LIMIT_UPDATED
      enum:
      - ORG_LIMIT_UPDATED
      - SHADOW_CLUSTER_ORG_OPT_IN
      - SHADOW_CLUSTER_ORG_OPT_OUT
    NDSAuditViewForNdsGroup:
      title: Atlas Project Audits
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        dbUserUsername:
          type: string
          description: The username of the MongoDB User that was created, deleted,
            or edited.
          readOnly: true
          example: user1
        eventTypeName:
          "$ref": "#/components/schemas/NDSAuditTypeViewForNdsGroup"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
        whitelistEntry:
          type: string
          description: Entry in the list of source host addresses that the API key
            accepts and this event targets.
          readOnly: true
          example: 0.0.0.0
      description: Audit saving information about Atlas cloud provider and other Atlas
        related details.
    NDSAuditViewForOrg:
      title: Atlas Organization Audits
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        dbUserUsername:
          type: string
          description: The username of the MongoDB User that was created, deleted,
            or edited.
          readOnly: true
          example: user1
        eventTypeName:
          "$ref": "#/components/schemas/NDSAuditTypeViewForOrg"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
        whitelistEntry:
          type: string
          description: Entry in the list of source host addresses that the API key
            accepts and this event targets.
          readOnly: true
          example: 0.0.0.0
      description: Audit saving information about Atlas cloud provider and other Atlas
        related details.
    NDSAutoScalingAuditTypeViewForNdsGroup:
      title: Auto Scaling Audit Types
      type: string
      description: Unique identifier of event type.
      example: COMPUTE_AUTO_SCALE_INITIATED
      enum:
      - COMPUTE_AUTO_SCALE_INITIATED
      - DISK_AUTO_SCALE_INITIATED
      - COMPUTE_AUTO_SCALE_INITIATED_BASE
      - COMPUTE_AUTO_SCALE_INITIATED_ANALYTICS
      - COMPUTE_AUTO_SCALE_SCALE_DOWN_FAIL_BASE
      - COMPUTE_AUTO_SCALE_SCALE_DOWN_FAIL_ANALYTICS
      - COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_BASE
      - COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_ANALYTICS
      - COMPUTE_AUTO_SCALE_OPLOG_FAIL_BASE
      - COMPUTE_AUTO_SCALE_OPLOG_FAIL_ANALYTICS
      - DISK_AUTO_SCALE_MAX_DISK_SIZE_FAIL
      - DISK_AUTO_SCALE_OPLOG_FAIL
      - PREDICTIVE_COMPUTE_AUTO_SCALE_INITIATED_BASE
      - PREDICTIVE_COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_BASE
      - PREDICTIVE_COMPUTE_AUTO_SCALE_OPLOG_FAIL_BASE
      - CLUSTER_AUTO_SHARDING_INITIATED
    NDSAutoScalingAuditViewForNdsGroup:
      title: Auto Scaling Audits
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/NDSAutoScalingAuditTypeViewForNdsGroup"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Auto scaling audit indicates when Atlas auto-scaling cluster tier
        up or down.
    NDSNotificationView:
      title: Notification
      required:
      - typeName
      type: object
      properties:
        delayMin:
          type: integer
          description: Number of minutes that MongoDB Cloud waits after detecting
            an alert condition before it sends out the first notification.
          format: int32
        intervalMin:
          minimum: 5
          type: integer
          description: |-
            Number of minutes to wait between successive notifications. MongoDB Cloud sends notifications until someone acknowledges the unacknowledged alert.

            PagerDuty, VictorOps, and OpsGenie notifications don't return this element. Configure and manage the notification interval within each of those services.
          format: int32
        notifierId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: The `notifierId` is a system-generated unique identifier assigned
            to each notification method. This is needed when updating third-party
            notifications without requiring explicit authentication credentials.
          example: 32b6e34b3d91647abb20e7b8
        severity:
          type: string
          description: Degree of seriousness given to this notification.
          enum:
          - CRITICAL
          - ERROR
          - WARNING
        typeName:
          type: string
          description: Human-readable label that displays the alert notification type.
          enum:
          - NDS
      description: Notification configuration for MongoDB Cloud to send information
        when an event triggers an alert condition.
    NDSServerlessInstanceAuditTypeView:
      title: Serverless Instance Audit Types
      type: string
      description: Unique identifier of event type.
      example: SERVERLESS_INSTANCE_CREATED
      enum:
      - SERVERLESS_INSTANCE_CREATED
      - SERVERLESS_INSTANCE_READY
      - SERVERLESS_INSTANCE_UPDATE_SUBMITTED
      - SERVERLESS_INSTANCE_UPDATE_STARTED
      - SERVERLESS_INSTANCE_UPDATE_COMPLETED
      - SERVERLESS_INSTANCE_DELETE_SUBMITTED
      - SERVERLESS_INSTANCE_DELETED
      - SERVERLESS_INSTANCE_UNBLOCKED
    NDSServerlessInstanceAuditView:
      title: Serverless Instance Audits
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/NDSServerlessInstanceAuditTypeView"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Serverless instance audit identifies any activities around serverless
        instance.
    NDSTenantEndpointAuditTypeView:
      title: Auto Scaling Audit Types
      type: string
      description: Unique identifier of event type.
      example: TENANT_ENDPOINT_CREATED
      enum:
      - TENANT_ENDPOINT_CREATED
      - TENANT_ENDPOINT_RESERVED
      - TENANT_ENDPOINT_RESERVATION_FAILED
      - TENANT_ENDPOINT_UPDATED
      - TENANT_ENDPOINT_INITIATING
      - TENANT_ENDPOINT_AVAILABLE
      - TENANT_ENDPOINT_FAILED
      - TENANT_ENDPOINT_DELETING
      - TENANT_ENDPOINT_DELETED
      - TENANT_ENDPOINT_EXPIRED
    NDSTenantEndpointAuditView:
      title: Tenant Endpoint Audits
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        endpointId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the endpoint
            associated with this event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        eventTypeName:
          "$ref": "#/components/schemas/NDSTenantEndpointAuditTypeView"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        providerEndpointId:
          type: string
          description: Unique identification string that the cloud provider uses to
            identify the private endpoint.
          readOnly: true
          example: vpce-0d6c248dedef65a25
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Tenant endpoint audit indicates when Atlas auto-scaling cluster
        tier up or down.
    NDSX509UserAuthenticationAlertConfigViewForNdsGroup:
      title: X509 User Authentication Alert Configuration
      required:
      - eventTypeName
      - notifications
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created the alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled this alert configuration
            for the specified project.
          default: false
        eventTypeName:
          "$ref": "#/components/schemas/NDSX509UserAuthenticationEventTypeViewAlertable"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert
            configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        matchers:
          type: array
          description: Matching conditions for target resources.
          items:
            "$ref": "#/components/schemas/AlertMatcher"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        notifications:
          maxItems: 25
          minItems: 1
          type: array
          description: List that contains the targets that MongoDB Cloud sends notifications.
          items:
            "$ref": "#/components/schemas/AlertsNotificationRootForGroup"
        severityOverride:
          "$ref": "#/components/schemas/EventSeverity"
        threshold:
          "$ref": "#/components/schemas/LessThanDaysThresholdView"
        updated:
          type: string
          description: Date and time when someone last updated this alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: X509 User Authentication alert configuration allows to select thresholds
        for expiration of client, CA certificates and CRL which trigger alerts and
        how users are notified.
    NDSX509UserAuthenticationEventTypeViewAlertable:
      title: x509 User Auth Event Types
      type: string
      description: Event type that triggers an alert.
      example: NDS_X509_USER_AUTHENTICATION_CUSTOMER_CA_EXPIRATION_CHECK
      externalDocs:
        description: Atlas Alert Event Types
        url: https://www.mongodb.com/docs/atlas/reference/atlas-alert-event-types/
      enum:
      - NDS_X509_USER_AUTHENTICATION_CUSTOMER_CA_EXPIRATION_CHECK
      - NDS_X509_USER_AUTHENTICATION_CUSTOMER_CRL_EXPIRATION_CHECK
      - NDS_X509_USER_AUTHENTICATION_MANAGED_USER_CERTS_EXPIRATION_CHECK
    NamespaceObj:
      type: object
      properties:
        namespace:
          type: string
          description: Human-readable label that identifies the namespace on the specified
            host. The resource expresses this parameter value as `<database>.<collection>`.
          readOnly: true
        type:
          type: string
          description: Human-readable label that identifies the type of namespace.
          readOnly: true
          enum:
          - collection
          default: collection
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Human-readable label that identifies the namespace on the specified
        host. The resource expresses this parameter value as `<database>.<collection>`.
      readOnly: true
    Namespaces:
      type: object
      properties:
        namespaces:
          uniqueItems: true
          type: array
          description: List that contains each combination of database, collection,
            and type on the specified host.
          readOnly: true
          items:
            "$ref": "#/components/schemas/NamespaceObj"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    NetworkBytesInDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    NetworkBytesOutDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    NetworkNumRequestsRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    NetworkPermissionEntry:
      type: object
      properties:
        awsSecurityGroup:
          pattern: "^([0-9]*/)?sg-([0-9]*)"
          type: string
          description: Unique string of the Amazon Web Services (AWS) security group
            that you want to add to the project's IP access list. Your IP access list
            entry can be one `awsSecurityGroup`, one `cidrBlock`, or one `ipAddress`.
            You must configure Virtual Private Connection (VPC) peering for your project
            before you can add an AWS security group to an IP access list. You cannot
            set AWS security groups as temporary access list entries. Don't set this
            parameter if you set `cidrBlock` or `ipAddress`.
        cidrBlock:
          pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(%2[fF][0-9]{1,3})?|([0-9a-f]{1,4}\\:){7}[0-9a-f]{1,4}(%2[fF][0-9]{1,3})?|([0-9a-f]{1,4}\\:){1,6}\\:(%2[fF][0-9]{1,3})?$"
          type: string
          description: Range of IP addresses in Classless Inter-Domain Routing (CIDR)
            notation that you want to add to the project's IP access list. Your IP
            access list entry can be one `awsSecurityGroup`, one `cidrBlock`, or one
            `ipAddress`. Don't set this parameter if you set `awsSecurityGroup` or
            `ipAddress`.
        comment:
          maxLength: 80
          type: string
          description: Remark that explains the purpose or scope of this IP access
            list entry.
        deleteAfterDate:
          type: string
          description: Date and time after which MongoDB Cloud deletes the temporary
            access list entry. This parameter expresses its value in the ISO 8601
            timestamp format in UTC and can include the time zone designation. The
            date must be later than the current date but no later than one week after
            you submit this request. The resource returns this parameter if you specified
            an expiration date when creating this IP access list entry.
          format: date-time
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that contains the IP access list to which you want to add one or more
            entries.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        ipAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IP address that you want to add to the project's IP access
            list. Your IP access list entry can be one `awsSecurityGroup`, one `cidrBlock`,
            or one `ipAddress`. Don't set this parameter if you set `awsSecurityGroup`
            or `cidrBlock`.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
    NetworkPermissionEntryStatus:
      required:
      - STATUS
      type: object
      properties:
        STATUS:
          type: string
          description: |-
            State of the access list entry when MongoDB Cloud made this request.

            `ACTIVE`: This access list entry applies to all relevant cloud providers.

            `PENDING`: MongoDB Cloud has started to add access list entry. This access list entry may not apply to all cloud providers at the time of this request.

            `FAILED`: MongoDB Cloud didn't succeed in adding this access list entry.
          readOnly: true
          enum:
          - PENDING
          - FAILED
          - ACTIVE
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
    NewRelic:
      title: NEW_RELIC
      required:
      - accountId
      - licenseKey
      - readToken
      - writeToken
      type: object
      properties:
        accountId:
          pattern: "^([0-9a-f]){40}$"
          type: string
          description: Unique 40-hexadecimal digit string that identifies your New
            Relic account.
          example: bcc3c81b344a6030a3935c2527e2216535af7718
        id:
          type: string
          description: Integration id.
          nullable: true
        licenseKey:
          pattern: "^([0-9a-f]){40}$"
          type: string
          description: |-
            Unique 40-hexadecimal digit string that identifies your New Relic license.

            **IMPORTANT**: Effective Wednesday, June 16th, 2021, New Relic no longer supports the plugin-based integration with MongoDB. We do not recommend that you sign up for the plugin-based integration.
            Consider configuring an alternative monitoring integration before June 16th to maintain visibility into your MongoDB deployments.
          example: bc3768f44193c282b2688ab39e00f8e4fc8d75ea
          externalDocs:
            description: New Relic Plugin EOL Statement
            url: https://discuss.newrelic.com/t/new-relic-plugin-eol-wednesday-june-16th-2021/127267
        readToken:
          type: string
          description: Query key used to access your New Relic account.
          example: 193c96aee4a3ac640b98634562e2631f17ae0a69
        type:
          type: string
          description: Human-readable label that identifies the service to which you
            want to integrate with MongoDB Cloud. The value must match the third-party
            service integration type.
          enum:
          - NEW_RELIC
        writeToken:
          type: string
          description: Insert key associated with your New Relic account.
          example: a67b10e5cd7f8fb6a34b501136c409f373edc218
      description: |-
        Details to integrate one New Relic account with one MongoDB Cloud project.

        ***IMPORTANT**: Effective Wednesday, June 16th, 2021, New Relic no longer supports the plugin-based integration with MongoDB. We do not recommend that you sign up for the plugin-based integration.

        Consider configuring an alternative monitoring integration before June 16th to maintain visibility into your MongoDB deployments.
      externalDocs:
        description: New Relic Plugin EOL Statement
        url: https://discuss.newrelic.com/t/new-relic-plugin-eol-wednesday-june-16th-2021/127267
    NoBody:
      type: object
      description: Endpoint does not return a response body.
    NormalizedFtsProcessCpuKernelRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    NormalizedFtsProcessCpuUserRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    NormalizedSystemCpuStealRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    NormalizedSystemCpuUserRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    NumberMetricAlertView:
      required:
      - alertConfigId
      - created
      - eventTypeName
      - id
      - status
      - updated
      type: object
      properties:
        acknowledgedUntil:
          type: string
          description: |-
            Date and time until which this alert has been acknowledged. This parameter expresses its value in the ISO 8601 timestamp format in UTC. The resource returns this parameter if a MongoDB User previously acknowledged this alert.

            - To acknowledge this alert forever, set the parameter value to 100 years in the future.

            - To unacknowledge a previously acknowledged alert, do not set this parameter value.
          format: date-time
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        acknowledgementComment:
          maxLength: 200
          type: string
          description: Comment that a MongoDB Cloud user submitted when acknowledging
            the alert.
          example: Expiration on 3/19.  Silencing for 7days.
        acknowledgingUsername:
          type: string
          description: MongoDB Cloud username of the person who acknowledged the alert.
            The response returns this parameter if a MongoDB Cloud user previously
            acknowledged this alert.
          format: email
          readOnly: true
        alertConfigId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the alert
            configuration that sets this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        clusterName:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the cluster to which this
            alert applies. This resource returns this parameter for alerts of events
            impacting backups, replica sets, or sharded clusters.
          readOnly: true
          example: cluster1
        created:
          type: string
          description: Date and time when MongoDB Cloud created this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        currentValue:
          "$ref": "#/components/schemas/NumberMetricValueView"
        eventTypeName:
          "$ref": "#/components/schemas/HostMetricEventTypeViewAlertable"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        hostnameAndPort:
          type: string
          description: Hostname and port of the host to which this alert applies.
            The resource returns this parameter for alerts of events impacting hosts
            or replica sets.
          readOnly: true
          example: cloud-test.mongodb.com:27017
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        lastNotified:
          type: string
          description: Date and time that any notifications were last sent for this
            alert. This parameter expresses its value in the ISO 8601 timestamp format
            in UTC. The resource returns this parameter if MongoDB Cloud has sent
            notifications for this alert.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        metricName:
          type: string
          description: |-
            Name of the metric against which Atlas checks the configured `metricThreshold.threshold`.

            To learn more about the available metrics, see <a href="https://www.mongodb.com/docs/atlas/reference/alert-host-metrics/#std-label-measurement-types" target="_blank">Host Metrics</a>.

            **NOTE**: If you set `eventTypeName` to `OUTSIDE_SERVERLESS_METRIC_THRESHOLD`, you can specify only metrics available for serverless. To learn more, see <a href="https://dochub.mongodb.org/core/alert-config-serverless-measurements" target="_blank">Serverless Measurements</a>.
          readOnly: true
          example: ASSERT_USER
          x-xgen-IPA-exception:
            xgen-IPA-117-description-must-not-use-html: Description predates IPA validation.
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            organization that owns the project to which this alert applies.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        replicaSetName:
          type: string
          description: Name of the replica set to which this alert applies. The response
            returns this parameter for alerts of events impacting backups, hosts,
            or replica sets.
          readOnly: true
          example: event-replica-set
        resolved:
          type: string
          description: 'Date and time that this alert changed to `"status" : "CLOSED"`.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC. The resource returns this parameter once `"status" : "CLOSED"`.'
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        status:
          type: string
          description: State of this alert at the time you requested its details.
            TRACKING indicates the alert condition exists but has not persisted for
            the minimum notification delay. OPEN indicates the alert condition currently
            exists. CLOSED indicates the alert condition has been resolved.
          readOnly: true
          example: OPEN
          enum:
          - CANCELLED
          - CLOSED
          - OPEN
          - TRACKING
        updated:
          type: string
          description: Date and time when someone last updated this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
    NumberMetricEventView:
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        currentValue:
          "$ref": "#/components/schemas/NumberMetricValueView"
        deskLocation:
          type: string
          description: Desk location of MongoDB employee associated with the event.
          readOnly: true
        employeeIdentifier:
          type: string
          description: Identifier of MongoDB employee associated with the event.
          readOnly: true
        eventTypeName:
          "$ref": "#/components/schemas/HostMetricEventTypeView"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        metricName:
          type: string
          description: Human-readable label of the metric associated with the `alertId`.
            This field may change type of `currentValue` field.
          readOnly: true
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        port:
          type: integer
          description: IANA port on which the MongoDB process listens for requests.
          format: int32
          readOnly: true
          example: 27017
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        replicaSetName:
          type: string
          description: Human-readable label of the replica set associated with the
            event.
          readOnly: true
          example: event-replica-set
        shardName:
          type: string
          description: Human-readable label of the shard associated with the event.
          readOnly: true
          example: event-sh-01
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
    NumberMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/NumberMetricUnits"
    NumberMetricUnits:
      title: Number Metric Units
      type: string
      description: Element used to express the quantity. This can be an element of
        time, storage capacity, and the like.
      example: COUNT
      enum:
      - COUNT
      - THOUSAND
      - MILLION
      - BILLION
    NumberMetricValueView:
      title: Number Metric Value
      type: object
      properties:
        number:
          type: number
          description: Amount of the `metricName` recorded at the time of the event.
            This value triggered the alert.
          format: double
          readOnly: true
        units:
          "$ref": "#/components/schemas/NumberMetricUnits"
      description: Measurement of the `metricName` recorded at the time of the event.
      readOnly: true
    ObjectCreated:
      type: object
      description: Created.
    OnDemandCpsSnapshotSource:
      title: On-Demand Cloud Provider Snapshot Source
      type: object
      description: On-Demand Cloud Provider Snapshots as Source for a Data Lake Pipeline.
      allOf:
      - "$ref": "#/components/schemas/IngestionSource"
      - type: object
        properties:
          clusterName:
            type: string
            description: Human-readable name that identifies the cluster.
          collectionName:
            type: string
            description: Human-readable name that identifies the collection.
          databaseName:
            type: string
            description: Human-readable name that identifies the database.
          groupId:
            pattern: "^([a-f0-9]{24})$"
            type: string
            description: Unique 24-hexadecimal character string that identifies the
              project.
            readOnly: true
            example: 32b6e34b3d91647abb20e7b8
    OnlineArchiveSchedule:
      title: Online Archive Schedule
      required:
      - type
      type: object
      properties:
        type:
          type: string
          description: Type of schedule.
          enum:
          - DEFAULT
          - DAILY
          - WEEKLY
          - MONTHLY
      description: Regular frequency and duration when archiving process occurs.
      discriminator:
        propertyName: type
        mapping:
          DAILY: "#/components/schemas/DailyScheduleView"
          DEFAULT: "#/components/schemas/DefaultScheduleView"
          MONTHLY: "#/components/schemas/MonthlyScheduleView"
          WEEKLY: "#/components/schemas/WeeklyScheduleView"
      oneOf:
      - "$ref": "#/components/schemas/DefaultScheduleView"
      - "$ref": "#/components/schemas/DailyScheduleView"
      - "$ref": "#/components/schemas/WeeklyScheduleView"
      - "$ref": "#/components/schemas/MonthlyScheduleView"
    OpCounterCmdRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    OpCounterDeleteRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    OpCounterGetMoreRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    OpCounterInsertRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    OpCounterQueryRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    OpCounterReplCmdRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    OpCounterReplDeleteRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    OpCounterReplInsertRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    OpCounterReplUpdateRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    OpCounterTtlDeletedRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    OpCounterUpdateRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    OperationThrottlingRejectedOperationsRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    OperationsQueriesKilledRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    OperationsScanAndOrderRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    Operator:
      type: string
      description: Comparison operator to apply when checking the current metric value.
      enum:
      - "<"
      - ">"
      x-xgen-IPA-exception:
        xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA validation.
    OplogMasterLagTimeDiffTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    OplogMasterTimeEstimatedTtlTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    OplogMasterTimeTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    OplogRateGbPerHourDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    OplogSlaveLagMasterTimeTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    OpsGenie:
      title: OPS_GENIE
      required:
      - apiKey
      type: object
      properties:
        apiKey:
          type: string
          description: |-
            Key that allows MongoDB Cloud to access your OpsGenie account.

            **NOTE**: After you create a notification which requires an API or integration key, the key appears partially redacted when you:

            * View or edit the alert through the Atlas UI.

            * Query the alert for the notification through the Atlas Administration API.
          example: "********************************a111"
        id:
          type: string
          description: Integration id.
          nullable: true
        region:
          type: string
          description: Two-letter code that indicates which regional URL MongoDB uses
            to access the OpsGenie API.
          enum:
          - US
          - EU
          default: US
        type:
          type: string
          description: Human-readable label that identifies the service to which you
            want to integrate with MongoDB Cloud. The value must match the third-party
            service integration type.
          enum:
          - OPS_GENIE
      description: Details to integrate one OpsGenie account with one MongoDB Cloud
        project.
    OpsGenieNotification:
      title: OpsGenie Notification
      required:
      - typeName
      type: object
      properties:
        delayMin:
          type: integer
          description: Number of minutes that MongoDB Cloud waits after detecting
            an alert condition before it sends out the first notification.
          format: int32
        integrationId:
          type: string
          description: The id of the associated integration, the credentials of which
            to use for requests.
          example: 32b6e34b3d91647abb20e7b8
        intervalMin:
          minimum: 5
          type: integer
          description: |-
            Number of minutes to wait between successive notifications. MongoDB Cloud sends notifications until someone acknowledges the unacknowledged alert.

            PagerDuty, VictorOps, and OpsGenie notifications don't return this element. Configure and manage the notification interval within each of those services.
          format: int32
        notifierId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: The `notifierId` is a system-generated unique identifier assigned
            to each notification method. This is needed when updating third-party
            notifications without requiring explicit authentication credentials.
          example: 32b6e34b3d91647abb20e7b8
        opsGenieApiKey:
          type: string
          description: |-
            API Key that MongoDB Cloud needs to send this notification via OpsGenie. The resource requires this parameter when `"notifications.[n].typeName" : "OPS_GENIE"`. If the key later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it.

            **NOTE**: After you create a notification which requires an API or integration key, the key appears partially redacted when you:

            * View or edit the alert through the Atlas UI.

            * Query the alert for the notification through the Atlas Administration API.
          example: "********************************a111"
        opsGenieRegion:
          type: string
          description: OpsGenie region that indicates which API Uniform Resource Locator
            (URL) to use.
          enum:
          - US
          - EU
          default: US
        typeName:
          type: string
          description: Human-readable label that displays the alert notification type.
          enum:
          - OPS_GENIE
      description: OpsGenie notification configuration for MongoDB Cloud to send information
        when an event triggers an alert condition.
    OrgEventTypeViewForOrg:
      title: Org Event Types
      type: string
      description: Unique identifier of event type.
      example: ORG_CREATED
      enum:
      - ORG_CREATED
      - CUSTOM_SESSION_TIMEOUT_MODIFIED
      - SECURITY_CONTACT_MODIFIED
      - ORG_CREDIT_CARD_ADDED
      - ORG_CREDIT_CARD_UPDATED
      - ORG_CREDIT_CARD_CURRENT
      - ORG_CREDIT_CARD_ABOUT_TO_EXPIRE
      - ORG_PAYPAL_LINKED
      - ORG_PAYPAL_UPDATED
      - ORG_PAYPAL_CANCELLED
      - ORG_OVERRIDE_PAYMENT_METHOD_ADDED
      - ORG_BANK_ACCOUNT_ADDED
      - ORG_BANK_ACCOUNT_UPDATED
      - ORG_WALLET_ADDED
      - ORG_WALLET_UPDATED
      - ORG_ACTIVATED
      - ORG_TEMPORARILY_ACTIVATED
      - ORG_SUSPENSION_DATE_CHANGED
      - ORG_SUSPENDED
      - ORG_ADMIN_SUSPENDED
      - ORG_ADMIN_LOCKED
      - ORG_CLUSTERS_DELETED
      - ORG_CLUSTERS_PAUSED
      - ORG_LOCKED
      - ORG_LOCKED_ACCELERATED
      - ORG_UNDER_FINANCIAL_PROTECTION
      - ORG_NO_FINANCIAL_PROTECTION
      - ORG_RENAMED
      - ALL_ORG_USERS_HAVE_MFA
      - ORG_USERS_WITHOUT_MFA
      - ORG_INVOICE_UNDER_THRESHOLD
      - ORG_INVOICE_OVER_THRESHOLD
      - ORG_DAILY_BILL_UNDER_THRESHOLD
      - ORG_DAILY_BILL_OVER_THRESHOLD
      - ORG_GROUP_CHARGES_UNDER_THRESHOLD
      - ORG_GROUP_CHARGES_OVER_THRESHOLD
      - ORG_TWO_FACTOR_AUTH_REQUIRED
      - ORG_TWO_FACTOR_AUTH_OPTIONAL
      - ORG_PUBLIC_API_ACCESS_LIST_REQUIRED
      - ORG_PUBLIC_API_ACCESS_LIST_NOT_REQUIRED
      - ORG_EMPLOYEE_ACCESS_RESTRICTED
      - ORG_EMPLOYEE_ACCESS_UNRESTRICTED
      - ORG_CONNECTED_TO_MLAB
      - ORG_DISCONNECTED_FROM_MLAB
      - ORG_IDP_CERTIFICATE_CURRENT
      - ORG_IDP_CERTIFICATE_ABOUT_TO_EXPIRE
      - ORG_CONNECTED_TO_VERCEL
      - ORG_DISCONNECTED_TO_VERCEL
      - ORG_CONNECTION_UNINSTALLED_FROM_VERCEL
      - ORG_UI_IP_ACCESS_LIST_ENABLED
      - ORG_UI_IP_ACCESS_LIST_DISABLED
      - ORG_EDITED_UI_IP_ACCESS_LIST_ENTRIES
      - ORG_SERVICE_ACCOUNT_MAX_SECRET_VALIDITY_EDITED
      - ORG_SERVICE_ACCOUNT_SECRETS_EXPIRED
      - ORG_SERVICE_ACCOUNT_SECRETS_NO_LONGER_EXPIRED
      - ORG_SERVICE_ACCOUNT_SECRETS_EXPIRING
      - ORG_SERVICE_ACCOUNT_SECRETS_NO_LONGER_EXPIRING
      - ORG_MONGODB_VERSION_EOL_EXTENSION_ACCEPTED
      - ORG_MONGODB_VERSION_EOL_EXTENSION_PENDING
      - ORG_MONGODB_VERSION_EOL_EXTENSION_CANCELLED
      - ORG_BAAS_EOL_EXTENSION_ACCEPTED
      - ORG_BAAS_EOL_EXTENSION_PENDING
      - ORG_BAAS_EOL_EXTENSION_CANCELED
      - GROUP_MOVED_FROM_ORG
      - SANDBOX_ENABLED_FOR_ORG
      - SANDBOX_DISABLED_FOR_ORG
      - SANDBOX_CONFIG_DELETED
      - SANDBOX_TEMPLATE_UPDATED
      - ORGANIZATION_VOYAGE_SETTINGS_CREATED
      - ORGANIZATION_VOYAGE_SETTINGS_DELETED
      x-xgen-IPA-exception:
        xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates IPA
          validation.
    OrgEventViewForOrg:
      title: Organization Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/OrgEventTypeViewForOrg"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        invoiceId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies of the invoice
            associated with the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Organization event identifies different activities and changes
        in an organization settings.
    OrgFederationSettings:
      title: Organization Federation Settings
      required:
      - federatedDomains
      type: object
      properties:
        federatedDomains:
          uniqueItems: true
          type: array
          description: List of domains associated with the organization's identity
            provider.
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        hasRoleMappings:
          type: boolean
          description: Flag that indicates whether this organization has role mappings
            configured.
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this federation.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        identityProviderId:
          pattern: "^([a-f0-9]{20})$"
          type: string
          description: Legacy 20-hexadecimal digit string that identifies the identity
            provider connected to this organization.
          example: c2777a9eca931f29fc2f
        identityProviderStatus:
          type: string
          description: String enum that indicates whether the identity provider is
            active.
          enum:
          - ACTIVE
          - INACTIVE
      description: Details that define how to connect one MongoDB Cloud organization
        to one federated authentication service.
    OrgGroup:
      type: object
      properties:
        clusters:
          type: array
          description: Settings that describe the clusters in each project that the
            API key is authorized to view.
          readOnly: true
          items:
            "$ref": "#/components/schemas/CloudCluster"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        groupId:
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            project.
          readOnly: true
        groupName:
          pattern: "^[\\p{L}\\p{N}\\-_.(),:&@+']{1,64}$"
          type: string
          description: Human-readable label that identifies the project.
        orgId:
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            organization that contains the project.
          readOnly: true
        orgName:
          pattern: "^[\\p{L}\\p{N}\\-_.(),:&@+']{1,64}$"
          type: string
          description: Human-readable label that identifies the organization that
            contains the project.
        planType:
          type: string
          description: Human-readable label that indicates the plan type.
          readOnly: true
        tags:
          type: array
          description: List of human-readable labels that categorize the specified
            project. MongoDB Cloud returns an empty array.
          readOnly: true
          items:
            type: string
            readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    OrgNotification:
      title: Organization Notification
      required:
      - typeName
      type: object
      properties:
        delayMin:
          type: integer
          description: Number of minutes that MongoDB Cloud waits after detecting
            an alert condition before it sends out the first notification.
          format: int32
        emailEnabled:
          type: boolean
          description: |-
            Flag that indicates whether MongoDB Cloud should send email notifications. The resource requires this parameter when one of the following values have been set:

            - `"notifications.[n].typeName" : "ORG"`
            - `"notifications.[n].typeName" : "GROUP"`
            - `"notifications.[n].typeName" : "USER"`
          x-xgen-IPA-exception:
            xgen-IPA-117-description-ends-with-period: Description ends with an item
              list.
        intervalMin:
          minimum: 5
          type: integer
          description: |-
            Number of minutes to wait between successive notifications. MongoDB Cloud sends notifications until someone acknowledges the unacknowledged alert.

            PagerDuty, VictorOps, and OpsGenie notifications don't return this element. Configure and manage the notification interval within each of those services.
          format: int32
        notifierId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: The `notifierId` is a system-generated unique identifier assigned
            to each notification method. This is needed when updating third-party
            notifications without requiring explicit authentication credentials.
          example: 32b6e34b3d91647abb20e7b8
        roles:
          type: array
          description: 'List that contains the one or more organization roles that
            receive the configured alert. This parameter is available when `"notifications.[n].typeName"
            : "GROUP"` or `"notifications.[n].typeName" : "ORG"`. If you include this
            parameter, MongoDB Cloud sends alerts only to users assigned the roles
            you specify in the array. If you omit this parameter, MongoDB Cloud sends
            alerts to users assigned any role.'
          externalDocs:
            description: Organization Roles
            url: https://dochub.mongodb.org/core/atlas-org-roles
          items:
            type: string
            description: One or more organization roles that receive the configured
              alert.
            enum:
            - ORG_OWNER
            - ORG_MEMBER
            - ORG_GROUP_CREATOR
            - ORG_BILLING_ADMIN
            - ORG_BILLING_READ_ONLY
            - ORG_READ_ONLY
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        smsEnabled:
          type: boolean
          description: |-
            Flag that indicates whether MongoDB Cloud should send text message notifications. The resource requires this parameter when one of the following values have been set:

            - `"notifications.[n].typeName" : "ORG"`
            - `"notifications.[n].typeName" : "GROUP"`
            - `"notifications.[n].typeName" : "USER"`
          x-xgen-IPA-exception:
            xgen-IPA-117-description-ends-with-period: Description ends with an item
              list.
        typeName:
          type: string
          description: Human-readable label that displays the alert notification type.
          enum:
          - ORG
      description: Organization notification configuration for MongoDB Cloud to send
        information when an event triggers an alert condition.
    OrgPaginatedEventView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/EventViewForOrg"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    OrgServiceAccount:
      type: object
      properties:
        clientId:
          pattern: "^mdb_sa_id_[a-fA-F\\d]{24}$"
          type: string
          description: The Client ID of the Service Account.
          example: mdb_sa_id_1234567890abcdef12345678
        createdAt:
          type: string
          description: The date that the Service Account was created on. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
        description:
          type: string
          description: Human readable description for the Service Account.
        name:
          type: string
          description: Human-readable name for the Service Account.
        roles:
          uniqueItems: true
          type: array
          description: A list of Organization roles associated with the Service Account.
          items:
            type: string
            description: Organization roles available for Service Accounts.
            enum:
            - ORG_MEMBER
            - ORG_READ_ONLY
            - ORG_BILLING_ADMIN
            - ORG_BILLING_READ_ONLY
            - ORG_STREAM_PROCESSING_ADMIN
            - ORG_GROUP_CREATOR
            - ORG_OWNER
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        secrets:
          uniqueItems: true
          type: array
          description: A list of secrets associated with the specified Service Account.
          items:
            "$ref": "#/components/schemas/ServiceAccountSecret"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
      description: Organization Service Account that Atlas created for the organization.
      readOnly: true
    OrgServiceAccountRequest:
      required:
      - description
      - name
      - roles
      - secretExpiresAfterHours
      type: object
      properties:
        description:
          maxLength: 250
          minLength: 1
          pattern: "^[\\p{L}\\p{N}\\-_.,' ]*$"
          type: string
          description: Human readable description for the Service Account.
        name:
          maxLength: 64
          minLength: 1
          pattern: "^[\\p{L}\\p{N}\\-_.,' ]*$"
          type: string
          description: Human-readable name for the Service Account. The name is modifiable
            and does not have to be unique.
        roles:
          minItems: 1
          type: array
          description: A list of organization-level roles for the Service Account.
          items:
            type: string
            description: Organization roles available for Service Accounts.
            enum:
            - ORG_MEMBER
            - ORG_READ_ONLY
            - ORG_BILLING_ADMIN
            - ORG_BILLING_READ_ONLY
            - ORG_STREAM_PROCESSING_ADMIN
            - ORG_GROUP_CREATOR
            - ORG_OWNER
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        secretExpiresAfterHours:
          type: integer
          description: The expiration time of the new Service Account secret, provided
            in hours. The minimum and maximum allowed expiration times are subject
            to change and are controlled by the organization's settings.
          format: int32
          example: 8
      description: Organization Service Account that Atlas creates for this organization.
        If omitted, Atlas doesn't create an organization Service Account for this
        organization. If specified, this object requires all body parameters. Note
        that API Keys cannot be specified in the same request.
    OrganizationInvitation:
      required:
      - orgName
      type: object
      properties:
        createdAt:
          type: string
          description: Date and time when MongoDB Cloud sent the invitation. MongoDB
            Cloud represents this timestamp in ISO 8601 format in UTC.
          format: date-time
          readOnly: true
        expiresAt:
          type: string
          description: Date and time when the invitation from MongoDB Cloud expires.
            MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
          format: date-time
          readOnly: true
        groupRoleAssignments:
          uniqueItems: true
          type: array
          description: List of projects that the user will be added to when they accept
            their invitation to the organization.
          items:
            "$ref": "#/components/schemas/GroupRole"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this invitation.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        inviterUsername:
          type: string
          description: Email address of the MongoDB Cloud user who sent the invitation
            to join the organization.
          format: email
          readOnly: true
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        orgName:
          pattern: "^[\\p{L}\\p{N}\\-_.(),:&@+']{1,64}$"
          type: string
          description: Human-readable label that identifies this organization.
        roles:
          uniqueItems: true
          type: array
          description: One or more organization-level roles to assign to the MongoDB
            Cloud user.
          items:
            type: string
            enum:
            - ORG_OWNER
            - ORG_MEMBER
            - ORG_GROUP_CREATOR
            - ORG_BILLING_ADMIN
            - ORG_BILLING_READ_ONLY
            - ORG_STREAM_PROCESSING_ADMIN
            - ORG_READ_ONLY
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        teamIds:
          uniqueItems: true
          type: array
          description: List of unique 24-hexadecimal digit strings that identifies
            each team.
          readOnly: true
          items:
            type: string
            description: Unique 24-hexadecimal digit string that identifies the team.
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        username:
          type: string
          description: Email address of the MongoDB Cloud user invited to join the
            organization.
          format: email
    OrganizationInvitationGroupRoleAssignmentsRequest:
      type: object
      properties:
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            to which these roles belong.
          example: 32b6e34b3d91647abb20e7b8
        roles:
          uniqueItems: true
          type: array
          description: One or more project-level roles to assign to the MongoDB Cloud
            user.
          externalDocs:
            description: MongoDB Atlas User Roles
            url: https://www.mongodb.com/docs/atlas/reference/user-roles/
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    OrganizationInvitationRequest:
      type: object
      properties:
        groupRoleAssignments:
          type: array
          description: List of projects that the user will be added to when they accept
            their invitation to the organization.
          items:
            "$ref": "#/components/schemas/OrganizationInvitationGroupRoleAssignmentsRequest"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        roles:
          uniqueItems: true
          type: array
          description: One or more organization level roles to assign to the MongoDB
            Cloud user.
          items:
            type: string
            enum:
            - ORG_OWNER
            - ORG_MEMBER
            - ORG_GROUP_CREATOR
            - ORG_BILLING_ADMIN
            - ORG_BILLING_READ_ONLY
            - ORG_STREAM_PROCESSING_ADMIN
            - ORG_READ_ONLY
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        teamIds:
          uniqueItems: true
          type: array
          description: List of teams to which you want to invite the desired MongoDB
            Cloud user.
          items:
            type: string
            description: Unique 24-hexadecimal digit string that identifies the team.
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        username:
          type: string
          description: Email address that belongs to the desired MongoDB Cloud user.
          format: email
    OrganizationInvitationUpdateRequest:
      type: object
      properties:
        groupRoleAssignments:
          type: array
          description: List of projects that the user will be added to when they accept
            their invitation to the organization.
          items:
            "$ref": "#/components/schemas/OrganizationInvitationGroupRoleAssignmentsRequest"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        roles:
          uniqueItems: true
          type: array
          description: One or more organization level roles to assign to the MongoDB
            Cloud user.
          items:
            type: string
            enum:
            - ORG_OWNER
            - ORG_MEMBER
            - ORG_GROUP_CREATOR
            - ORG_BILLING_ADMIN
            - ORG_BILLING_READ_ONLY
            - ORG_STREAM_PROCESSING_ADMIN
            - ORG_READ_ONLY
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        teamIds:
          uniqueItems: true
          type: array
          description: List of teams to which you want to invite the desired MongoDB
            Cloud user.
          items:
            type: string
            description: Unique 24-hexadecimal digit string that identifies the team.
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    OrganizationSettings:
      type: object
      properties:
        apiAccessListRequired:
          type: boolean
          description: Flag that indicates whether to require API operations to originate
            from an IP Address added to the API access list for the specified organization.
        customSessionTimeouts:
          "$ref": "#/components/schemas/CustomSessionTimeouts"
        genAIFeaturesEnabled:
          type: boolean
          description: Flag that indicates whether this organization has access to
            generative AI features. This setting only applies to Atlas Commercial
            and is enabled by default. Once this setting is turned on, Project Owners
            may be able to enable or disable individual AI features at the project
            level.
          externalDocs:
            description: Generative AI FAQs
            url: https://www.mongodb.com/docs/generative-ai-faq/
          default: true
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        maxServiceAccountSecretValidityInHours:
          maximum: 8760
          minimum: 8
          type: integer
          description: Number that represents the maximum period before expiry in
            hours for new Atlas Admin API Service Account secrets within the specified
            organization.
          format: int32
        multiFactorAuthRequired:
          type: boolean
          description: 'Flag that indicates whether to require users to set up Multi-Factor
            Authentication (MFA) before accessing the specified organization. To learn
            more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.'
        restrictEmployeeAccess:
          type: boolean
          description: 'Flag that indicates whether to block MongoDB Support from
            accessing Atlas infrastructure and cluster logs for any deployment in
            the specified organization without explicit permission. Once this setting
            is turned on, you can grant MongoDB Support a 24-hour bypass access to
            the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.'
        securityContact:
          type: string
          description: String that specifies a single email address for the specified
            organization to receive security-related notifications. Specifying a security
            contact does not grant them authorization or access to Atlas for security
            decisions or approvals. An empty string is valid and clears the existing
            security contact (if any).
        streamsCrossGroupEnabled:
          type: boolean
          description: Flag that indicates whether a group's Atlas Stream Processing
            workspaces in this organization can create connections to other group's
            clusters in the same organization.
      description: Collection of settings that configures the organization.
    PagerDuty:
      title: PAGER_DUTY
      required:
      - serviceKey
      type: object
      properties:
        id:
          type: string
          description: Integration id.
          nullable: true
        region:
          type: string
          description: PagerDuty region that indicates the API Uniform Resource Locator
            (URL) to use.
          enum:
          - US
          - EU
        serviceKey:
          type: string
          description: |-
            Service key associated with your PagerDuty account.

            **NOTE**: After you create a notification which requires an API or integration key, the key appears partially redacted when you:

            * View or edit the alert through the Atlas UI.

            * Query the alert for the notification through the Atlas Administration API.
          example: "****************************7890"
        type:
          type: string
          description: Human-readable label that identifies the service to which you
            want to integrate with MongoDB Cloud. The value must match the third-party
            service integration type.
          enum:
          - PAGER_DUTY
      description: Details to integrate one PagerDuty account with one MongoDB Cloud
        project.
    PagerDutyNotification:
      title: PagerDuty Notification
      required:
      - typeName
      type: object
      properties:
        delayMin:
          type: integer
          description: Number of minutes that MongoDB Cloud waits after detecting
            an alert condition before it sends out the first notification.
          format: int32
        integrationId:
          type: string
          description: The id of the associated integration, the credentials of which
            to use for requests.
          example: 32b6e34b3d91647abb20e7b8
        intervalMin:
          minimum: 5
          type: integer
          description: |-
            Number of minutes to wait between successive notifications. MongoDB Cloud sends notifications until someone acknowledges the unacknowledged alert.

            PagerDuty, VictorOps, and OpsGenie notifications don't return this element. Configure and manage the notification interval within each of those services.
          format: int32
        notifierId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: The `notifierId` is a system-generated unique identifier assigned
            to each notification method. This is needed when updating third-party
            notifications without requiring explicit authentication credentials.
          example: 32b6e34b3d91647abb20e7b8
        region:
          type: string
          description: PagerDuty region that indicates which API Uniform Resource
            Locator (URL) to use.
          enum:
          - US
          - EU
          default: US
        serviceKey:
          type: string
          description: |-
            PagerDuty service key that MongoDB Cloud needs to send notifications via PagerDuty. The resource requires this parameter when `"notifications.[n].typeName" : "PAGER_DUTY"`. If the key later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it.

            **NOTE**: After you create a notification which requires an API or integration key, the key appears partially redacted when you:

            * View or edit the alert through the Atlas UI.

            * Query the alert for the notification through the Atlas Administration API.
          example: "****************************7890"
        typeName:
          type: string
          description: Human-readable label that displays the alert notification type.
          enum:
          - PAGER_DUTY
      description: PagerDuty notification configuration for MongoDB Cloud to send
        information when an event triggers an alert condition.
    PaginatedAdvancedClusterDescriptionView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/AdvancedClusterDescription"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedAlertConfigView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/GroupAlertsConfig"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedAlertView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/AlertViewForNdsGroup"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedApiApiUserView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/ApiKeyUserDetails"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedApiAppUserView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/CloudAppUser"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedApiAtlasCheckpointView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/ApiAtlasCheckpointView"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedApiAtlasDatabaseUserView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/CloudDatabaseUser"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
      description: List of MongoDB Database users granted access to databases in the
        specified project.
    PaginatedApiAtlasDiskBackupExportJobView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/DiskBackupExportJob"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedApiAtlasProviderRegionsView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/CloudProviderRegions"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedApiAtlasServerlessBackupRestoreJobView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/ServerlessBackupRestoreJob"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedApiAtlasServerlessBackupSnapshotView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/ServerlessBackupSnapshot"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedApiInvoiceMetadataView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/BillingInvoiceMetadata"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedApiInvoiceView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/BillingInvoice"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedApiUserAccessListResponseView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/UserAccessListResponse"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedAppUserView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/CloudAppUser"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedAtlasGroupView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/Group"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedBackupSnapshotExportBucketView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/DiskBackupSnapshotAWSExportBucketResponse"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedBackupSnapshotView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/DiskBackupSnapshot"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedCloudBackupReplicaSetView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/DiskBackupReplicaSet"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedCloudBackupRestoreJobView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/DiskBackupSnapshotRestoreJob"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedCloudBackupShardedClusterSnapshotView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/DiskBackupShardedClusterSnapshot"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedCloudProviderContainerView:
      title: Network Peering
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/CloudProviderContainer"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
      description: List of Network Peering Containers that Amazon Web Services serves.
    PaginatedConnectedOrgConfigsView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/ConnectedOrgConfig"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedContainerPeerView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/BaseNetworkPeeringConnectionSettings"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
      description: Group of Network Peering connection settings.
    PaginatedDatabaseView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/MesurementsDatabase"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedDiskPartitionView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/MeasurementDiskPartition"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedFederationIdentityProvider:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/FederationIdentityProvider"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedHostView_Atlas:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link_Atlas"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/ApiHostView_Atlas"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedIntegrationView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/ThirdPartyIntegration"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedLegacyClusterView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/LegacyAtlasCluster"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedNetworkAccessView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/NetworkPermissionEntry"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedOnlineArchiveView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/BackupOnlineArchive"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedOrgGroupView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/OrgGroup"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedOrganizationView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/AtlasOrganization"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedPipelineRunView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/IngestionPipelineRun"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedPrivateNetworkEndpointIdEntryView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/PrivateNetworkEndpointIdEntry"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedRestoreJobView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/BackupRestoreJob"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedRoleMappingView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/AuthFederationRoleMapping"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
      description: List role mappings from the specified organization in the specified
        federation.
    PaginatedServerlessInstanceDescriptionView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/ServerlessInstanceDescription"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedSnapshotView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/BackupSnapshot"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedTeamRoleView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/TeamRole"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedTeamView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/TeamResponse"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PaginatedUserCertView:
      required:
      - results
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        results:
          type: array
          description: List of returned documents that MongoDB Cloud provides when
            completing this request.
          readOnly: true
          items:
            "$ref": "#/components/schemas/UserCert"
        totalCount:
          minimum: 0
          type: integer
          description: Total number of documents available. MongoDB Cloud omits this
            value if `includeCount` is set to `false`. The total number is an estimate
            and may not be exact.
          format: int32
          readOnly: true
    PartialFilter:
      type: object
      additionalProperties:
        type: object
        description: |-
          Rules that limit the documents that the index references to a filter expression. All MongoDB index types accept a `partialFilterExpression` option. `partialFilterExpression` can include following expressions:

          - equality (`"parameter" : "value"` or using the `$eq` operator)
          - `"$exists": true`
          , maximum: `$gt`, `$gte`, `$lt`, `$lte` comparisons
          - `$type`
          - `$and` (top-level only)
           This option applies to all index types.
      description: |-
        Rules that limit the documents that the index references to a filter expression. All MongoDB index types accept a `partialFilterExpression` option. `partialFilterExpression` can include following expressions:

        - equality (`"parameter" : "value"` or using the `$eq` operator)
        - `"$exists": true`
        , maximum: `$gt`, `$gte`, `$lt`, `$lte` comparisons
        - `$type`
        - `$and` (top-level only)
         This option applies to all index types.
    PartitionFieldView:
      title: Online Archive Partition
      required:
      - fieldName
      - order
      type: object
      properties:
        fieldName:
          maxLength: 700
          type: string
          description: Human-readable label that identifies the parameter that MongoDB
            Cloud uses to partition data. To specify a nested parameter, use the dot
            notation.
        fieldType:
          type: string
          description: Data type of the parameter that that MongoDB Cloud uses to
            partition data. Partition parameters of type UUID must be of binary subtype
            4. MongoDB Cloud skips partition parameters of type UUID with subtype
            3.
          readOnly: true
          externalDocs:
            description: UUID
            url: http://bsonspec.org/spec.html
          enum:
          - date
          - int
          - long
          - objectId
          - string
          - uuid
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        order:
          type: integer
          description: Sequence in which MongoDB Cloud slices the collection data
            to create partitions. The resource expresses this sequence starting with
            zero. The value of the `criteria.dateField` parameter defaults as the
            first item in the partition sequence.
          format: int32
          default: 0
      description: Metadata to partition this online archive.
    PemFileInfo:
      type: object
      properties:
        certificates:
          type: array
          description: List of certificates in the file.
          items:
            "$ref": "#/components/schemas/X509Certificate"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        fileName:
          type: string
          description: Human-readable label given to the file.
      description: PEM file information for the identity provider's current certificates.
    PerformanceAdvisorIndex:
      type: object
      properties:
        avgObjSize:
          type: number
          description: The average size of an object in the collection of this index.
          format: double
          readOnly: true
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this index.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        impact:
          type: array
          description: List that contains unique 24-hexadecimal character string that
            identifies the query shapes in this response that the Performance Advisor
            suggests.
          readOnly: true
          items:
            type: string
            description: One unique 24-hexadecimal character string that identifies
              one query shape.
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        index:
          type: array
          description: List that contains documents that specify a key in the index
            and its sort order.
          readOnly: true
          items:
            type: object
            additionalProperties:
              type: integer
              description: One index key paired with its sort order. A value of `1`
                indicates an ascending sort order. A value of `-1` indicates a descending
                sort order. Keys in indexes with multiple keys appear in the same
                order that they appear in the index.
              format: int32
              enum:
              - 1
              - -1
            description: One index key paired with its sort order. A value of `1`
              indicates an ascending sort order. A value of `-1` indicates a descending
              sort order. Keys in indexes with multiple keys appear in the same order
              that they appear in the index.
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        namespace:
          type: string
          description: Human-readable label that identifies the namespace on the specified
            host. The resource expresses this parameter value as `<database>.<collection>`.
          readOnly: true
        weight:
          type: number
          description: Estimated performance improvement that the suggested index
            provides. This value corresponds to **Impact** in the Performance Advisor
            user interface.
          format: double
          readOnly: true
    PerformanceAdvisorOpStats:
      type: object
      properties:
        ms:
          type: integer
          description: Length of time expressed during which the query finds suggested
            indexes among the managed namespaces in the cluster. This parameter expresses
            its value in milliseconds. This parameter relates to the **duration**
            query parameter.
          format: int64
          readOnly: true
        nReturned:
          type: integer
          description: Number of results that the query returns.
          format: int64
          readOnly: true
        nScanned:
          type: integer
          description: Number of documents that the query read.
          format: int64
          readOnly: true
        ts:
          type: integer
          description: Date and time from which the query retrieves the suggested
            indexes. This parameter expresses its value in the number of seconds that
            have elapsed since the UNIX epoch. This parameter relates to the **since**
            query parameter.
          format: int64
          readOnly: true
          externalDocs:
            description: UNIX Epoch
            url: https://en.wikipedia.org/wiki/Unix_time
      description: Details that this resource returned about the specified query.
      readOnly: true
    PerformanceAdvisorOperationView:
      type: object
      properties:
        predicates:
          type: array
          description: List that contains the search criteria that the query uses.
            To use the values in key-value pairs in these predicates requires **Project
            Data Access Read Only** permissions or greater. Otherwise, MongoDB Cloud
            redacts these values.
          readOnly: true
          items:
            type: object
            description: List that contains the search criteria that the query uses.
              To use the values in key-value pairs in these predicates requires **Project
              Data Access Read Only** permissions or greater. Otherwise, MongoDB Cloud
              redacts these values.
            readOnly: true
            x-xgen-IPA-exception:
              xgen-IPA-117-objects-must-be-well-defined: Schema predates IPA validation.
              xgen-IPA-124-array-max-items: Schema predates IPA validation.
          x-xgen-IPA-exception:
            xgen-IPA-117-objects-must-be-well-defined: Schema predates IPA validation.
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        stats:
          "$ref": "#/components/schemas/PerformanceAdvisorOpStats"
    PerformanceAdvisorResponse:
      type: object
      properties:
        shapes:
          type: array
          description: List of query predicates, sorts, and projections that the Performance
            Advisor suggests.
          readOnly: true
          items:
            "$ref": "#/components/schemas/PerformanceAdvisorShape"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        suggestedIndexes:
          type: array
          description: List that contains the documents with information about the
            indexes that the Performance Advisor suggests.
          readOnly: true
          items:
            "$ref": "#/components/schemas/PerformanceAdvisorIndex"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    PerformanceAdvisorShape:
      type: object
      properties:
        avgMs:
          type: integer
          description: Average duration in milliseconds for the queries examined that
            match this shape.
          format: int64
          readOnly: true
        count:
          type: integer
          description: Number of queries examined that match this shape.
          format: int64
          readOnly: true
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this shape.
            This string exists only for the duration of this API request.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        inefficiencyScore:
          type: integer
          description: Average number of documents read for every document that the
            query returns.
          format: int64
          readOnly: true
          externalDocs:
            description: Understanding the Query Inefficiency Score
            url: https://www.mongodb.com/docs/atlas/performance-advisor/#std-label-query-inefficiency-score
        namespace:
          type: string
          description: Human-readable label that identifies the namespace on the specified
            host. The resource expresses this parameter value as `<database>.<collection>`.
          readOnly: true
        operations:
          type: array
          description: List that contains specific about individual queries.
          readOnly: true
          items:
            "$ref": "#/components/schemas/PerformanceAdvisorOperationView"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    PerformanceAdvisorSlowQuery:
      type: object
      properties:
        line:
          type: string
          description: Text of the MongoDB log related to this slow query.
          readOnly: true
        metrics:
          "$ref": "#/components/schemas/PerformanceAdvisorSlowQueryMetrics"
        namespace:
          type: string
          description: Human-readable label that identifies the namespace on the specified
            host. The resource expresses this parameter value as `<database>.<collection>`.
          readOnly: true
        opType:
          type: string
          description: Operation type (read/write/command) associated with this slow
            query log.
          readOnly: true
        replicaState:
          type: string
          description: Replica state associated with this slow query log.
          readOnly: true
      description: Details of one slow query that the Performance Advisor detected.
      readOnly: true
    PerformanceAdvisorSlowQueryList:
      type: object
      properties:
        slowQueries:
          type: array
          description: List of operations that the Performance Advisor detected that
            took longer to execute than a specified threshold.
          readOnly: true
          items:
            "$ref": "#/components/schemas/PerformanceAdvisorSlowQuery"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    PerformanceAdvisorSlowQueryMetrics:
      type: object
      properties:
        docsExamined:
          type: integer
          description: The number of documents in the collection that MongoDB scanned
            in order to carry out the operation.
          format: int64
          readOnly: true
        docsExaminedReturnedRatio:
          type: number
          description: Ratio of documents examined to documents returned.
          format: double
          readOnly: true
        docsReturned:
          type: integer
          description: The number of documents returned by the operation.
          format: int64
          readOnly: true
        fromUserConnection:
          type: boolean
          description: This boolean will be true when the server can identify the
            query source as non-server. This field is only available for MDB 8.0+.
          readOnly: true
        hasIndexCoverage:
          type: boolean
          description: Indicates if the query has index coverage.
          readOnly: true
        hasSort:
          type: boolean
          description: This boolean will be true when a query cannot use the ordering
            in the index to return the requested sorted results; i.e. MongoDB must
            sort the documents after it receives the documents from a cursor.
          readOnly: true
        keysExamined:
          type: integer
          description: The number of index keys that MongoDB scanned in order to carry
            out the operation.
          format: int64
          readOnly: true
        keysExaminedReturnedRatio:
          type: number
          description: Ratio of keys examined to documents returned.
          format: double
          readOnly: true
        numYields:
          type: integer
          description: The number of times the operation yielded to allow other operations
            to complete.
          format: int64
          readOnly: true
        operationExecutionTime:
          type: integer
          description: Total execution time of a query in milliseconds.
          format: int64
          readOnly: true
        responseLength:
          type: integer
          description: The length in bytes of the operation's result document.
          format: int64
          readOnly: true
      description: Metrics from a slow query log.
      readOnly: true
    PeriodicCpsSnapshotSource:
      title: Periodic Cloud Provider Snapshot Source
      type: object
      description: Scheduled Cloud Provider Snapshot as Source for a Data Lake Pipeline.
      allOf:
      - "$ref": "#/components/schemas/IngestionSource"
      - type: object
        properties:
          clusterName:
            type: string
            description: Human-readable name that identifies the cluster.
          collectionName:
            type: string
            description: Human-readable name that identifies the collection.
          databaseName:
            type: string
            description: Human-readable name that identifies the database.
          groupId:
            pattern: "^([a-f0-9]{24})$"
            type: string
            description: Unique 24-hexadecimal character string that identifies the
              project.
            readOnly: true
            example: 32b6e34b3d91647abb20e7b8
          policyItemId:
            pattern: "^([a-f0-9]{24})$"
            type: string
            description: Unique 24-hexadecimal character string that identifies a
              policy item.
            example: 32b6e34b3d91647abb20e7b8
    PipelineRunStats:
      title: Data Lake Pipeline Run Statistics
      type: object
      properties:
        bytesExported:
          type: integer
          description: Total data size in bytes exported for this pipeline run.
          format: int64
          readOnly: true
        numDocs:
          type: integer
          description: Number of docs ingested for a this pipeline run.
          format: int64
          readOnly: true
      description: Runtime statistics for this Data Lake Pipeline run.
      readOnly: true
    PrivateEndpointHostname:
      type: object
      properties:
        hostname:
          type: string
          description: Human-readable label that identifies the hostname.
          readOnly: true
        privateEndpoint:
          type: string
          description: Human-readable label that identifies private endpoint.
          readOnly: true
      description: Set of Private endpoint and hostnames.
      readOnly: true
    PrivateGCPEndpointGroup:
      title: GCP
      required:
      - cloudProvider
      type: object
      properties:
        cloudProvider:
          type: string
          description: Cloud service provider that serves the requested endpoint.
          readOnly: true
          enum:
          - AWS
          - AZURE
          - GCP
        deleteRequested:
          type: boolean
          description: Flag that indicates whether MongoDB Cloud received a request
            to remove the specified private endpoint from the private endpoint service.
          readOnly: true
        endpointGroupName:
          type: string
          description: Human-readable label that identifies a set of endpoints. If
            this private endpoint belongs to a port-mapped endpoint service, this
            field is the private endpoint name.
          readOnly: true
          externalDocs:
            description: Google Cloud Forwarding Rule Concepts
            url: https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts
        endpoints:
          type: array
          description: List of individual private endpoints that comprise this endpoint
            group. If this endpoint belongs to a port-mapped endpoint service, this
            field will only contain a list of one private endpoint.
          readOnly: true
          externalDocs:
            description: Google Cloud Forwarding Rule Concepts
            url: https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts
          items:
            "$ref": "#/components/schemas/GCPConsumerForwardingRule"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        errorMessage:
          type: string
          description: Error message returned when requesting private connection resource.
            The resource returns `null` if the request succeeded.
          readOnly: true
        gcpProjectId:
          type: string
          description: Unique string that identifies the Google Cloud project in which
            you created the endpoints.
          readOnly: true
          externalDocs:
            description: Google Cloud Creating and Managing Projects
            url: https://cloud.google.com/resource-manager/docs/creating-managing-projects
        portMappingEnabled:
          type: boolean
          description: Flag that indicates whether the endpoint service for this endpoint
            group uses PSC port-mapping.
        status:
          type: string
          description: State of the Google Cloud network endpoint group when MongoDB
            Cloud received this request.
          readOnly: true
          enum:
          - INITIATING
          - VERIFIED
          - AVAILABLE
          - FAILED
          - DELETING
          - DELETED
      description: Group of Private Endpoint settings.
    PrivateIPModeView:
      required:
      - enabled
      type: object
      properties:
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled **Connect via Peering
            Only** mode for the specified project.
    PrivateLinkEndpoint:
      required:
      - cloudProvider
      type: object
      properties:
        cloudProvider:
          type: string
          description: Cloud service provider that serves the requested endpoint.
          readOnly: true
          enum:
          - AWS
          - AZURE
          - GCP
        deleteRequested:
          type: boolean
          description: Flag that indicates whether MongoDB Cloud received a request
            to remove the specified private endpoint from the private endpoint service.
          readOnly: true
        errorMessage:
          type: string
          description: Error message returned when requesting private connection resource.
            The resource returns `null` if the request succeeded.
          readOnly: true
      discriminator:
        propertyName: cloudProvider
        mapping:
          AWS: "#/components/schemas/AWSInterfaceEndpoint"
          AZURE: "#/components/schemas/AzurePrivateEndpoint"
          GCP: "#/components/schemas/PrivateGCPEndpointGroup"
      x-xgen-IPA-exception:
        xgen-IPA-125-discriminator-must-accompany-oneOf-anyOf-allOf: Schema predates
          IPA validation.
    PrivateNetworkEndpointIdEntry:
      required:
      - endpointId
      type: object
      properties:
        azureLinkId:
          type: string
          description: Link ID that identifies the Azure private endpoint connection.
        comment:
          type: string
          description: Human-readable string to associate with this private endpoint.
        customerEndpointDNSName:
          type: string
          description: Human-readable label to identify customer's VPC endpoint DNS
            name. If defined, you must also specify a value for `region`.
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        customerEndpointIPAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IP address used to connect to the Azure private endpoint.
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        endpointId:
          pattern: "^vpce-[0-9a-f]{17}$"
          type: string
          description: Unique 22-character alphanumeric string that identifies the
            private endpoint.
          example: vpce-3bf78b0ddee411ba1
          externalDocs:
            description: Atlas Data Lake supports Amazon Web Services private endpoints
              using the AWS PrivateLink feature.
            url: https://aws.amazon.com/privatelink/?privatelink-blogs.sort-by=item.additionalFields.createdDate&privatelink-blogs.sort-order=desc
        errorMessage:
          type: string
          description: Error message describing a failure approving the private endpoint
            request.
        provider:
          type: string
          description: Human-readable label that identifies the cloud service provider.
            Atlas Data Lake supports Amazon Web Services only.
          enum:
          - AWS
          default: AWS
        region:
          type: string
          description: Human-readable label to identify the region of customer's VPC
            endpoint. If defined, you must also specify a value for `customerEndpointDNSName`.
          example: US_EAST_1
        status:
          type: string
          description: Status of the private endpoint connection request.
          enum:
          - PENDING
          - OK
          - FAILED
          - DELETING
        type:
          type: string
          description: Human-readable label that identifies the resource type associated
            with this private endpoint.
          enum:
          - DATA_LAKE
          default: DATA_LAKE
    ProjectSettingItemView:
      required:
      - enabled
      type: object
      properties:
        enabled:
          type: boolean
          description: |-
            Flag that indicates whether someone enabled the regionalized private endpoint setting for the specified project.

            - Set this value to `true` to enable regionalized private endpoints. This allows you to create more than one private endpoint in a cloud provider region. You need to enable this setting to connect to multi-region and global MongoDB Cloud sharded clusters. Enabling regionalized private endpoints introduces the following limitations:
              - Your applications must use the new connection strings for existing multi-region and global sharded clusters. This might cause downtime.
              - Your MongoDB Cloud project can't contain replica sets nor can you create new replica sets in this project.

              - You can't disable this setting if you have:
                - more than one private endpoint in more than one region
                - more than one private endpoint in one region and one private endpoint in one or more regions.

            - Set this value to `false` to disable regionalized private endpoints.
    Prometheus:
      title: PROMETHEUS
      required:
      - enabled
      - serviceDiscovery
      - username
      type: object
      properties:
        enabled:
          type: boolean
          description: Flag that indicates whether someone has activated the Prometheus
            integration.
        id:
          type: string
          description: Integration id.
          nullable: true
        password:
          type: string
          description: Password needed to allow MongoDB Cloud to access your Prometheus
            account.
          writeOnly: true
        sendUserProvidedResourceTagsEnabled:
          type: boolean
          description: Toggle sending user provided group and cluster resource tags
            with the Prometheus metrics.
          default: false
        serviceDiscovery:
          type: string
          description: Desired method to discover the Prometheus service.
          enum:
          - http
          - file
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        type:
          type: string
          description: Human-readable label that identifies the service to which you
            want to integrate with MongoDB Cloud. The value must match the third-party
            service integration type.
          enum:
          - PROMETHEUS
        username:
          type: string
          description: Human-readable label that identifies your Prometheus incoming
            webhook.
          example: prom_user_618d48e05277a606ed2496fe
      description: Details to integrate one Prometheus account with one MongoDB Cloud
        project.
    ProtectedHours:
      type: object
      properties:
        endHourOfDay:
          maximum: 23
          minimum: 0
          type: integer
          description: Zero-based integer that represents the end hour of the of the
            day that the maintenance will not begin in.
          format: int32
        startHourOfDay:
          maximum: 23
          minimum: 0
          type: integer
          description: Zero-based integer that represents the beginning hour of the
            of the day that the maintenance will not begin in.
          format: int32
      description: Defines the a window where maintenance will not begin within.
    QueryExecutorScannedObjectsRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    QueryExecutorScannedRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    QuerySpillToDiskDuringSortRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    QueryTargetingScannedObjectsPerReturnedRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    QueryTargetingScannedPerReturnedRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    RPUMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/ServerlessMetricUnits"
    RawMetricAlertView:
      required:
      - alertConfigId
      - created
      - eventTypeName
      - id
      - status
      - updated
      type: object
      properties:
        acknowledgedUntil:
          type: string
          description: |-
            Date and time until which this alert has been acknowledged. This parameter expresses its value in the ISO 8601 timestamp format in UTC. The resource returns this parameter if a MongoDB User previously acknowledged this alert.

            - To acknowledge this alert forever, set the parameter value to 100 years in the future.

            - To unacknowledge a previously acknowledged alert, do not set this parameter value.
          format: date-time
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        acknowledgementComment:
          maxLength: 200
          type: string
          description: Comment that a MongoDB Cloud user submitted when acknowledging
            the alert.
          example: Expiration on 3/19.  Silencing for 7days.
        acknowledgingUsername:
          type: string
          description: MongoDB Cloud username of the person who acknowledged the alert.
            The response returns this parameter if a MongoDB Cloud user previously
            acknowledged this alert.
          format: email
          readOnly: true
        alertConfigId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the alert
            configuration that sets this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        clusterName:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the cluster to which this
            alert applies. This resource returns this parameter for alerts of events
            impacting backups, replica sets, or sharded clusters.
          readOnly: true
          example: cluster1
        created:
          type: string
          description: Date and time when MongoDB Cloud created this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        currentValue:
          "$ref": "#/components/schemas/RawMetricValueView"
        eventTypeName:
          "$ref": "#/components/schemas/HostMetricEventTypeViewAlertable"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        hostnameAndPort:
          type: string
          description: Hostname and port of the host to which this alert applies.
            The resource returns this parameter for alerts of events impacting hosts
            or replica sets.
          readOnly: true
          example: cloud-test.mongodb.com:27017
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        lastNotified:
          type: string
          description: Date and time that any notifications were last sent for this
            alert. This parameter expresses its value in the ISO 8601 timestamp format
            in UTC. The resource returns this parameter if MongoDB Cloud has sent
            notifications for this alert.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        metricName:
          type: string
          description: |-
            Name of the metric against which Atlas checks the configured `metricThreshold.threshold`.

            To learn more about the available metrics, see <a href="https://www.mongodb.com/docs/atlas/reference/alert-host-metrics/#std-label-measurement-types" target="_blank">Host Metrics</a>.

            **NOTE**: If you set `eventTypeName` to `OUTSIDE_SERVERLESS_METRIC_THRESHOLD`, you can specify only metrics available for serverless. To learn more, see <a href="https://dochub.mongodb.org/core/alert-config-serverless-measurements" target="_blank">Serverless Measurements</a>.
          readOnly: true
          example: ASSERT_USER
          x-xgen-IPA-exception:
            xgen-IPA-117-description-must-not-use-html: Description predates IPA validation.
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            organization that owns the project to which this alert applies.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        replicaSetName:
          type: string
          description: Name of the replica set to which this alert applies. The response
            returns this parameter for alerts of events impacting backups, hosts,
            or replica sets.
          readOnly: true
          example: event-replica-set
        resolved:
          type: string
          description: 'Date and time that this alert changed to `"status" : "CLOSED"`.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC. The resource returns this parameter once `"status" : "CLOSED"`.'
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        status:
          type: string
          description: State of this alert at the time you requested its details.
            TRACKING indicates the alert condition exists but has not persisted for
            the minimum notification delay. OPEN indicates the alert condition currently
            exists. CLOSED indicates the alert condition has been resolved.
          readOnly: true
          example: OPEN
          enum:
          - CANCELLED
          - CLOSED
          - OPEN
          - TRACKING
        updated:
          type: string
          description: Date and time when someone last updated this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
    RawMetricEventView:
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        currentValue:
          "$ref": "#/components/schemas/RawMetricValueView"
        deskLocation:
          type: string
          description: Desk location of MongoDB employee associated with the event.
          readOnly: true
        employeeIdentifier:
          type: string
          description: Identifier of MongoDB employee associated with the event.
          readOnly: true
        eventTypeName:
          "$ref": "#/components/schemas/HostMetricEventTypeView"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        metricName:
          type: string
          description: Human-readable label of the metric associated with the `alertId`.
            This field may change type of `currentValue` field.
          readOnly: true
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        port:
          type: integer
          description: IANA port on which the MongoDB process listens for requests.
          format: int32
          readOnly: true
          example: 27017
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        replicaSetName:
          type: string
          description: Human-readable label of the replica set associated with the
            event.
          readOnly: true
          example: event-replica-set
        shardName:
          type: string
          description: Human-readable label of the shard associated with the event.
          readOnly: true
          example: event-sh-01
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
    RawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    RawMetricUnits:
      title: Raw Metric Units
      type: string
      description: Element used to express the quantity. This can be an element of
        time, storage capacity, and the like.
      enum:
      - RAW
      default: RAW
    RawMetricValueView:
      title: Raw Metric Value
      type: object
      properties:
        number:
          type: number
          description: Amount of the `metricName` recorded at the time of the event.
            This value triggered the alert.
          format: double
          readOnly: true
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
      description: Measurement of the `metricName` recorded at the time of the event.
      readOnly: true
    RegionSpec:
      title: Region Configuration
      type: object
      properties:
        analyticsNodes:
          type: integer
          description: Number of analytics nodes in the region. Analytics nodes handle
            analytic data such as reporting queries from MongoDB Connector for Business
            Intelligence on MongoDB Cloud. Analytics nodes are read-only, and can
            never become the primary. Use `replicationSpecs[n].{region}.analyticsNodes`
            instead.
          format: int32
        electableNodes:
          type: integer
          description: Number of electable nodes to deploy in the specified region.
            Electable nodes can become the primary and can facilitate local reads.
            Use `replicationSpecs[n].{region}.electableNodes` instead.
          format: int32
          enum:
          - 0
          - 3
          - 5
          - 7
        priority:
          maximum: 7
          minimum: 0
          type: integer
          description: Number that indicates the election priority of the region.
            To identify the Preferred Region of the cluster, set this parameter to
            `7`. The primary node runs in the **Preferred Region**. To identify a
            read-only region, set this parameter to `0`.
          format: int32
        readOnlyNodes:
          type: integer
          description: Number of read-only nodes in the region. Read-only nodes can
            never become the primary member, but can facilitate local reads. Use `replicationSpecs[n].{region}.readOnlyNodes`
            instead.
          format: int32
      description: Physical location where MongoDB Cloud provisions cluster nodes.
    ReplicaSetAlertConfigViewForNdsGroup:
      title: Replica Set Alert Configuration
      required:
      - eventTypeName
      - notifications
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created the alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled this alert configuration
            for the specified project.
          default: false
        eventTypeName:
          "$ref": "#/components/schemas/ReplicaSetEventTypeViewForNdsGroupAlertableNoThreshold"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert
            configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        matchers:
          type: array
          description: List of rules that determine whether MongoDB Cloud checks an
            object for the alert configuration. You can filter using the matchers
            array if the `eventTypeName` specifies an event for a host, replica set,
            or sharded cluster.
          items:
            "$ref": "#/components/schemas/ReplicaSetMatcher"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        notifications:
          maxItems: 25
          minItems: 1
          type: array
          description: List that contains the targets that MongoDB Cloud sends notifications.
          items:
            "$ref": "#/components/schemas/AlertsNotificationRootForGroup"
        severityOverride:
          "$ref": "#/components/schemas/EventSeverity"
        threshold:
          "$ref": "#/components/schemas/AlertsThresholdInteger"
        updated:
          type: string
          description: Date and time when someone last updated this alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Replica Set alert configuration allows to select which conditions
        of mongod replica set trigger alerts and how users are notified.
    ReplicaSetAlertViewForNdsGroup:
      title: ReplicaSet Alerts
      required:
      - alertConfigId
      - created
      - eventTypeName
      - id
      - status
      - updated
      type: object
      properties:
        acknowledgedUntil:
          type: string
          description: |-
            Date and time until which this alert has been acknowledged. This parameter expresses its value in the ISO 8601 timestamp format in UTC. The resource returns this parameter if a MongoDB User previously acknowledged this alert.

            - To acknowledge this alert forever, set the parameter value to 100 years in the future.

            - To unacknowledge a previously acknowledged alert, do not set this parameter value.
          format: date-time
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        acknowledgementComment:
          maxLength: 200
          type: string
          description: Comment that a MongoDB Cloud user submitted when acknowledging
            the alert.
          example: Expiration on 3/19.  Silencing for 7days.
        acknowledgingUsername:
          type: string
          description: MongoDB Cloud username of the person who acknowledged the alert.
            The response returns this parameter if a MongoDB Cloud user previously
            acknowledged this alert.
          format: email
          readOnly: true
        alertConfigId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the alert
            configuration that sets this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        clusterName:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the cluster to which this
            alert applies. This resource returns this parameter for alerts of events
            impacting backups, replica sets, or sharded clusters.
          readOnly: true
          example: cluster1
        created:
          type: string
          description: Date and time when MongoDB Cloud created this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/ReplicaSetEventTypeViewForNdsGroupAlertable"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        hostnameAndPort:
          type: string
          description: Hostname and port of the host to which this alert applies.
            The resource returns this parameter for alerts of events impacting hosts
            or replica sets.
          readOnly: true
          example: cloud-test.mongodb.com:27017
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        lastNotified:
          type: string
          description: Date and time that any notifications were last sent for this
            alert. This parameter expresses its value in the ISO 8601 timestamp format
            in UTC. The resource returns this parameter if MongoDB Cloud has sent
            notifications for this alert.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        nonRunningHostIds:
          type: array
          description: List of unique 24-hexadecimal character strings that identify
            the replica set members that are not in PRIMARY nor SECONDARY state.
          readOnly: true
          items:
            pattern: "^([a-f0-9]{8,32})$"
            type: string
            example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            organization that owns the project to which this alert applies.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        parentClusterId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            parent cluster to which this alert applies. The parent cluster contains
            the sharded nodes. MongoDB Cloud returns this parameter only for alerts
            of events impacting sharded clusters.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        replicaSetName:
          type: string
          description: Name of the replica set to which this alert applies. The response
            returns this parameter for alerts of events impacting backups, hosts,
            or replica sets.
          readOnly: true
          example: event-replica-set
        resolved:
          type: string
          description: 'Date and time that this alert changed to `"status" : "CLOSED"`.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC. The resource returns this parameter once `"status" : "CLOSED"`.'
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        status:
          type: string
          description: State of this alert at the time you requested its details.
            TRACKING indicates the alert condition exists but has not persisted for
            the minimum notification delay. OPEN indicates the alert condition currently
            exists. CLOSED indicates the alert condition has been resolved.
          readOnly: true
          example: OPEN
          enum:
          - CANCELLED
          - CLOSED
          - OPEN
          - TRACKING
        updated:
          type: string
          description: Date and time when someone last updated this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Replica Set alert notifies about different activities on replica
        set of mongod instances.
    ReplicaSetEventTypeViewForNdsGroup:
      title: ReplicaSet Event Types
      type: string
      description: Unique identifier of event type.
      example: PRIMARY_ELECTED
      enum:
      - PRIMARY_ELECTED
      - REPLICATION_OPLOG_WINDOW_HEALTHY
      - REPLICATION_OPLOG_WINDOW_RUNNING_OUT
      - ONE_PRIMARY
      - NO_PRIMARY
      - TOO_MANY_ELECTIONS
      - TOO_FEW_HEALTHY_MEMBERS
      - TOO_MANY_UNHEALTHY_MEMBERS
    ReplicaSetEventTypeViewForNdsGroupAlertable:
      title: ReplicaSet Event Types
      type: string
      description: Incident that triggered this alert.
      readOnly: true
      example: NO_PRIMARY
      enum:
      - REPLICATION_OPLOG_WINDOW_RUNNING_OUT
      - NO_PRIMARY
      - PRIMARY_ELECTED
      - TOO_MANY_ELECTIONS
      - TOO_FEW_HEALTHY_MEMBERS
      - TOO_MANY_UNHEALTHY_MEMBERS
    ReplicaSetEventTypeViewForNdsGroupAlertableNoThreshold:
      title: ReplicaSet Event Types
      type: string
      description: Event type that triggers an alert.
      example: NO_PRIMARY
      externalDocs:
        description: Atlas Alert Event Types
        url: https://www.mongodb.com/docs/atlas/reference/atlas-alert-event-types/
      enum:
      - NO_PRIMARY
      - PRIMARY_ELECTED
    ReplicaSetEventTypeViewForNdsGroupAlertableWithThreshold:
      title: ReplicaSet Event Types
      type: string
      description: Event type that triggers an alert.
      example: TOO_MANY_ELECTIONS
      externalDocs:
        description: Atlas Alert Event Types
        url: https://www.mongodb.com/docs/atlas/reference/atlas-alert-event-types/
      enum:
      - TOO_MANY_ELECTIONS
      - REPLICATION_OPLOG_WINDOW_RUNNING_OUT
      - TOO_FEW_HEALTHY_MEMBERS
      - TOO_MANY_UNHEALTHY_MEMBERS
    ReplicaSetMatcher:
      title: Matchers
      required:
      - fieldName
      - operator
      - value
      type: object
      properties:
        fieldName:
          "$ref": "#/components/schemas/ReplicaSetMatcherField"
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value against **matcher[n].value**. The `REGEX` operator only supports
            inclusive matches. Use the `NOT_CONTAINS` operator to exclude values.
          enum:
          - EQUALS
          - CONTAINS
          - STARTS_WITH
          - ENDS_WITH
          - NOT_EQUALS
          - NOT_CONTAINS
          - REGEX
        value:
          type: string
          description: Value to match or exceed using the specified `matchers.operator`.
          example: event-replica-set
      description: Rules to apply when comparing an replica set against this alert
        configuration.
    ReplicaSetMatcherField:
      title: Replica Set Matcher Fields
      type: string
      description: Name of the parameter in the target object that MongoDB Cloud checks.
        The parameter must match all rules for MongoDB Cloud to check for alert configurations.
      example: REPLICA_SET_NAME
      enum:
      - REPLICA_SET_NAME
      - SHARD_NAME
      - CLUSTER_NAME
    ReplicaSetThresholdAlertConfigViewForNdsGroup:
      title: Replica Set Threshold Alert Configuration
      required:
      - eventTypeName
      - notifications
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created the alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled this alert configuration
            for the specified project.
          default: false
        eventTypeName:
          "$ref": "#/components/schemas/ReplicaSetEventTypeViewForNdsGroupAlertableWithThreshold"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert
            configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        matchers:
          type: array
          description: List of rules that determine whether MongoDB Cloud checks an
            object for the alert configuration. You can filter using the matchers
            array if the `eventTypeName` specifies an event for a host, replica set,
            or sharded cluster.
          items:
            "$ref": "#/components/schemas/ReplicaSetMatcher"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        notifications:
          maxItems: 25
          minItems: 1
          type: array
          description: List that contains the targets that MongoDB Cloud sends notifications.
          items:
            "$ref": "#/components/schemas/AlertsNotificationRootForGroup"
        severityOverride:
          "$ref": "#/components/schemas/EventSeverity"
        threshold:
          "$ref": "#/components/schemas/AlertsThresholdInteger"
        updated:
          type: string
          description: Date and time when someone last updated this alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Replica Set threshold alert configuration allows to select thresholds
        for conditions of mongod replica set which trigger alerts and how users are
        notified.
      discriminator:
        propertyName: eventTypeName
        mapping:
          REPLICATION_OPLOG_WINDOW_RUNNING_OUT: "#/components/schemas/LessThanTimeThresholdAlertConfigViewForNdsGroup"
          TOO_MANY_ELECTIONS: "#/components/schemas/GreaterThanRawThresholdAlertConfigViewForNdsGroup"
      x-xgen-IPA-exception:
        xgen-IPA-125-discriminator-must-accompany-oneOf-anyOf-allOf: Schema predates
          IPA validation.
    ReplicationSpec:
      title: Replication Specifications
      type: object
      properties:
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the replication
            object for a zone in a Multi-Cloud Cluster. If you include existing zones
            in the request, you must specify this parameter. If you add a new zone
            to an existing Multi-Cloud Cluster, you may specify this parameter. The
            request deletes any existing zones in the Multi-Cloud Cluster that you
            exclude from the request.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        numShards:
          minimum: 1
          type: integer
          description: |-
            Positive integer that specifies the number of shards to deploy in each specified zone. If you set this value to `1` and `clusterType` is `SHARDED`, MongoDB Cloud deploys a single-shard sharded cluster. Don't create a sharded cluster with a single shard for production environments. Single-shard sharded clusters don't provide the same benefits as multi-shard configurations.

             If you are upgrading a replica set to a sharded cluster, you cannot increase the number of shards in the same update request.  You should wait until after the cluster has completed upgrading to sharded and you have reconnected all application clients to the MongoDB router before adding additional shards. Otherwise, your data might become inconsistent once MongoDB Cloud begins distributing data across shards.
          format: int32
        regionConfigs:
          type: array
          description: |-
            Hardware specifications for nodes set for a given region. Each `regionConfigs` object must be unique by region and cloud provider within the `replicationSpec`. Each `regionConfigs` object describes the region's priority in elections and the number and type of MongoDB nodes that MongoDB Cloud deploys to the region. Each `regionConfigs` object must have either an `analyticsSpecs` object, `electableSpecs` object, or `readOnlySpecs` object. Tenant clusters only require `electableSpecs`. Dedicated clusters can specify any of these specifications, but must have at least one `electableSpecs` object within a `replicationSpec`. Every hardware specification must use the same `instanceSize`.

            **Example:**

            If you set `replicationSpecs[n].regionConfigs[m].analyticsSpecs.instanceSize` : `M30`, set `replicationSpecs[n].regionConfigs[m].electableSpecs.instanceSize` : `M30` if you have electable nodes and `replicationSpecs[n].regionConfigs[m].readOnlySpecs.instanceSize` : `M30` if you have read-only nodes.
          items:
            "$ref": "#/components/schemas/CloudRegionConfig"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        zoneId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies a zone in
            a Global Cluster.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        zoneName:
          type: string
          description: 'Human-readable label that identifies the zone in a Global
            Cluster. Provide this value only if `"clusterType" : "GEOSHARDED"`.'
      description: Details that explain how MongoDB Cloud replicates data on the specified
        MongoDB database.
    RequestAccepted:
      type: object
      description: Accepted.
    ResourceEventTypeView:
      title: Resource Event Types
      type: string
      description: Unique identifier of event type.
      example: TAGS_MODIFIED
      enum:
      - TAGS_MODIFIED
      - CLUSTER_TAGS_MODIFIED
      - GROUP_TAGS_MODIFIED
    ResourceEventTypeViewForOrg:
      title: Resource Event Types
      type: string
      description: Unique identifier of event type.
      example: GROUP_TAGS_MODIFIED
      enum:
      - TAGS_MODIFIED
      - GROUP_TAGS_MODIFIED
    ResourceEventViewForNdsGroup:
      title: Resource Events
      required:
      - created
      - eventTypeName
      - id
      - resourceType
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/ResourceEventTypeView"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        resourceId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the resource
            associated with the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        resourceType:
          type: string
          description: Unique identifier of resource type.
          example: cluster
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Resource event reflects different activities about resources.
    ResourceEventViewForOrg:
      title: Resource Events
      required:
      - created
      - eventTypeName
      - id
      - resourceType
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/ResourceEventTypeViewForOrg"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        resourceId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the resource
            associated with the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        resourceType:
          type: string
          description: Unique identifier of resource type.
          example: cluster
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Resource event reflects different activities about resources.
    ResourceTag:
      title: Resource Tag
      required:
      - key
      - value
      type: object
      properties:
        key:
          maxLength: 255
          minLength: 1
          type: string
          description: 'Constant that defines the set of the tag. For example, `environment`
            in the `environment : production` tag.'
        value:
          maxLength: 255
          minLength: 1
          type: string
          description: 'Variable that belongs to the set of the tag. For example,
            `production` in the `environment : production` tag.'
      description: 'Key-value pair that tags and categorizes a MongoDB Cloud organization,
        project, or cluster. For example, `environment : production`.'
    RestartsInLastHourRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    RestoreJobFileHash:
      type: object
      properties:
        fileName:
          type: string
          description: Human-readable label that identifies the hashed file.
          readOnly: true
        hash:
          type: string
          description: Hashed checksum that maps to the restore file.
          readOnly: true
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        typeName:
          type: string
          description: Human-readable label that identifies the hashing algorithm
            used to compute the hash value.
          readOnly: true
          enum:
          - SHA1
      description: Key and value pair that map one restore file to one hashed checksum.
        This parameter applies after you download the corresponding `delivery.url`.
      readOnly: true
    SMSNotification:
      title: SMS Notification
      required:
      - typeName
      type: object
      properties:
        delayMin:
          type: integer
          description: Number of minutes that MongoDB Cloud waits after detecting
            an alert condition before it sends out the first notification.
          format: int32
        intervalMin:
          minimum: 5
          type: integer
          description: |-
            Number of minutes to wait between successive notifications. MongoDB Cloud sends notifications until someone acknowledges the unacknowledged alert.

            PagerDuty, VictorOps, and OpsGenie notifications don't return this element. Configure and manage the notification interval within each of those services.
          format: int32
        mobileNumber:
          type: string
          description: 'Mobile phone number to which MongoDB Cloud sends alert notifications.
            The resource requires this parameter when `"notifications.[n].typeName"
            : "SMS"`.'
          example: '1233337892'
        notifierId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: The `notifierId` is a system-generated unique identifier assigned
            to each notification method. This is needed when updating third-party
            notifications without requiring explicit authentication credentials.
          example: 32b6e34b3d91647abb20e7b8
        typeName:
          type: string
          description: Human-readable label that displays the alert notification type.
          enum:
          - SMS
      description: SMS notification configuration for MongoDB Cloud to send information
        when an event triggers an alert condition.
    SampleDatasetStatus:
      type: object
      properties:
        _id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies this
            sample dataset.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        clusterName:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the cluster into which
            you loaded the sample dataset.
          readOnly: true
        completeDate:
          type: string
          description: Date and time when the sample dataset load job completed. MongoDB
            Cloud represents this timestamp in ISO 8601 format in UTC.
          format: date-time
          readOnly: true
        createDate:
          type: string
          description: Date and time when you started the sample dataset load job.
            MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
          format: date-time
          readOnly: true
        errorMessage:
          type: string
          description: Details of the error returned when MongoDB Cloud loads the
            sample dataset. This endpoint returns null if state has a value other
            than FAILED.
          readOnly: true
        state:
          type: string
          description: Status of the sample dataset load job.
          readOnly: true
          enum:
          - WORKING
          - FAILED
          - COMPLETED
    SearchDeploymentAuditTypeView:
      title: Search Deployment Audit Types
      type: string
      description: Unique identifier of event type.
      example: SEARCH_DEPLOYMENT_CREATED
      enum:
      - SEARCH_DEPLOYMENT_CREATED
      - SEARCH_DEPLOYMENT_UPDATED
      - SEARCH_DEPLOYMENT_DELETED
    SearchDeploymentAuditView:
      title: Search Deployment Audits
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/SearchDeploymentAuditTypeView"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Indicates activities on decoupled search nodes.
    SearchIndex:
      required:
      - collectionName
      - database
      - name
      type: object
      allOf:
      - "$ref": "#/components/schemas/ClusterSearchIndex"
      - type: object
        properties:
          analyzer:
            type: string
            description: |-
              Specific pre-defined method chosen to convert database field text into searchable words. This conversion reduces the text of fields into the smallest units of text. These units are called a **term** or **token**. This process, known as tokenization, involves a variety of changes made to the text in fields:

              - extracting words
              - removing punctuation
              - removing accents
              - changing to lowercase
              - removing common words
              - reducing words to their root form (stemming)
              - changing words to their base form (lemmatization)
               MongoDB Cloud uses the selected process to build the Atlas Search index.
            externalDocs:
              description: Atlas Search Analyzers
              url: https://dochub.mongodb.org/core/analyzers--fts
            enum:
            - lucene.standard
            - lucene.simple
            - lucene.whitespace
            - lucene.keyword
            - lucene.arabic
            - lucene.armenian
            - lucene.basque
            - lucene.bengali
            - lucene.brazilian
            - lucene.bulgarian
            - lucene.catalan
            - lucene.chinese
            - lucene.cjk
            - lucene.czech
            - lucene.danish
            - lucene.dutch
            - lucene.english
            - lucene.finnish
            - lucene.french
            - lucene.galician
            - lucene.german
            - lucene.greek
            - lucene.hindi
            - lucene.hungarian
            - lucene.indonesian
            - lucene.irish
            - lucene.italian
            - lucene.japanese
            - lucene.korean
            - lucene.kuromoji
            - lucene.latvian
            - lucene.lithuanian
            - lucene.morfologik
            - lucene.nori
            - lucene.norwegian
            - lucene.persian
            - lucene.portuguese
            - lucene.romanian
            - lucene.russian
            - lucene.smartcn
            - lucene.sorani
            - lucene.spanish
            - lucene.swedish
            - lucene.thai
            - lucene.turkish
            - lucene.ukrainian
            default: lucene.standard
            x-xgen-IPA-exception:
              xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
                IPA validation.
              xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
                validation.
          analyzers:
            type: array
            description: List of user-defined methods to convert database field text
              into searchable words.
            externalDocs:
              description: Custom Atlas Search Analyzers
              url: https://dochub.mongodb.org/core/custom-fts
            items:
              "$ref": "#/components/schemas/ApiAtlasFTSAnalyzersViewManual"
            x-xgen-IPA-exception:
              xgen-IPA-124-array-max-items: Schema predates IPA validation.
          mappings:
            "$ref": "#/components/schemas/ApiAtlasFTSMappingsViewManual"
          searchAnalyzer:
            type: string
            description: Method applied to identify words when searching this index.
            enum:
            - lucene.standard
            - lucene.simple
            - lucene.whitespace
            - lucene.keyword
            - lucene.arabic
            - lucene.armenian
            - lucene.basque
            - lucene.bengali
            - lucene.brazilian
            - lucene.bulgarian
            - lucene.catalan
            - lucene.chinese
            - lucene.cjk
            - lucene.czech
            - lucene.danish
            - lucene.dutch
            - lucene.english
            - lucene.finnish
            - lucene.french
            - lucene.galician
            - lucene.german
            - lucene.greek
            - lucene.hindi
            - lucene.hungarian
            - lucene.indonesian
            - lucene.irish
            - lucene.italian
            - lucene.japanese
            - lucene.korean
            - lucene.kuromoji
            - lucene.latvian
            - lucene.lithuanian
            - lucene.morfologik
            - lucene.nori
            - lucene.norwegian
            - lucene.persian
            - lucene.portuguese
            - lucene.romanian
            - lucene.russian
            - lucene.smartcn
            - lucene.sorani
            - lucene.spanish
            - lucene.swedish
            - lucene.thai
            - lucene.turkish
            - lucene.ukrainian
            default: lucene.standard
            x-xgen-IPA-exception:
              xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
                IPA validation.
              xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
                validation.
          synonyms:
            type: array
            description: Rule sets that map words to their synonyms in this index.
            externalDocs:
              description: Synonym Mapping
              url: https://dochub.mongodb.org/core/fts-synonym-mappings
            items:
              "$ref": "#/components/schemas/SearchSynonymMappingDefinition"
            x-xgen-IPA-exception:
              xgen-IPA-124-array-max-items: Schema predates IPA validation.
    SearchIndexSizeDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    SearchMaxFieldsIndexedRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    SearchMaxNgramFieldsIndexedRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    SearchNumberOfFieldsInIndexRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    SearchNumberOfQueriesErrorRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    SearchNumberOfQueriesSuccessRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    SearchNumberOfQueriesTotalRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    SearchOpCounterDeleteRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    SearchOpCounterGetMoreRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    SearchOpCounterInsertRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    SearchOpCounterUpdateRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    SearchReplicationLagTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    SearchSynonymMappingDefinition:
      title: Synonym Mapping Definition
      required:
      - analyzer
      - name
      - source
      type: object
      properties:
        analyzer:
          type: string
          description: Specific pre-defined method chosen to apply to the synonyms
            to be searched.
          enum:
          - lucene.standard
          - lucene.simple
          - lucene.whitespace
          - lucene.keyword
          - lucene.arabic
          - lucene.armenian
          - lucene.basque
          - lucene.bengali
          - lucene.brazilian
          - lucene.bulgarian
          - lucene.catalan
          - lucene.chinese
          - lucene.cjk
          - lucene.czech
          - lucene.danish
          - lucene.dutch
          - lucene.english
          - lucene.finnish
          - lucene.french
          - lucene.galician
          - lucene.german
          - lucene.greek
          - lucene.hindi
          - lucene.hungarian
          - lucene.indonesian
          - lucene.irish
          - lucene.italian
          - lucene.japanese
          - lucene.korean
          - lucene.kuromoji
          - lucene.latvian
          - lucene.lithuanian
          - lucene.morfologik
          - lucene.nori
          - lucene.norwegian
          - lucene.persian
          - lucene.portuguese
          - lucene.romanian
          - lucene.russian
          - lucene.smartcn
          - lucene.sorani
          - lucene.spanish
          - lucene.swedish
          - lucene.thai
          - lucene.turkish
          - lucene.ukrainian
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
              IPA validation.
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        name:
          type: string
          description: Human-readable label that identifies the synonym definition.
            Each `synonym.name` must be unique within the same index definition.
        source:
          "$ref": "#/components/schemas/SynonymSource"
      description: Synonyms used for this full text index.
    ServerlessAVGCommandExecutionTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    ServerlessAVGWriteExecutionTimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    ServerlessAWSTenantEndpoint:
      title: AWS
      type: object
      properties:
        _id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the private
            endpoint.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        cloudProviderEndpointId:
          pattern: "^vpce-[0-9a-f]{17}$"
          type: string
          description: Unique string that identifies the private endpoint's network
            interface.
          readOnly: true
        comment:
          maxLength: 80
          type: string
          description: Human-readable comment associated with the private endpoint.
          readOnly: true
        endpointServiceName:
          pattern: "^com\\.amazonaws\\.vpce\\.[a-z-0-9]+\\.vpce-svc-[0-9a-f]{17}"
          type: string
          description: Unique string that identifies the Amazon Web Services (AWS)
            PrivateLink endpoint service. MongoDB Cloud returns null while it creates
            the endpoint service.
          readOnly: true
        errorMessage:
          type: string
          description: Human-readable error message that indicates error condition
            associated with establishing the private endpoint connection.
          readOnly: true
        providerName:
          type: string
          description: Human-readable label that identifies the cloud service provider.
          readOnly: true
          enum:
          - AWS
        status:
          type: string
          description: Human-readable label that indicates the current operating status
            of the private endpoint.
          readOnly: true
          enum:
          - RESERVATION_REQUESTED
          - RESERVED
          - INITIATING
          - AVAILABLE
          - FAILED
          - DELETING
      description: View for a serverless AWS tenant endpoint.
    ServerlessAWSTenantEndpointUpdate:
      title: AWS
      required:
      - providerName
      type: object
      description: Updates to a serverless AWS tenant endpoint.
      allOf:
      - "$ref": "#/components/schemas/ServerlessTenantEndpointUpdate"
      - type: object
        properties:
          cloudProviderEndpointId:
            pattern: "^vpce-[0-9a-f]{17}$"
            type: string
            description: Unique string that identifies the private endpoint's network
              interface.
            writeOnly: true
    ServerlessAzureTenantEndpoint:
      title: Azure
      type: object
      properties:
        _id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the private
            endpoint.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        cloudProviderEndpointId:
          pattern: "^/subscriptions/[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}/resource[gG]roups/private[Ll]ink/providers/Microsoft\\.Network/privateEndpoints/[-\\w._()]+$"
          type: string
          description: Unique string that identifies the Azure private endpoint's
            network interface that someone added to this private endpoint service.
          readOnly: true
        comment:
          maxLength: 80
          type: string
          description: Human-readable comment associated with the private endpoint.
          readOnly: true
        endpointServiceName:
          pattern: "^pls_[0-9a-f]{24}$"
          type: string
          description: Unique string that identifies the Azure private endpoint service.
            MongoDB Cloud returns null while it creates the endpoint service.
          readOnly: true
        errorMessage:
          type: string
          description: Human-readable error message that indicates error condition
            associated with establishing the private endpoint connection.
          readOnly: true
        privateEndpointIpAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 address of the private endpoint in your Azure VNet that
            someone added to this private endpoint service.
          readOnly: true
        privateLinkServiceResourceId:
          type: string
          description: Root-relative path that identifies the Azure Private Link Service
            that MongoDB Cloud manages. MongoDB Cloud returns null while it creates
            the endpoint service.
          readOnly: true
        providerName:
          type: string
          description: Human-readable label that identifies the cloud service provider.
          readOnly: true
          enum:
          - AZURE
        status:
          type: string
          description: Human-readable label that indicates the current operating status
            of the private endpoint.
          readOnly: true
          enum:
          - RESERVATION_REQUESTED
          - RESERVED
          - INITIATING
          - AVAILABLE
          - FAILED
          - DELETING
      description: View for a serverless Azure tenant endpoint.
    ServerlessAzureTenantEndpointUpdate:
      title: AZURE
      required:
      - providerName
      type: object
      description: Updates to a serverless Azure tenant endpoint.
      allOf:
      - "$ref": "#/components/schemas/ServerlessTenantEndpointUpdate"
      - type: object
        properties:
          cloudProviderEndpointId:
            pattern: "^/subscriptions/[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}/resource[gG]roups/private[Ll]ink/providers/Microsoft\\.Network/privateEndpoints/[-\\w._()]+$"
            type: string
            description: Unique string that identifies the Azure private endpoint's
              network interface for this private endpoint service.
            writeOnly: true
          privateEndpointIpAddress:
            pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
            type: string
            description: IPv4 address of the private endpoint in your Azure VNet that
              someone added to this private endpoint service.
            writeOnly: true
    ServerlessBackupRestoreJob:
      required:
      - deliveryType
      - targetClusterName
      - targetGroupId
      type: object
      properties:
        cancelled:
          type: boolean
          description: Flag that indicates whether someone canceled this restore job.
          readOnly: true
        deliveryType:
          type: string
          description: Human-readable label that categorizes the restore job to create.
          enum:
          - automated
          - download
          - pointInTime
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        deliveryUrl:
          type: array
          description: 'One or more Uniform Resource Locators (URLs) that point to
            the compressed snapshot files for manual download. MongoDB Cloud returns
            this parameter when `"deliveryType" : "download"`.'
          readOnly: true
          items:
            type: string
            description: One Uniform Resource Locator that points to the compressed
              snapshot files for manual download.
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        desiredTimestamp:
          "$ref": "#/components/schemas/ApiBSONTimestampView"
        expired:
          type: boolean
          description: Flag that indicates whether the restore job expired.
          readOnly: true
        expiresAt:
          type: string
          description: Date and time when the restore job expires. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        failed:
          type: boolean
          description: Flag that indicates whether the restore job failed.
          readOnly: true
        finishedAt:
          type: string
          description: Date and time when the restore job completed. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            restore job.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        oplogInc:
          minimum: 1
          type: integer
          description: 'Oplog operation number from which you want to restore this
            snapshot. This number represents the second part of an Oplog timestamp.
            The resource returns this parameter when `"deliveryType" : "pointInTime"`
            and `oplogTs` exceeds `0`.'
          format: int32
          example: 1
        oplogTs:
          minimum: 1199145600
          type: integer
          description: 'Date and time from which you want to restore this snapshot.
            This parameter expresses this timestamp in the number of seconds that
            have elapsed since the UNIX epoch. This number represents the first part
            of an Oplog timestamp. The resource returns this parameter when `"deliveryType"
            : "pointInTime"` and `oplogTs` exceeds `0`.'
          format: int32
        pointInTimeUTCSeconds:
          minimum: 1199145600
          type: integer
          description: 'Date and time from which MongoDB Cloud restored this snapshot.
            This parameter expresses this timestamp in the number of seconds that
            have elapsed since the UNIX epoch. The resource returns this parameter
            when `"deliveryType" : "pointInTime"` and `pointInTimeUTCSeconds` exceeds
            `0`.'
          format: int32
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        snapshotId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            snapshot.
          example: 32b6e34b3d91647abb20e7b8
        targetClusterName:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the target cluster to
            which the restore job restores the snapshot. The resource returns this
            parameter when `"deliveryType":` `"automated"`.
        targetGroupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the target
            project for the specified `targetClusterName`.
          example: 32b6e34b3d91647abb20e7b8
        timestamp:
          type: string
          description: Date and time when MongoDB Cloud took the snapshot associated
            with `snapshotId`. This parameter expresses its value in the ISO 8601
            timestamp format in UTC.
          format: date-time
          readOnly: true
    ServerlessBackupSnapshot:
      type: object
      properties:
        createdAt:
          type: string
          description: Date and time when MongoDB Cloud took the snapshot. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        expiresAt:
          type: string
          description: Date and time when MongoDB Cloud deletes the snapshot. This
            parameter expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        frequencyType:
          type: string
          description: Human-readable label that identifies how often this snapshot
            triggers.
          readOnly: true
          enum:
          - hourly
          - daily
          - weekly
          - monthly
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the snapshot.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        mongodVersion:
          pattern: "([\\d]+\\.[\\d]+\\.[\\d]+)"
          type: string
          description: Version of the MongoDB host that this snapshot backs up.
          readOnly: true
        serverlessInstanceName:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label given to the serverless instance from
            which MongoDB Cloud took this snapshot.
          readOnly: true
        snapshotType:
          type: string
          description: Human-readable label that identifies when this snapshot triggers.
          readOnly: true
          enum:
          - onDemand
          - scheduled
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        status:
          type: string
          description: Human-readable label that indicates the stage of the backup
            process for this snapshot.
          readOnly: true
          enum:
          - queued
          - inProgress
          - completed
          - failed
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        storageSizeBytes:
          type: integer
          description: Number of bytes taken to store the backup snapshot.
          format: int64
          readOnly: true
    ServerlessConnectionPercentageRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    ServerlessConnectionStringsPrivateEndpointItem:
      title: Serverless Instance Private Endpoint Connection Strings Endpoint
      type: object
      properties:
        endpointId:
          type: string
          description: Unique string that the cloud provider uses to identify the
            private endpoint.
          readOnly: true
        providerName:
          type: string
          description: Cloud provider where the private endpoint is deployed.
          readOnly: true
          enum:
          - AWS
          - AZURE
        region:
          type: string
          description: Region where the private endpoint is deployed.
          readOnly: true
      description: Details of a private endpoint deployed for this serverless instance.
    ServerlessConnectionStringsPrivateEndpointList:
      title: Serverless Instance Private Endpoint Connection String
      type: object
      properties:
        endpoints:
          type: array
          description: List that contains the private endpoints through which you
            connect to MongoDB Cloud when you use `connectionStrings.privateEndpoint[n].srvConnectionString`.
          readOnly: true
          items:
            "$ref": "#/components/schemas/ServerlessConnectionStringsPrivateEndpointItem"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        srvConnectionString:
          type: string
          description: Private endpoint-aware connection string that uses the `mongodb+srv://`
            protocol to connect to MongoDB Cloud through a private endpoint. The `mongodb+srv`
            protocol tells the driver to look up the seed list of hosts in the Domain
            Name System (DNS).
          readOnly: true
        type:
          type: string
          description: MongoDB process type to which your application connects.
          readOnly: true
          enum:
          - MONGOS
      description: Private endpoint connection string that you can use to connect
        to this serverless instance through a private endpoint.
      externalDocs:
        description: Private Endpoint for Serverless Instance
        url: https://docs.atlas.mongodb.com/security-serverless-private-endpoint/
    ServerlessEventTypeViewAlertable:
      title: Serverless Event Types
      type: string
      description: Event type that triggers an alert.
      example: OUTSIDE_SERVERLESS_METRIC_THRESHOLD
      externalDocs:
        description: Atlas Alert Event Types
        url: https://www.mongodb.com/docs/atlas/reference/atlas-alert-event-types/
      enum:
      - OUTSIDE_SERVERLESS_METRIC_THRESHOLD
    ServerlessInstanceDescription:
      title: Serverless Instance Description
      required:
      - providerSettings
      type: object
      properties:
        connectionStrings:
          "$ref": "#/components/schemas/ServerlessInstanceDescriptionConnectionStrings"
        createDate:
          type: string
          description: Date and time when MongoDB Cloud created this serverless instance.
            MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.
          format: date-time
          readOnly: true
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            project.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the serverless
            instance.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        mongoDBVersion:
          pattern: "([\\d]+\\.[\\d]+\\.[\\d]+)"
          type: string
          description: Version of MongoDB that the serverless instance runs.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        name:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the serverless instance.
        providerSettings:
          "$ref": "#/components/schemas/ServerlessProviderSettings"
        serverlessBackupOptions:
          "$ref": "#/components/schemas/ClusterServerlessBackupOptions"
        stateName:
          type: string
          description: |-
            Human-readable label that indicates any current activity being taken on this cluster by the Atlas control plane. With the exception of CREATING and DELETING states, clusters should always be available and have a Primary node even when in states indicating ongoing activity.

             - `IDLE`: Atlas is making no changes to this cluster and all changes requested via the UI or API can be assumed to have been applied.
             - `CREATING`: A cluster being provisioned for the very first time returns state CREATING until it is ready for connections. Ensure IP Access List and DB Users are configured before attempting to connect.
             - `UPDATING`: A change requested via the UI, API, AutoScaling, or other scheduled activity is taking place.
             - `DELETING`: The cluster is in the process of deletion and will soon be deleted.
             - `REPAIRING`: One or more nodes in the cluster are being returned to service by the Atlas control plane. Other nodes should continue to provide service as normal.
          readOnly: true
          enum:
          - IDLE
          - CREATING
          - UPDATING
          - DELETING
          - REPAIRING
        tags:
          type: array
          description: List that contains key-value pairs between 1 to 255 characters
            in length for tagging and categorizing the serverless instance.
          items:
            "$ref": "#/components/schemas/ResourceTag"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        terminationProtectionEnabled:
          type: boolean
          description: Flag that indicates whether termination protection is enabled
            on the serverless instance. If set to `true`, MongoDB Cloud won't delete
            the serverless instance. If set to `false`, MongoDB Cloud will delete
            the serverless instance.
          default: false
      description: Group of settings that configure a MongoDB serverless instance.
    ServerlessInstanceDescriptionConnectionStrings:
      title: Serverless Instance Connection Strings
      type: object
      properties:
        privateEndpoint:
          type: array
          description: List of private endpoint-aware connection strings that you
            can use to connect to this serverless instance through a private endpoint.
            This parameter returns only if you created a private endpoint for this
            serverless instance and it is AVAILABLE.
          readOnly: true
          items:
            "$ref": "#/components/schemas/ServerlessConnectionStringsPrivateEndpointList"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        standardSrv:
          type: string
          description: Public connection string that you can use to connect to this
            serverless instance. This connection string uses the `mongodb+srv://`
            protocol.
          readOnly: true
          externalDocs:
            description: Connection String URI Format
            url: https://docs.mongodb.com/manual/reference/connection-string/
      description: Collection of Uniform Resource Locators that point to the MongoDB
        database.
      readOnly: true
      externalDocs:
        description: Connection string URI format.
        url: https://docs.mongodb.com/manual/reference/connection-string/
    ServerlessMetricAlertConfigViewForNdsGroup:
      title: Serverless Alert Configuration
      required:
      - eventTypeName
      - notifications
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created the alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled this alert configuration
            for the specified project.
          default: false
        eventTypeName:
          "$ref": "#/components/schemas/ServerlessEventTypeViewAlertable"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert
            configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        matchers:
          type: array
          description: Matching conditions for target resources.
          items:
            "$ref": "#/components/schemas/AlertMatcher"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        metricThreshold:
          "$ref": "#/components/schemas/ServerlessMetricThreshold"
        notifications:
          maxItems: 25
          minItems: 1
          type: array
          description: List that contains the targets that MongoDB Cloud sends notifications.
          items:
            "$ref": "#/components/schemas/AlertsNotificationRootForGroup"
        severityOverride:
          "$ref": "#/components/schemas/EventSeverity"
        updated:
          type: string
          description: Date and time when someone last updated this alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Serverless metric alert configuration allows to select which serverless
        database metrics trigger alerts and how users are notified.
    ServerlessMetricThreshold:
      title: Serverless Metric Threshold
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          type: string
          description: Element used to express the quantity. This can be an element
            of time, storage capacity, and the like.
          enum:
          - bits
          - Kbits
          - Mbits
          - Gbits
          - bytes
          - KB
          - MB
          - GB
          - TB
          - PB
          - nsec
          - msec
          - sec
          - min
          - hours
          - million minutes
          - days
          - requests
          - 1000 requests
          - tokens
          - million tokens
          - pixels
          - billion pixels
          - GB seconds
          - GB hours
          - GB days
          - RPU
          - thousand RPU
          - million RPU
          - WPU
          - thousand WPU
          - million WPU
          - count
          - thousand
          - million
          - billion
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
              IPA validation.
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Threshold for the metric that, when exceeded, triggers an alert.
        The metric threshold pertains to event types which reflects changes of measurements
        and metrics about the serverless database.
      discriminator:
        propertyName: metricName
        mapping:
          SERVERLESS_AVG_COMMAND_EXECUTION_TIME: "#/components/schemas/ServerlessAVGCommandExecutionTimeMetricThresholdView"
          SERVERLESS_AVG_READ_EXECUTION_TIME: "#/components/schemas/TimeMetricThresholdView"
          SERVERLESS_AVG_WRITE_EXECUTION_TIME: "#/components/schemas/ServerlessAVGWriteExecutionTimeMetricThresholdView"
          SERVERLESS_CONNECTIONS: "#/components/schemas/RawMetricThresholdView"
          SERVERLESS_CONNECTIONS_PERCENT: "#/components/schemas/ServerlessConnectionPercentageRawMetricThresholdView"
          SERVERLESS_DATA_SIZE_TOTAL: "#/components/schemas/DataMetricThresholdView"
          SERVERLESS_NETWORK_BYTES_IN: "#/components/schemas/ServerlessNetworkBytesInDataMetricThresholdView"
          SERVERLESS_NETWORK_BYTES_OUT: "#/components/schemas/ServerlessNetworkBytesOutDataMetricThresholdView"
          SERVERLESS_NETWORK_NUM_REQUESTS: "#/components/schemas/ServerlessNetworkNumRequestRawMetricThresholdView"
          SERVERLESS_OPCOUNTER_CMD: "#/components/schemas/ServerlessOpCounterCDMRawMetricThresholdView"
          SERVERLESS_OPCOUNTER_DELETE: "#/components/schemas/ServerlessOpCounterDeleteRawMetricThresholdView"
          SERVERLESS_OPCOUNTER_GETMORE: "#/components/schemas/ServerlessOpCounterGetMoreRawMetricThresholdView"
          SERVERLESS_OPCOUNTER_INSERT: "#/components/schemas/ServerlessOpCounterInsertRawMetricThresholdView"
          SERVERLESS_OPCOUNTER_QUERY: "#/components/schemas/ServerlessOpCounterQueryRawMetricThresholdView"
          SERVERLESS_OPCOUNTER_UPDATE: "#/components/schemas/ServerlessOpCounterUpdateRawMetricThresholdView"
          SERVERLESS_TOTAL_READ_UNITS: "#/components/schemas/RPUMetricThresholdView"
          SERVERLESS_TOTAL_WRITE_UNITS: "#/components/schemas/ServerlessTotalWriteUnitsRPUMetricThresholdView"
      oneOf:
      - "$ref": "#/components/schemas/ServerlessAVGCommandExecutionTimeMetricThresholdView"
      - "$ref": "#/components/schemas/ServerlessAVGWriteExecutionTimeMetricThresholdView"
      - "$ref": "#/components/schemas/TimeMetricThresholdView"
      - "$ref": "#/components/schemas/ServerlessTotalWriteUnitsRPUMetricThresholdView"
      - "$ref": "#/components/schemas/RPUMetricThresholdView"
      - "$ref": "#/components/schemas/ServerlessOpCounterUpdateRawMetricThresholdView"
      - "$ref": "#/components/schemas/ServerlessOpCounterQueryRawMetricThresholdView"
      - "$ref": "#/components/schemas/ServerlessOpCounterInsertRawMetricThresholdView"
      - "$ref": "#/components/schemas/ServerlessOpCounterGetMoreRawMetricThresholdView"
      - "$ref": "#/components/schemas/ServerlessOpCounterDeleteRawMetricThresholdView"
      - "$ref": "#/components/schemas/ServerlessOpCounterCDMRawMetricThresholdView"
      - "$ref": "#/components/schemas/ServerlessNetworkNumRequestRawMetricThresholdView"
      - "$ref": "#/components/schemas/ServerlessNetworkBytesOutDataMetricThresholdView"
      - "$ref": "#/components/schemas/ServerlessNetworkBytesInDataMetricThresholdView"
      - "$ref": "#/components/schemas/DataMetricThresholdView"
      - "$ref": "#/components/schemas/ServerlessConnectionPercentageRawMetricThresholdView"
      - "$ref": "#/components/schemas/RawMetricThresholdView"
    ServerlessMetricUnits:
      title: Serverless Metric Units
      type: string
      description: Element used to express the quantity. This can be an element of
        time, storage capacity, and the like.
      example: RPU
      enum:
      - RPU
      - THOUSAND_RPU
      - MILLION_RPU
      - WPU
      - THOUSAND_WPU
      - MILLION_WPU
    ServerlessNetworkBytesInDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    ServerlessNetworkBytesOutDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    ServerlessNetworkNumRequestRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    ServerlessOpCounterCDMRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    ServerlessOpCounterDeleteRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    ServerlessOpCounterGetMoreRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    ServerlessOpCounterInsertRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    ServerlessOpCounterQueryRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    ServerlessOpCounterUpdateRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    ServerlessProviderSettings:
      title: Cloud Service Provider Settings for a Serverless Instance
      required:
      - backingProviderName
      - regionName
      type: object
      properties:
        backingProviderName:
          type: string
          description: Cloud service provider on which MongoDB Cloud provisioned the
            serverless instance.
          enum:
          - AWS
          - AZURE
          - GCP
        effectiveDiskSizeGBLimit:
          type: integer
          description: Storage capacity of instance data volumes expressed in gigabytes.
            This value is not configurable for Serverless or effectively Flex clusters.
          format: int32
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        effectiveInstanceSizeName:
          "$ref": "#/components/schemas/BaseCloudProviderInstanceSize"
        effectiveProviderName:
          type: string
          description: Cloud service provider on which MongoDB Cloud effectively provisioned
            the serverless instance.
          readOnly: true
        providerName:
          type: string
          description: Human-readable label that identifies the cloud service provider.
          enum:
          - SERVERLESS
          default: SERVERLESS
        regionName:
          type: string
          description: Human-readable label that identifies the geographic location
            of your MongoDB serverless instance. The region you choose can affect
            network latency for clients accessing your databases. For a complete list
            of region names, see [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/#std-label-amazon-aws),
            [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), and [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
          x-xgen-IPA-exception:
            xgen-IPA-117-description-should-not-use-inline-links: Description has
              multiple links, and externalDocs only supports one.
      description: Group of cloud provider settings that configure the provisioned
        MongoDB serverless instance.
    ServerlessTenantCreateRequest:
      type: object
      properties:
        comment:
          maxLength: 80
          type: string
          description: Human-readable comment associated with the private endpoint.
          writeOnly: true
    ServerlessTenantEndpoint:
      type: object
      properties:
        _id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the private
            endpoint.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        cloudProviderEndpointId:
          type: string
          description: Unique string that identifies the private endpoint's network
            interface.
          readOnly: true
        comment:
          maxLength: 80
          type: string
          description: Human-readable comment associated with the private endpoint.
          readOnly: true
        endpointServiceName:
          pattern: "^com\\.amazonaws\\.vpce\\.[a-z-0-9]+\\.vpce-svc-[0-9a-f]{17}|pls_[0-9a-f]{24}$"
          type: string
          description: Unique string that identifies the PrivateLink endpoint service.
            MongoDB Cloud returns null while it creates the endpoint service.
          readOnly: true
        errorMessage:
          type: string
          description: Human-readable error message that indicates error condition
            associated with establishing the private endpoint connection.
          readOnly: true
        status:
          type: string
          description: Human-readable label that indicates the current operating status
            of the private endpoint.
          readOnly: true
          enum:
          - RESERVATION_REQUESTED
          - RESERVED
          - INITIATING
          - AVAILABLE
          - FAILED
          - DELETING
      oneOf:
      - "$ref": "#/components/schemas/ServerlessAWSTenantEndpoint"
      - "$ref": "#/components/schemas/ServerlessAzureTenantEndpoint"
      x-xgen-IPA-exception:
        xgen-IPA-125-oneOf-must-have-discriminator: Schema predates IPA validation.
    ServerlessTenantEndpointUpdate:
      required:
      - providerName
      type: object
      properties:
        comment:
          maxLength: 80
          type: string
          description: Human-readable comment associated with the private endpoint.
          writeOnly: true
        providerName:
          type: string
          description: Human-readable label that identifies the cloud provider of
            the tenant endpoint.
          writeOnly: true
          enum:
          - AWS
          - AZURE
      description: Update view for a serverless tenant endpoint.
      discriminator:
        propertyName: providerName
        mapping:
          AWS: "#/components/schemas/ServerlessAWSTenantEndpointUpdate"
          AZURE: "#/components/schemas/ServerlessAzureTenantEndpointUpdate"
      x-xgen-IPA-exception:
        xgen-IPA-125-discriminator-must-accompany-oneOf-anyOf-allOf: Schema predates
          IPA validation.
    ServerlessTotalWriteUnitsRPUMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/ServerlessMetricUnits"
    ServiceAccountEventTypeViewForNdsGroup:
      title: Service Account Event Types
      type: string
      description: Unique identifier of event type.
      enum:
      - SERVICE_ACCOUNT_CREATED
      - SERVICE_ACCOUNT_DELETED
      - SERVICE_ACCOUNT_ROLES_CHANGED
      - SERVICE_ACCOUNT_DETAILS_CHANGED
      - SERVICE_ACCOUNT_ADDED_TO_GROUP
      - SERVICE_ACCOUNT_REMOVED_FROM_GROUP
      - SERVICE_ACCOUNT_ACCESS_LIST_ENTRY_ADDED
      - SERVICE_ACCOUNT_ACCESS_LIST_ENTRY_DELETED
      - SERVICE_ACCOUNT_SECRET_ADDED
      - SERVICE_ACCOUNT_SECRET_DELETED
      - SERVICE_ACCOUNT_UI_IP_ACCESS_LIST_INHERITANCE_ENABLED
      - SERVICE_ACCOUNT_UI_IP_ACCESS_LIST_INHERITANCE_DISABLED
    ServiceAccountEventTypeViewForOrg:
      title: Service Account Event Types
      type: string
      description: Unique identifier of event type.
      enum:
      - SERVICE_ACCOUNT_CREATED
      - SERVICE_ACCOUNT_DELETED
      - SERVICE_ACCOUNT_ROLES_CHANGED
      - SERVICE_ACCOUNT_DETAILS_CHANGED
      - SERVICE_ACCOUNT_ADDED_TO_GROUP
      - SERVICE_ACCOUNT_REMOVED_FROM_GROUP
      - SERVICE_ACCOUNT_ACCESS_LIST_ENTRY_ADDED
      - SERVICE_ACCOUNT_ACCESS_LIST_ENTRY_DELETED
      - SERVICE_ACCOUNT_SECRET_ADDED
      - SERVICE_ACCOUNT_SECRET_DELETED
      - SERVICE_ACCOUNT_UI_IP_ACCESS_LIST_INHERITANCE_ENABLED
      - SERVICE_ACCOUNT_UI_IP_ACCESS_LIST_INHERITANCE_DISABLED
    ServiceAccountGroupEvents:
      title: ServiceAccount Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/ServiceAccountEventTypeViewForNdsGroup"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Service Account event identifies different activities around user
        API keys.
    ServiceAccountOrgEvents:
      title: ServiceAccount Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/ServiceAccountEventTypeViewForOrg"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Service Account event identifies different activities around user
        API keys.
    ServiceAccountSecret:
      required:
      - createdAt
      - expiresAt
      - id
      type: object
      properties:
        createdAt:
          type: string
          description: The date that the secret was created on. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        expiresAt:
          type: string
          description: The date for the expiration of the secret. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the secret.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        lastUsedAt:
          type: string
          description: The last time the secret was used. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        maskedSecretValue:
          type: string
          description: The masked Service Account secret.
          readOnly: true
          example: mdb_sa_sk_...
        secret:
          type: string
          description: The secret for the Service Account. It will be returned only
            the first time after creation.
          readOnly: true
          example: mdb_sa_sk_...
    ShardEntry:
      required:
      - collection
      - database
      - shardCollection
      type: object
      properties:
        collection:
          type: string
          description: Human-readable label that identifies the collection to be sharded
            on the destination cluster.
          writeOnly: true
        database:
          type: string
          description: Human-readable label that identifies the database that contains
            the collection to be sharded on the destination cluster.
          writeOnly: true
        shardCollection:
          "$ref": "#/components/schemas/ShardKeys"
      description: Sharding configuration for a collection to be sharded on the destination
        cluster.
    ShardKeys:
      required:
      - key
      type: object
      properties:
        key:
          uniqueItems: true
          type: array
          description: List of fields to use for the shard key.
          writeOnly: true
          items:
            type: object
            additionalProperties:
              type: object
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
      description: Document that configures the shard key on the destination cluster.
      writeOnly: true
    ShardingRequest:
      required:
      - createSupportingIndexes
      - shardingEntries
      type: object
      properties:
        createSupportingIndexes:
          type: boolean
          description: Flag that lets the migration create supporting indexes for
            the shard keys, if none exists, as the destination cluster also needs
            compatible indexes for the specified shard keys.
          writeOnly: true
        shardingEntries:
          uniqueItems: true
          type: array
          description: List of shard configurations to shard destination collections.
            Atlas shards only those collections that you include in the sharding entries
            array.
          writeOnly: true
          items:
            "$ref": "#/components/schemas/ShardEntry"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
      description: Document that configures sharding on the destination cluster when
        migrating from a replica set source to a sharded cluster destination on MongoDB
        6.0 or higher. If you don't wish to shard any collections on the destination
        cluster, leave this empty.
      writeOnly: true
    Slack:
      title: SLACK
      required:
      - apiToken
      - channelName
      type: object
      properties:
        apiToken:
          type: string
          description: |-
            Key that allows MongoDB Cloud to access your Slack account.

            **NOTE**: After you create a notification which requires an API or integration key, the key appears partially redacted when you:

            * View or edit the alert through the Atlas UI.

            * Query the alert for the notification through the Atlas Administration API.

            **IMPORTANT**: Slack integrations now use the OAuth2 verification method and must  be initially configured, or updated from a legacy integration, through the Atlas  third-party service integrations page. Legacy tokens will soon no longer be  supported.
          example: "**********************************************************************abcd"
        channelName:
          maxLength: 80
          minLength: 1
          type: string
          description: Name of the Slack channel to which MongoDB Cloud sends alert
            notifications.
          nullable: true
          example: alerts
        id:
          type: string
          description: Integration id.
          nullable: true
        teamName:
          type: string
          description: Human-readable label that identifies your Slack team. Set this
            parameter when you configure a legacy Slack integration.
          example: MongoDB
        type:
          type: string
          description: Human-readable label that identifies the service to which you
            want to integrate with MongoDB Cloud. The value must match the third-party
            service integration type.
          enum:
          - SLACK
      description: Details to integrate one Slack account with one MongoDB Cloud project.
    SlackNotification:
      title: Slack Notification
      required:
      - typeName
      type: object
      properties:
        apiToken:
          type: string
          description: "Slack API token or Bot token that MongoDB Cloud needs to send
            alert notifications via Slack. The resource requires this parameter when
            `\"notifications.[n].typeName\" : \"SLACK\"`. If the token later becomes
            invalid, MongoDB Cloud sends an email to the project owners. If the token
            remains invalid, MongoDB Cloud removes the token. \n\n**NOTE**: After
            you create a notification which requires an API or integration key, the
            key appears partially redacted when you:\n\n* View or edit the alert through
            the Atlas UI.\n\n* Query the alert for the notification through the Atlas
            Administration API."
          example: "**********************************************************************abcd"
        channelName:
          type: string
          description: 'Name of the Slack channel to which MongoDB Cloud sends alert
            notifications. The resource requires this parameter when `"notifications.[n].typeName"
            : "SLACK"`.'
          example: alerts
        delayMin:
          type: integer
          description: Number of minutes that MongoDB Cloud waits after detecting
            an alert condition before it sends out the first notification.
          format: int32
        integrationId:
          type: string
          description: The id of the associated integration, the credentials of which
            to use for requests.
          example: 32b6e34b3d91647abb20e7b8
        intervalMin:
          minimum: 5
          type: integer
          description: |-
            Number of minutes to wait between successive notifications. MongoDB Cloud sends notifications until someone acknowledges the unacknowledged alert.

            PagerDuty, VictorOps, and OpsGenie notifications don't return this element. Configure and manage the notification interval within each of those services.
          format: int32
        notifierId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: The `notifierId` is a system-generated unique identifier assigned
            to each notification method. This is needed when updating third-party
            notifications without requiring explicit authentication credentials.
          example: 32b6e34b3d91647abb20e7b8
        typeName:
          type: string
          description: Human-readable label that displays the alert notification type.
          enum:
          - SLACK
      description: Slack notification configuration for MongoDB Cloud to send information
        when an event triggers an alert condition.
    Source:
      required:
      - clusterName
      - groupId
      - managedAuthentication
      - ssl
      type: object
      properties:
        caCertificatePath:
          type: string
          description: Path to the CA certificate that signed SSL certificates use
            to authenticate to the source cluster.
        clusterName:
          minLength: 1
          type: string
          description: Label that identifies the source cluster name.
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the source
            project.
          example: 32b6e34b3d91647abb20e7b8
        managedAuthentication:
          type: boolean
          description: Flag that indicates whether MongoDB Automation manages authentication
            to the source cluster. If true, do not provide values for username and
            password.
        password:
          type: string
          description: Password that authenticates the username to the source cluster.
          writeOnly: true
        ssl:
          type: boolean
          description: Flag that indicates whether you have SSL enabled.
        username:
          type: string
          description: Label that identifies the SCRAM-SHA user that connects to the
            source cluster.
          writeOnly: true
      description: Document that describes the source of the migration.
    StateReason:
      type: object
      properties:
        errorCode:
          type: string
          description: Error code relating to state.
        message:
          type: string
          description: Message describing error or state.
      description: State reason of the Job. This is set when the job state is "Failed".
      readOnly: true
    StorageEngine:
      type: object
      additionalProperties:
        type: object
        description: 'Storage engine set for the specific index. This value can be
          set only at creation. This option uses the following format: `"storageEngine"
          : { "<storage-engine-name>" : "<options>" }` MongoDB validates storage engine
          configuration options when creating indexes. To support replica sets with
          members with different storage engines, MongoDB logs these options to the
          oplog during replication. This option applies to all index types.'
        externalDocs:
          description: MongoDB Server Storage Engines
          url: https://docs.mongodb.com/manual/core/storage-engines/
      description: 'Storage engine set for the specific index. This value can be set
        only at creation. This option uses the following format: `"storageEngine"
        : { "<storage-engine-name>" : "<options>" }` MongoDB validates storage engine
        configuration options when creating indexes. To support replica sets with
        members with different storage engines, MongoDB logs these options to the
        oplog during replication. This option applies to all index types.'
      externalDocs:
        description: MongoDB Server Storage Engines
        url: https://docs.mongodb.com/manual/core/storage-engines/
    StreamProcessorAlertConfigViewForNdsGroup:
      title: Stream Processor Alert Configuration
      required:
      - eventTypeName
      - notifications
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created the alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled this alert configuration
            for the specified project.
          default: false
        eventTypeName:
          "$ref": "#/components/schemas/StreamProcessorEventTypeViewAlertableNoThreshold"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert
            configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        matchers:
          type: array
          description: List of rules that determine whether MongoDB Cloud checks an
            object for the alert configuration.
          items:
            "$ref": "#/components/schemas/StreamsMatcher"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        notifications:
          maxItems: 25
          minItems: 1
          type: array
          description: List that contains the targets that MongoDB Cloud sends notifications.
          items:
            "$ref": "#/components/schemas/AlertsNotificationRootForGroup"
        severityOverride:
          "$ref": "#/components/schemas/EventSeverity"
        updated:
          type: string
          description: Date and time when someone last updated this alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Host metric alert configuration allows to select which Atlas streams
        processors trigger alerts and how users are notified.
    StreamProcessorAlertViewForNdsGroup:
      title: Stream Processor Alerts
      required:
      - alertConfigId
      - created
      - eventTypeName
      - id
      - status
      - updated
      type: object
      properties:
        acknowledgedUntil:
          type: string
          description: |-
            Date and time until which this alert has been acknowledged. This parameter expresses its value in the ISO 8601 timestamp format in UTC. The resource returns this parameter if a MongoDB User previously acknowledged this alert.

            - To acknowledge this alert forever, set the parameter value to 100 years in the future.

            - To unacknowledge a previously acknowledged alert, do not set this parameter value.
          format: date-time
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        acknowledgementComment:
          maxLength: 200
          type: string
          description: Comment that a MongoDB Cloud user submitted when acknowledging
            the alert.
          example: Expiration on 3/19.  Silencing for 7days.
        acknowledgingUsername:
          type: string
          description: MongoDB Cloud username of the person who acknowledged the alert.
            The response returns this parameter if a MongoDB Cloud user previously
            acknowledged this alert.
          format: email
          readOnly: true
        alertConfigId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the alert
            configuration that sets this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        created:
          type: string
          description: Date and time when MongoDB Cloud created this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/HostEventTypeViewForNdsGroupAlertable"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        instanceName:
          type: string
          description: The name of the Stream Processing Workspace to which this alert
            applies. The resource returns this parameter for alerts of events impacting
            Stream Processing Workspaces.
          readOnly: true
          example: foobar
        lastNotified:
          type: string
          description: Date and time that any notifications were last sent for this
            alert. This parameter expresses its value in the ISO 8601 timestamp format
            in UTC. The resource returns this parameter if MongoDB Cloud has sent
            notifications for this alert.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            organization that owns the project to which this alert applies.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        processorErrorMsg:
          type: string
          description: The error message associated with the Stream Processor to which
            this alert applies.
          readOnly: true
          example: 'MongoServerError: Failed to start stream processor: (Location77175)
            Could not connect to the Kafka topic with kafka error code: -195, message:
            Local: Broker transport failure.: (Location77175)'
        processorName:
          type: string
          description: The name of the Stream Processor to which this alert applies.
            The resource returns this parameter for alerts of events impacting Stream
            Processors.
          readOnly: true
          example: foobar
        processorState:
          type: string
          description: The state of the Stream Processor to which this alert applies.
            The resource returns this parameter for alerts of events impacting Stream
            Processors.
          readOnly: true
          example: STARTED
        resolved:
          type: string
          description: 'Date and time that this alert changed to `"status" : "CLOSED"`.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC. The resource returns this parameter once `"status" : "CLOSED"`.'
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        status:
          type: string
          description: State of this alert at the time you requested its details.
            TRACKING indicates the alert condition exists but has not persisted for
            the minimum notification delay. OPEN indicates the alert condition currently
            exists. CLOSED indicates the alert condition has been resolved.
          readOnly: true
          example: OPEN
          enum:
          - CANCELLED
          - CLOSED
          - OPEN
          - TRACKING
        updated:
          type: string
          description: Date and time when someone last updated this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Stream Processor alert notifies about activities on Stream Processor
        in Atlas Streams.
    StreamProcessorEventTypeViewAlertableNoThreshold:
      title: Stream Processor Event Types
      type: string
      description: Event type that triggers an alert.
      example: STREAM_PROCESSOR_STATE_IS_FAILED
      externalDocs:
        description: Atlas Alert Event Types
        url: https://www.mongodb.com/docs/atlas/reference/atlas-alert-event-types/
      enum:
      - STREAM_PROCESSOR_STATE_IS_FAILED
    StreamProcessorEventTypeViewAlertableWithThreshold:
      title: Stream Processor Event Types
      type: string
      description: Event type that triggers an alert.
      example: OUTSIDE_STREAM_PROCESSOR_METRIC_THRESHOLD
      externalDocs:
        description: Atlas Alert Event Types
        url: https://www.mongodb.com/docs/atlas/reference/atlas-alert-event-types/
      enum:
      - OUTSIDE_STREAM_PROCESSOR_METRIC_THRESHOLD
    StreamProcessorEventTypeViewForNdsGroup:
      title: Stream Processor Event Types
      type: string
      description: Unique identifier of event type.
      example: STREAM_PROCESSOR_STATE_IS_FAILED
      enum:
      - STREAM_PROCESSOR_STATE_IS_FAILED
      - INSIDE_STREAM_PROCESSOR_METRIC_THRESHOLD
      - OUTSIDE_STREAM_PROCESSOR_METRIC_THRESHOLD
    StreamProcessorEventViewForNdsGroup:
      title: Stream Processor Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/StreamProcessorEventTypeViewForNdsGroup"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        instanceName:
          type: string
          description: Name of the stream processing workspace associated with the
            event.
          readOnly: true
          example: foobar
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        processorErrorMsg:
          type: string
          description: Error message linked to the stream processor associated with
            the event.
          readOnly: true
          example: invalid auth
        processorName:
          type: string
          description: Name of the stream processor associated with the event.
          readOnly: true
          example: foobar
        processorState:
          type: string
          description: State of the stream processor associated with the event.
          readOnly: true
          example: FAILED
        raw:
          "$ref": "#/components/schemas/raw"
      description: Stream Processor event identifies different activities about a
        stream processor in Atlas Streams.
    StreamProcessorMetricAlertConfigViewForNdsGroup:
      title: Stream Processor Metric Alert Configuration
      required:
      - eventTypeName
      - notifications
      type: object
      properties:
        created:
          type: string
          description: Date and time when MongoDB Cloud created the alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        enabled:
          type: boolean
          description: Flag that indicates whether someone enabled this alert configuration
            for the specified project.
          default: false
        eventTypeName:
          "$ref": "#/components/schemas/StreamProcessorEventTypeViewAlertableWithThreshold"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert
            configuration.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        matchers:
          type: array
          description: List of rules that determine whether MongoDB Cloud checks an
            object for the alert configuration.
          items:
            "$ref": "#/components/schemas/StreamsMatcher"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        notifications:
          maxItems: 25
          minItems: 1
          type: array
          description: List that contains the targets that MongoDB Cloud sends notifications.
          items:
            "$ref": "#/components/schemas/AlertsNotificationRootForGroup"
        severityOverride:
          "$ref": "#/components/schemas/EventSeverity"
        threshold:
          "$ref": "#/components/schemas/StreamProcessorMetricThreshold"
        updated:
          type: string
          description: Date and time when someone last updated this alert configuration.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
      description: Stream Processor threshold alert configuration allows to select
        thresholds on metrics which trigger alerts and how users are notified.
    StreamProcessorMetricThreshold:
      title: Stream Processor Metric Threshold
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          type: string
          description: Element used to express the quantity. This can be an element
            of time, storage capacity, and the like.
          enum:
          - bits
          - Kbits
          - Mbits
          - Gbits
          - bytes
          - KB
          - MB
          - GB
          - TB
          - PB
          - nsec
          - msec
          - sec
          - min
          - hours
          - million minutes
          - days
          - requests
          - 1000 requests
          - tokens
          - million tokens
          - pixels
          - billion pixels
          - GB seconds
          - GB hours
          - GB days
          - RPU
          - thousand RPU
          - million RPU
          - WPU
          - thousand WPU
          - million WPU
          - count
          - thousand
          - million
          - billion
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
              IPA validation.
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Threshold for the metric that, when exceeded, triggers an alert.
        The metric threshold pertains to event types which reflects changes of measurements
        and metrics in stream processors.
      discriminator:
        propertyName: metricName
        mapping:
          STREAM_PROCESSOR_CHANGE_STREAM_LAG: "#/components/schemas/TimeMetricThresholdView"
          STREAM_PROCESSOR_DLQ_MESSAGE_COUNT: "#/components/schemas/DLQRawMetricThresholdView"
          STREAM_PROCESSOR_KAFKA_LAG: "#/components/schemas/KafkaRawMetricThresholdView"
          STREAM_PROCESSOR_OUTPUT_MESSAGE_COUNT: "#/components/schemas/RawMetricThresholdView"
      oneOf:
      - "$ref": "#/components/schemas/KafkaRawMetricThresholdView"
      - "$ref": "#/components/schemas/TimeMetricThresholdView"
      - "$ref": "#/components/schemas/DLQRawMetricThresholdView"
      - "$ref": "#/components/schemas/RawMetricThresholdView"
    StreamsEventTypeViewForNdsGroup:
      title: Streams Event Types
      type: string
      description: Unique identifier of event type.
      example: MAX_PROCESSOR_COUNT_REACHED
      enum:
      - MAX_PROCESSOR_COUNT_REACHED
    StreamsEventViewForNdsGroup:
      title: Streams Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/StreamsEventTypeViewForNdsGroup"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        instanceName:
          type: string
          description: Name of the stream processing workspace associated with the
            event.
          readOnly: true
          example: foobar
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        raw:
          "$ref": "#/components/schemas/raw"
      description: Streams event identifies different activities about Atlas Streams.
    StreamsMatcher:
      title: Matchers
      required:
      - fieldName
      - operator
      - value
      type: object
      properties:
        fieldName:
          "$ref": "#/components/schemas/StreamsMatcherField"
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value against **matcher[n].value**. The `REGEX` operator only supports
            inclusive matches. Use the `NOT_CONTAINS` operator to exclude values.
          enum:
          - EQUALS
          - CONTAINS
          - STARTS_WITH
          - ENDS_WITH
          - NOT_EQUALS
          - NOT_CONTAINS
          - REGEX
        value:
          type: string
          description: Value to match or exceed using the specified `matchers.operator`.
          example: event-replica-set
      description: Rules to apply when comparing a stream processing workspace or
        stream processor against this alert configuration.
    StreamsMatcherField:
      title: Streams Matcher Fields
      type: string
      description: Name of the parameter in the target object that MongoDB Cloud checks.
        The parameter must match all rules for MongoDB Cloud to check for alert configurations.
      example: INSTANCE_NAME
      enum:
      - INSTANCE_NAME
      - PROCESSOR_NAME
    SummaryNotification:
      title: Summary Notification
      required:
      - typeName
      type: object
      properties:
        delayMin:
          type: integer
          description: Number of minutes that MongoDB Cloud waits after detecting
            an alert condition before it sends out the first notification.
          format: int32
        emailAddress:
          type: string
          description: |-
            Email address to which MongoDB Cloud sends alert notifications. The resource requires this parameter when `"notifications.[n].typeName" : "EMAIL"`. You don't need to set this value to send emails to individual or groups of MongoDB Cloud users including:

            - specific MongoDB Cloud users (`"notifications.[n].typeName" : "USER"`)
            - MongoDB Cloud users with specific project roles (`"notifications.[n].typeName" : "GROUP"`)
            - MongoDB Cloud users with specific organization roles (`"notifications.[n].typeName" : "ORG"`)
            - MongoDB Cloud teams (`"notifications.[n].typeName" : "TEAM"`)

            To send emails to one MongoDB Cloud user or grouping of users, set the `notifications.[n].emailEnabled` parameter.
          format: email
        intervalMin:
          minimum: 5
          type: integer
          description: |-
            Number of minutes to wait between successive notifications. MongoDB Cloud sends notifications until someone acknowledges the unacknowledged alert.

            PagerDuty, VictorOps, and OpsGenie notifications don't return this element. Configure and manage the notification interval within each of those services.
          format: int32
        notifierId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: The `notifierId` is a system-generated unique identifier assigned
            to each notification method. This is needed when updating third-party
            notifications without requiring explicit authentication credentials.
          example: 32b6e34b3d91647abb20e7b8
        typeName:
          type: string
          description: Human-readable label that displays the alert notification type.
          enum:
          - SUMMARY
      description: Summary notification configuration for MongoDB Cloud to send information
        when an event triggers an alert condition.
    SwapUsageFreeDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    SwapUsageUsedDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    SynonymSource:
      required:
      - collection
      type: object
      properties:
        collection:
          type: string
          description: Human-readable label that identifies the MongoDB collection
            that stores words and their applicable synonyms.
      description: Data set that stores the mapping one or more words map to one or
        more synonyms of those words.
    SystemMemoryAvailableDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    SystemMemoryPercentUsedRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    SystemMemoryUsedDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    SystemNetworkInDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    SystemNetworkOutDataMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/DataMetricUnits"
    SystemStatus:
      required:
      - apiKey
      - appName
      - build
      - throttling
      type: object
      properties:
        apiKey:
          "$ref": "#/components/schemas/ApiKey"
        appName:
          type: string
          description: Human-readable label that identifies the service from which
            you requested this response.
          readOnly: true
          enum:
          - MongoDB Atlas
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        build:
          type: string
          description: Unique 40-hexadecimal digit hash that identifies the latest
            git commit merged for this application.
          readOnly: true
          example: 83be55e140f493c88e7f578aae96548dd881587b
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        throttling:
          type: boolean
          description: Flag that indicates whether someone enabled throttling on this
            service.
          readOnly: true
    TargetOrg:
      required:
      - linkToken
      type: object
      properties:
        linkToken:
          type: string
          description: Link token that contains all the information required to complete
            the link.
    TargetOrgRequest:
      type: object
      properties:
        accessListIps:
          type: array
          description: IP address access list entries associated with the API key.
          items:
            type: string
            description: One IP address access list entry associated with the API
              key.
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    Team:
      required:
      - name
      - usernames
      type: object
      properties:
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this team.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        name:
          type: string
          description: Human-readable label that identifies the team.
        usernames:
          uniqueItems: true
          type: array
          description: List that contains the MongoDB Cloud users in this team.
          items:
            type: string
            format: email
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    TeamEvent:
      title: Team Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/TeamEventTypeView"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        teamId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            team associated with this event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Team event identifies different activities around organization
        teams.
    TeamEventTypeView:
      title: Team Event Types
      type: string
      description: Unique identifier of event type.
      example: TEAM_ADDED_TO_GROUP
      enum:
      - TEAM_CREATED
      - TEAM_DELETED
      - TEAM_UPDATED
      - TEAM_NAME_CHANGED
      - TEAM_ADDED_TO_GROUP
      - TEAM_REMOVED_FROM_GROUP
      - TEAM_ROLES_MODIFIED
    TeamEventTypeViewForNdsGroup:
      title: Team Event Types
      type: string
      description: Unique identifier of event type.
      example: TEAM_ADDED_TO_GROUP
      enum:
      - TEAM_ADDED_TO_GROUP
      - TEAM_REMOVED_FROM_GROUP
      - TEAM_ROLES_MODIFIED
    TeamEventViewForNdsGroup:
      title: Team Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/TeamEventTypeViewForNdsGroup"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        teamId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            team associated with this event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: Team event identifies different activities around organization
        teams.
    TeamNotification:
      title: Team Notification
      required:
      - typeName
      type: object
      properties:
        delayMin:
          type: integer
          description: Number of minutes that MongoDB Cloud waits after detecting
            an alert condition before it sends out the first notification.
          format: int32
        emailEnabled:
          type: boolean
          description: |-
            Flag that indicates whether MongoDB Cloud should send email notifications. The resource requires this parameter when one of the following values have been set:

            - `"notifications.[n].typeName" : "ORG"`
            - `"notifications.[n].typeName" : "GROUP"`
            - `"notifications.[n].typeName" : "USER"`
          x-xgen-IPA-exception:
            xgen-IPA-117-description-ends-with-period: Description ends with an item
              list.
        intervalMin:
          minimum: 5
          type: integer
          description: |-
            Number of minutes to wait between successive notifications. MongoDB Cloud sends notifications until someone acknowledges the unacknowledged alert.

            PagerDuty, VictorOps, and OpsGenie notifications don't return this element. Configure and manage the notification interval within each of those services.
          format: int32
        notifierId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: The `notifierId` is a system-generated unique identifier assigned
            to each notification method. This is needed when updating third-party
            notifications without requiring explicit authentication credentials.
          example: 32b6e34b3d91647abb20e7b8
        smsEnabled:
          type: boolean
          description: |-
            Flag that indicates whether MongoDB Cloud should send text message notifications. The resource requires this parameter when one of the following values have been set:

            - `"notifications.[n].typeName" : "ORG"`
            - `"notifications.[n].typeName" : "GROUP"`
            - `"notifications.[n].typeName" : "USER"`
          x-xgen-IPA-exception:
            xgen-IPA-117-description-ends-with-period: Description ends with an item
              list.
        teamId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: 'Unique 24-hexadecimal digit string that identifies one MongoDB
            Cloud team. The resource requires this parameter when `"notifications.[n].typeName"
            : "TEAM"`.'
          example: 32b6e34b3d91647abb20e7b8
        teamName:
          type: string
          description: 'Name of the MongoDB Cloud team that receives this notification.
            The resource requires this parameter when `"notifications.[n].typeName"
            : "TEAM"`.'
          example: Atlas
        typeName:
          type: string
          description: Human-readable label that displays the alert notification type.
          enum:
          - TEAM
      description: Team notification configuration for MongoDB Cloud to send information
        when an event triggers an alert condition.
    TeamResponse:
      type: object
      properties:
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this team.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        name:
          type: string
          description: Human-readable label that identifies the team.
    TeamRole:
      required:
      - roleNames
      - teamId
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        roleNames:
          uniqueItems: true
          type: array
          description: One or more project-level roles to assign to the team.
          externalDocs:
            description: MongoDB Cloud User Roles
            url: https://www.mongodb.com/docs/atlas/reference/user-roles/
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        teamId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            team.
          example: 32b6e34b3d91647abb20e7b8
    TeamUpdate:
      required:
      - name
      type: object
      properties:
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        name:
          type: string
          description: Human-readable label that identifies the team.
          writeOnly: true
    TenantHardwareSpec:
      type: object
      properties:
        effectiveInstanceSize:
          type: string
          description: The true tenant instance size. This is present to support backwards
            compatibility for deprecated provider types and/or instance sizes.
          readOnly: true
          enum:
          - FLEX
          - M2
          - M5
          - M0
        instanceSize:
          title: Tenant Instance Sizes
          type: string
          description: Hardware specification for the instances in this M0/M2/M5 tier
            cluster.
          enum:
          - M0
          - M2
          - M5
    TenantRegionConfig:
      title: Tenant Regional Replication Specifications
      type: object
      description: Details that explain how MongoDB Cloud replicates data in one region
        on the specified MongoDB database.
      allOf:
      - "$ref": "#/components/schemas/CloudRegionConfig"
      - type: object
        properties:
          backingProviderName:
            type: string
            description: "Cloud service provider on which MongoDB Cloud provisioned
              the multi-tenant cluster. The resource returns this parameter when `providerName`
              is `TENANT` and `electableSpecs.instanceSize` is `M0`, `M2` or `M5`.
              \n\nPlease note that using an `instanceSize` of M2 or M5 will create
              a Flex cluster instead. Support for the `instanceSize` of M2 or M5 will
              be discontinued in January 2026. We recommend using the Create Flex
              Cluster API for such configurations moving forward."
            externalDocs:
              description: Create Flex Cluster API
              url: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Flex-Clusters/operation/createFlexCluster
            enum:
            - AWS
            - GCP
            - AZURE
    ThirdPartyIntegration:
      title: Third-Party Integration
      type: object
      properties:
        id:
          type: string
          description: Integration id.
          nullable: true
        type:
          title: Integration Type
          type: string
          description: Integration type.
          enum:
          - PAGER_DUTY
          - SLACK
          - DATADOG
          - NEW_RELIC
          - OPS_GENIE
          - VICTOR_OPS
          - WEBHOOK
          - HIP_CHAT
          - PROMETHEUS
          - MICROSOFT_TEAMS
      description: Collection of settings that describe third-party integrations.
      discriminator:
        propertyName: type
        mapping:
          DATADOG: "#/components/schemas/Datadog"
          MICROSOFT_TEAMS: "#/components/schemas/MicrosoftTeams"
          NEW_RELIC: "#/components/schemas/NewRelic"
          OPS_GENIE: "#/components/schemas/OpsGenie"
          PAGER_DUTY: "#/components/schemas/PagerDuty"
          PROMETHEUS: "#/components/schemas/Prometheus"
          SLACK: "#/components/schemas/Slack"
          VICTOR_OPS: "#/components/schemas/VictorOps"
          WEBHOOK: "#/components/schemas/Webhook"
      oneOf:
      - "$ref": "#/components/schemas/PagerDuty"
      - "$ref": "#/components/schemas/Slack"
      - "$ref": "#/components/schemas/Datadog"
      - "$ref": "#/components/schemas/NewRelic"
      - "$ref": "#/components/schemas/OpsGenie"
      - "$ref": "#/components/schemas/VictorOps"
      - "$ref": "#/components/schemas/Webhook"
      - "$ref": "#/components/schemas/Prometheus"
      - "$ref": "#/components/schemas/MicrosoftTeams"
    TicketsAvailableReadsRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    TicketsAvailableWritesRawMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/RawMetricUnits"
    TimeMetricAlertView:
      required:
      - alertConfigId
      - created
      - eventTypeName
      - id
      - status
      - updated
      type: object
      properties:
        acknowledgedUntil:
          type: string
          description: |-
            Date and time until which this alert has been acknowledged. This parameter expresses its value in the ISO 8601 timestamp format in UTC. The resource returns this parameter if a MongoDB User previously acknowledged this alert.

            - To acknowledge this alert forever, set the parameter value to 100 years in the future.

            - To unacknowledge a previously acknowledged alert, do not set this parameter value.
          format: date-time
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        acknowledgementComment:
          maxLength: 200
          type: string
          description: Comment that a MongoDB Cloud user submitted when acknowledging
            the alert.
          example: Expiration on 3/19.  Silencing for 7days.
        acknowledgingUsername:
          type: string
          description: MongoDB Cloud username of the person who acknowledged the alert.
            The response returns this parameter if a MongoDB Cloud user previously
            acknowledged this alert.
          format: email
          readOnly: true
        alertConfigId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the alert
            configuration that sets this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        clusterName:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the cluster to which this
            alert applies. This resource returns this parameter for alerts of events
            impacting backups, replica sets, or sharded clusters.
          readOnly: true
          example: cluster1
        created:
          type: string
          description: Date and time when MongoDB Cloud created this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        currentValue:
          "$ref": "#/components/schemas/TimeMetricValueView"
        eventTypeName:
          "$ref": "#/components/schemas/HostMetricEventTypeViewAlertable"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            that owns this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        hostnameAndPort:
          type: string
          description: Hostname and port of the host to which this alert applies.
            The resource returns this parameter for alerts of events impacting hosts
            or replica sets.
          readOnly: true
          example: cloud-test.mongodb.com:27017
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies this alert.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        lastNotified:
          type: string
          description: Date and time that any notifications were last sent for this
            alert. This parameter expresses its value in the ISO 8601 timestamp format
            in UTC. The resource returns this parameter if MongoDB Cloud has sent
            notifications for this alert.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        metricName:
          type: string
          description: |-
            Name of the metric against which Atlas checks the configured `metricThreshold.threshold`.

            To learn more about the available metrics, see <a href="https://www.mongodb.com/docs/atlas/reference/alert-host-metrics/#std-label-measurement-types" target="_blank">Host Metrics</a>.

            **NOTE**: If you set `eventTypeName` to `OUTSIDE_SERVERLESS_METRIC_THRESHOLD`, you can specify only metrics available for serverless. To learn more, see <a href="https://dochub.mongodb.org/core/alert-config-serverless-measurements" target="_blank">Serverless Measurements</a>.
          readOnly: true
          example: ASSERT_USER
          x-xgen-IPA-exception:
            xgen-IPA-117-description-must-not-use-html: Description predates IPA validation.
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            organization that owns the project to which this alert applies.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        replicaSetName:
          type: string
          description: Name of the replica set to which this alert applies. The response
            returns this parameter for alerts of events impacting backups, hosts,
            or replica sets.
          readOnly: true
          example: event-replica-set
        resolved:
          type: string
          description: 'Date and time that this alert changed to `"status" : "CLOSED"`.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC. The resource returns this parameter once `"status" : "CLOSED"`.'
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        status:
          type: string
          description: State of this alert at the time you requested its details.
            TRACKING indicates the alert condition exists but has not persisted for
            the minimum notification delay. OPEN indicates the alert condition currently
            exists. CLOSED indicates the alert condition has been resolved.
          readOnly: true
          example: OPEN
          enum:
          - CANCELLED
          - CLOSED
          - OPEN
          - TRACKING
        updated:
          type: string
          description: Date and time when someone last updated this alert. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
    TimeMetricEventView:
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        currentValue:
          "$ref": "#/components/schemas/TimeMetricValueView"
        deskLocation:
          type: string
          description: Desk location of MongoDB employee associated with the event.
          readOnly: true
        employeeIdentifier:
          type: string
          description: Identifier of MongoDB employee associated with the event.
          readOnly: true
        eventTypeName:
          "$ref": "#/components/schemas/HostMetricEventTypeView"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        metricName:
          type: string
          description: Human-readable label of the metric associated with the `alertId`.
            This field may change type of `currentValue` field.
          readOnly: true
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        port:
          type: integer
          description: IANA port on which the MongoDB process listens for requests.
          format: int32
          readOnly: true
          example: 27017
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        replicaSetName:
          type: string
          description: Human-readable label of the replica set associated with the
            event.
          readOnly: true
          example: event-replica-set
        shardName:
          type: string
          description: Human-readable label of the shard associated with the event.
          readOnly: true
          example: event-sh-01
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
    TimeMetricThresholdView:
      required:
      - metricName
      type: object
      properties:
        metricName:
          type: string
          description: Human-readable label that identifies the metric against which
            MongoDB Cloud checks the configured `metricThreshold.threshold`.
        mode:
          type: string
          description: MongoDB Cloud computes the current metric value as an average.
          enum:
          - AVERAGE
        operator:
          type: string
          description: Comparison operator to apply when checking the current metric
            value.
          enum:
          - LESS_THAN
          - GREATER_THAN
        threshold:
          type: number
          description: Value of metric that, when exceeded, triggers an alert.
          format: double
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
    TimeMetricUnits:
      title: Time Metric Units
      type: string
      description: Element used to express the quantity. This can be an element of
        time, storage capacity, and the like.
      enum:
      - NANOSECONDS
      - MILLISECONDS
      - MILLION_MINUTES
      - SECONDS
      - MINUTES
      - HOURS
      - DAYS
      default: HOURS
    TimeMetricValueView:
      title: Time Metric Value
      type: object
      properties:
        number:
          type: number
          description: Amount of the `metricName` recorded at the time of the event.
            This value triggered the alert.
          format: double
          readOnly: true
        units:
          "$ref": "#/components/schemas/TimeMetricUnits"
      description: Measurement of the `metricName` recorded at the time of the event.
      readOnly: true
    TokenFilterEnglishPossessive:
      title: englishPossessive
      required:
      - type
      type: object
      properties:
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - englishPossessive
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that removes possessives (trailing 's) from words.
    TokenFilterFlattenGraph:
      title: flattenGraph
      required:
      - type
      type: object
      properties:
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - flattenGraph
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that transforms a token filter graph, such as the token
        filter graph that the `wordDelimiterGraph` token filter produces, into a flat
        form suitable for indexing.
    TokenFilterPorterStemming:
      title: porterStemming
      required:
      - type
      type: object
      properties:
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - porterStemming
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that uses the porter stemming algorithm to remove the common
        morphological and inflectional suffixes from words in English. It expects
        lowercase text and doesn't work as expected for uppercase text.
    TokenFilterSpanishPluralStemming:
      title: spanishPluralStemming
      required:
      - type
      type: object
      properties:
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - spanishPluralStemming
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that stems Spanish plural words. It expects lowercase text.
    TokenFilterStempel:
      title: stempel
      required:
      - type
      type: object
      properties:
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - stempel
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that uses Lucene's default Polish stemmer table to stem
        words in the Polish language. It expects lowercase text.
      externalDocs:
        description: Default Polish stemmer table
        url: https://lucene.apache.org/core/9_2_0/analysis/stempel/org/apache/lucene/analysis/pl/PolishAnalyzer.html#DEFAULT_STEMMER_FILE
    TokenFilterWordDelimiterGraph:
      title: wordDelimiterGraph
      required:
      - type
      type: object
      properties:
        delimiterOptions:
          type: object
          properties:
            concatenateAll:
              type: boolean
              description: Flag that indicates whether to concatenate runs.
              default: false
            concatenateNumbers:
              type: boolean
              description: Flag that indicates whether to concatenate runs of sub-numbers.
              default: false
            concatenateWords:
              type: boolean
              description: Flag that indicates whether to concatenate runs of sub-words.
              default: false
            generateNumberParts:
              type: boolean
              description: Flag that indicates whether to split tokens based on sub-numbers.
                For example, if `true`, this option splits `100-2` into `100` and
                `2`.
              default: true
            generateWordParts:
              type: boolean
              description: Flag that indicates whether to split tokens based on sub-words.
              default: true
            ignoreKeywords:
              type: boolean
              description: Flag that indicates whether to skip tokens with the `keyword`
                attribute set to `true`.
              default: false
            preserveOriginal:
              type: boolean
              description: Flag that indicates whether to generate tokens of the original
                words.
              default: true
            splitOnCaseChange:
              type: boolean
              description: Flag that indicates whether to split tokens based on letter-case
                transitions.
              default: true
            splitOnNumerics:
              type: boolean
              description: Flag that indicates whether to split tokens based on letter-number
                transitions.
              default: true
            stemEnglishPossessive:
              type: boolean
              description: Flag that indicates whether to remove trailing possessives
                from each sub-word.
              default: true
          description: Object that contains the rules that determine how to split
            words into sub-words.
        protectedWords:
          required:
          - words
          type: object
          properties:
            ignoreCase:
              type: boolean
              description: Flag that indicates whether to ignore letter case sensitivity
                for protected words.
              default: true
            words:
              type: array
              description: List that contains the tokens to protect from delimination.
              items:
                type: string
              x-xgen-IPA-exception:
                xgen-IPA-124-array-max-items: Schema predates IPA validation.
          description: Object that contains options for protected words.
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - wordDelimiterGraph
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that splits tokens into sub-tokens based on configured rules.
    TokenFilterkStemming:
      title: kStemming
      required:
      - type
      type: object
      properties:
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - kStemming
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that combines algorithmic stemming with a built-in dictionary
        for the English language to stem words.
    TriggerIngestionPipelineRequest:
      required:
      - snapshotId
      type: object
      properties:
        datasetRetentionPolicy:
          "$ref": "#/components/schemas/DatasetRetentionPolicy"
        snapshotId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            snapshot.
          writeOnly: true
          example: 32b6e34b3d91647abb20e7b8
    UpdateAtlasOrganizationApiKey:
      type: object
      properties:
        desc:
          maxLength: 250
          minLength: 1
          type: string
          description: Purpose or explanation provided when someone creates this organization
            API key.
        roles:
          type: array
          description: List of roles to grant this API key. If you provide this list,
            provide a minimum of one role and ensure each role applies to this organization.
          items:
            type: string
            enum:
            - ORG_OWNER
            - ORG_MEMBER
            - ORG_GROUP_CREATOR
            - ORG_BILLING_ADMIN
            - ORG_BILLING_READ_ONLY
            - ORG_STREAM_PROCESSING_ADMIN
            - ORG_READ_ONLY
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    UpdateAtlasProjectApiKey:
      type: object
      properties:
        desc:
          maxLength: 250
          minLength: 1
          type: string
          description: Purpose or explanation provided when someone creates this project
            API key.
        roles:
          type: array
          description: List of roles to grant this API key. If you provide this list,
            provide a minimum of one role and ensure each role applies to this project.
          externalDocs:
            description: MongoDB Cloud API Key Roles
            url: https://www.mongodb.com/docs/atlas/reference/user-roles/
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    UpdateCustomDBRole:
      type: object
      properties:
        actions:
          type: array
          description: List of the individual privilege actions that the role grants.
          items:
            "$ref": "#/components/schemas/DatabasePrivilegeAction"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        inheritedRoles:
          uniqueItems: true
          type: array
          description: List of the built-in roles that this custom role inherits.
          items:
            "$ref": "#/components/schemas/DatabaseInheritedRole"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
    UserAccessListRequest:
      type: object
      properties:
        cidrBlock:
          pattern: "^((([0-9]{1,3}\\.){3}[0-9]{1,3})|(:{0,2}([0-9a-f]{1,4}:){0,7}[0-9a-f]{1,4}[:]{0,2}))((%2[fF]|/)[0-9]{1,3})+$"
          type: string
          description: Range of network addresses that you want to add to the access
            list for the API key. This parameter requires the range to be expressed
            in classless inter-domain routing (CIDR) notation of Internet Protocol
            version 4 or version 6 addresses. You can set a value for this parameter
            or `ipAddress` but not both in the same request.
          example: 203.0.113.0/24
        ipAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: Network address that you want to add to the access list for
            the API key. This parameter requires the address to be expressed as one
            Internet Protocol version 4 or version 6 address. You can set a value
            for this parameter or `cidrBlock` but not both in the same request.
          example: 203.0.113.10
    UserAccessListResponse:
      type: object
      properties:
        cidrBlock:
          pattern: "^((([0-9]{1,3}\\.){3}[0-9]{1,3})|(:{0,2}([0-9a-f]{1,4}:){0,7}[0-9a-f]{1,4}[:]{0,2}))((%2[fF]|/)[0-9]{1,3})+$"
          type: string
          description: Range of IP addresses in Classless Inter-Domain Routing (CIDR)
            notation in the access list for the API key.
          example: 203.0.113.0/24
        count:
          minimum: 1
          type: integer
          description: Total number of requests that have originated from the Internet
            Protocol (IP) address given as the value of the `lastUsedAddress` parameter.
          format: int32
          readOnly: true
        created:
          type: string
          description: Date and time when someone added the network addresses to the
            specified API access list. This parameter expresses its value in the ISO
            8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        ipAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: Network address in the access list for the API key.
          example: 203.0.113.10
        lastUsed:
          type: string
          description: Date and time when MongoDB Cloud received the most recent request
            that originated from this Internet Protocol version 4 or version 6 address.
            The resource returns this parameter when at least one request has originated
            from this IP address. MongoDB Cloud updates this parameter each time a
            client accesses the permitted resource. This parameter expresses its value
            in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        lastUsedAddress:
          type: string
          description: Network address that issued the most recent request to the
            API. This parameter requires the address to be expressed as one Internet
            Protocol version 4 or version 6 address. The resource returns this parameter
            after this IP address made at least one request.
          readOnly: true
          example: 203.0.113.10
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
    UserAccessRoleAssignment:
      type: object
      properties:
        roles:
          type: array
          description: List of roles to grant this API key. If you provide this list,
            provide a minimum of one role and ensure each role applies to this project.
          externalDocs:
            description: MongoDB Cloud API Key Roles
            url: https://www.mongodb.com/docs/atlas/reference/user-roles/
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            API key.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
    UserCert:
      type: object
      properties:
        _id:
          type: integer
          description: Unique 24-hexadecimal character string that identifies this
            certificate.
          format: int64
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        createdAt:
          type: string
          description: Date and time when MongoDB Cloud created this certificate.
            This parameter expresses its value in the ISO 8601 timestamp format in
            UTC.
          format: date-time
          readOnly: true
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal character string that identifies the
            project.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        monthsUntilExpiration:
          maximum: 24
          type: integer
          description: Number of months that the certificate remains valid until it
            expires.
          format: int32
          writeOnly: true
          default: 3
        notAfter:
          type: string
          description: Date and time when this certificate expires. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
        subject:
          pattern: "^(?:(?<cn>CN=(?<name>[^,]*)),)?(?:(?<path>(?:(?:CN|OU)=[^,]+,?)+),)?(?<domain>(?:DC=[^,]+,?)+)$"
          type: string
          description: Subject Alternative Name associated with this certificate.
            This parameter expresses its value as a distinguished name as defined
            in RFC 2253.
          readOnly: true
          example: CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com
          externalDocs:
            description: RFC 2253
            url: https://tools.ietf.org/html/2253
    UserCustomDBRole:
      required:
      - roleName
      type: object
      properties:
        actions:
          type: array
          description: List of the individual privilege actions that the role grants.
          items:
            "$ref": "#/components/schemas/DatabasePrivilegeAction"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        inheritedRoles:
          uniqueItems: true
          type: array
          description: List of the built-in roles that this custom role inherits.
          items:
            "$ref": "#/components/schemas/DatabaseInheritedRole"
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        roleName:
          type: string
          description: Human-readable label that identifies the role for the request.
            This name must be unique for this custom role in this project.
    UserEventTypeViewForNdsGroup:
      title: User Event Types
      type: string
      description: Unique identifier of event type.
      example: JOINED_GROUP
      enum:
      - JOINED_GROUP
      - REMOVED_FROM_GROUP
      - INVITED_TO_GROUP
      - REQUESTED_TO_JOIN_GROUP
      - GROUP_INVITATION_DELETED
      - USER_ROLES_CHANGED_AUDIT
      - JOIN_GROUP_REQUEST_DENIED_AUDIT
      - JOIN_GROUP_REQUEST_APPROVED_AUDIT
    UserEventTypeViewForOrg:
      title: User Event Types
      type: string
      description: Unique identifier of event type.
      example: JOINED_ORG
      enum:
      - JOINED_ORG
      - JOINED_TEAM
      - INVITED_TO_ORG
      - ORG_INVITATION_DELETED
      - REMOVED_FROM_ORG
      - REMOVED_FROM_TEAM
      - USER_ROLES_CHANGED_AUDIT
      - ORG_FLEX_CONSULTING_PURCHASED
      - ORG_FLEX_CONSULTING_PURCHASE_FAILED
      - INVITED_TO_TEAM
    UserEventViewForNdsGroup:
      title: User Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/UserEventTypeViewForNdsGroup"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        targetUsername:
          type: string
          description: 'Email address for the console user that this event targets.
            The resource returns this parameter when `"eventTypeName" : "USER"`.'
          format: email
          readOnly: true
          example: test.user@mongodb.com
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: User event reflects different activities about the atlas user.
    UserEventViewForOrg:
      title: User Events
      required:
      - created
      - eventTypeName
      - id
      type: object
      properties:
        apiKeyId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the API
            Key that triggered the event. If this resource returns this parameter,
            it doesn't return the `userId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
          externalDocs:
            description: Create Programmatic API Key
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        created:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        eventTypeName:
          "$ref": "#/components/schemas/UserEventTypeViewForOrg"
        groupId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred. The `eventId` identifies the specific event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        isGlobalAdmin:
          type: boolean
          description: Flag that indicates whether a MongoDB employee triggered the
            specified event.
          readOnly: true
          x-xgen-IPA-exception:
            xgen-IPA-112-boolean-field-names-avoid-is-prefix: Schema predates IPA
              validation.
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        publicKey:
          type: string
          description: Public part of the API key that triggered the event. If this
            resource returns this parameter, it doesn't return the **username** parameter.
          readOnly: true
          externalDocs:
            url: https://dochub.mongodb.org/core/atlas-create-prog-api-key
        raw:
          "$ref": "#/components/schemas/raw"
        remoteAddress:
          pattern: "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)(\\.(?!$)|$)){4}|([0-9a-f]{1,4}:){7}[0-9a-f]{1,4}$"
          type: string
          description: IPv4 or IPv6 address from which the user triggered this event.
          readOnly: true
          example: 216.172.40.186
        targetUsername:
          type: string
          description: 'Email address for the console user that this event targets.
            The resource returns this parameter when `"eventTypeName" : "USER"`.'
          format: email
          readOnly: true
          example: test.user@mongodb.com
        userId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the console
            user who triggered the event. If this resource returns this parameter,
            it doesn't return the `apiKeyId` parameter.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        username:
          type: string
          description: Email address for the user who triggered this event. If this
            resource returns this parameter, it doesn't return the `publicApiKey`
            parameter.
          format: email
          readOnly: true
      description: User event reflects different activities about the atlas user.
    UserNotification:
      title: User Notification
      required:
      - typeName
      type: object
      properties:
        delayMin:
          type: integer
          description: Number of minutes that MongoDB Cloud waits after detecting
            an alert condition before it sends out the first notification.
          format: int32
        emailEnabled:
          type: boolean
          description: |-
            Flag that indicates whether MongoDB Cloud should send email notifications. The resource requires this parameter when one of the following values have been set:

            - `"notifications.[n].typeName" : "ORG"`
            - `"notifications.[n].typeName" : "GROUP"`
            - `"notifications.[n].typeName" : "USER"`
          x-xgen-IPA-exception:
            xgen-IPA-117-description-ends-with-period: Description ends with an item
              list.
        intervalMin:
          minimum: 5
          type: integer
          description: |-
            Number of minutes to wait between successive notifications. MongoDB Cloud sends notifications until someone acknowledges the unacknowledged alert.

            PagerDuty, VictorOps, and OpsGenie notifications don't return this element. Configure and manage the notification interval within each of those services.
          format: int32
        notifierId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: The `notifierId` is a system-generated unique identifier assigned
            to each notification method. This is needed when updating third-party
            notifications without requiring explicit authentication credentials.
          example: 32b6e34b3d91647abb20e7b8
        smsEnabled:
          type: boolean
          description: |-
            Flag that indicates whether MongoDB Cloud should send text message notifications. The resource requires this parameter when one of the following values have been set:

            - `"notifications.[n].typeName" : "ORG"`
            - `"notifications.[n].typeName" : "GROUP"`
            - `"notifications.[n].typeName" : "USER"`
          x-xgen-IPA-exception:
            xgen-IPA-117-description-ends-with-period: Description ends with an item
              list.
        typeName:
          type: string
          description: Human-readable label that displays the alert notification type.
          enum:
          - USER
        username:
          type: string
          description: 'MongoDB Cloud username of the person to whom MongoDB Cloud
            sends notifications. Specify only MongoDB Cloud users who belong to the
            project that owns the alert configuration. The resource requires this
            parameter when `"notifications.[n].typeName" : "USER"`.'
          format: email
      description: User notification configuration for MongoDB Cloud to send information
        when an event triggers an alert condition.
    UserScope:
      title: Database User Scope
      required:
      - name
      - type
      type: object
      properties:
        name:
          pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*$"
          type: string
          description: Human-readable label that identifies the cluster or MongoDB
            Atlas Data Lake that this database user can access.
        type:
          type: string
          description: Category of resource that this database user can access.
          enum:
          - CLUSTER
          - DATA_LAKE
          - STREAM
      description: Range of resources available to this database user.
    UserSecurity:
      type: object
      properties:
        customerX509:
          "$ref": "#/components/schemas/DBUserTLSX509Settings"
        ldap:
          "$ref": "#/components/schemas/LDAPSecuritySettings"
        links:
          type: array
          description: List of one or more Uniform Resource Locators (URLs) that point
            to API sub-resources, related API resources, or both. RFC 5988 outlines
            these relationships.
          readOnly: true
          externalDocs:
            description: Web Linking Specification (RFC 5988)
            url: https://datatracker.ietf.org/doc/html/rfc5988
          items:
            "$ref": "#/components/schemas/Link"
    UserToDNMapping:
      title: User to Distinguished Name Mapping
      required:
      - match
      type: object
      properties:
        ldapQuery:
          type: string
          description: Lightweight Directory Access Protocol (LDAP) query template
            that inserts the LDAP name that the regular expression matches into an
            LDAP query Uniform Resource Identifier (URI). The formatting for the query
            must conform to [RFC 4515](https://datatracker.ietf.org/doc/html/rfc4515)
            and [RFC 4516](https://datatracker.ietf.org/doc/html/rfc4516).
          x-xgen-IPA-exception:
            xgen-IPA-117-description-should-not-use-inline-links: Description has
              multiple links, and externalDocs only supports one.
        match:
          type: string
          description: Regular expression that MongoDB Cloud uses to match against
            the provided Lightweight Directory Access Protocol (LDAP) username. Each
            parenthesis-enclosed section represents a regular expression capture group
            that the substitution or `ldapQuery` template uses.
          example: "(.*)"
        substitution:
          type: string
          description: Lightweight Directory Access Protocol (LDAP) Distinguished
            Name (DN) template that converts the LDAP username that matches regular
            expression in the *match* parameter into an LDAP Distinguished Name (DN).
          example: CN={0},CN=Users,DC=my-atlas-ldap-server,DC=example,DC=com
      description: User-to-Distinguished Name (DN) map that MongoDB Cloud uses to
        transform a Lightweight Directory Access Protocol (LDAP) username into an
        LDAP DN.
    VectorSearchIndex:
      required:
      - collectionName
      - database
      - name
      type: object
      allOf:
      - "$ref": "#/components/schemas/ClusterSearchIndex"
      - type: object
        properties:
          fields:
            type: array
            description: Settings that configure the fields, one per object, to index.
              You must define at least one "vector" type field. You can optionally
              define "filter" type fields also.
            externalDocs:
              description: Vector Search Fields
              url: https://dochub.mongodb.org/core/avs-vector-type
            items:
              "$ref": "#/components/schemas/BasicDBObject"
            x-xgen-IPA-exception:
              xgen-IPA-124-array-max-items: Schema predates IPA validation.
          nestedRoot:
            type: string
            description: Top-level path to the array that contains vector fields.
              When provided, vector fields under this path are treated as nested.
            example: sections
    VictorOps:
      title: VICTOR_OPS
      required:
      - apiKey
      type: object
      properties:
        apiKey:
          type: string
          description: |-
            Key that allows MongoDB Cloud to access your VictorOps account.

            **NOTE**: After you create a notification which requires an API or integration key, the key appears partially redacted when you:

            * View or edit the alert through the Atlas UI.

            * Query the alert for the notification through the Atlas Administration API.
          example: "********************************9abc"
        id:
          type: string
          description: Integration id.
          nullable: true
        routingKey:
          type: string
          description: Routing key associated with your Splunk On-Call account.
          example: test routing
        type:
          type: string
          description: Human-readable label that identifies the service to which you
            want to integrate with MongoDB Cloud. The value must match the third-party
            service integration type.
          enum:
          - VICTOR_OPS
      description: Details to integrate one Splunk On-Call account with one MongoDB
        Cloud project.
    VictorOpsNotification:
      title: VictorOps Notification
      required:
      - typeName
      type: object
      properties:
        delayMin:
          type: integer
          description: Number of minutes that MongoDB Cloud waits after detecting
            an alert condition before it sends out the first notification.
          format: int32
        integrationId:
          type: string
          description: The id of the associated integration, the credentials of which
            to use for requests.
          example: 32b6e34b3d91647abb20e7b8
        intervalMin:
          minimum: 5
          type: integer
          description: |-
            Number of minutes to wait between successive notifications. MongoDB Cloud sends notifications until someone acknowledges the unacknowledged alert.

            PagerDuty, VictorOps, and OpsGenie notifications don't return this element. Configure and manage the notification interval within each of those services.
          format: int32
        notifierId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: The `notifierId` is a system-generated unique identifier assigned
            to each notification method. This is needed when updating third-party
            notifications without requiring explicit authentication credentials.
          example: 32b6e34b3d91647abb20e7b8
        typeName:
          type: string
          description: Human-readable label that displays the alert notification type.
          enum:
          - VICTOR_OPS
        victorOpsApiKey:
          type: string
          description: |-
            API key that MongoDB Cloud needs to send alert notifications to Splunk On-Call. The resource requires this parameter when `"notifications.[n].typeName" : "VICTOR_OPS"`. If the key later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it.

            **NOTE**: After you create a notification which requires an API or integration key, the key appears partially redacted when you:

            * View or edit the alert through the Atlas UI.

            * Query the alert for the notification through the Atlas Administration API.
          example: "********************************9abc"
        victorOpsRoutingKey:
          type: string
          description: 'Routing key that MongoDB Cloud needs to send alert notifications
            to Splunk On-Call. The resource requires this parameter when `"notifications.[n].typeName"
            : "VICTOR_OPS"`. If the key later becomes invalid, MongoDB Cloud sends
            an email to the project owners. If the key remains invalid, MongoDB Cloud
            removes it.'
          example: test routing
      description: VictorOps notification configuration for MongoDB Cloud to send
        information when an event triggers an alert condition.
    Webhook:
      title: WEBHOOK
      required:
      - url
      type: object
      properties:
        id:
          type: string
          description: Integration id.
          nullable: true
        secret:
          type: string
          description: |-
            An optional field returned if your webhook is configured with a secret.

            **NOTE**: When you view or edit the alert for a webhook notification, the secret appears completely redacted.
          format: password
        type:
          type: string
          description: Human-readable label that identifies the service to which you
            want to integrate with MongoDB Cloud. The value must match the third-party
            service integration type.
          enum:
          - WEBHOOK
        url:
          type: string
          description: |-
            Endpoint web address to which MongoDB Cloud sends notifications.

            **NOTE**: When you view or edit the alert for a webhook notification, the URL appears partially redacted.
          example: https://webhook.com/****
      description: Details to integrate one webhook with one MongoDB Cloud project.
    WebhookNotification:
      title: Webhook Notification
      required:
      - typeName
      type: object
      properties:
        delayMin:
          type: integer
          description: Number of minutes that MongoDB Cloud waits after detecting
            an alert condition before it sends out the first notification.
          format: int32
        integrationId:
          type: string
          description: The id of the associated integration, the credentials of which
            to use for requests.
          example: 32b6e34b3d91647abb20e7b8
        intervalMin:
          minimum: 5
          type: integer
          description: |-
            Number of minutes to wait between successive notifications. MongoDB Cloud sends notifications until someone acknowledges the unacknowledged alert.

            PagerDuty, VictorOps, and OpsGenie notifications don't return this element. Configure and manage the notification interval within each of those services.
          format: int32
        notifierId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: The `notifierId` is a system-generated unique identifier assigned
            to each notification method. This is needed when updating third-party
            notifications without requiring explicit authentication credentials.
          example: 32b6e34b3d91647abb20e7b8
        typeName:
          type: string
          description: Human-readable label that displays the alert notification type.
          enum:
          - WEBHOOK
        webhookSecret:
          type: string
          description: |-
            Authentication secret for a webhook-based alert.

            Atlas returns this value if you set `notifications.[n].typeName` :`WEBHOOK` and either:
            * You set `notification.[n].webhookSecret` to a non-empty string
            * You set a default webhook secret either on the Integrations page, or with the Integrations API

            **NOTE**: When you view or edit the alert for a webhook notification, the secret appears completely redacted.
          format: password
          externalDocs:
            description: Integrations page
            url: https://www.mongodb.com/docs/atlas/tutorial/third-party-service-integrations/#std-label-third-party-integrations
        webhookUrl:
          type: string
          description: |-
            Target URL for a webhook-based alert.

            Atlas returns this value if you set `"notifications.[n].typeName" :"WEBHOOK"` and either:
            * You set `notification.[n].webhookURL` to a non-empty string
            * You set a default webhook URL either on the Integrations page, or with the Integrations API

            **NOTE**: When you view or edit the alert for a Webhook URL notification, the URL appears partially redacted.
          example: https://webhook.com/****
          externalDocs:
            description: Integrations page
            url: https://www.mongodb.com/docs/atlas/tutorial/third-party-service-integrations/#std-label-third-party-integrations
      description: Webhook notification configuration for MongoDB Cloud to send information
        when an event triggers an alert condition.
    WeeklyScheduleView:
      required:
      - type
      type: object
      allOf:
      - "$ref": "#/components/schemas/OnlineArchiveSchedule"
      - type: object
        properties:
          dayOfWeek:
            maximum: 7
            minimum: 1
            type: integer
            description: Day of the week when the scheduled archive starts. The week
              starts with Monday (`1`) and ends with Sunday (`7`).
            format: int32
          endHour:
            maximum: 23
            minimum: 0
            type: integer
            description: Hour of the day when the scheduled window to run one online
              archive ends. This field uses the UTC time zone. The window must have
              a duration of at least two hours. If the end time is before or equal
              to the start time, the window extends to the next day.
            format: int32
          endMinute:
            maximum: 59
            minimum: 0
            type: integer
            description: Minute of the hour when the scheduled window to run one online
              archive ends. This field uses the UTC time zone. The window must have
              a duration of at least two hours. If the end time is before or equal
              to the start time, the window extends to the next day.
            format: int32
          startHour:
            maximum: 23
            minimum: 0
            type: integer
            description: Hour of the day when the scheduled window to run one online
              archive starts. This field uses the UTC time zone.
            format: int32
          startMinute:
            maximum: 59
            minimum: 0
            type: integer
            description: Minute of the hour when the scheduled window to run one online
              archive starts. This field uses the UTC time zone.
            format: int32
    Weights:
      type: object
      additionalProperties:
        type: object
        description: Relative importance to place upon provided index parameters.
          This object expresses this as key/value pairs of index parameter and weight
          to apply to that parameter. You can specify weights for some or all the
          indexed parameters. The weight must be an integer between 1 and 99,999.
          MongoDB 5.0 and later can apply **weights** to **text** indexes only.
      description: Relative importance to place upon provided index parameters. This
        object expresses this as key/value pairs of index parameter and weight to
        apply to that parameter. You can specify weights for some or all the indexed
        parameters. The weight must be an integer between 1 and 99,999. MongoDB 5.0
        and later can apply **weights** to **text** indexes only.
    X509Certificate:
      type: object
      properties:
        notAfter:
          type: string
          description: Latest date that the certificate is valid. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
        notBefore:
          type: string
          description: Earliest date that the certificate is valid. This parameter
            expresses its value in the ISO 8601 timestamp format in UTC.
          format: date-time
    ZoneMapping:
      title: Global Cluster Zone
      required:
      - location
      - zone
      type: object
      properties:
        location:
          type: string
          description: Code that represents a location that maps to a zone in your
            global cluster. MongoDB Cloud represents this location with a ISO 3166-2
            location and subdivision codes when possible.
        zone:
          type: string
          description: Human-readable label that identifies the zone in your global
            cluster. This zone maps to a location code.
      description: Human-readable label that identifies the subset of a global cluster.
    charFilterhtmlStrip:
      title: htmlStrip
      required:
      - type
      type: object
      properties:
        ignoredTags:
          type: array
          description: The HTML tags that you want to exclude from filtering.
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        type:
          type: string
          description: Human-readable label that identifies this character filter
            type.
          enum:
          - htmlStrip
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that strips out HTML constructs.
    charFiltericuNormalize:
      title: icuNormalize
      required:
      - type
      type: object
      properties:
        type:
          type: string
          description: Human-readable label that identifies this character filter
            type.
          enum:
          - icuNormalize
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that processes normalized text with the ICU Normalizer.
        It is based on Lucene's ICUNormalizer2CharFilter.
      externalDocs:
        description: ICUNormalizer2CharFilter
        url: https://lucene.apache.org/core/8_3_0/analyzers-icu/org/apache/lucene/analysis/icu/ICUNormalizer2CharFilter.html
    charFiltermapping:
      title: mapping
      required:
      - mappings
      - type
      type: object
      properties:
        mappings:
          type: object
          additionalProperties:
            type: string
          description: |-
            Comma-separated list of mappings. A mapping indicates that one character or group of characters should be substituted for another, using the following format:

            `<original> : <replacement>`.
        type:
          type: string
          description: Human-readable label that identifies this character filter
            type.
          enum:
          - mapping
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that applies normalization mappings that you specify to
        characters.
    charFilterpersian:
      title: persian
      required:
      - type
      type: object
      properties:
        type:
          type: string
          description: Human-readable label that identifies this character filter
            type.
          enum:
          - persian
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that replaces instances of a zero-width non-joiner with
        an ordinary space. It is based on Lucene's PersianCharFilter.
      externalDocs:
        description: PersianCharFilter
        url: https://lucene.apache.org/core/8_0_0/analyzers-common/org/apache/lucene/analysis/fa/PersianCharFilter.html
    raw:
      type: object
      properties:
        _t:
          type: string
          description: Unique identifier of event type.
          example: ALERT_AUDIT
          x-xgen-IPA-exception:
            xgen-IPA-112-field-names-are-camel-case: Schema predates IPA validation.
        alertConfigId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the alert
            configuration related to the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        cid:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the project
            in which the event occurred.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        cre:
          type: string
          description: Date and time when this event occurred. This parameter expresses
            its value in the ISO 8601 timestamp format in UTC.
          format: date-time
          readOnly: true
          externalDocs:
            description: ISO 8601
            url: https://en.wikipedia.org/wiki/ISO_8601
        description:
          type: string
          description: Description of the event.
          example: Alert Acknowledged
        gn:
          maxLength: 64
          minLength: 1
          type: string
          description: Human-readable label that identifies the project.
          example: Test Project
        id:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the event.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        orgId:
          pattern: "^([a-f0-9]{24})$"
          type: string
          description: Unique 24-hexadecimal digit string that identifies the organization
            to which these events apply.
          readOnly: true
          example: 32b6e34b3d91647abb20e7b8
        orgName:
          maxLength: 64
          minLength: 1
          type: string
          description: Human-readable label that identifies the organization that
            contains the project.
          example: Test Organization
        severity:
          type: string
          description: Severity of the event.
          enum:
          - INFO
          - WARNING
          - ERROR
          - CRITICAL
      description: Additional meta information captured about this event. The response
        returns this parameter as a JSON object when the query parameter `includeRaw=true`.
        The list of fields in the raw document may change. Don't rely on raw values
        for formal monitoring.
      readOnly: true
    tokenFilterasciiFolding:
      title: asciiFolding
      required:
      - type
      type: object
      properties:
        originalTokens:
          type: string
          description: |-
            Value that indicates whether to include or omit the original tokens in the output of the token filter.

            Choose `include` if you want to support queries on both the original tokens as well as the converted forms.

             Choose `omit` if you want to query only on the converted forms of the original tokens.
          enum:
          - omit
          - include
          default: omit
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - asciiFolding
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that converts alphabetic, numeric, and symbolic Unicode
        characters that are not in the Basic Latin Unicode block to their ASCII equivalents,
        if available.
      externalDocs:
        description: Basic Latin Unicode block
        url: https://en.wikipedia.org/wiki/Basic_Latin_(Unicode_block)
    tokenFilterdaitchMokotoffSoundex:
      title: daitchMokotoffSoundex
      required:
      - type
      type: object
      properties:
        originalTokens:
          type: string
          description: |-
            Value that indicates whether to include or omit the original tokens in the output of the token filter.

            Choose `include` if you want to support queries on both the original tokens as well as the converted forms.

             Choose `omit` if you want to query only on the converted forms of the original tokens.
          enum:
          - omit
          - include
          default: include
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - daitchMokotoffSoundex
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: |-
        Filter that creates tokens for words that sound the same based on the Daitch-Mokotoff Soundex phonetic algorithm. This filter can generate multiple encodings for each input, where each encoded token is a 6 digit number.

        **NOTE**: Don't use the `daitchMokotoffSoundex` token filter in:

        -Synonym or autocomplete mapping definitions
        - Operators where **fuzzy** is enabled. Atlas Search supports the **fuzzy** option only for the **autocomplete**, **term**, and **text** operators.
      externalDocs:
        description: Daitch-Mokotoff Soundex phonetic algorithm
        url: https://en.wikipedia.org/wiki/Daitch%E2%80%93Mokotoff_Soundex
    tokenFilteredgeGram:
      title: edgeGram
      required:
      - maxGram
      - minGram
      - type
      type: object
      properties:
        maxGram:
          type: integer
          description: Value that specifies the maximum length of generated n-grams.
            This value must be greater than or equal to `minGram`.
        minGram:
          type: integer
          description: Value that specifies the minimum length of generated n-grams.
            This value must be less than or equal to `maxGram`.
        termNotInBounds:
          type: string
          description: Value that indicates whether to index tokens shorter than `minGram`
            or longer than `maxGram`.
          enum:
          - omit
          - include
          default: omit
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - edgeGram
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that tokenizes input from the left side, or "edge", of a
        text input into n-grams of configured sizes. You can't use this token filter
        in synonym or autocomplete mapping definitions.
    tokenFiltericuFolding:
      title: icuFolding
      required:
      - type
      type: object
      properties:
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - icuFolding
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: 'Filter that applies character folding from Unicode Technical Report
        #30.'
      externalDocs:
        description: 'Unicode Technical Report #30'
        url: http://www.unicode.org/reports/tr30/tr30-4.html
    tokenFiltericuNormalizer:
      title: icuNormalizer
      required:
      - type
      type: object
      properties:
        normalizationForm:
          type: string
          description: Normalization form to apply.
          enum:
          - nfd
          - nfc
          - nfkd
          - nfkc
          default: nfc
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - icuNormalizer
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that normalizes tokens using a standard Unicode Normalization
        Mode.
      externalDocs:
        description: Unicode Normalization Mode
        url: https://unicode.org/reports/tr15/
    tokenFilterlength:
      title: length
      required:
      - type
      type: object
      properties:
        max:
          type: integer
          description: Number that specifies the maximum length of a token. Value
            must be greater than or equal to **min**.
          default: 255
        min:
          type: integer
          description: Number that specifies the minimum length of a token. This value
            must be less than or equal to **max**.
          default: 0
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - length
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that removes tokens that are too short or too long.
    tokenFilterlowercase:
      title: lowercase
      required:
      - type
      type: object
      properties:
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - lowercase
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that normalizes token text to lowercase.
    tokenFilternGram:
      title: nGram
      required:
      - maxGram
      - minGram
      - type
      type: object
      properties:
        maxGram:
          type: integer
          description: Value that specifies the maximum length of generated n-grams.
            This value must be greater than or equal to `minGram`.
        minGram:
          type: integer
          description: Value that specifies the minimum length of generated n-grams.
            This value must be less than or equal to `maxGram`.
        termNotInBounds:
          type: string
          description: Value that indicates whether to index tokens shorter than `minGram`
            or longer than `maxGram`.
          enum:
          - omit
          - include
          default: omit
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - nGram
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that tokenizes input into n-grams of configured sizes. You
        can't use this token filter in synonym or autocomplete mapping definitions.
    tokenFilterregex:
      title: regex
      required:
      - matches
      - pattern
      - replacement
      - type
      type: object
      properties:
        matches:
          type: string
          description: Value that indicates whether to replace only the first matching
            pattern or all matching patterns.
          enum:
          - all
          - first
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        pattern:
          type: string
          description: Regular expression pattern to apply to each token.
        replacement:
          type: string
          description: Replacement string to substitute wherever a matching pattern
            occurs.
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - regex
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that applies a regular expression to each token, replacing
        matches with a specified string.
    tokenFilterreverse:
      title: reverse
      required:
      - type
      type: object
      properties:
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - reverse
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that reverses each string token.
    tokenFiltershingle:
      title: shingle
      required:
      - maxShingleSize
      - minShingleSize
      - type
      type: object
      properties:
        maxShingleSize:
          type: integer
          description: Value that specifies the maximum number of tokens per shingle.
            This value must be greater than or equal to `minShingleSize`.
        minShingleSize:
          type: integer
          description: Value that specifies the minimum number of tokens per shingle.
            This value must be less than or equal to `maxShingleSize`.
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - shingle
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that constructs shingles (token n-grams) from a series of
        tokens. You can't use this token filter in synonym or autocomplete mapping
        definitions.
    tokenFiltersnowballStemming:
      title: snowballStemming
      required:
      - stemmerName
      - type
      type: object
      properties:
        stemmerName:
          type: string
          description: Snowball-generated stemmer to use.
          enum:
          - arabic
          - armenian
          - basque
          - catalan
          - danish
          - dutch
          - english
          - finnish
          - french
          - german
          - german2
          - hungarian
          - irish
          - italian
          - kp
          - lithuanian
          - lovins
          - norwegian
          - porter
          - portuguese
          - romanian
          - russian
          - spanish
          - swedish
          - turkish
          x-xgen-IPA-exception:
            xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates
              IPA validation.
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - snowballStemming
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that stems tokens using a Snowball-generated stemmer.
      externalDocs:
        description: Snowball-generated stemmer
        url: https://snowballstem.org/
    tokenFilterstopword:
      title: stopword
      required:
      - tokens
      - type
      type: object
      properties:
        ignoreCase:
          type: boolean
          description: Flag that indicates whether to ignore the case of stop words
            when filtering the tokens to remove.
          default: true
        tokens:
          type: array
          description: The stop words that correspond to the tokens to remove. Value
            must be one or more stop words.
          items:
            type: string
          x-xgen-IPA-exception:
            xgen-IPA-124-array-max-items: Schema predates IPA validation.
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - stopword
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that removes tokens that correspond to the specified stop
        words. This token filter doesn't analyze the stop words that you specify.
    tokenFiltertrim:
      title: trim
      required:
      - type
      type: object
      properties:
        type:
          type: string
          description: Human-readable label that identifies this token filter type.
          enum:
          - trim
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Filter that trims leading and trailing whitespace from tokens.
    tokenizeredgeGram:
      title: edgeGram
      required:
      - maxGram
      - minGram
      - type
      type: object
      properties:
        maxGram:
          type: integer
          description: Characters to include in the longest token that Atlas Search
            creates.
        minGram:
          type: integer
          description: Characters to include in the shortest token that Atlas Search
            creates.
        type:
          type: string
          description: Human-readable label that identifies this tokenizer type.
          enum:
          - edgeGram
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Tokenizer that splits input from the left side, or "edge", of a
        text input into n-grams of given sizes. You can't use the edgeGram tokenizer
        in synonym or autocomplete mapping definitions.
    tokenizerkeyword:
      title: keyword
      required:
      - type
      type: object
      properties:
        type:
          type: string
          description: Human-readable label that identifies this tokenizer type.
          enum:
          - keyword
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Tokenizer that combines the entire input as a single token.
    tokenizernGram:
      title: nGram
      required:
      - maxGram
      - minGram
      - type
      type: object
      properties:
        maxGram:
          type: integer
          description: Characters to include in the longest token that Atlas Search
            creates.
        minGram:
          type: integer
          description: Characters to include in the shortest token that Atlas Search
            creates.
        type:
          type: string
          description: Human-readable label that identifies this tokenizer type.
          enum:
          - edgeGram
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Tokenizer that splits input into text chunks, or "n-grams", of
        into given sizes. You can't use the nGram tokenizer in synonym or autocomplete
        mapping definitions.
    tokenizerregexCaptureGroup:
      title: regexCaptureGroup
      required:
      - group
      - pattern
      - type
      type: object
      properties:
        group:
          type: integer
          description: Index of the character group within the matching expression
            to extract into tokens. Use `0` to extract all character groups.
        pattern:
          type: string
          description: Regular expression to match against.
        type:
          type: string
          description: Human-readable label that identifies this tokenizer type.
          enum:
          - regexCaptureGroup
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Tokenizer that uses a regular expression pattern to extract tokens.
    tokenizerregexSplit:
      title: regexSplit
      required:
      - pattern
      - type
      type: object
      properties:
        pattern:
          type: string
          description: Regular expression to match against.
        type:
          type: string
          description: Human-readable label that identifies this tokenizer type.
          enum:
          - regexSplit
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Tokenizer that splits tokens using a regular-expression based delimiter.
    tokenizerstandard:
      title: standard
      required:
      - type
      type: object
      properties:
        maxTokenLength:
          type: integer
          description: Maximum number of characters in a single token. Tokens greater
            than this length are split at this length into multiple tokens.
          default: 255
        type:
          type: string
          description: Human-readable label that identifies this tokenizer type.
          enum:
          - standard
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Tokenizer that splits tokens based on word break rules from the
        Unicode Text Segmentation algorithm.
      externalDocs:
        description: Unicode Text Segmentation Algorithm
        url: https://www.unicode.org/L2/L2019/19034-uax29-34-draft.pdf
    tokenizeruaxUrlEmail:
      title: uaxUrlEmail
      required:
      - type
      type: object
      properties:
        maxTokenLength:
          type: integer
          description: Maximum number of characters in a single token. Tokens greater
            than this length are split at this length into multiple tokens.
          default: 255
        type:
          type: string
          description: Human-readable label that identifies this tokenizer type.
          enum:
          - uaxUrlEmail
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Tokenizer that creates tokens from URLs and email addresses. Although
        this tokenizer uses word break rules from the Unicode Text Segmentation algorithm,
        we recommend using it only when the indexed field value includes URLs and
        email addresses. For fields that don't include URLs or email addresses, use
        the **standard** tokenizer to create tokens based on word break rules.
      externalDocs:
        description: Unicode Text Segmentation Algorithm
        url: https://www.unicode.org/L2/L2019/19034-uax29-34-draft.pdf
    tokenizerwhitespace:
      title: whitespace
      required:
      - type
      type: object
      properties:
        maxTokenLength:
          type: integer
          description: Maximum number of characters in a single token. Tokens greater
            than this length are split at this length into multiple tokens.
          default: 255
        type:
          type: string
          description: Human-readable label that identifies this tokenizer type.
          enum:
          - whitespace
          x-xgen-IPA-exception:
            xgen-IPA-123-enum-values-must-be-upper-snake-case: Schema predates IPA
              validation.
      description: Tokenizer that creates tokens based on occurrences of whitespace
        between words.
  responses:
    accepted:
      description: Accepted.
    badRequest:
      description: Bad Request.
      content:
        application/json:
          schema:
            "$ref": "#/components/schemas/ApiError"
          example:
            detail: "(This is just an example, the exception may not be related to
              this endpoint) No provider AWS exists."
            error: 400
            errorCode: VALIDATION_ERROR
            reason: Bad Request
    conflict:
      description: Conflict.
      content:
        application/json:
          schema:
            "$ref": "#/components/schemas/ApiError"
          example:
            detail: "(This is just an example, the exception may not be related to
              this endpoint) Cannot delete organization link while there is active
              migration in following project ids: 60c4fd418ebe251047c50554"
            error: 409
            errorCode: CANNOT_DELETE_ORG_ACTIVE_LIVE_MIGRATION_ATLAS_ORG_LINK
            reason: Conflict
    forbidden:
      description: Forbidden.
      content:
        application/json:
          schema:
            "$ref": "#/components/schemas/ApiError"
          example:
            detail: "(This is just an example, the exception may not be related to
              this endpoint)"
            error: 403
            errorCode: CANNOT_CHANGE_GROUP_NAME
            reason: Forbidden
    gone:
      description: Gone.
      content:
        application/json:
          schema:
            "$ref": "#/components/schemas/ApiError"
          example:
            detail: This happens when a resource is marked for sunset and the sunset
              date is in the past.
            error: 410
            errorCode: VERSION_GONE
            reason: Gone
    internalServerError:
      description: Internal Server Error.
      content:
        application/json:
          schema:
            "$ref": "#/components/schemas/ApiError"
          example:
            detail: "(This is just an example, the exception may not be related to
              this endpoint)"
            error: 500
            errorCode: UNEXPECTED_ERROR
            reason: Internal Server Error
    methodNotAllowed:
      description: Method Not Allowed.
      content:
        application/json:
          schema:
            "$ref": "#/components/schemas/ApiError"
          example:
            detail: "(This is just an example, the exception may not be related to
              this endpoint)"
            error: 405
            errorCode: ATLAS_BACKUP_CANCEL_SHARD_RESTORE_JOB_NOT_ALLOWED
            reason: Method Not Allowed
    noBody:
      description: This endpoint does not return a response body.
    notFound:
      description: Not Found.
      content:
        application/json:
          schema:
            "$ref": "#/components/schemas/ApiError"
          example:
            detail: "(This is just an example, the exception may not be related to
              this endpoint) Cannot find resource AWS"
            error: 404
            errorCode: RESOURCE_NOT_FOUND
            reason: Not Found
    paymentRequired:
      description: Payment Required.
      content:
        application/json:
          schema:
            "$ref": "#/components/schemas/ApiError"
          example:
            detail: "(This is just an example, the exception may not be related to
              this endpoint)"
            error: 402
            errorCode: NO_PAYMENT_INFORMATION_FOUND
            reason: Payment Required
    tooManyRequests:
      description: Too Many Requests.
      content:
        application/json:
          schema:
            "$ref": "#/components/schemas/ApiError"
          example:
            detail: "(This is just an example, the exception may not be related to
              this endpoint)"
            error: 429
            errorCode: RATE_LIMITED
            reason: Too Many Requests
    unauthorized:
      description: Unauthorized.
      content:
        application/json:
          schema:
            "$ref": "#/components/schemas/ApiError"
          example:
            detail: "(This is just an example, the exception may not be related to
              this endpoint)"
            error: 401
            errorCode: NOT_ORG_GROUP_CREATOR
            reason: Unauthorized
  parameters:
    collectionName:
      name: collectionName
      in: path
      description: Human-readable label that identifies the collection.
      required: true
      schema:
        type: string
        example: mycoll
    databaseName:
      name: databaseName
      in: path
      description: Human-readable label that identifies the database.
      required: true
      schema:
        type: string
        example: mydb
    end:
      name: end
      in: query
      description: Date and time when MongoDB Cloud stops reporting the metrics. This
        parameter expresses its value in the ISO 8601 timestamp format in UTC. Include
        this parameter when you do not set **period**.
      required: false
      schema:
        type: string
        format: date-time
    envelope:
      name: envelope
      in: query
      description: Flag that indicates whether Application wraps the response in an
        `envelope` JSON object. Some API clients cannot access the HTTP response headers
        or status code. To remediate this, set envelope=true in the query. Endpoints
        that return a list of results use the results object as an envelope. Application
        adds the status parameter to the response body.
      required: false
      schema:
        type: boolean
        default: false
    federationSettingsId:
      name: federationSettingsId
      in: path
      description: Unique 24-hexadecimal digit string that identifies your federation.
      required: true
      schema:
        pattern: "^([a-f0-9]{24})$"
        type: string
        example: 55fa922fb343282757d9554e
    granularity:
      name: granularity
      in: query
      description: Duration that specifies the interval at which Atlas reports the
        metrics. This parameter expresses its value in the ISO 8601 duration format
        in UTC.
      required: true
      schema:
        type: string
        example: PT1M
    groupId:
      name: groupId
      in: path
      description: |-
        Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access.

        **NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups.
      required: true
      schema:
        pattern: "^([a-f0-9]{24})$"
        type: string
        example: 32b6e34b3d91647abb20e7b8
    identityProviderId:
      name: identityProviderId
      in: path
      description: Legacy 20-hexadecimal digit string that identifies the identity
        provider. This id can be found within the Federation Management Console >
        Identity Providers tab by clicking the info icon in the IdP ID row of a configured
        identity provider.
      required: true
      schema:
        pattern: "^([a-f0-9]{20})$"
        type: string
        example: c2777a9eca931f29fc2f
    includeCount:
      name: includeCount
      in: query
      description: Flag that indicates whether the response returns the total number
        of items (`totalCount`) in the response.
      required: false
      schema:
        type: boolean
        default: true
    indexName:
      name: indexName
      in: path
      description: Human-readable label that identifies the index.
      required: true
      schema:
        type: string
        example: myindex
    itemsPerPage:
      name: itemsPerPage
      in: query
      description: Number of items that the response returns per page.
      required: false
      schema:
        maximum: 500
        minimum: 1
        type: integer
        default: 100
    liveMigrationId:
      name: liveMigrationId
      in: path
      description: Unique 24-hexadecimal digit string that identifies the migration.
      required: true
      schema:
        pattern: "^([a-f0-9]{24})$"
        type: string
        example: 6296fb4c7c7aa997cf94e9a8
    orgId:
      name: orgId
      in: path
      description: Unique 24-hexadecimal digit string that identifies the organization
        that contains your projects. Use the [`/orgs`](#tag/Organizations/operation/listOrganizations)
        endpoint to retrieve all organizations to which the authenticated user has
        access.
      required: true
      schema:
        pattern: "^([a-f0-9]{24})$"
        type: string
        example: 4888442a3354817a7320eb61
    pageNum:
      name: pageNum
      in: query
      description: Number of the page that displays the current set of the total objects
        that the response returns.
      required: false
      schema:
        minimum: 1
        type: integer
        default: 1
    period:
      name: period
      in: query
      description: Duration over which Atlas reports the metrics. This parameter expresses
        its value in the ISO 8601 duration format in UTC. Include this parameter when
        you do not set **start** and **end**.
      required: false
      schema:
        type: string
        example: PT10H
    pretty:
      name: pretty
      in: query
      description: Flag that indicates whether the response body should be in the
        prettyprint format.
      required: false
      schema:
        type: boolean
        externalDocs:
          description: Prettyprint
          url: https://en.wikipedia.org/wiki/Prettyprint
        default: false
    processId:
      name: processId
      in: path
      description: Combination of hostname and IANA port that serves the MongoDB process.
        The host must be the hostname, fully qualified domain name (FQDN), or Internet
        Protocol address (IPv4 or IPv6) of the host that runs the MongoDB process
        (mongod or mongos). The port must be the IANA port on which the MongoDB process
        listens for requests.
      required: true
      schema:
        pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}\\:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?(\\:[0-9]{4,5})$"
        type: string
        example: my.host.name.com:27017
    start:
      name: start
      in: query
      description: Date and time when MongoDB Cloud begins reporting the metrics.
        This parameter expresses its value in the ISO 8601 timestamp format in UTC.
        Include this parameter when you do not set **period**.
      required: false
      schema:
        type: string
        format: date-time
  securitySchemes:
    DigestAuth:
      type: http
      scheme: digest
    ServiceAccounts:
      type: oauth2
      description: Learn more about [Service Accounts](https://www.mongodb.com/docs/atlas/api/service-accounts-overview).
      flows:
        clientCredentials:
          tokenUrl: https://cloud.mongodb.com/api/oauth/token
          scopes: {}
