> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corsair.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# MongoDB Atlas API reference

> API reference for MongoDB Atlas: every `mongodbatlas.api.*` operation with input and output types.

> [!NOTE]
>
> **New to Corsair?** See [API access](https://docs.corsair.dev/concepts/api.md), [authentication](https://docs.corsair.dev/concepts/auth.md), and [error handling](https://docs.corsair.dev/concepts/error-handling).

## Access Tracking

### getAccessHistoryCluster

`accessTracking.getAccessHistoryCluster`

Return Database Access History for One Cluster by Cluster Name: returns the access logs of one cluster identified by the cluster's name

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.accessTracking.getAccessHistoryCluster({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `authResult` | `boolean` | No | Flag that indicates whether the response returns the successful authentication attempts only. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `end` | `number` | No | 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. |
| `ipAddress` | `string` | No | One Internet Protocol address that attempted to authenticate with the database. |
| `nLogs` | `number` | No | Maximum number of lines from the log to return. |
| `start` | `number` | No | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `accessLogs` | `object[] \| null` | No | Authentication attempt, one per object, made against the cluster. |

> [accordion] accessLogs full type
>
> ```ts theme={null}
> {
>   authResult?: boolean | null,
>   authSource?: string | null,
>   failureReason?: string | null,
>   groupId?: string | null,
>   hostname?: string | null,
>   ipAddress?: string | null,
>   logLine?: string | null,
>   timestamp?: string | null,
>   username?: string | null
> }[] | null
> ```

***

### getAccessHistoryProcess

`accessTracking.getAccessHistoryProcess`

Return Database Access History for One Cluster by Hostname: returns the access logs of one cluster identified by the cluster's hostname

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.accessTracking.getAccessHistoryProcess({ groupId: '5f43e7f0a1b2c3d4e5f60718', hostname: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `authResult` | `boolean` | No | Flag that indicates whether the response returns the successful authentication attempts only. |
| `end` | `number` | No | 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. |
| `hostname` | `string` | Yes | Fully qualified domain name or IP address of the MongoDB host that stores the log files that you want to download. |
| `ipAddress` | `string` | No | One Internet Protocol address that attempted to authenticate with the database. |
| `nLogs` | `number` | No | Maximum number of lines from the log to return. |
| `start` | `number` | No | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `accessLogs` | `object[] \| null` | No | Authentication attempt, one per object, made against the cluster. |

> [accordion] accessLogs full type
>
> ```ts theme={null}
> {
>   authResult?: boolean | null,
>   authSource?: string | null,
>   failureReason?: string | null,
>   groupId?: string | null,
>   hostname?: string | null,
>   ipAddress?: string | null,
>   logLine?: string | null,
>   timestamp?: string | null,
>   username?: string | null
> }[] | null
> ```

***

## Activity Feed

### getGroupActivityFeed

`activityFeed.getGroupActivityFeed`

Return Pre-Filtered Activity Feed Link for One Project: returns a pre-filtered activity feed link for the specified project based on the provided date range and event types

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.activityFeed.getGroupActivityFeed({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `eventType` | `(ALERT_ACKNOWLEDGED_AUDIT \| ALERT_UNACKNOWLEDGED_AUDIT \| ALERT_CONFIG_DISABLED_AUDIT \| ALERT_CONFIG_ENABLED_AUDIT \| ALERT_CONFIG_ADDED_AUDIT \| ALERT_CONFIG_DELETED_AUDIT \| ALERT_CONFIG_CHANGED_AUDIT \| 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 \| 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 \| 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 \| 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 \| AUTOMATION_CONFIG_PUBLISHED_AUDIT \| PEER_CREATED \| PEER_DELETED \| PEER_UPDATED \| AZURE_PEER_CREATED \| AZURE_PEER_UPDATED \| AZURE_PEER_ACTIVE \| AZURE_PEER_DELETED \| CREDIT_CARD_CURRENT \| CREDIT_CARD_ABOUT_TO_EXPIRE \| PENDING_INVOICE_UNDER_THRESHOLD \| PENDING_INVOICE_OVER_THRESHOLD \| DAILY_BILL_UNDER_THRESHOLD \| DAILY_BILL_OVER_THRESHOLD \| DAILY_BILLING_CHANGE_NORMAL \| DAILY_BILLING_CHANGE_OVER_THRESHOLD \| WEEKLY_BILLING_CHANGE_NORMAL \| WEEKLY_BILLING_CHANGE_OVER_THRESHOLD \| MONTHLY_BILLING_CHANGE_NORMAL \| MONTHLY_BILLING_CHANGE_OVER_THRESHOLD \| 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_FIND_DOCUMENTS \| CLUSTER_CONNECTION_GET_NAMESPACES_AND_PROJECT_SQL_SCHEMA_DATA \| CLUSTER_MONGOS_IS_PRESENT \| CLUSTER_MONGOS_IS_MISSING \| 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 \| DATA_EXPLORER \| DATA_EXPLORER_CRUD_ATTEMPT \| DATA_EXPLORER_CRUD_ERROR \| DATA_EXPLORER_CRUD \| DATA_EXPLORER_SESSION_CREATED \| 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 \| CPS_RESTORE_REQUESTED_AUDIT \| CPS_RESTORE_AUTH_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 \| 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 \| BUCKET_CREATED_AUDIT \| BUCKET_DELETED_AUDIT \| FTS_INDEX_DELETION_FAILED \| FTS_INDEX_BUILD_COMPLETE \| FTS_INDEX_BUILD_FAILED \| FTS_INDEX_CREATED \| FTS_INDEX_UPDATED \| FTS_INDEX_PARTITIONS_CHANGED \| FTS_INDEX_REBUILT \| FTS_INDEX_DEFINITION_ROLLED_BACK \| FTS_INDEX_DELETED \| FTS_INDEX_CLEANED_UP \| FTS_INDEX_STALE \| FTS_INDEXES_RESTORED \| FTS_INDEXES_RESTORE_FAILED \| FTS_INDEXES_SYNONYM_MAPPING_INVALID \| GCP_PEER_CREATED \| GCP_PEER_DELETED \| GCP_PEER_UPDATED \| GCP_PEER_ACTIVE \| GCP_PEER_INACTIVE \| 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 \| PROJECT_OPERATIONS_CONTACT_MODIFIED \| PROJECT_OPERATIONS_CONTACT_ALERTS_ENABLED \| PROJECT_OPERATIONS_CONTACT_ALERTS_DISABLED \| GROUP_DEFAULT_ALERTS_SETTINGS_CHANGED \| 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 \| WEBHOOK_TEMPLATE_RENDER_FAILED \| ENCRYPTION_AT_REST_CONFIG_UPDATE_NO_LONGER_STALLED \| ENCRYPTION_AT_REST_CONFIG_UPDATE_STALLED \| INTEGRATION_CONFIGURED \| INTEGRATION_REMOVED \| 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_SEARCH_PROCESS_NOT_THROTTLING \| HOST_SEARCH_PROCESS_THROTTLING \| 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 \| INSIDE_METRIC_THRESHOLD \| OUTSIDE_METRIC_THRESHOLD \| ROLLING_INDEX_FAILED_INDEX_BUILD \| ROLLING_INDEX_SUCCESS_INDEX_BUILD \| INDEX_FAILED_INDEX_BUILD \| INDEX_SUCCESS_INDEX_BUILD \| MONGOTUNE_INFO \| MONGOTUNE_ALERT \| 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_USER_PASSWORD_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 \| CAPACITY_RETRY_OVERRIDE_SET \| CAPACITY_RETRY_OVERRIDE_REMOVED \| 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 \| PROJECT_ENABLE_DATA_VALIDATION_UPDATED \| PROJECT_COLLECT_DATABASE_STATISTICS_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 \| ENCRYPTION_AT_REST_PRIVATE_ENDPOINT_CREATED \| ENCRYPTION_AT_REST_PRIVATE_ENDPOINT_DELETED \| 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 \| SLS_LOG_AND_MONGOD_NODES_RECREATION_REQUESTED \| AGENT_FORCE_RESTART_REQUESTED \| CLUSTER_RESET_FORCE_RECONFIG_REQUESTED \| CLUSTER_FORCE_PAUSE_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 \| LOG_STREAMING_EXPORT_FAILED_NONRETRYABLE \| LOG_STREAMING_EXPORT_FAILED_RETRIES_EXHAUSTED \| LOG_STREAMING_EXPORT_RECOVERED \| LOG_STREAMING_REPLAY_STARTED \| LOG_STREAMING_REPLAY_COMPLETE \| LOG_STREAMING_REPLAY_FAILED \| OTEL_METRIC_INTEGRATION_ENABLED \| OTEL_METRIC_INTEGRATION_CONFIGURATION_UPDATED \| OTEL_METRIC_INTEGRATION_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 \| STREAM_WORKSPACE_PRIVATE_ENDPOINT_CREATED \| STREAM_WORKSPACE_PRIVATE_ENDPOINT_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 \| SEARCH_HOST_PAUSE_ALL_INITIAL_SYNCS \| SEARCH_HOST_DISABLE_FTS \| SEARCH_HOST_PAUSE_INITIAL_SYNC_ON_INDEX_IDS \| SEARCH_AUTOSCALING_ADMIN_OVERRIDES_UPDATED \| SEARCH_CLUSTER_MONGOT_VERSION_OVERRIDE_UPDATED \| 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 \| ADAPTIVE_SETTINGS_LOAD_SHEDDING_UPDATED \| 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 \| DISK_WARMING_PROCESS_NODE_HIDDEN_BY_ADMIN \| DISK_WARMING_PROCESS_NODE_UNHIDDEN_BY_ADMIN \| DISK_WARMING_PROCESS_INSTANCE_CANCELLED_BY_ADMIN \| DISK_WARMING_PROCESS_DISK_TAG_READY_BY_ADMIN \| NODE_FROZEN_BY_ADMIN \| NODE_UNFROZEN_BY_ADMIN \| CLUSTER_CREATED_VIA_ANIS \| MAINTENANCE_WAVE_ASSIGNMENT_ADDED \| MAINTENANCE_WAVE_ASSIGNMENT_MODIFIED \| MAINTENANCE_WAVE_ASSIGNMENT_REMOVED \| CLUSTER_MONGUARD_ENABLED \| CLUSTER_MONGUARD_DISABLED \| CLUSTER_MONGODB_VERSION_UPDATED \| VOLUME_IMPAIRED \| VOLUME_IMPAIRED_RESOLVED \| SQL_INTERFACE_ENABLED \| SQL_INTERFACE_DISABLED \| AUTO_EMBEDDING_INFERENCE_SCOPE_UPDATED \| CLUSTER_OVERLOAD_PROTECTION_SIMULATION_REQUESTED \| CLUSTER_OVERLOAD_PROTECTION_SIMULATION_STARTED \| CLUSTER_OVERLOAD_PROTECTION_SIMULATION_FAILED_TO_START \| CLUSTER_OVERLOAD_PROTECTION_SIMULATION_END_REQUESTED \| CLUSTER_OVERLOAD_PROTECTION_SIMULATION_ENDED \| DB_CHECK_UPDATED \| CLUSTER_SAMPLED_FOR_DB_CHECK \| DB_CHECK_SCHEDULED_FOR_CLUSTER \| DB_CHECK_DEFERRED_FOR_CLUSTER \| CLUSTER_OPTED_OUT_OF_DB_CHECK \| 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 \| 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_DOWNSCALE_SKIPPED_FALLBACK_BASE \| COMPUTE_AUTO_SCALE_DOWNSCALE_SKIPPED_FALLBACK_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 \| COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_BASE \| COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_ANALYTICS \| DISK_AUTO_SCALE_MAX_DISK_SIZE_FAIL \| DISK_AUTO_SCALE_OPLOG_FAIL \| CLUSTER_AUTO_SHARDING_INITIATED \| CLUSTER_RESHARDING_COMPLETED \| PREDICTIVE_COMPUTE_AUTO_SCALE_INITIATED_BASE \| PREDICTIVE_COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_BASE \| PREDICTIVE_COMPUTE_AUTO_SCALE_OPLOG_FAIL_BASE \| PREDICTIVE_COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_BASE \| MAINTENANCE_IN_ADVANCED \| MAINTENANCE_AUTO_DEFERRED \| MAINTENANCE_STARTED \| MAINTENANCE_COMPLETED \| MAINTENANCE_NO_LONGER_NEEDED \| 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 \| 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 \| 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 \| 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 \| 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 \| 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 \| PRIVATE_ENDPOINT_CONNECTION_STRING_AVAILABLE \| PRIVATE_ENDPOINT_CONNECTION_STRING_CREATED \| PRIVATE_ENDPOINT_CONNECTION_STRING_DELETED \| PRIVATE_ENDPOINT_CONNECTION_STRING_MISCONFIGURED \| PRIVATE_ENDPOINT_CONNECTION_STRING_OPT_IN \| PRIVATE_ENDPOINT_CONNECTION_STRING_OPT_OUT \| PRIVATE_ENDPOINT_CONNECTION_STRING_UPDATED \| CROSS_REGION_SUPPORTED_REGION_MODIFIED \| ENDPOINT_SERVICE_CREATED \| ENDPOINT_SERVICE_CREATION_RETRIED \| ENDPOINT_SERVICE_DELETED \| INTERFACE_ENDPOINT_CREATED \| INTERFACE_ENDPOINT_DELETED \| INTERFACE_ENDPOINT_PATCHED \| INTERFACE_ENDPOINT_RETRIED \| PROACTIVE_OPERATION_EVENT_LOGGED \| 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 \| SEARCH_DEPLOYMENT_CREATED \| SEARCH_DEPLOYMENT_UPDATED \| SEARCH_DEPLOYMENT_DELETED \| 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 \| INSIDE_SERVERLESS_METRIC_THRESHOLD \| OUTSIDE_SERVERLESS_METRIC_THRESHOLD \| INSIDE_FLEX_METRIC_THRESHOLD \| OUTSIDE_FLEX_METRIC_THRESHOLD \| SETUP_SERVERLESS_INITIATED \| MAX_PROCESSOR_COUNT_REACHED \| STREAM_PROCESSOR_STATE_IS_FAILED \| STREAM_PROCESSOR_STARTED \| STREAM_PROCESSOR_AUTOSCALE_INITIATED \| STREAM_PROCESSOR_CREATED \| STREAM_PROCESSOR_STOPPED \| STREAM_PROCESSOR_DROPPED \| STREAM_PROCESSOR_MODIFIED \| INSIDE_STREAM_PROCESSOR_METRIC_THRESHOLD \| OUTSIDE_STREAM_PROCESSOR_METRIC_THRESHOLD \| CASE_CREATED \| SUPPORT_EMAILS_SENT_SUCCESSFULLY \| SUPPORT_EMAILS_SENT_FAILURE \| TEAM_ADDED_TO_GROUP \| TEAM_REMOVED_FROM_GROUP \| TEAM_ROLES_MODIFIED \| 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 \| M0_BACKUP_SUBSCRIPTION_ENABLED \| M0_BACKUP_SUBSCRIPTION_CANCELLED \| M0_BACKUP_SUBSCRIPTION_PAUSED \| M0_BACKUP_SUBSCRIPTION_RESUMED \| 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 \| 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 \| TAGS_MODIFIED \| CLUSTER_TAGS_MODIFIED \| GROUP_TAGS_MODIFIED \| EMPLOYEE_DOWNLOADED_CLUSTER_LOGS \| CHARTS_API_SUCCESS \| CHARTS_API_FAILURE \| CHARTS_DASHBOARD_EXPORTED \| CHARTS_DASHBOARD_EXPORT_FAILED \| CHARTS_DASHBOARD_IMPORTED \| CHARTS_DASHBOARD_IMPORT_FAILED \| RESOURCE_POLICY_VIOLATED \| QUERY_SHAPE_BLOCKED \| QUERY_SHAPE_UNBLOCKED \| SHARD_KEY_ANALYSIS_STARTED \| SHARD_KEY_ANALYSIS_FINISHED \| QUERY_SAMPLING_STARTED \| QUERY_SAMPLING_STOPPED \| AI_MODELS_APIS_API_KEY_CREATED \| AI_MODELS_APIS_API_KEY_DELETED \| AI_MODELS_APIS_API_KEY_UPDATED \| AI_MODELS_APIS_RATE_LIMIT_UPDATED \| AI_MODELS_APIS_RATE_LIMIT_RESET \| AI_MODELS_APIS_RATE_LIMIT_ADMIN_OVERRIDE \| ENCRYPTION_KEY_TRANSITION_STARTED \| ENCRYPTION_KEY_TRANSITION_COMPLETED \| PROACTIVE_REMEDIATION_NEEDED \| STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_FIRST_WARNING \| STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_SECOND_WARNING \| STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_DELETED \| SEARCH_AUTO_MIGRATION_ADVISORY \| SEARCH_AUTO_MIGRATION_STARTED \| SEARCH_AUTO_MIGRATION_FAILED)[]` | No | Category of incident recorded at this moment in time. **IMPORTANT**: The complete list of event type values changes frequently. |
| `maxDate` | `string` | No | End date and time for events to include in the activity feed link. ISO 8601 timestamp format in UTC. |
| `minDate` | `string` | No | Start date and time for events to include in the activity feed link. ISO 8601 timestamp format in UTC. |
| `clusterName` | `string[]` | No | Human-readable label that identifies the cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `link` | `string \| null` | No | Shareable link to the activity feed with pre-applied filters. |
| `links` | `object[] \| null` | No | 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. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getOrgActivityFeed

`activityFeed.getOrgActivityFeed`

Return Pre-Filtered Activity Feed Link for One Organization: returns a pre-filtered activity feed link for the specified organization based on the provided date range and event types

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.activityFeed.getOrgActivityFeed({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `eventType` | `(ALERT_ACKNOWLEDGED_AUDIT \| ALERT_UNACKNOWLEDGED_AUDIT \| ALERT_CONFIG_DISABLED_AUDIT \| ALERT_CONFIG_ENABLED_AUDIT \| ALERT_CONFIG_ADDED_AUDIT \| ALERT_CONFIG_DELETED_AUDIT \| ALERT_CONFIG_CHANGED_AUDIT \| 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 \| 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 \| 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_METHOD_DEACTIVATED \| 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_AWS_LICENSE_ARN_MODIFIED \| CREDIT_AWS_ACCOUNT_ID_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 \| 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 \| ORG_ACCESS_PROVISIONING_METHOD_UPDATED \| RESTRICT_ORG_MEMBERSHIP_ENABLED \| RESTRICT_ORG_MEMBERSHIP_DISABLED \| ROLE_MAPPING_CREATED \| ROLE_MAPPING_UPDATED \| ROLE_MAPPING_DELETED \| SCIM_CLIENT_CREATED \| SCIM_CLIENT_UPDATED \| SCIM_CLIENT_DELETED \| SCIM_CLIENT_SECRET_CREATED \| SCIM_CLIENT_SECRET_DELETED \| GROUP_DELETED \| GROUP_CREATED \| GROUP_MOVED \| PROJECT_OPERATIONS_CONTACT_MODIFIED \| PROJECT_OPERATIONS_CONTACT_ALERTS_ENABLED \| PROJECT_OPERATIONS_CONTACT_ALERTS_DISABLED \| 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 \| ORG_LIMIT_UPDATED \| SHADOW_CLUSTER_ORG_OPT_IN \| SHADOW_CLUSTER_ORG_OPT_OUT \| ATLAS_MAINTENANCE_FLEET_ACTIVE_WAVE_CLOSED_BY_ADMIN \| ATLAS_MAINTENANCE_FLEET_ACTIVE_WAVE_AUTO_CLOSED \| MAINTENANCE_WAVE_ASSIGNMENT_ADDED \| MAINTENANCE_WAVE_ASSIGNMENT_MODIFIED \| MAINTENANCE_WAVE_ASSIGNMENT_REMOVED \| ORG_CREATED \| CUSTOM_SESSION_TIMEOUT_MODIFIED \| SECURITY_CONTACT_MODIFIED \| OPERATIONS_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_DAILY_BILLING_CHANGE_NORMAL \| ORG_DAILY_BILLING_CHANGE_OVER_THRESHOLD \| ORG_WEEKLY_BILLING_CHANGE_NORMAL \| ORG_WEEKLY_BILLING_CHANGE_OVER_THRESHOLD \| ORG_MONTHLY_BILLING_CHANGE_NORMAL \| ORG_MONTHLY_BILLING_CHANGE_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 \| ORG_DELEGATION_SETTINGS_UPDATED \| ORGANIZATION_VOYAGE_SETTINGS_CREATED \| ORGANIZATION_VOYAGE_SETTINGS_DELETED \| ORG_DATA_SHARING_AI_MODELS_ENABLED \| ORG_DATA_SHARING_AI_MODELS_DISABLED \| ORG_WAVE_ASSIGNMENT_MODE_MANUAL \| ORG_WAVE_ASSIGNMENT_MODE_ENV_TAG_MAPPING \| PROJECT_CREATED_VIA_ANIS \| 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 \| SUPPORT_EMAILS_SENT_SUCCESSFULLY \| SUPPORT_EMAILS_SENT_FAILURE \| TEAM_CREATED \| TEAM_DELETED \| TEAM_UPDATED \| TEAM_NAME_CHANGED \| TEAM_ADDED_TO_GROUP \| TEAM_REMOVED_FROM_GROUP \| TEAM_ROLES_MODIFIED \| 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 \| TAGS_MODIFIED \| GROUP_TAGS_MODIFIED \| RESOURCE_POLICY_CREATED \| RESOURCE_POLICY_MODIFIED \| RESOURCE_POLICY_DELETED \| RESOURCE_POLICY_VIOLATED \| AI_MODELS_APIS_USAGE_TIER_UPDATED \| AI_MODELS_APIS_RATE_LIMIT_ADMIN_OVERRIDE \| AI_MODELS_APIS_FREE_TOKENS_ADMIN_ADJUSTED \| OAUTH_CLIENT_CREATED \| OAUTH_CLIENT_UPDATED \| OAUTH_CLIENT_DELETED \| OAUTH_CLIENT_SECRET_CREATED \| OAUTH_CLIENT_SECRET_DELETED \| OAUTH_AUTHORIZATION_GRANTED \| OAUTH_AUTHORIZATION_DENIED \| OAUTH_TOKEN_ISSUED \| OAUTH_TOKEN_REVOKED \| OAUTH_USER_CONSENT_GRANTED \| OAUTH_USER_CONSENT_REVOKED)[]` | No | Category of incident recorded at this moment in time. **IMPORTANT**: The complete list of event type values changes frequently. |
| `maxDate` | `string` | No | End date and time for events to include in the activity feed link. ISO 8601 timestamp format in UTC. |
| `minDate` | `string` | No | Start date and time for events to include in the activity feed link. ISO 8601 timestamp format in UTC. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `link` | `string \| null` | No | Shareable link to the activity feed with pre-applied filters. |
| `links` | `object[] \| null` | No | 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. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

## Ai Model Api Keys

### createGroupModelKey

`aiModelApiKeys.createGroupModelKey`

Create New AI Model API Key: create a new AI model API key for the given group

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.aiModelApiKeys.createGroupModelKey({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	cloud: 'ANY',
	geography: 'ANY',
	name: 'Cluster0',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `cloud` | `ANY` | Yes | Cloud provider scope for this API key. Use "ANY" for a cloud-agnostic scope. Additional cloud values will be supported in future API versions. |
| `geography` | `ANY \| EU \| US` | Yes | Geography scope for this API key. Use "ANY" for a geography-agnostic scope. Additional geography values will be supported in future API versions. |
| `name` | `string` | Yes | A name for the new API key that will be created. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `apiKeyId` | `string \| null` | No | Identifier used to reference this API key in admin API calls. |
| `cloud` | `string \| null` | No | Cloud provider scope for this API key. Use "ANY" for cloud-agnostic scope. |
| `createdAt` | `string \| null` | No | UTC date when the API key was created. This parameter is formatted as an ISO 8601 timestamp. |
| `createdBy` | `string \| null` | No | Name of the user that created this API key. If no user name is available, the user ID is returned. |
| `endpoint` | `string \| null` | No | Server-computed endpoint hostname derived from `cloud` and `geography`. This field is read-only and must not be supplied in request bodies. |
| `geography` | `string \| null` | No | Geography scope for this API key. Use "ANY" for geography-agnostic scope. |
| `groupId` | `string \| null` | No | ID of the Atlas group this API key belongs to. |
| `lastUsedAt` | `string \| null \| null` | No | UTC date when the API key was last used. This parameter is formatted as an ISO 8601 timestamp. |
| `maskedSecret` | `string \| null` | No | A partially obfuscated version of the API key secret returned when the API key was created. |
| `name` | `string \| null` | No | Arbitrary string identifier assigned to this API key for convenient identification. |
| `secret` | `string \| null \| null` | No | The full API key secret used for interacting with the embedding / reranking service. Note: this will only be fully populated in the response to a create API key request. Responses to get, list, and update requests will not include the secret. |
| `status` | `string \| null` | No | A string describing the current status of the API key. |

***

### deleteGroupModelKey

`aiModelApiKeys.deleteGroupModelKey`

Delete Existing AI Model API Key: delete an existing AI model API key in the given group

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.aiModelApiKeys.deleteGroupModelKey({ groupId: '5f43e7f0a1b2c3d4e5f60718', apiKeyId: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `apiKeyId` | `string` | Yes | The id of the API key to be deleted. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getGroupModelKey

`aiModelApiKeys.getGroupModelKey`

Return Single AI Model API Key for One Group: retrieve a single AI model API key for the given group

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.aiModelApiKeys.getGroupModelKey({ groupId: '5f43e7f0a1b2c3d4e5f60718', apiKeyId: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `apiKeyId` | `string` | Yes | The id of the API key to be retrieved. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `apiKeyId` | `string \| null` | No | Identifier used to reference this API key in admin API calls. |
| `cloud` | `string \| null` | No | Cloud provider scope for this API key. Use "ANY" for cloud-agnostic scope. |
| `createdAt` | `string \| null` | No | UTC date when the API key was created. This parameter is formatted as an ISO 8601 timestamp. |
| `createdBy` | `string \| null` | No | Name of the user that created this API key. If no user name is available, the user ID is returned. |
| `endpoint` | `string \| null` | No | Server-computed endpoint hostname derived from `cloud` and `geography`. This field is read-only and must not be supplied in request bodies. |
| `geography` | `string \| null` | No | Geography scope for this API key. Use "ANY" for geography-agnostic scope. |
| `groupId` | `string \| null` | No | ID of the Atlas group this API key belongs to. |
| `lastUsedAt` | `string \| null \| null` | No | UTC date when the API key was last used. This parameter is formatted as an ISO 8601 timestamp. |
| `maskedSecret` | `string \| null` | No | A partially obfuscated version of the API key secret returned when the API key was created. |
| `name` | `string \| null` | No | Arbitrary string identifier assigned to this API key for convenient identification. |
| `secret` | `string \| null \| null` | No | The full API key secret used for interacting with the embedding / reranking service. Note: this will only be fully populated in the response to a create API key request. Responses to get, list, and update requests will not include the secret. |
| `status` | `string \| null` | No | A string describing the current status of the API key. |

***

### getOrgModelKey

`aiModelApiKeys.getOrgModelKey`

Return Single AI Model API Key for One Organization: retrieve a single AI model API key for the given organization

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.aiModelApiKeys.getOrgModelKey({ orgId: '5f43e7f0a1b2c3d4e5f60718', apiKeyId: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `apiKeyId` | `string` | Yes | The id of the API key to be retrieved. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `apiKeyId` | `string \| null` | No | Identifier used to reference this API key in admin API calls. |
| `cloud` | `string \| null` | No | Cloud provider scope for this API key. Use "ANY" for cloud-agnostic scope. |
| `createdAt` | `string \| null` | No | UTC date when the API key was created. This parameter is formatted as an ISO 8601 timestamp. |
| `createdBy` | `string \| null` | No | Name of the user that created this API key. If no user name is available, the user ID is returned. |
| `endpoint` | `string \| null` | No | Server-computed endpoint hostname derived from `cloud` and `geography`. This field is read-only and must not be supplied in request bodies. |
| `geography` | `string \| null` | No | Geography scope for this API key. Use "ANY" for geography-agnostic scope. |
| `groupId` | `string \| null` | No | ID of the Atlas group this API key belongs to. |
| `lastUsedAt` | `string \| null \| null` | No | UTC date when the API key was last used. This parameter is formatted as an ISO 8601 timestamp. |
| `maskedSecret` | `string \| null` | No | A partially obfuscated version of the API key secret returned when the API key was created. |
| `name` | `string \| null` | No | Arbitrary string identifier assigned to this API key for convenient identification. |
| `secret` | `string \| null \| null` | No | The full API key secret used for interacting with the embedding / reranking service. Note: this will only be fully populated in the response to a create API key request. Responses to get, list, and update requests will not include the secret. |
| `status` | `string \| null` | No | A string describing the current status of the API key. |

***

### listGroupModelKeys

`aiModelApiKeys.listGroupModelKeys`

Return AI Model API Keys for One Group: retrieve AI model API keys for the given group (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.aiModelApiKeys.listGroupModelKeys({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   apiKeyId?: string | null,
>   cloud?: string | null,
>   createdAt?: string | null,
>   createdBy?: string | null,
>   endpoint?: string | null,
>   geography?: string | null,
>   groupId?: string | null,
>   lastUsedAt?: string | null | null,
>   maskedSecret?: string | null,
>   name?: string | null,
>   secret?: string | null | null,
>   status?: string | null
> }[] | null
> ```

***

### listOrgModelKeys

`aiModelApiKeys.listOrgModelKeys`

Return AI Model API Keys for One Organization: retrieve AI model API keys for the given organization (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.aiModelApiKeys.listOrgModelKeys({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   apiKeyId?: string | null,
>   cloud?: string | null,
>   createdAt?: string | null,
>   createdBy?: string | null,
>   endpoint?: string | null,
>   geography?: string | null,
>   groupId?: string | null,
>   lastUsedAt?: string | null | null,
>   maskedSecret?: string | null,
>   name?: string | null,
>   secret?: string | null | null,
>   status?: string | null
> }[] | null
> ```

***

### updateGroupModelKey

`aiModelApiKeys.updateGroupModelKey`

Update Existing AI Model API Key: update an existing AI model API key in the given group

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.aiModelApiKeys.updateGroupModelKey({ groupId: '5f43e7f0a1b2c3d4e5f60718', apiKeyId: 'example', name: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `apiKeyId` | `string` | Yes | The id of the API key to be updated. |
| `name` | `string` | Yes | A new name for the API key. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `apiKeyId` | `string \| null` | No | Identifier used to reference this API key in admin API calls. |
| `cloud` | `string \| null` | No | Cloud provider scope for this API key. Use "ANY" for cloud-agnostic scope. |
| `createdAt` | `string \| null` | No | UTC date when the API key was created. This parameter is formatted as an ISO 8601 timestamp. |
| `createdBy` | `string \| null` | No | Name of the user that created this API key. If no user name is available, the user ID is returned. |
| `endpoint` | `string \| null` | No | Server-computed endpoint hostname derived from `cloud` and `geography`. This field is read-only and must not be supplied in request bodies. |
| `geography` | `string \| null` | No | Geography scope for this API key. Use "ANY" for geography-agnostic scope. |
| `groupId` | `string \| null` | No | ID of the Atlas group this API key belongs to. |
| `lastUsedAt` | `string \| null \| null` | No | UTC date when the API key was last used. This parameter is formatted as an ISO 8601 timestamp. |
| `maskedSecret` | `string \| null` | No | A partially obfuscated version of the API key secret returned when the API key was created. |
| `name` | `string \| null` | No | Arbitrary string identifier assigned to this API key for convenient identification. |
| `secret` | `string \| null \| null` | No | The full API key secret used for interacting with the embedding / reranking service. Note: this will only be fully populated in the response to a create API key request. Responses to get, list, and update requests will not include the secret. |
| `status` | `string \| null` | No | A string describing the current status of the API key. |

***

## Ai Model Rate Limits

### getGroupModelLimits

`aiModelRateLimits.getGroupModelLimits`

Return AI Model Rate Limits for One Group: retrieve AI model rate limits for the given group (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.aiModelRateLimits.getGroupModelLimits({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   cloud?: string | null,
>   endpoint?: string | null,
>   geography?: string | null,
>   modelGroupName?: string | null,
>   modelNames?: string[] | null,
>   requestsPerMinuteLimit?: number | null,
>   tokensPerMinuteLimit?: number | null
> }[] | null
> ```

***

### getGroupRateLimits

`aiModelRateLimits.getGroupRateLimits`

Return Single AI Model Rate Limit for One Group: retrieve a single scoped AI model rate limit for the given group

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.aiModelRateLimits.getGroupRateLimits({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	cloud: 'ANY',
	geography: 'ANY',
	modelGroupName: 'example',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `cloud` | `ANY` | Yes | Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions. |
| `geography` | `ANY` | Yes | Geography scope. Must be "ANY". Additional values will be supported in future API versions. |
| `modelGroupName` | `string` | Yes | The name of the model group to be retrieved. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cloud` | `string \| null` | No | Cloud provider scope for this rate limit. Use "ANY" for cloud-agnostic scope. |
| `endpoint` | `string \| null` | No | Server-computed endpoint hostname derived from `cloud` and `geography`. This field is read-only and must not be supplied in request bodies. |
| `geography` | `string \| null` | No | Geography scope for this rate limit. Use "ANY" for geography-agnostic scope. |
| `modelGroupName` | `string \| null` | No | Identifier used to reference this model group. |
| `modelNames` | `string[] \| null` | No | List of embedding model names included in this model group. |
| `requestsPerMinuteLimit` | `number \| null` | No | The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model. |
| `tokensPerMinuteLimit` | `number \| null` | No | The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model. |

***

### getOrgModelLimits

`aiModelRateLimits.getOrgModelLimits`

Return AI Model Rate Limits for One Organization: retrieve AI model rate limits for the given organization (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.aiModelRateLimits.getOrgModelLimits({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   cloud?: string | null,
>   endpoint?: string | null,
>   geography?: string | null,
>   modelGroupName?: string | null,
>   modelNames?: string[] | null,
>   requestsPerMinuteLimit?: number | null,
>   tokensPerMinuteLimit?: number | null
> }[] | null
> ```

***

### getOrgRateLimits

`aiModelRateLimits.getOrgRateLimits`

Return Single AI Model Rate Limit for One Organization: retrieve a single scoped AI model rate limit for the given organization

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.aiModelRateLimits.getOrgRateLimits({
	orgId: '5f43e7f0a1b2c3d4e5f60718',
	cloud: 'ANY',
	geography: 'ANY',
	modelGroupName: 'example',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `cloud` | `ANY` | Yes | Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions. |
| `geography` | `ANY` | Yes | Geography scope. Must be "ANY". Additional values will be supported in future API versions. |
| `modelGroupName` | `string` | Yes | The name of the model group to be retrieved. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cloud` | `string \| null` | No | Cloud provider scope for this rate limit. Use "ANY" for cloud-agnostic scope. |
| `endpoint` | `string \| null` | No | Server-computed endpoint hostname derived from `cloud` and `geography`. This field is read-only and must not be supplied in request bodies. |
| `geography` | `string \| null` | No | Geography scope for this rate limit. Use "ANY" for geography-agnostic scope. |
| `modelGroupName` | `string \| null` | No | Identifier used to reference this model group. |
| `modelNames` | `string[] \| null` | No | List of embedding model names included in this model group. |
| `requestsPerMinuteLimit` | `number \| null` | No | The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model. |
| `tokensPerMinuteLimit` | `number \| null` | No | The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model. |

***

### resetGroupModelLimits

`aiModelRateLimits.resetGroupModelLimits`

Reset AI Model Rate Limit for One Model Group: reset the scoped AI model rate limit for the given model group to default values

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.aiModelRateLimits.resetGroupModelLimits({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	cloud: 'ANY',
	geography: 'ANY',
	modelGroupName: 'example',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `cloud` | `ANY` | Yes | Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions. |
| `geography` | `ANY` | Yes | Geography scope. Must be "ANY". Additional values will be supported in future API versions. |
| `modelGroupName` | `string` | Yes | The name of the model group to be reset to default rate limits. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cloud` | `string \| null` | No | Cloud provider scope for this rate limit. Use "ANY" for cloud-agnostic scope. |
| `endpoint` | `string \| null` | No | Server-computed endpoint hostname derived from `cloud` and `geography`. This field is read-only and must not be supplied in request bodies. |
| `geography` | `string \| null` | No | Geography scope for this rate limit. Use "ANY" for geography-agnostic scope. |
| `modelGroupName` | `string \| null` | No | Identifier used to reference this model group. |
| `modelNames` | `string[] \| null` | No | List of embedding model names included in this model group. |
| `requestsPerMinuteLimit` | `number \| null` | No | The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model. |
| `tokensPerMinuteLimit` | `number \| null` | No | The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model. |

***

### resetGroupRateLimits

`aiModelRateLimits.resetGroupRateLimits`

Reset AI Model Rate Limits for Group: reset the AI Model rate limits for the given group to default values

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.aiModelRateLimits.resetGroupRateLimits({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   cloud?: string | null,
>   endpoint?: string | null,
>   geography?: string | null,
>   modelGroupName?: string | null,
>   modelNames?: string[] | null,
>   requestsPerMinuteLimit?: number | null,
>   tokensPerMinuteLimit?: number | null
> }[] | null
> ```

***

### updateGroupRateLimits

`aiModelRateLimits.updateGroupRateLimits`

Update AI Model Rate Limit: update a scoped AI model rate limit for the given model group

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.aiModelRateLimits.updateGroupRateLimits({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	cloud: 'ANY',
	geography: 'ANY',
	modelGroupName: 'example',
	requestsPerMinuteLimit: 1,
	tokensPerMinuteLimit: 1,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `cloud` | `ANY` | Yes | Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions. |
| `geography` | `ANY` | Yes | Geography scope. Must be "ANY". Additional values will be supported in future API versions. |
| `modelGroupName` | `string` | Yes | The name of the model group to be updated. |
| `requestsPerMinuteLimit` | `number` | Yes | The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model. |
| `tokensPerMinuteLimit` | `number` | Yes | The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cloud` | `string \| null` | No | Cloud provider scope for this rate limit. Use "ANY" for cloud-agnostic scope. |
| `endpoint` | `string \| null` | No | Server-computed endpoint hostname derived from `cloud` and `geography`. This field is read-only and must not be supplied in request bodies. |
| `geography` | `string \| null` | No | Geography scope for this rate limit. Use "ANY" for geography-agnostic scope. |
| `modelGroupName` | `string \| null` | No | Identifier used to reference this model group. |
| `modelNames` | `string[] \| null` | No | List of embedding model names included in this model group. |
| `requestsPerMinuteLimit` | `number \| null` | No | The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model. |
| `tokensPerMinuteLimit` | `number \| null` | No | The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model. |

***

## Alert Configurations

### createAlertConfig

`alertConfigurations.createAlertConfig`

Create One Alert Configuration in One Project: creates one alert configuration for the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.alertConfigurations.createAlertConfig({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	body: {
		eventTypeName: 'CREDIT_CARD_ABOUT_TO_EXPIRE',
		notifications: [{ typeName: 'DATADOG' }],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `body` | `object` | Yes | — |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   enabled?: boolean,
>   eventTypeName: CREDIT_CARD_ABOUT_TO_EXPIRE | 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 | 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 | FTS_INDEX_DELETION_FAILED | FTS_INDEX_BUILD_COMPLETE | FTS_INDEX_BUILD_FAILED | FTS_INDEX_CLEANED_UP | FTS_INDEX_STALE | FTS_INDEXES_RESTORE_FAILED | FTS_INDEXES_SYNONYM_MAPPING_INVALID | PROJECT_OPERATIONS_CONTACT_MODIFIED | SEARCH_AUTO_MIGRATION_ADVISORY | SEARCH_AUTO_MIGRATION_STARTED | SEARCH_AUTO_MIGRATION_FAILED | 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 | WEBHOOK_TEMPLATE_RENDER_FAILED | ENCRYPTION_AT_REST_CONFIG_UPDATE_STALLED | MONGOTUNE_ALERT | 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 | LOG_STREAMING_EXPORT_FAILED_NONRETRYABLE | LOG_STREAMING_EXPORT_FAILED_RETRIES_EXHAUSTED | LOG_STREAMING_REPLAY_FAILED | MAINTENANCE_IN_ADVANCED | MAINTENANCE_AUTO_DEFERRED | MAINTENANCE_STARTED | MAINTENANCE_COMPLETED | MAINTENANCE_NO_LONGER_NEEDED | ONLINE_ARCHIVE_INSUFFICIENT_INDEXES_CHECK | ONLINE_ARCHIVE_MAX_CONSECUTIVE_OFFLOAD_WINDOWS_CHECK | JOINED_GROUP | REMOVED_FROM_GROUP | USER_ROLES_CHANGED_AUDIT | TAGS_MODIFIED | CLUSTER_TAGS_MODIFIED | GROUP_TAGS_MODIFIED | STREAM_PROCESSOR_STATE_IS_FAILED | STREAM_PROCESSOR_AUTOSCALE_INITIATED | OUTSIDE_STREAM_PROCESSOR_METRIC_THRESHOLD | 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_DOWNSCALE_SKIPPED_FALLBACK_BASE | COMPUTE_AUTO_SCALE_DOWNSCALE_SKIPPED_FALLBACK_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 | COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_BASE | COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_ANALYTICS | DISK_AUTO_SCALE_INITIATED | DISK_AUTO_SCALE_MAX_DISK_SIZE_FAIL | DISK_AUTO_SCALE_OPLOG_FAIL | CLUSTER_AUTO_SHARDING_INITIATED | CLUSTER_RESHARDING_COMPLETED | PREDICTIVE_COMPUTE_AUTO_SCALE_INITIATED_BASE | PREDICTIVE_COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_BASE | PREDICTIVE_COMPUTE_AUTO_SCALE_OPLOG_FAIL_BASE | PREDICTIVE_COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_BASE | RESOURCE_POLICY_VIOLATED | 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_SEARCH_PROCESS_THROTTLING | 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 | PROACTIVE_REMEDIATION_NEEDED | STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_FIRST_WARNING | STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_SECOND_WARNING | STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_DELETED,
>   matchers?: {
>     fieldName: string,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: 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,
>   matchers?: {
>     fieldName: APPLICATION_ID,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: OUTSIDE_REALM_METRIC_THRESHOLD,
>   matchers?: {
>     fieldName: APPLICATION_ID,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   metricThreshold?: {
>     metricName: string,
>     mode?: AVERAGE,
>     operator?: LESS_THAN | GREATER_THAN,
>     threshold?: number,
>     units?: 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
>   },
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: PENDING_INVOICE_OVER_THRESHOLD | DAILY_BILL_OVER_THRESHOLD | DAILY_BILLING_CHANGE_OVER_THRESHOLD | WEEKLY_BILLING_CHANGE_OVER_THRESHOLD | MONTHLY_BILLING_CHANGE_OVER_THRESHOLD,
>   matchers?: {
>     fieldName: string,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL,
>   threshold?: {
>     operator?: GREATER_THAN,
>     threshold?: number,
>     units?: RAW
>   }
> } | {
>   enabled?: boolean,
>   eventTypeName: CLUSTER_MONGOS_IS_MISSING,
>   matchers?: {
>     fieldName: CLUSTER_NAME,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: CPS_SNAPSHOT_BEHIND | CPS_PREV_SNAPSHOT_OLD | CPS_OPLOG_BEHIND,
>   matchers?: {
>     fieldName: string,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL,
>   threshold?: {
>     operator?: GREATER_THAN,
>     threshold?: number,
>     units?: NANOSECONDS | MILLISECONDS | MILLION_MINUTES | SECONDS | MINUTES | HOURS | DAYS
>   }
> } | {
>   enabled?: boolean,
>   eventTypeName: ENCRYPTION_AT_REST_CONFIG_UPDATE_STALLED,
>   matchers?: {
>     fieldName: string,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL,
>   threshold?: {
>     operator?: GREATER_THAN,
>     threshold?: number,
>     units?: NANOSECONDS | MILLISECONDS | MILLION_MINUTES | SECONDS | MINUTES | HOURS | DAYS
>   }
> } | {
>   enabled?: boolean,
>   eventTypeName: 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,
>   matchers?: {
>     fieldName: string,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL,
>   threshold?: {
>     operator?: GREATER_THAN,
>     threshold?: number,
>     units?: DAYS
>   }
> } | {
>   enabled?: boolean,
>   eventTypeName: 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_SEARCH_PROCESS_THROTTLING | 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,
>   matchers?: {
>     fieldName: TYPE_NAME | HOSTNAME | PORT | HOSTNAME_AND_PORT | REPLICA_SET_NAME | ATLAS_NODE_TYPE,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value?: STANDALONE | PRIMARY | SECONDARY | ARBITER | MONGOS | CONFIG | MONGOT
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: OUTSIDE_METRIC_THRESHOLD,
>   matchers?: {
>     fieldName: TYPE_NAME | HOSTNAME | PORT | HOSTNAME_AND_PORT | REPLICA_SET_NAME | ATLAS_NODE_TYPE,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value?: STANDALONE | PRIMARY | SECONDARY | ARBITER | MONGOS | CONFIG | MONGOT
>   }[],
>   metricThreshold?: {
>     metricName: string,
>     mode?: AVERAGE,
>     operator?: LESS_THAN | GREATER_THAN,
>     threshold?: number,
>     units?: 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
>   },
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: MONGOTUNE_ALERT,
>   matchers?: {
>     fieldName: string,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: 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_DOWNSCALE_SKIPPED_FALLBACK_BASE | COMPUTE_AUTO_SCALE_DOWNSCALE_SKIPPED_FALLBACK_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 | COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_BASE | COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_ANALYTICS | DISK_AUTO_SCALE_INITIATED | DISK_AUTO_SCALE_MAX_DISK_SIZE_FAIL | DISK_AUTO_SCALE_OPLOG_FAIL | CLUSTER_AUTO_SHARDING_INITIATED | CLUSTER_RESHARDING_COMPLETED | PREDICTIVE_COMPUTE_AUTO_SCALE_INITIATED_BASE | PREDICTIVE_COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_BASE | PREDICTIVE_COMPUTE_AUTO_SCALE_OPLOG_FAIL_BASE | PREDICTIVE_COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_BASE,
>   matchers?: {
>     fieldName: CLUSTER_NAME,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: 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,
>   matchers?: {
>     fieldName: string,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL,
>   threshold?: {
>     operator?: LESS_THAN,
>     threshold?: number,
>     units?: DAYS
>   }
> } | {
>   enabled?: boolean,
>   eventTypeName: NO_PRIMARY | PRIMARY_ELECTED,
>   matchers?: {
>     fieldName: REPLICA_SET_NAME | SHARD_NAME | CLUSTER_NAME,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL,
>   threshold?: {
>     operator?: < |>,
>     threshold?: number,
>     units?: 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
>   }
> } | {
>   enabled?: boolean,
>   eventTypeName: TOO_MANY_ELECTIONS | REPLICATION_OPLOG_WINDOW_RUNNING_OUT | TOO_FEW_HEALTHY_MEMBERS | TOO_MANY_UNHEALTHY_MEMBERS,
>   matchers?: {
>     fieldName: REPLICA_SET_NAME | SHARD_NAME | CLUSTER_NAME,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL,
>   threshold?: {
>     operator?: < |>,
>     threshold?: number,
>     units?: 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
>   }
> } | {
>   enabled?: boolean,
>   eventTypeName: OUTSIDE_SERVERLESS_METRIC_THRESHOLD,
>   matchers?: {
>     fieldName: string,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   metricThreshold?: {
>     metricName: string,
>     mode?: AVERAGE,
>     operator?: LESS_THAN | GREATER_THAN,
>     threshold?: number,
>     units?: 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
>   },
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: OUTSIDE_FLEX_METRIC_THRESHOLD,
>   matchers?: {
>     fieldName: string,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   metricThreshold?: {
>     metricName: string,
>     mode?: AVERAGE,
>     operator?: LESS_THAN | GREATER_THAN,
>     threshold?: number,
>     units?: 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
>   },
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: STREAM_PROCESSOR_STATE_IS_FAILED | STREAM_PROCESSOR_AUTOSCALE_INITIATED,
>   matchers?: {
>     fieldName: INSTANCE_NAME | PROCESSOR_NAME,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: OUTSIDE_STREAM_PROCESSOR_METRIC_THRESHOLD,
>   matchers?: {
>     fieldName: INSTANCE_NAME | PROCESSOR_NAME,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   metricThreshold?: {
>     metricName: string,
>     mode?: AVERAGE,
>     operator?: LESS_THAN | GREATER_THAN,
>     threshold?: number,
>     units?: 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
>   },
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL,
>   threshold?: {
>     metricName: string,
>     mode?: AVERAGE,
>     operator?: LESS_THAN | GREATER_THAN,
>     threshold?: number,
>     units?: 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
>   }
> } | {
>   enabled?: boolean,
>   eventTypeName: STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_FIRST_WARNING | STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_SECOND_WARNING | STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_DELETED,
>   matchers?: {
>     fieldName: ENDPOINT_ID,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> }
> ```

**Output:** `object`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   metricThreshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   metricThreshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   metricThreshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   metricThreshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   metricThreshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> }
> ```

***

### deleteAlertConfig

`alertConfigurations.deleteAlertConfig`

Remove One Alert Configuration from One Project: removes one alert configuration from the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.alertConfigurations.deleteAlertConfig({ groupId: '5f43e7f0a1b2c3d4e5f60718', alertConfigId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `alertConfigId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the alert configuration. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getAlertConfig

`alertConfigurations.getAlertConfig`

Return One Alert Configuration from One Project: returns the specified alert configuration from the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.alertConfigurations.getAlertConfig({ groupId: '5f43e7f0a1b2c3d4e5f60718', alertConfigId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `alertConfigId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the alert configuration. |

**Output:** `object`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   metricThreshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   metricThreshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   metricThreshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   metricThreshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   metricThreshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> }
> ```

***

### getAlertConfigs

`alertConfigurations.getAlertConfigs`

Return All Alert Configurations Set for One Alert: returns all alert configurations set for the specified alert (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.alertConfigurations.getAlertConfigs({ groupId: '5f43e7f0a1b2c3d4e5f60718', alertId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `alertId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the alert. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> (
>   {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     metricThreshold?: {
>       metricName?: string | null,
>       mode?: string | null,
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     threshold?: {
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     threshold?: {
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     threshold?: {
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     threshold?: {
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     metricThreshold?: {
>       metricName?: string | null,
>       mode?: string | null,
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     threshold?: {
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     threshold?: {
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     threshold?: {
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     metricThreshold?: {
>       metricName?: string | null,
>       mode?: string | null,
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     metricThreshold?: {
>       metricName?: string | null,
>       mode?: string | null,
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     metricThreshold?: {
>       metricName?: string | null,
>       mode?: string | null,
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     threshold?: {
>       metricName?: string | null,
>       mode?: string | null,
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   }
> )[] | null
> ```

***

### listAlertConfigs

`alertConfigurations.listAlertConfigs`

Return All Alert Configurations in One Project: returns all alert configurations for one project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.alertConfigurations.listAlertConfigs({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> (
>   {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     metricThreshold?: {
>       metricName?: string | null,
>       mode?: string | null,
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     threshold?: {
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     threshold?: {
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     threshold?: {
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     threshold?: {
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     metricThreshold?: {
>       metricName?: string | null,
>       mode?: string | null,
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     threshold?: {
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     threshold?: {
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     threshold?: {
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     metricThreshold?: {
>       metricName?: string | null,
>       mode?: string | null,
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     metricThreshold?: {
>       metricName?: string | null,
>       mode?: string | null,
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     metricThreshold?: {
>       metricName?: string | null,
>       mode?: string | null,
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     threshold?: {
>       metricName?: string | null,
>       mode?: string | null,
>       operator?: string | null,
>       threshold?: number | null,
>       units?: string | null
>     } | null,
>     updated?: string | null
>   } | {
>     created?: string | null,
>     enabled?: boolean | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     matchers?: {
>       fieldName?: string | null,
>       operator?: string | null,
>       value?: string | null
>     }[] | null,
>     notifications?: (
>       {
>         datadogApiKey?: string | null,
>         datadogRegion?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailAddress?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notificationToken?: string | null,
>         notifierId?: string | null,
>         roomName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         microsoftTeamsWebhookUrl?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         opsGenieApiKey?: string | null,
>         opsGenieRegion?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         roles?: string[] | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         region?: string | null,
>         serviceKey?: string | null,
>         typeName?: string | null
>       } | {
>         apiToken?: string | null,
>         channelName?: string | null,
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         intervalMin?: number | null,
>         mobileNumber?: string | null,
>         notifierId?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         teamId?: string | null,
>         teamName?: string | null,
>         typeName?: string | null
>       } | {
>         delayMin?: number | null,
>         emailEnabled?: boolean | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         smsEnabled?: boolean | null,
>         typeName?: string | null,
>         username?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         victorOpsApiKey?: string | null,
>         victorOpsRoutingKey?: string | null
>       } | {
>         delayMin?: number | null,
>         integrationId?: string | null,
>         intervalMin?: number | null,
>         notifierId?: string | null,
>         typeName?: string | null,
>         webhookBodyTemplate?: string | null,
>         webhookHeadersTemplate?: string | null,
>         webhookSecret?: string | null,
>         webhookUrl?: string | null
>       }
>     )[] | null,
>     severityOverride?: string | null,
>     updated?: string | null
>   }
> )[] | null
> ```

***

### listMatcherFieldNames

`alertConfigurations.listMatcherFieldNames`

Return All Alert Configuration Matchers Field Names: get all field names that the `matchers.fieldName` parameter accepts when you create or update an Alert Configuration

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.alertConfigurations.listMatcherFieldNames({});
```

**Input:** *empty object*

**Output:** `(string \| string \| string \| string \| string \| string \| string \| string \| string)[]`

***

### toggleAlertConfig

`alertConfigurations.toggleAlertConfig`

Toggle State of One Alert Configuration in One Project: enables or disables the specified alert configuration in the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.alertConfigurations.toggleAlertConfig({ groupId: '5f43e7f0a1b2c3d4e5f60718', alertConfigId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `alertConfigId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the alert configuration that triggered this alert. |
| `enabled` | `boolean` | No | Flag that indicates whether to enable or disable the specified alert configuration in the specified project. |

**Output:** `object`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   metricThreshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   metricThreshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   metricThreshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   metricThreshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   metricThreshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> }
> ```

***

### updateAlertConfig

`alertConfigurations.updateAlertConfig`

Update One Alert Configuration in One Project: updates one alert configuration in the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.alertConfigurations.updateAlertConfig({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	alertConfigId: '5f43e7f0a1b2c3d4e5f60718',
	body: {
		eventTypeName: 'CREDIT_CARD_ABOUT_TO_EXPIRE',
		notifications: [{ typeName: 'DATADOG' }],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `alertConfigId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the alert configuration. |
| `body` | `object` | Yes | — |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   enabled?: boolean,
>   eventTypeName: CREDIT_CARD_ABOUT_TO_EXPIRE | 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 | 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 | FTS_INDEX_DELETION_FAILED | FTS_INDEX_BUILD_COMPLETE | FTS_INDEX_BUILD_FAILED | FTS_INDEX_CLEANED_UP | FTS_INDEX_STALE | FTS_INDEXES_RESTORE_FAILED | FTS_INDEXES_SYNONYM_MAPPING_INVALID | PROJECT_OPERATIONS_CONTACT_MODIFIED | SEARCH_AUTO_MIGRATION_ADVISORY | SEARCH_AUTO_MIGRATION_STARTED | SEARCH_AUTO_MIGRATION_FAILED | 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 | WEBHOOK_TEMPLATE_RENDER_FAILED | ENCRYPTION_AT_REST_CONFIG_UPDATE_STALLED | MONGOTUNE_ALERT | 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 | LOG_STREAMING_EXPORT_FAILED_NONRETRYABLE | LOG_STREAMING_EXPORT_FAILED_RETRIES_EXHAUSTED | LOG_STREAMING_REPLAY_FAILED | MAINTENANCE_IN_ADVANCED | MAINTENANCE_AUTO_DEFERRED | MAINTENANCE_STARTED | MAINTENANCE_COMPLETED | MAINTENANCE_NO_LONGER_NEEDED | ONLINE_ARCHIVE_INSUFFICIENT_INDEXES_CHECK | ONLINE_ARCHIVE_MAX_CONSECUTIVE_OFFLOAD_WINDOWS_CHECK | JOINED_GROUP | REMOVED_FROM_GROUP | USER_ROLES_CHANGED_AUDIT | TAGS_MODIFIED | CLUSTER_TAGS_MODIFIED | GROUP_TAGS_MODIFIED | STREAM_PROCESSOR_STATE_IS_FAILED | STREAM_PROCESSOR_AUTOSCALE_INITIATED | OUTSIDE_STREAM_PROCESSOR_METRIC_THRESHOLD | 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_DOWNSCALE_SKIPPED_FALLBACK_BASE | COMPUTE_AUTO_SCALE_DOWNSCALE_SKIPPED_FALLBACK_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 | COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_BASE | COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_ANALYTICS | DISK_AUTO_SCALE_INITIATED | DISK_AUTO_SCALE_MAX_DISK_SIZE_FAIL | DISK_AUTO_SCALE_OPLOG_FAIL | CLUSTER_AUTO_SHARDING_INITIATED | CLUSTER_RESHARDING_COMPLETED | PREDICTIVE_COMPUTE_AUTO_SCALE_INITIATED_BASE | PREDICTIVE_COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_BASE | PREDICTIVE_COMPUTE_AUTO_SCALE_OPLOG_FAIL_BASE | PREDICTIVE_COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_BASE | RESOURCE_POLICY_VIOLATED | 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_SEARCH_PROCESS_THROTTLING | 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 | PROACTIVE_REMEDIATION_NEEDED | STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_FIRST_WARNING | STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_SECOND_WARNING | STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_DELETED,
>   matchers?: {
>     fieldName: string,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: 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,
>   matchers?: {
>     fieldName: APPLICATION_ID,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: OUTSIDE_REALM_METRIC_THRESHOLD,
>   matchers?: {
>     fieldName: APPLICATION_ID,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   metricThreshold?: {
>     metricName: string,
>     mode?: AVERAGE,
>     operator?: LESS_THAN | GREATER_THAN,
>     threshold?: number,
>     units?: 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
>   },
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: PENDING_INVOICE_OVER_THRESHOLD | DAILY_BILL_OVER_THRESHOLD | DAILY_BILLING_CHANGE_OVER_THRESHOLD | WEEKLY_BILLING_CHANGE_OVER_THRESHOLD | MONTHLY_BILLING_CHANGE_OVER_THRESHOLD,
>   matchers?: {
>     fieldName: string,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL,
>   threshold?: {
>     operator?: GREATER_THAN,
>     threshold?: number,
>     units?: RAW
>   }
> } | {
>   enabled?: boolean,
>   eventTypeName: CLUSTER_MONGOS_IS_MISSING,
>   matchers?: {
>     fieldName: CLUSTER_NAME,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: CPS_SNAPSHOT_BEHIND | CPS_PREV_SNAPSHOT_OLD | CPS_OPLOG_BEHIND,
>   matchers?: {
>     fieldName: string,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL,
>   threshold?: {
>     operator?: GREATER_THAN,
>     threshold?: number,
>     units?: NANOSECONDS | MILLISECONDS | MILLION_MINUTES | SECONDS | MINUTES | HOURS | DAYS
>   }
> } | {
>   enabled?: boolean,
>   eventTypeName: ENCRYPTION_AT_REST_CONFIG_UPDATE_STALLED,
>   matchers?: {
>     fieldName: string,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL,
>   threshold?: {
>     operator?: GREATER_THAN,
>     threshold?: number,
>     units?: NANOSECONDS | MILLISECONDS | MILLION_MINUTES | SECONDS | MINUTES | HOURS | DAYS
>   }
> } | {
>   enabled?: boolean,
>   eventTypeName: 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,
>   matchers?: {
>     fieldName: string,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL,
>   threshold?: {
>     operator?: GREATER_THAN,
>     threshold?: number,
>     units?: DAYS
>   }
> } | {
>   enabled?: boolean,
>   eventTypeName: 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_SEARCH_PROCESS_THROTTLING | 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,
>   matchers?: {
>     fieldName: TYPE_NAME | HOSTNAME | PORT | HOSTNAME_AND_PORT | REPLICA_SET_NAME | ATLAS_NODE_TYPE,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value?: STANDALONE | PRIMARY | SECONDARY | ARBITER | MONGOS | CONFIG | MONGOT
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: OUTSIDE_METRIC_THRESHOLD,
>   matchers?: {
>     fieldName: TYPE_NAME | HOSTNAME | PORT | HOSTNAME_AND_PORT | REPLICA_SET_NAME | ATLAS_NODE_TYPE,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value?: STANDALONE | PRIMARY | SECONDARY | ARBITER | MONGOS | CONFIG | MONGOT
>   }[],
>   metricThreshold?: {
>     metricName: string,
>     mode?: AVERAGE,
>     operator?: LESS_THAN | GREATER_THAN,
>     threshold?: number,
>     units?: 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
>   },
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: MONGOTUNE_ALERT,
>   matchers?: {
>     fieldName: string,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: 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_DOWNSCALE_SKIPPED_FALLBACK_BASE | COMPUTE_AUTO_SCALE_DOWNSCALE_SKIPPED_FALLBACK_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 | COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_BASE | COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_ANALYTICS | DISK_AUTO_SCALE_INITIATED | DISK_AUTO_SCALE_MAX_DISK_SIZE_FAIL | DISK_AUTO_SCALE_OPLOG_FAIL | CLUSTER_AUTO_SHARDING_INITIATED | CLUSTER_RESHARDING_COMPLETED | PREDICTIVE_COMPUTE_AUTO_SCALE_INITIATED_BASE | PREDICTIVE_COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_BASE | PREDICTIVE_COMPUTE_AUTO_SCALE_OPLOG_FAIL_BASE | PREDICTIVE_COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_BASE,
>   matchers?: {
>     fieldName: CLUSTER_NAME,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: 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,
>   matchers?: {
>     fieldName: string,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL,
>   threshold?: {
>     operator?: LESS_THAN,
>     threshold?: number,
>     units?: DAYS
>   }
> } | {
>   enabled?: boolean,
>   eventTypeName: NO_PRIMARY | PRIMARY_ELECTED,
>   matchers?: {
>     fieldName: REPLICA_SET_NAME | SHARD_NAME | CLUSTER_NAME,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL,
>   threshold?: {
>     operator?: < |>,
>     threshold?: number,
>     units?: 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
>   }
> } | {
>   enabled?: boolean,
>   eventTypeName: TOO_MANY_ELECTIONS | REPLICATION_OPLOG_WINDOW_RUNNING_OUT | TOO_FEW_HEALTHY_MEMBERS | TOO_MANY_UNHEALTHY_MEMBERS,
>   matchers?: {
>     fieldName: REPLICA_SET_NAME | SHARD_NAME | CLUSTER_NAME,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL,
>   threshold?: {
>     operator?: < |>,
>     threshold?: number,
>     units?: 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
>   }
> } | {
>   enabled?: boolean,
>   eventTypeName: OUTSIDE_SERVERLESS_METRIC_THRESHOLD,
>   matchers?: {
>     fieldName: string,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   metricThreshold?: {
>     metricName: string,
>     mode?: AVERAGE,
>     operator?: LESS_THAN | GREATER_THAN,
>     threshold?: number,
>     units?: 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
>   },
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: OUTSIDE_FLEX_METRIC_THRESHOLD,
>   matchers?: {
>     fieldName: string,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   metricThreshold?: {
>     metricName: string,
>     mode?: AVERAGE,
>     operator?: LESS_THAN | GREATER_THAN,
>     threshold?: number,
>     units?: 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
>   },
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: STREAM_PROCESSOR_STATE_IS_FAILED | STREAM_PROCESSOR_AUTOSCALE_INITIATED,
>   matchers?: {
>     fieldName: INSTANCE_NAME | PROCESSOR_NAME,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> } | {
>   enabled?: boolean,
>   eventTypeName: OUTSIDE_STREAM_PROCESSOR_METRIC_THRESHOLD,
>   matchers?: {
>     fieldName: INSTANCE_NAME | PROCESSOR_NAME,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   metricThreshold?: {
>     metricName: string,
>     mode?: AVERAGE,
>     operator?: LESS_THAN | GREATER_THAN,
>     threshold?: number,
>     units?: 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
>   },
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL,
>   threshold?: {
>     metricName: string,
>     mode?: AVERAGE,
>     operator?: LESS_THAN | GREATER_THAN,
>     threshold?: number,
>     units?: 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
>   }
> } | {
>   enabled?: boolean,
>   eventTypeName: STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_FIRST_WARNING | STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_SECOND_WARNING | STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_DELETED,
>   matchers?: {
>     fieldName: ENDPOINT_ID,
>     operator: EQUALS | CONTAINS | STARTS_WITH | ENDS_WITH | NOT_EQUALS | NOT_CONTAINS | REGEX,
>     value: string
>   }[],
>   notifications: (
>     {
>       datadogApiKey?: string,
>       datadogRegion?: US | EU | US3 | US5 | AP1 | AP2 | US1_FED,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: DATADOG
>     } | {
>       delayMin?: number,
>       emailAddress?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: EMAIL
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: string[],
>       smsEnabled?: boolean,
>       typeName: GROUP
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notificationToken?: string,
>       notifierId?: string,
>       roomName?: string,
>       typeName: HIP_CHAT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       microsoftTeamsWebhookUrl?: string,
>       notifierId?: string,
>       typeName: MICROSOFT_TEAMS
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: OPERATIONS_CONTACT
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       opsGenieApiKey?: string,
>       opsGenieRegion?: US | EU,
>       typeName: OPS_GENIE
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       roles?: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_READ_ONLY)[],
>       smsEnabled?: boolean,
>       typeName: ORG
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       region?: US | EU,
>       serviceKey?: string,
>       typeName: PAGER_DUTY
>     } | {
>       apiToken?: string,
>       channelName?: string,
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: SLACK
>     } | {
>       delayMin?: number,
>       intervalMin?: number,
>       mobileNumber?: string,
>       notifierId?: string,
>       typeName: SMS
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       teamId?: string,
>       teamName?: string,
>       typeName: TEAM
>     } | {
>       delayMin?: number,
>       emailEnabled?: boolean,
>       intervalMin?: number,
>       notifierId?: string,
>       smsEnabled?: boolean,
>       typeName: USER,
>       username?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: VICTOR_OPS,
>       victorOpsApiKey?: string,
>       victorOpsRoutingKey?: string
>     } | {
>       delayMin?: number,
>       integrationId?: string,
>       intervalMin?: number,
>       notifierId?: string,
>       typeName: WEBHOOK,
>       webhookBodyTemplate?: string,
>       webhookHeadersTemplate?: string,
>       webhookSecret?: string,
>       webhookUrl?: string
>     }
>   )[],
>   severityOverride?: INFO | WARNING | ERROR | CRITICAL
> }
> ```

**Output:** `object`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   metricThreshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   metricThreshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   metricThreshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   metricThreshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   metricThreshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   threshold?: {
>     metricName?: string | null,
>     mode?: string | null,
>     operator?: string | null,
>     threshold?: number | null,
>     units?: string | null
>   } | null,
>   updated?: string | null
> } | {
>   created?: string | null,
>   enabled?: boolean | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   matchers?: {
>     fieldName?: string | null,
>     operator?: string | null,
>     value?: string | null
>   }[] | null,
>   notifications?: (
>     {
>       datadogApiKey?: string | null,
>       datadogRegion?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailAddress?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notificationToken?: string | null,
>       notifierId?: string | null,
>       roomName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       microsoftTeamsWebhookUrl?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       opsGenieApiKey?: string | null,
>       opsGenieRegion?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       roles?: string[] | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       region?: string | null,
>       serviceKey?: string | null,
>       typeName?: string | null
>     } | {
>       apiToken?: string | null,
>       channelName?: string | null,
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       intervalMin?: number | null,
>       mobileNumber?: string | null,
>       notifierId?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       teamId?: string | null,
>       teamName?: string | null,
>       typeName?: string | null
>     } | {
>       delayMin?: number | null,
>       emailEnabled?: boolean | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       smsEnabled?: boolean | null,
>       typeName?: string | null,
>       username?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       victorOpsApiKey?: string | null,
>       victorOpsRoutingKey?: string | null
>     } | {
>       delayMin?: number | null,
>       integrationId?: string | null,
>       intervalMin?: number | null,
>       notifierId?: string | null,
>       typeName?: string | null,
>       webhookBodyTemplate?: string | null,
>       webhookHeadersTemplate?: string | null,
>       webhookSecret?: string | null,
>       webhookUrl?: string | null
>     }
>   )[] | null,
>   severityOverride?: string | null,
>   updated?: string | null
> }
> ```

***

## Alerts

### acknowledgeAlert

`alerts.acknowledgeAlert`

Acknowledge One Alert from One Project: confirms receipt of one existing alert

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.alerts.acknowledgeAlert({ groupId: '5f43e7f0a1b2c3d4e5f60718', alertId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `alertId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the alert. |
| `acknowledgedUntil` | `string` | No | 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. |
| `acknowledgementComment` | `string` | No | Comment that a MongoDB Cloud user submitted when acknowledging the alert. |
| `unacknowledgeAlert` | `boolean` | No | Flag that indicates to unacknowledge a previously acknowledged alert. By default this value is set to false. If set to true, it will override the `acknowledgedUntil` parameter. |

**Output:** `object`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   acknowledgedUntil?: string | null,
>   acknowledgementComment?: string | null,
>   acknowledgingUsername?: string | null,
>   alertConfigId?: string | null,
>   created?: string | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   lastNotified?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   resolved?: string | null,
>   severity?: string | null,
>   status?: string | null,
>   updated?: string | null
> } | {
>   acknowledgedUntil?: string | null,
>   acknowledgementComment?: string | null,
>   acknowledgingUsername?: string | null,
>   alertConfigId?: string | null,
>   clusterName?: string | null,
>   created?: string | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   lastNotified?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   resolved?: string | null,
>   severity?: string | null,
>   status?: string | null,
>   updated?: string | null
> } | {
>   acknowledgedUntil?: string | null,
>   acknowledgementComment?: string | null,
>   acknowledgingUsername?: string | null,
>   alertConfigId?: string | null,
>   clusterName?: string | null,
>   created?: string | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   hostnameAndPort?: string | null,
>   id?: string | null,
>   lastNotified?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   replicaSetName?: string | null,
>   resolved?: string | null,
>   severity?: string | null,
>   status?: string | null,
>   updated?: string | null
> } | {
>   acknowledgedUntil?: string | null,
>   acknowledgementComment?: string | null,
>   acknowledgingUsername?: string | null,
>   alertConfigId?: string | null,
>   clusterName?: string | null,
>   created?: string | null,
>   currentValue?: {
>     number?: number | null,
>     units?: string | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   lastNotified?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   metricName?: string | null,
>   orgId?: string | null,
>   resolved?: string | null,
>   severity?: string | null,
>   status?: string | null,
>   updated?: string | null
> } | {
>   acknowledgedUntil?: string | null,
>   acknowledgementComment?: string | null,
>   acknowledgingUsername?: string | null,
>   alertConfigId?: string | null,
>   clusterName?: string | null,
>   created?: string | null,
>   currentValue?: {
>     number?: number | null,
>     units?: string | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   hostnameAndPort?: string | null,
>   id?: string | null,
>   lastNotified?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   metricName?: string | null,
>   orgId?: string | null,
>   replicaSetName?: string | null,
>   resolved?: string | null,
>   severity?: string | null,
>   status?: string | null,
>   updated?: string | null
> } | {
>   acknowledgedUntil?: string | null,
>   acknowledgementComment?: string | null,
>   acknowledgingUsername?: string | null,
>   alertConfigId?: string | null,
>   clusterName?: string | null,
>   created?: string | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   hostnameAndPort?: string | null,
>   id?: string | null,
>   lastNotified?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   nonRunningHostIds?: string[] | null,
>   orgId?: string | null,
>   parentClusterId?: string | null,
>   replicaSetName?: string | null,
>   resolved?: string | null,
>   severity?: string | null,
>   status?: string | null,
>   updated?: string | null
> } | {
>   acknowledgedUntil?: string | null,
>   acknowledgementComment?: string | null,
>   acknowledgingUsername?: string | null,
>   alertConfigId?: string | null,
>   created?: string | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   instanceName?: string | null,
>   lastNotified?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   processorErrorMsg?: string | null,
>   processorName?: string | null,
>   processorState?: string | null,
>   resolved?: string | null,
>   severity?: string | null,
>   status?: string | null,
>   updated?: string | null
> } | {
>   acknowledgedUntil?: string | null,
>   acknowledgementComment?: string | null,
>   acknowledgingUsername?: string | null,
>   alertConfigId?: string | null,
>   created?: string | null,
>   eventTypeName?: string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | null,
>   groupId?: string | null,
>   id?: string | null,
>   lastNotified?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   resolved?: string | null,
>   severity?: string | null,
>   status?: string | null,
>   updated?: string | null
> }
> ```

***

### getAlert

`alerts.getAlert`

Return One Alert from One Project: returns one alert

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.alerts.getAlert({ groupId: '5f43e7f0a1b2c3d4e5f60718', alertId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `alertId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the alert. |

**Output:** `object`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   acknowledgedUntil?: string | null,
>   acknowledgementComment?: string | null,
>   acknowledgingUsername?: string | null,
>   alertConfigId?: string | null,
>   created?: string | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   lastNotified?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   resolved?: string | null,
>   severity?: string | null,
>   status?: string | null,
>   updated?: string | null
> } | {
>   acknowledgedUntil?: string | null,
>   acknowledgementComment?: string | null,
>   acknowledgingUsername?: string | null,
>   alertConfigId?: string | null,
>   clusterName?: string | null,
>   created?: string | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   lastNotified?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   resolved?: string | null,
>   severity?: string | null,
>   status?: string | null,
>   updated?: string | null
> } | {
>   acknowledgedUntil?: string | null,
>   acknowledgementComment?: string | null,
>   acknowledgingUsername?: string | null,
>   alertConfigId?: string | null,
>   clusterName?: string | null,
>   created?: string | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   hostnameAndPort?: string | null,
>   id?: string | null,
>   lastNotified?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   replicaSetName?: string | null,
>   resolved?: string | null,
>   severity?: string | null,
>   status?: string | null,
>   updated?: string | null
> } | {
>   acknowledgedUntil?: string | null,
>   acknowledgementComment?: string | null,
>   acknowledgingUsername?: string | null,
>   alertConfigId?: string | null,
>   clusterName?: string | null,
>   created?: string | null,
>   currentValue?: {
>     number?: number | null,
>     units?: string | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   lastNotified?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   metricName?: string | null,
>   orgId?: string | null,
>   resolved?: string | null,
>   severity?: string | null,
>   status?: string | null,
>   updated?: string | null
> } | {
>   acknowledgedUntil?: string | null,
>   acknowledgementComment?: string | null,
>   acknowledgingUsername?: string | null,
>   alertConfigId?: string | null,
>   clusterName?: string | null,
>   created?: string | null,
>   currentValue?: {
>     number?: number | null,
>     units?: string | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   hostnameAndPort?: string | null,
>   id?: string | null,
>   lastNotified?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   metricName?: string | null,
>   orgId?: string | null,
>   replicaSetName?: string | null,
>   resolved?: string | null,
>   severity?: string | null,
>   status?: string | null,
>   updated?: string | null
> } | {
>   acknowledgedUntil?: string | null,
>   acknowledgementComment?: string | null,
>   acknowledgingUsername?: string | null,
>   alertConfigId?: string | null,
>   clusterName?: string | null,
>   created?: string | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   hostnameAndPort?: string | null,
>   id?: string | null,
>   lastNotified?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   nonRunningHostIds?: string[] | null,
>   orgId?: string | null,
>   parentClusterId?: string | null,
>   replicaSetName?: string | null,
>   resolved?: string | null,
>   severity?: string | null,
>   status?: string | null,
>   updated?: string | null
> } | {
>   acknowledgedUntil?: string | null,
>   acknowledgementComment?: string | null,
>   acknowledgingUsername?: string | null,
>   alertConfigId?: string | null,
>   created?: string | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   instanceName?: string | null,
>   lastNotified?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   processorErrorMsg?: string | null,
>   processorName?: string | null,
>   processorState?: string | null,
>   resolved?: string | null,
>   severity?: string | null,
>   status?: string | null,
>   updated?: string | null
> } | {
>   acknowledgedUntil?: string | null,
>   acknowledgementComment?: string | null,
>   acknowledgingUsername?: string | null,
>   alertConfigId?: string | null,
>   created?: string | null,
>   eventTypeName?: string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | null,
>   groupId?: string | null,
>   id?: string | null,
>   lastNotified?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   resolved?: string | null,
>   severity?: string | null,
>   status?: string | null,
>   updated?: string | null
> }
> ```

***

### getAlertConfigAlerts

`alerts.getAlertConfigAlerts`

Return All Open Alerts for One Alert Configuration: returns all open alerts that the specified alert configuration triggers (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.alerts.getAlertConfigAlerts({ groupId: '5f43e7f0a1b2c3d4e5f60718', alertConfigId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `alertConfigId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the alert configuration. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> (
>   {
>     acknowledgedUntil?: string | null,
>     acknowledgementComment?: string | null,
>     acknowledgingUsername?: string | null,
>     alertConfigId?: string | null,
>     created?: string | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     lastNotified?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     resolved?: string | null,
>     severity?: string | null,
>     status?: string | null,
>     updated?: string | null
>   } | {
>     acknowledgedUntil?: string | null,
>     acknowledgementComment?: string | null,
>     acknowledgingUsername?: string | null,
>     alertConfigId?: string | null,
>     clusterName?: string | null,
>     created?: string | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     lastNotified?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     resolved?: string | null,
>     severity?: string | null,
>     status?: string | null,
>     updated?: string | null
>   } | {
>     acknowledgedUntil?: string | null,
>     acknowledgementComment?: string | null,
>     acknowledgingUsername?: string | null,
>     alertConfigId?: string | null,
>     clusterName?: string | null,
>     created?: string | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     hostnameAndPort?: string | null,
>     id?: string | null,
>     lastNotified?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     replicaSetName?: string | null,
>     resolved?: string | null,
>     severity?: string | null,
>     status?: string | null,
>     updated?: string | null
>   } | {
>     acknowledgedUntil?: string | null,
>     acknowledgementComment?: string | null,
>     acknowledgingUsername?: string | null,
>     alertConfigId?: string | null,
>     clusterName?: string | null,
>     created?: string | null,
>     currentValue?: {
>       number?: number | null,
>       units?: string | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     lastNotified?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     metricName?: string | null,
>     orgId?: string | null,
>     resolved?: string | null,
>     severity?: string | null,
>     status?: string | null,
>     updated?: string | null
>   } | {
>     acknowledgedUntil?: string | null,
>     acknowledgementComment?: string | null,
>     acknowledgingUsername?: string | null,
>     alertConfigId?: string | null,
>     clusterName?: string | null,
>     created?: string | null,
>     currentValue?: {
>       number?: number | null,
>       units?: string | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     hostnameAndPort?: string | null,
>     id?: string | null,
>     lastNotified?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     metricName?: string | null,
>     orgId?: string | null,
>     replicaSetName?: string | null,
>     resolved?: string | null,
>     severity?: string | null,
>     status?: string | null,
>     updated?: string | null
>   } | {
>     acknowledgedUntil?: string | null,
>     acknowledgementComment?: string | null,
>     acknowledgingUsername?: string | null,
>     alertConfigId?: string | null,
>     clusterName?: string | null,
>     created?: string | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     hostnameAndPort?: string | null,
>     id?: string | null,
>     lastNotified?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     nonRunningHostIds?: string[] | null,
>     orgId?: string | null,
>     parentClusterId?: string | null,
>     replicaSetName?: string | null,
>     resolved?: string | null,
>     severity?: string | null,
>     status?: string | null,
>     updated?: string | null
>   } | {
>     acknowledgedUntil?: string | null,
>     acknowledgementComment?: string | null,
>     acknowledgingUsername?: string | null,
>     alertConfigId?: string | null,
>     created?: string | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     instanceName?: string | null,
>     lastNotified?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     processorErrorMsg?: string | null,
>     processorName?: string | null,
>     processorState?: string | null,
>     resolved?: string | null,
>     severity?: string | null,
>     status?: string | null,
>     updated?: string | null
>   } | {
>     acknowledgedUntil?: string | null,
>     acknowledgementComment?: string | null,
>     acknowledgingUsername?: string | null,
>     alertConfigId?: string | null,
>     created?: string | null,
>     eventTypeName?: string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | null,
>     groupId?: string | null,
>     id?: string | null,
>     lastNotified?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     resolved?: string | null,
>     severity?: string | null,
>     status?: string | null,
>     updated?: string | null
>   }
> )[] | null
> ```

***

### listAlerts

`alerts.listAlerts`

Return All Alerts from One Project: returns all alerts (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.alerts.listAlerts({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `status` | `OPEN \| TRACKING \| CLOSED` | No | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> (
>   {
>     acknowledgedUntil?: string | null,
>     acknowledgementComment?: string | null,
>     acknowledgingUsername?: string | null,
>     alertConfigId?: string | null,
>     created?: string | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     lastNotified?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     resolved?: string | null,
>     severity?: string | null,
>     status?: string | null,
>     updated?: string | null
>   } | {
>     acknowledgedUntil?: string | null,
>     acknowledgementComment?: string | null,
>     acknowledgingUsername?: string | null,
>     alertConfigId?: string | null,
>     clusterName?: string | null,
>     created?: string | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     lastNotified?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     resolved?: string | null,
>     severity?: string | null,
>     status?: string | null,
>     updated?: string | null
>   } | {
>     acknowledgedUntil?: string | null,
>     acknowledgementComment?: string | null,
>     acknowledgingUsername?: string | null,
>     alertConfigId?: string | null,
>     clusterName?: string | null,
>     created?: string | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     hostnameAndPort?: string | null,
>     id?: string | null,
>     lastNotified?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     replicaSetName?: string | null,
>     resolved?: string | null,
>     severity?: string | null,
>     status?: string | null,
>     updated?: string | null
>   } | {
>     acknowledgedUntil?: string | null,
>     acknowledgementComment?: string | null,
>     acknowledgingUsername?: string | null,
>     alertConfigId?: string | null,
>     clusterName?: string | null,
>     created?: string | null,
>     currentValue?: {
>       number?: number | null,
>       units?: string | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     lastNotified?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     metricName?: string | null,
>     orgId?: string | null,
>     resolved?: string | null,
>     severity?: string | null,
>     status?: string | null,
>     updated?: string | null
>   } | {
>     acknowledgedUntil?: string | null,
>     acknowledgementComment?: string | null,
>     acknowledgingUsername?: string | null,
>     alertConfigId?: string | null,
>     clusterName?: string | null,
>     created?: string | null,
>     currentValue?: {
>       number?: number | null,
>       units?: string | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     hostnameAndPort?: string | null,
>     id?: string | null,
>     lastNotified?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     metricName?: string | null,
>     orgId?: string | null,
>     replicaSetName?: string | null,
>     resolved?: string | null,
>     severity?: string | null,
>     status?: string | null,
>     updated?: string | null
>   } | {
>     acknowledgedUntil?: string | null,
>     acknowledgementComment?: string | null,
>     acknowledgingUsername?: string | null,
>     alertConfigId?: string | null,
>     clusterName?: string | null,
>     created?: string | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     hostnameAndPort?: string | null,
>     id?: string | null,
>     lastNotified?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     nonRunningHostIds?: string[] | null,
>     orgId?: string | null,
>     parentClusterId?: string | null,
>     replicaSetName?: string | null,
>     resolved?: string | null,
>     severity?: string | null,
>     status?: string | null,
>     updated?: string | null
>   } | {
>     acknowledgedUntil?: string | null,
>     acknowledgementComment?: string | null,
>     acknowledgingUsername?: string | null,
>     alertConfigId?: string | null,
>     created?: string | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     instanceName?: string | null,
>     lastNotified?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     processorErrorMsg?: string | null,
>     processorName?: string | null,
>     processorState?: string | null,
>     resolved?: string | null,
>     severity?: string | null,
>     status?: string | null,
>     updated?: string | null
>   } | {
>     acknowledgedUntil?: string | null,
>     acknowledgementComment?: string | null,
>     acknowledgingUsername?: string | null,
>     alertConfigId?: string | null,
>     created?: string | null,
>     eventTypeName?: string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | null,
>     groupId?: string | null,
>     id?: string | null,
>     lastNotified?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     resolved?: string | null,
>     severity?: string | null,
>     status?: string | null,
>     updated?: string | null
>   }
> )[] | null
> ```

***

## Atlas Search

### createClusterSearchDeployment

`atlasSearch.createClusterSearchDeployment`

Create Search Nodes: creates Search Nodes for the specified cluster

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.atlasSearch.createClusterSearchDeployment({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	specs: [{ instanceSize: 'S10_HIGHCPU' }],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Label that identifies the cluster to create Search Nodes for. |
| `autoScaling` | `object` | No | Settings that let Atlas change the Search Node tier on its own. Bounds apply to the whole deployment, and Atlas scales each region and shard independently within them. Omit to keep autoscaling off. |
| `defaultNodeCount` | `number \| null` | No | Default number of Search Nodes per region. Applied to a region without an explicit override. |
| `specs` | `object[]` | Yes | List of settings that configure the Search Nodes for your cluster. Provide one element per region when configuring asymmetric deployments; a single element applies to all regions. |

> [accordion] autoScaling full type
>
> ```ts theme={null}
> {
>   compute?: {
>     enabled?: boolean,
>     maxInstanceTier?: S10 | S20 | S30 | S40 | S50 | S60 | S70 | S80 | S90 | S100 | S110 | S120 | S130 | S135 | S140,
>     minInstanceTier?: S10 | S20 | S30 | S40 | S50 | S60 | S70 | S80 | S90 | S100 | S110 | S120 | S130 | S135 | S140,
>     scaleDownEnabled?: boolean
>   }
> }
> ```

> [accordion] specs full type
>
> ```ts theme={null}
> {
>   cloudProvider?: AWS | AZURE | GCP | null,
>   instanceSize: S10_HIGHCPU | S20_HIGHCPU_NVME | S30_HIGHCPU_NVME | S40_HIGHCPU_NVME | S50_HIGHCPU_NVME | S60_HIGHCPU_NVME | S70_HIGHCPU_NVME | S80_HIGHCPU_NVME | S30_LOWCPU_NVME | S40_LOWCPU_NVME | S50_LOWCPU_NVME | S60_LOWCPU_NVME | S70_LOWCPU_NVME | S80_LOWCPU_NVME | S90_LOWCPU_NVME | S100_LOWCPU_NVME | S110_LOWCPU_NVME | S120_LOWCPU_NVME | S130_LOWCPU_NVME | S135_LOWCPU_NVME | S140_LOWCPU_NVME | S40_STORAGE_NVME | S50_STORAGE_NVME | S60_STORAGE_NVME | S70_STORAGE_NVME | S80_STORAGE_NVME | S90_STORAGE_NVME,
>   nodeCount?: number | null,
>   regionName?: string | null
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `autoScaling` | `object \| null` | No | Autoscaling settings configured for this Search deployment. |
| `baselineSpecs` | `object[] \| null` | No | List of starting settings for the Search Nodes in each cluster region. |
| `effectiveSpecs` | `object[] \| null` | No | List of settings that configure the Search Nodes for your cluster. Each entry describes one region or, when `shardId` is present, one shard in one region. |
| `encryptionAtRestProvider` | `string \| null \| null` | No | Cloud service provider that manages your customer keys to provide an additional layer of Encryption At Rest for the cluster. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the search deployment. |
| `specs` | `object[] \| null` | No | Deprecated: `specs` will be removed in a future release. We strongly recommend that you use `effectiveSpecs` instead. |
| `stateName` | `string \| null` | No | Human-readable label that indicates the current operating condition of this search deployment. |

> [accordion] autoScaling full type
>
> ```ts theme={null}
> {
>   compute?: {
>     enabled?: boolean | null,
>     maxInstanceTier?: string | null,
>     minInstanceTier?: string | null,
>     scaleDownEnabled?: boolean | null
>   } | null
> } | null
> ```

> [accordion] baselineSpecs full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   instanceSize?: string | null,
>   nodeCount?: number | null,
>   regionName?: string | null,
>   shardId?: string | null
> }[] | null
> ```

> [accordion] effectiveSpecs full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   instanceSize?: string | null,
>   nodeCount?: number | null,
>   regionName?: string | null,
>   shardId?: string | null
> }[] | null
> ```

> [accordion] specs full type
>
> ```ts theme={null}
> {
>   instanceSize?: string | null,
>   nodeCount?: number | null
> }[] | null
> ```

***

### createClusterSearchIndex

`atlasSearch.createClusterSearchIndex`

Create One Atlas Search Index: creates one Atlas Search index on the specified collection

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.atlasSearch.createClusterSearchIndex({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	collectionName: 'movies',
	database: 'example',
	name: 'Cluster0',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Name of the cluster that contains the collection on which to create an Atlas Search index. |
| `collectionName` | `string` | Yes | Label that identifies the collection to create an Atlas Search index in. |
| `database` | `string` | Yes | Label that identifies the database that contains the collection to create an Atlas Search index in. |
| `name` | `string` | Yes | Label that identifies this index. Within each namespace, names of all indexes in the namespace must be unique. |
| `type` | `search \| vectorSearch` | No | Type of the index. The default type is search. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `collectionName` | `string \| null` | No | Label that identifies the collection that contains one or more Atlas Search indexes. |
| `database` | `string \| null` | No | Label that identifies the database that contains the collection with one or more Atlas Search indexes. |
| `indexID` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this Atlas Search index. |
| `latestDefinition` | `object \| null` | No | The search index definition set by the user. |
| `latestDefinitionVersion` | `object \| null` | No | Object which includes the version number of the index definition and the time that the index definition was created. |
| `name` | `string \| null` | No | Label that identifies this index. Within each namespace, the names of all indexes must be unique. |
| `queryable` | `boolean \| null` | No | Flag that indicates whether the index is queryable on the nodes currently receiving query traffic. |
| `status` | `string \| null` | No | Condition of the search index when you made this request. - `DELETING`: The index is being deleted. - `FAILED` The index build failed. Indexes can enter the FAILED state due to an invalid index definition. - `STALE`: The index is queryable but has stopped replicating data from the indexed collection. Searches on the index may return out-of-date data. - `PENDING`: Atlas has not yet started building the index. - `BUILDING`: Atlas is building or re-building the index after an edit. - `READY`: The i |
| `statusDetail` | `object[] \| null` | No | List of documents detailing index status on each host. |
| `type` | `string \| null` | No | Type of the index. The default type is search. |

> [accordion] latestDefinition full type
>
> ```ts theme={null}
> {
>   numPartitions?: number | null,
>   storedSource?: {
>   } | null
> } | null
> ```

> [accordion] latestDefinitionVersion full type
>
> ```ts theme={null}
> {
>   createdAt?: string | null,
>   version?: number | null
> } | null
> ```

> [accordion] statusDetail full type
>
> ```ts theme={null}
> {
>   hostname?: string | null,
>   mainIndex?: {
>     definition?: {
>       numPartitions?: number | null,
>       storedSource?: {
>       } | null
>     } | null,
>     definitionVersion?: {
>       createdAt?: string | null,
>       version?: number | null
>     } | null,
>     message?: string | null,
>     queryable?: boolean | null,
>     status?: string | null
>   } | null,
>   queryable?: boolean | null,
>   stagedIndex?: {
>     definition?: {
>       numPartitions?: number | null,
>       storedSource?: {
>       } | null
>     } | null,
>     definitionVersion?: {
>       createdAt?: string | null,
>       version?: number | null
>     } | null,
>     message?: string | null,
>     queryable?: boolean | null,
>     status?: string | null
>   } | null,
>   status?: string | null
> }[] | null
> ```

***

### deleteClusterSearchDeployment

`atlasSearch.deleteClusterSearchDeployment`

Delete Search Nodes: deletes the Search Nodes for the specified cluster

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.atlasSearch.deleteClusterSearchDeployment({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Label that identifies the cluster to delete. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteClusterSearchIndex

`atlasSearch.deleteClusterSearchIndex`

Remove One Atlas Search Index by ID: removes one Atlas Search index that you identified with its unique ID

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.atlasSearch.deleteClusterSearchIndex({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', indexId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Name of the cluster that contains the database and collection with one or more Application Search indexes. |
| `indexId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteIndexByName

`atlasSearch.deleteIndexByName`

Remove One Atlas Search Index by Name: removes one Atlas Search index that you identified with its database, collection, and name

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.atlasSearch.deleteIndexByName({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	collectionName: 'movies',
	databaseName: 'sample_mflix',
	indexName: 'example',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Name of the cluster that contains the database and collection with one or more Application Search indexes. |
| `collectionName` | `string` | Yes | Name of the collection that contains one or more Atlas Search indexes. |
| `databaseName` | `string` | Yes | Label that identifies the database that contains the collection with one or more Atlas Search indexes. |
| `indexName` | `string` | Yes | Name of the Atlas Search index to delete. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getClusterSearchDeployment

`atlasSearch.getClusterSearchDeployment`

Return All Search Nodes: returns the Search Nodes for the specified cluster

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.atlasSearch.getClusterSearchDeployment({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Label that identifies the cluster to return the Search Nodes for. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `autoScaling` | `object \| null` | No | Autoscaling settings configured for this Search deployment. |
| `baselineSpecs` | `object[] \| null` | No | List of starting settings for the Search Nodes in each cluster region. |
| `effectiveSpecs` | `object[] \| null` | No | List of settings that configure the Search Nodes for your cluster. Each entry describes one region or, when `shardId` is present, one shard in one region. |
| `encryptionAtRestProvider` | `string \| null \| null` | No | Cloud service provider that manages your customer keys to provide an additional layer of Encryption At Rest for the cluster. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the search deployment. |
| `specs` | `object[] \| null` | No | Deprecated: `specs` will be removed in a future release. We strongly recommend that you use `effectiveSpecs` instead. |
| `stateName` | `string \| null` | No | Human-readable label that indicates the current operating condition of this search deployment. |

> [accordion] autoScaling full type
>
> ```ts theme={null}
> {
>   compute?: {
>     enabled?: boolean | null,
>     maxInstanceTier?: string | null,
>     minInstanceTier?: string | null,
>     scaleDownEnabled?: boolean | null
>   } | null
> } | null
> ```

> [accordion] baselineSpecs full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   instanceSize?: string | null,
>   nodeCount?: number | null,
>   regionName?: string | null,
>   shardId?: string | null
> }[] | null
> ```

> [accordion] effectiveSpecs full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   instanceSize?: string | null,
>   nodeCount?: number | null,
>   regionName?: string | null,
>   shardId?: string | null
> }[] | null
> ```

> [accordion] specs full type
>
> ```ts theme={null}
> {
>   instanceSize?: string | null,
>   nodeCount?: number | null
> }[] | null
> ```

***

### getClusterSearchIndex

`atlasSearch.getClusterSearchIndex`

Return One Atlas Search Index by ID: returns one Atlas Search index in the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.atlasSearch.getClusterSearchIndex({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', indexId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Name of the cluster that contains the collection with one or more Atlas Search indexes. |
| `indexId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `collectionName` | `string \| null` | No | Label that identifies the collection that contains one or more Atlas Search indexes. |
| `database` | `string \| null` | No | Label that identifies the database that contains the collection with one or more Atlas Search indexes. |
| `indexID` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this Atlas Search index. |
| `latestDefinition` | `object \| null` | No | The search index definition set by the user. |
| `latestDefinitionVersion` | `object \| null` | No | Object which includes the version number of the index definition and the time that the index definition was created. |
| `name` | `string \| null` | No | Label that identifies this index. Within each namespace, the names of all indexes must be unique. |
| `queryable` | `boolean \| null` | No | Flag that indicates whether the index is queryable on the nodes currently receiving query traffic. |
| `status` | `string \| null` | No | Condition of the search index when you made this request. - `DELETING`: The index is being deleted. - `FAILED` The index build failed. Indexes can enter the FAILED state due to an invalid index definition. - `STALE`: The index is queryable but has stopped replicating data from the indexed collection. Searches on the index may return out-of-date data. - `PENDING`: Atlas has not yet started building the index. - `BUILDING`: Atlas is building or re-building the index after an edit. - `READY`: The i |
| `statusDetail` | `object[] \| null` | No | List of documents detailing index status on each host. |
| `type` | `string \| null` | No | Type of the index. The default type is search. |

> [accordion] latestDefinition full type
>
> ```ts theme={null}
> {
>   numPartitions?: number | null,
>   storedSource?: {
>   } | null
> } | null
> ```

> [accordion] latestDefinitionVersion full type
>
> ```ts theme={null}
> {
>   createdAt?: string | null,
>   version?: number | null
> } | null
> ```

> [accordion] statusDetail full type
>
> ```ts theme={null}
> {
>   hostname?: string | null,
>   mainIndex?: {
>     definition?: {
>       numPartitions?: number | null,
>       storedSource?: {
>       } | null
>     } | null,
>     definitionVersion?: {
>       createdAt?: string | null,
>       version?: number | null
>     } | null,
>     message?: string | null,
>     queryable?: boolean | null,
>     status?: string | null
>   } | null,
>   queryable?: boolean | null,
>   stagedIndex?: {
>     definition?: {
>       numPartitions?: number | null,
>       storedSource?: {
>       } | null
>     } | null,
>     definitionVersion?: {
>       createdAt?: string | null,
>       version?: number | null
>     } | null,
>     message?: string | null,
>     queryable?: boolean | null,
>     status?: string | null
>   } | null,
>   status?: string | null
> }[] | null
> ```

***

### getIndexByName

`atlasSearch.getIndexByName`

Return One Atlas Search Index by Name: returns one Atlas Search index in the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.atlasSearch.getIndexByName({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	collectionName: 'movies',
	databaseName: 'sample_mflix',
	indexName: 'example',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Name of the cluster that contains the collection with one or more Atlas Search indexes. |
| `collectionName` | `string` | Yes | Name of the collection that contains one or more Atlas Search indexes. |
| `databaseName` | `string` | Yes | Label that identifies the database that contains the collection with one or more Atlas Search indexes. |
| `indexName` | `string` | Yes | Name of the Atlas Search index to return. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `collectionName` | `string \| null` | No | Label that identifies the collection that contains one or more Atlas Search indexes. |
| `database` | `string \| null` | No | Label that identifies the database that contains the collection with one or more Atlas Search indexes. |
| `indexID` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this Atlas Search index. |
| `latestDefinition` | `object \| null` | No | The search index definition set by the user. |
| `latestDefinitionVersion` | `object \| null` | No | Object which includes the version number of the index definition and the time that the index definition was created. |
| `name` | `string \| null` | No | Label that identifies this index. Within each namespace, the names of all indexes must be unique. |
| `queryable` | `boolean \| null` | No | Flag that indicates whether the index is queryable on the nodes currently receiving query traffic. |
| `status` | `string \| null` | No | Condition of the search index when you made this request. - `DELETING`: The index is being deleted. - `FAILED` The index build failed. Indexes can enter the FAILED state due to an invalid index definition. - `STALE`: The index is queryable but has stopped replicating data from the indexed collection. Searches on the index may return out-of-date data. - `PENDING`: Atlas has not yet started building the index. - `BUILDING`: Atlas is building or re-building the index after an edit. - `READY`: The i |
| `statusDetail` | `object[] \| null` | No | List of documents detailing index status on each host. |
| `type` | `string \| null` | No | Type of the index. The default type is search. |

> [accordion] latestDefinition full type
>
> ```ts theme={null}
> {
>   numPartitions?: number | null,
>   storedSource?: {
>   } | null
> } | null
> ```

> [accordion] latestDefinitionVersion full type
>
> ```ts theme={null}
> {
>   createdAt?: string | null,
>   version?: number | null
> } | null
> ```

> [accordion] statusDetail full type
>
> ```ts theme={null}
> {
>   hostname?: string | null,
>   mainIndex?: {
>     definition?: {
>       numPartitions?: number | null,
>       storedSource?: {
>       } | null
>     } | null,
>     definitionVersion?: {
>       createdAt?: string | null,
>       version?: number | null
>     } | null,
>     message?: string | null,
>     queryable?: boolean | null,
>     status?: string | null
>   } | null,
>   queryable?: boolean | null,
>   stagedIndex?: {
>     definition?: {
>       numPartitions?: number | null,
>       storedSource?: {
>       } | null
>     } | null,
>     definitionVersion?: {
>       createdAt?: string | null,
>       version?: number | null
>     } | null,
>     message?: string | null,
>     queryable?: boolean | null,
>     status?: string | null
>   } | null,
>   status?: string | null
> }[] | null
> ```

***

### listClusterSearchIndexes

`atlasSearch.listClusterSearchIndexes`

Return All Atlas Search Indexes for One Cluster: returns all Atlas Search indexes on the specified cluster

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.atlasSearch.listClusterSearchIndexes({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Name of the cluster that contains the collection with one or more Atlas Search indexes. |

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   collectionName?: string | null,
>   database?: string | null,
>   indexID?: string | null,
>   latestDefinition?: {
>     numPartitions?: number | null,
>     storedSource?: {
>     } | null
>   } | null,
>   latestDefinitionVersion?: {
>     createdAt?: string | null,
>     version?: number | null
>   } | null,
>   name?: string | null,
>   queryable?: boolean | null,
>   status?: string | null,
>   statusDetail?: {
>     hostname?: string | null,
>     mainIndex?: {
>       definition?: {
>         numPartitions?: number | null,
>         storedSource?: {
>         } | null
>       } | null,
>       definitionVersion?: {
>         createdAt?: string | null,
>         version?: number | null
>       } | null,
>       message?: string | null,
>       queryable?: boolean | null,
>       status?: string | null
>     } | null,
>     queryable?: boolean | null,
>     stagedIndex?: {
>       definition?: {
>         numPartitions?: number | null,
>         storedSource?: {
>         } | null
>       } | null,
>       definitionVersion?: {
>         createdAt?: string | null,
>         version?: number | null
>       } | null,
>       message?: string | null,
>       queryable?: boolean | null,
>       status?: string | null
>     } | null,
>     status?: string | null
>   }[] | null,
>   type?: string | null
> }[]
> ```

***

### listSearchIndex

`atlasSearch.listSearchIndex`

Return All Atlas Search Indexes for One Collection: returns all Atlas Search indexes on the specified collection

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.atlasSearch.listSearchIndex({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	collectionName: 'movies',
	databaseName: 'sample_mflix',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Name of the cluster that contains the collection with one or more Atlas Search indexes. |
| `collectionName` | `string` | Yes | Name of the collection that contains one or more Atlas Search indexes. |
| `databaseName` | `string` | Yes | Label that identifies the database that contains the collection with one or more Atlas Search indexes. |

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   collectionName?: string | null,
>   database?: string | null,
>   indexID?: string | null,
>   latestDefinition?: {
>     numPartitions?: number | null,
>     storedSource?: {
>     } | null
>   } | null,
>   latestDefinitionVersion?: {
>     createdAt?: string | null,
>     version?: number | null
>   } | null,
>   name?: string | null,
>   queryable?: boolean | null,
>   status?: string | null,
>   statusDetail?: {
>     hostname?: string | null,
>     mainIndex?: {
>       definition?: {
>         numPartitions?: number | null,
>         storedSource?: {
>         } | null
>       } | null,
>       definitionVersion?: {
>         createdAt?: string | null,
>         version?: number | null
>       } | null,
>       message?: string | null,
>       queryable?: boolean | null,
>       status?: string | null
>     } | null,
>     queryable?: boolean | null,
>     stagedIndex?: {
>       definition?: {
>         numPartitions?: number | null,
>         storedSource?: {
>         } | null
>       } | null,
>       definitionVersion?: {
>         createdAt?: string | null,
>         version?: number | null
>       } | null,
>       message?: string | null,
>       queryable?: boolean | null,
>       status?: string | null
>     } | null,
>     status?: string | null
>   }[] | null,
>   type?: string | null
> }[]
> ```

***

### updateClusterSearchDeployment

`atlasSearch.updateClusterSearchDeployment`

Update Search Nodes: updates the Search Nodes for the specified cluster

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.atlasSearch.updateClusterSearchDeployment({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	specs: [{ instanceSize: 'S10_HIGHCPU' }],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Label that identifies the cluster to update the Search Nodes for. |
| `autoScaling` | `object` | No | Settings that let Atlas change the Search Node tier on its own. Bounds apply to the whole deployment, and Atlas scales each region and shard independently within them. Omit to keep autoscaling off. |
| `defaultNodeCount` | `number \| null` | No | Default number of Search Nodes per region. Applied to a region without an explicit override. |
| `specs` | `object[]` | Yes | List of settings that configure the Search Nodes for your cluster. Provide one element per region when configuring asymmetric deployments; a single element applies to all regions. |

> [accordion] autoScaling full type
>
> ```ts theme={null}
> {
>   compute?: {
>     enabled?: boolean,
>     maxInstanceTier?: S10 | S20 | S30 | S40 | S50 | S60 | S70 | S80 | S90 | S100 | S110 | S120 | S130 | S135 | S140,
>     minInstanceTier?: S10 | S20 | S30 | S40 | S50 | S60 | S70 | S80 | S90 | S100 | S110 | S120 | S130 | S135 | S140,
>     scaleDownEnabled?: boolean
>   }
> }
> ```

> [accordion] specs full type
>
> ```ts theme={null}
> {
>   cloudProvider?: AWS | AZURE | GCP | null,
>   instanceSize: S10_HIGHCPU | S20_HIGHCPU_NVME | S30_HIGHCPU_NVME | S40_HIGHCPU_NVME | S50_HIGHCPU_NVME | S60_HIGHCPU_NVME | S70_HIGHCPU_NVME | S80_HIGHCPU_NVME | S30_LOWCPU_NVME | S40_LOWCPU_NVME | S50_LOWCPU_NVME | S60_LOWCPU_NVME | S70_LOWCPU_NVME | S80_LOWCPU_NVME | S90_LOWCPU_NVME | S100_LOWCPU_NVME | S110_LOWCPU_NVME | S120_LOWCPU_NVME | S130_LOWCPU_NVME | S135_LOWCPU_NVME | S140_LOWCPU_NVME | S40_STORAGE_NVME | S50_STORAGE_NVME | S60_STORAGE_NVME | S70_STORAGE_NVME | S80_STORAGE_NVME | S90_STORAGE_NVME,
>   nodeCount?: number | null,
>   regionName?: string | null
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `autoScaling` | `object \| null` | No | Autoscaling settings configured for this Search deployment. |
| `baselineSpecs` | `object[] \| null` | No | List of starting settings for the Search Nodes in each cluster region. |
| `effectiveSpecs` | `object[] \| null` | No | List of settings that configure the Search Nodes for your cluster. Each entry describes one region or, when `shardId` is present, one shard in one region. |
| `encryptionAtRestProvider` | `string \| null \| null` | No | Cloud service provider that manages your customer keys to provide an additional layer of Encryption At Rest for the cluster. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the search deployment. |
| `specs` | `object[] \| null` | No | Deprecated: `specs` will be removed in a future release. We strongly recommend that you use `effectiveSpecs` instead. |
| `stateName` | `string \| null` | No | Human-readable label that indicates the current operating condition of this search deployment. |

> [accordion] autoScaling full type
>
> ```ts theme={null}
> {
>   compute?: {
>     enabled?: boolean | null,
>     maxInstanceTier?: string | null,
>     minInstanceTier?: string | null,
>     scaleDownEnabled?: boolean | null
>   } | null
> } | null
> ```

> [accordion] baselineSpecs full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   instanceSize?: string | null,
>   nodeCount?: number | null,
>   regionName?: string | null,
>   shardId?: string | null
> }[] | null
> ```

> [accordion] effectiveSpecs full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   instanceSize?: string | null,
>   nodeCount?: number | null,
>   regionName?: string | null,
>   shardId?: string | null
> }[] | null
> ```

> [accordion] specs full type
>
> ```ts theme={null}
> {
>   instanceSize?: string | null,
>   nodeCount?: number | null
> }[] | null
> ```

***

### updateClusterSearchIndex

`atlasSearch.updateClusterSearchIndex`

Update One Atlas Search Index by ID: updates one Atlas Search index that you identified with its unique ID

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.atlasSearch.updateClusterSearchIndex({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	indexId: '5f43e7f0a1b2c3d4e5f60718',
	definition: {
		mappings: {},
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Name of the cluster that contains the collection whose Atlas Search index you want to update. |
| `indexId` | `string` | Yes | 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. |
| `definition` | `object` | Yes | The index definition to update the search index to. |

> [accordion] definition full type
>
> ```ts theme={null}
> {
>   analyzer?: 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,
>   analyzers?: {
>     charFilters?: Record<string, {
>     }>[],
>     name: string,
>     tokenFilters?: Record<string, {
>     }>[],
>     tokenizer: Record<string, {
>     }>
>   }[],
>   mappings: {
>     dynamic?: {
>     },
>     fields?: Record<string, {
>     }>
>   },
>   numPartitions?: number,
>   searchAnalyzer?: 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,
>   sort?: {
>   },
>   storedSource?: {
>   },
>   synonyms?: {
>     analyzer: 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,
>     name: string,
>     source: {
>       collection: string
>     }
>   }[],
>   typeSets?: {
>     name: string,
>     types: Record<string, {
>     }>[]
>   }[]
> } | {
>   fields: Record<string, {
>   }>[],
>   nestedRoot?: string,
>   numPartitions?: number,
>   storedSource?: {
>   }
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `collectionName` | `string \| null` | No | Label that identifies the collection that contains one or more Atlas Search indexes. |
| `database` | `string \| null` | No | Label that identifies the database that contains the collection with one or more Atlas Search indexes. |
| `indexID` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this Atlas Search index. |
| `latestDefinition` | `object \| null` | No | The search index definition set by the user. |
| `latestDefinitionVersion` | `object \| null` | No | Object which includes the version number of the index definition and the time that the index definition was created. |
| `name` | `string \| null` | No | Label that identifies this index. Within each namespace, the names of all indexes must be unique. |
| `queryable` | `boolean \| null` | No | Flag that indicates whether the index is queryable on the nodes currently receiving query traffic. |
| `status` | `string \| null` | No | Condition of the search index when you made this request. - `DELETING`: The index is being deleted. - `FAILED` The index build failed. Indexes can enter the FAILED state due to an invalid index definition. - `STALE`: The index is queryable but has stopped replicating data from the indexed collection. Searches on the index may return out-of-date data. - `PENDING`: Atlas has not yet started building the index. - `BUILDING`: Atlas is building or re-building the index after an edit. - `READY`: The i |
| `statusDetail` | `object[] \| null` | No | List of documents detailing index status on each host. |
| `type` | `string \| null` | No | Type of the index. The default type is search. |

> [accordion] latestDefinition full type
>
> ```ts theme={null}
> {
>   numPartitions?: number | null,
>   storedSource?: {
>   } | null
> } | null
> ```

> [accordion] latestDefinitionVersion full type
>
> ```ts theme={null}
> {
>   createdAt?: string | null,
>   version?: number | null
> } | null
> ```

> [accordion] statusDetail full type
>
> ```ts theme={null}
> {
>   hostname?: string | null,
>   mainIndex?: {
>     definition?: {
>       numPartitions?: number | null,
>       storedSource?: {
>       } | null
>     } | null,
>     definitionVersion?: {
>       createdAt?: string | null,
>       version?: number | null
>     } | null,
>     message?: string | null,
>     queryable?: boolean | null,
>     status?: string | null
>   } | null,
>   queryable?: boolean | null,
>   stagedIndex?: {
>     definition?: {
>       numPartitions?: number | null,
>       storedSource?: {
>       } | null
>     } | null,
>     definitionVersion?: {
>       createdAt?: string | null,
>       version?: number | null
>     } | null,
>     message?: string | null,
>     queryable?: boolean | null,
>     status?: string | null
>   } | null,
>   status?: string | null
> }[] | null
> ```

***

### updateIndexByName

`atlasSearch.updateIndexByName`

Update One Atlas Search Index by Name: updates one Atlas Search index that you identified with its database, collection name, and index name

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.atlasSearch.updateIndexByName({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	collectionName: 'movies',
	databaseName: 'sample_mflix',
	indexName: 'example',
	definition: {
		mappings: {},
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Name of the cluster that contains the collection whose Atlas Search index you want to update. |
| `collectionName` | `string` | Yes | Name of the collection that contains one or more Atlas Search indexes. |
| `databaseName` | `string` | Yes | Label that identifies the database that contains the collection with one or more Atlas Search indexes. |
| `indexName` | `string` | Yes | Name of the Atlas Search index to update. |
| `definition` | `object` | Yes | The index definition to update the search index to. |

> [accordion] definition full type
>
> ```ts theme={null}
> {
>   analyzer?: 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,
>   analyzers?: {
>     charFilters?: Record<string, {
>     }>[],
>     name: string,
>     tokenFilters?: Record<string, {
>     }>[],
>     tokenizer: Record<string, {
>     }>
>   }[],
>   mappings: {
>     dynamic?: {
>     },
>     fields?: Record<string, {
>     }>
>   },
>   numPartitions?: number,
>   searchAnalyzer?: 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,
>   sort?: {
>   },
>   storedSource?: {
>   },
>   synonyms?: {
>     analyzer: 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,
>     name: string,
>     source: {
>       collection: string
>     }
>   }[],
>   typeSets?: {
>     name: string,
>     types: Record<string, {
>     }>[]
>   }[]
> } | {
>   fields: Record<string, {
>   }>[],
>   nestedRoot?: string,
>   numPartitions?: number,
>   storedSource?: {
>   }
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `collectionName` | `string \| null` | No | Label that identifies the collection that contains one or more Atlas Search indexes. |
| `database` | `string \| null` | No | Label that identifies the database that contains the collection with one or more Atlas Search indexes. |
| `indexID` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this Atlas Search index. |
| `latestDefinition` | `object \| null` | No | The search index definition set by the user. |
| `latestDefinitionVersion` | `object \| null` | No | Object which includes the version number of the index definition and the time that the index definition was created. |
| `name` | `string \| null` | No | Label that identifies this index. Within each namespace, the names of all indexes must be unique. |
| `queryable` | `boolean \| null` | No | Flag that indicates whether the index is queryable on the nodes currently receiving query traffic. |
| `status` | `string \| null` | No | Condition of the search index when you made this request. - `DELETING`: The index is being deleted. - `FAILED` The index build failed. Indexes can enter the FAILED state due to an invalid index definition. - `STALE`: The index is queryable but has stopped replicating data from the indexed collection. Searches on the index may return out-of-date data. - `PENDING`: Atlas has not yet started building the index. - `BUILDING`: Atlas is building or re-building the index after an edit. - `READY`: The i |
| `statusDetail` | `object[] \| null` | No | List of documents detailing index status on each host. |
| `type` | `string \| null` | No | Type of the index. The default type is search. |

> [accordion] latestDefinition full type
>
> ```ts theme={null}
> {
>   numPartitions?: number | null,
>   storedSource?: {
>   } | null
> } | null
> ```

> [accordion] latestDefinitionVersion full type
>
> ```ts theme={null}
> {
>   createdAt?: string | null,
>   version?: number | null
> } | null
> ```

> [accordion] statusDetail full type
>
> ```ts theme={null}
> {
>   hostname?: string | null,
>   mainIndex?: {
>     definition?: {
>       numPartitions?: number | null,
>       storedSource?: {
>       } | null
>     } | null,
>     definitionVersion?: {
>       createdAt?: string | null,
>       version?: number | null
>     } | null,
>     message?: string | null,
>     queryable?: boolean | null,
>     status?: string | null
>   } | null,
>   queryable?: boolean | null,
>   stagedIndex?: {
>     definition?: {
>       numPartitions?: number | null,
>       storedSource?: {
>       } | null
>     } | null,
>     definitionVersion?: {
>       createdAt?: string | null,
>       version?: number | null
>     } | null,
>     message?: string | null,
>     queryable?: boolean | null,
>     status?: string | null
>   } | null,
>   status?: string | null
> }[] | null
> ```

***

## Auditing

### getGroupAuditLog

`auditing.getGroupAuditLog`

Return Auditing Configuration for One Project: returns the auditing configuration for the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.auditing.getGroupAuditLog({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `auditAuthorizationSuccess` | `boolean \| null` | No | 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. |
| `auditFilter` | `string \| null` | No | JSON document that specifies which events to record. Escape any characters that may prevent parsing, such as single or double quotes, using a backslash (`\\`). |
| `configurationType` | `string \| null` | No | Human-readable label that displays how to configure the audit filter. |
| `enabled` | `boolean \| null` | No | Flag that indicates whether someone enabled database auditing for the specified project. |

***

### updateAuditLog

`auditing.updateAuditLog`

Update Auditing Configuration for One Project: updates the auditing configuration for the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.auditing.updateAuditLog({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `auditAuthorizationSuccess` | `boolean` | No | 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. |
| `auditFilter` | `string` | No | JSON document that specifies which events to record. Escape any characters that may prevent parsing, such as single or double quotes, using a backslash (`\\`). |
| `enabled` | `boolean` | No | Flag that indicates whether someone enabled database auditing for the specified project. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `auditAuthorizationSuccess` | `boolean \| null` | No | 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. |
| `auditFilter` | `string \| null` | No | JSON document that specifies which events to record. Escape any characters that may prevent parsing, such as single or double quotes, using a backslash (`\\`). |
| `configurationType` | `string \| null` | No | Human-readable label that displays how to configure the audit filter. |
| `enabled` | `boolean \| null` | No | Flag that indicates whether someone enabled database auditing for the specified project. |

***

## Aws Clusters Dns

### getAwsCustomDns

`awsClustersDns.getAwsCustomDns`

Return One Custom DNS Configuration for Atlas Clusters on AWS: returns the custom DNS configuration for AWS clusters in the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.awsClustersDns.getAwsCustomDns({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `enabled` | `boolean \| null` | No | 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. |

***

### toggleAwsCustomDns

`awsClustersDns.toggleAwsCustomDns`

Update State of One Custom DNS Configuration for Atlas Clusters on AWS: enables or disables the custom DNS configuration for AWS clusters in the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.awsClustersDns.toggleAwsCustomDns({ groupId: '5f43e7f0a1b2c3d4e5f60718', enabled: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `enabled` | `boolean` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `enabled` | `boolean \| null` | No | 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. |

***

## Cloud Backups

### cancelBackupRestoreJob

`cloudBackups.cancelBackupRestoreJob`

Cancel One Restore Job for One Cluster: cancels one cloud backup restore job of one cluster from the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.cancelBackupRestoreJob({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', restoreJobId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `restoreJobId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the restore job to remove. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### createBackupExport

`cloudBackups.createBackupExport`

Create One Snapshot Export Job: exports one backup Snapshot for dedicated Atlas cluster using Cloud Backups to an Export Bucket

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.createBackupExport({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	exportBucketId: '5f43e7f0a1b2c3d4e5f60718',
	snapshotId: '5f43e7f0a1b2c3d4e5f60718',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `customData` | `object[]` | No | 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. |
| `exportBucketId` | `string` | Yes | Unique 24-hexadecimal character string that identifies the Export Bucket. |
| `snapshotId` | `string` | Yes | Unique 24-hexadecimal character string that identifies the Cloud Backup Snapshot to export. |

> [accordion] customData full type
>
> ```ts theme={null}
> {
>   key?: string,
>   value?: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `components` | `object[] \| null` | No | Information on the export job for each replica set in the sharded cluster. |
| `createdAt` | `string \| null` | No | Date and time when a user or Atlas created the Export Job. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. |
| `customData` | `object[] \| null` | No | Collection of key-value pairs that represent custom data for the metadata file that MongoDB Cloud uploads when the Export Job finishes. |
| `exportBucketId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the Export Bucket. |
| `exportStatus` | `object \| null` | No | State of the Export Job. |
| `finishedAt` | `string \| null` | No | Date and time when this Export Job completed. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. |
| `id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the restore job. |
| `links` | `object[] \| null` | No | 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. |
| `prefix` | `string \| null` | No | Prefix used for all blob storage objects uploaded as part of the Export Job. |
| `snapshotId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the snapshot. |
| `state` | `string \| null` | No | State of the Export Job. |
| `stateReason` | `object \| null` | No | State reason of the Job. This is set when the job state is "Failed". |

> [accordion] components full type
>
> ```ts theme={null}
> {
>   exportId?: string | null,
>   replicaSetName?: string | null
> }[] | null
> ```

> [accordion] customData full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

> [accordion] exportStatus full type
>
> ```ts theme={null}
> {
>   exportedCollections?: number | null,
>   totalCollections?: number | null
> } | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] stateReason full type
>
> ```ts theme={null}
> {
>   errorCode?: string | null,
>   message?: string | null
> } | null
> ```

***

### createBackupPrivateEndpoint

`cloudBackups.createBackupPrivateEndpoint`

Create One Object Storage Private Endpoint for Cloud Backups for One Cloud Provider in One Project: creates a private endpoint in the specified region for secure, private connectivity between Atlas and cloud provider object storage services for backup operations

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.createBackupPrivateEndpoint({ groupId: '5f43e7f0a1b2c3d4e5f60718', cloudProvider: 'AWS' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `cloudProvider` | `AWS` | Yes | Human-readable label that identifies the cloud provider for the private endpoint to create. |
| `regionName` | `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 \| AP_EAST_1 \| AP_NORTHEAST_1 \| AP_NORTHEAST_2 \| AP_NORTHEAST_3 \| AP_SOUTHEAST_1 \| AP_SOUTHEAST_2 \| AP_SOUTHEAST_3 \| AP_SOUTH_1 \| SA_EAST_1 \| CN_NORTH_1 \| CN_NORTHWEST_1 \| ME_SOUTH_1 \| AF_SOUTH_1 \| EU_SOUTH_1 \| GLOBAL` | No | Cloud provider region of the S3 bucket that the Object Storage private endpoint accesses. For same-region endpoints, this is also the region where the VPC interface endpoint is deployed. |
| `vpcRegionName` | `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 \| AP_EAST_1 \| AP_NORTHEAST_1 \| AP_NORTHEAST_2 \| AP_NORTHEAST_3 \| AP_SOUTHEAST_1 \| AP_SOUTHEAST_2 \| AP_SOUTHEAST_3 \| AP_SOUTH_1 \| SA_EAST_1 \| CN_NORTH_1 \| CN_NORTHWEST_1 \| ME_SOUTH_1 \| AF_SOUTH_1 \| EU_SOUTH_1 \| GLOBAL` | No | Cloud provider region in which the VPC interface endpoint is deployed. Omit to deploy the interface endpoint in the same region as the S3 bucket (same-region endpoint). Set to a region different from `regionName` to create a cross-region endpoint. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cloudProvider` | `string \| null` | No | Human-readable label that identifies the cloud provider. |
| `errorMessage` | `string \| null` | No | Error message for failures associated with the Object Storage private endpoint. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the Private Endpoint Service. |
| `privateEndpointConnectionName` | `string \| null` | No | Connection name of the Private Endpoint. |
| `regionName` | `string \| null` | No | Cloud provider region in which the Object Storage bucket is located. For cross-region endpoints, this differs from `vpcRegionName`, which is the region in which the VPC interface endpoint is deployed. |
| `status` | `string \| null` | No | State of the Object Storage private endpoint. |
| `vpcRegionName` | `string \| null` | No | Cloud provider region in which the VPC interface endpoint is deployed. Echoes `regionName` for same-region endpoints. |

***

### createBackupRestoreJob

`cloudBackups.createBackupRestoreJob`

Create One Restore Job of One Cluster: restores one snapshot of one cluster from the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.createBackupRestoreJob({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', deliveryType: 'automated' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `deliveryType` | `automated \| download \| pointInTime` | Yes | Human-readable label that categorizes the restore job to create. |
| `oplogInc` | `number` | No | 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`. |
| `oplogTs` | `number` | No | 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`. |
| `pointInTimeUTCSeconds` | `number` | No | 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`. |
| `snapshotId` | `string` | No | Unique 24-hexadecimal character string that identifies the snapshot. |
| `targetClusterName` | `string` | No | 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` | `string` | No | Unique 24-hexadecimal digit string that identifies the target project for the specified `targetClusterName`. Required for `automated` and `pointInTime` restore types. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cancelled` | `boolean \| null` | No | Flag that indicates whether someone canceled this restore job. |
| `components` | `object[] \| null` | No | Information on the restore job for each replica set in the sharded cluster. |
| `deliveryType` | `string \| null` | No | Human-readable label that categorizes the restore job to create. |
| `deliveryUrl` | `string[] \| null` | No | 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"`. |
| `desiredTimestamp` | `object \| null` | No | BSON timestamp that indicates when the checkpoint token entry in the oplog occurred. |
| `expired` | `boolean \| null` | No | Flag that indicates whether the restore job expired. |
| `expiresAt` | `string \| null` | No | Date and time when the restore job expires. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `failed` | `boolean \| null` | No | Flag that indicates whether the restore job failed. |
| `finishedAt` | `string \| null` | No | Date and time when the restore job completed. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the restore job. |
| `links` | `object[] \| null` | No | 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. |
| `oplogInc` | `number \| null` | No | 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`. |
| `oplogTs` | `number \| null` | No | 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`. |
| `pointInTimeUTCSeconds` | `number \| null` | No | 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`. |
| `privateDownloadDeliveryUrls` | `object[] \| null` | No | 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. |
| `snapshotId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the snapshot. |
| `targetClusterName` | `string \| null` | No | 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` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the target project for the specified `targetClusterName`. Required for `automated` and `pointInTime` restore types. |
| `timestamp` | `string \| null` | No | 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. |

> [accordion] components full type
>
> ```ts theme={null}
> {
>   downloadUrl?: string | null,
>   privateDownloadDeliveryUrls?: {
>     deliveryUrl?: string | null,
>     endpointId?: string | null
>   }[] | null,
>   replicaSetName?: string | null
> }[] | null
> ```

> [accordion] desiredTimestamp full type
>
> ```ts theme={null}
> {
>   date?: string | null,
>   increment?: number | null
> } | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] privateDownloadDeliveryUrls full type
>
> ```ts theme={null}
> {
>   deliveryUrl?: string | null,
>   endpointId?: string | null
> }[] | null
> ```

***

### createCollectionRestoreJob

`cloudBackups.createCollectionRestoreJob`

Create One Collection Restore Job: creates one collection-level restore job for one cluster from the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.createCollectionRestoreJob({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	indexStrategy: 'ALL',
	targetClusterName: 'example',
	targetGroupId: '5f43e7f0a1b2c3d4e5f60718',
	writeStrategy: 'CREATE_NEW',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the source cluster for the restore. |
| `collectionSuffix` | `string \| null` | No | Optional suffix applied to restored collection names. |
| `collections` | `object[]` | No | List of collections to restore (up to 100 items). |
| `databaseSuffix` | `string \| null` | No | Optional suffix applied to restored database names. |
| `databases` | `object[]` | No | List of databases to restore (up to 100 items). |
| `indexStrategy` | `ALL \| NONE \| ALL_EXCEPT_TTL` | Yes | Strategy for restoring indexes (all, none, or all except TTL). |
| `oplogInc` | `number \| null` | No | Oplog increment for point-in-time restore. |
| `oplogTs` | `number \| null` | No | Oplog timestamp (seconds part) for point-in-time restore. |
| `pointInTimeUtcSeconds` | `number \| null` | No | Point-in-time restore time in seconds since UNIX epoch. |
| `snapshotId` | `string` | No | ID of the snapshot to restore. |
| `targetClusterName` | `string` | Yes | Target cluster name. |
| `targetGroupId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the target group. |
| `writeStrategy` | `CREATE_NEW \| OVERWRITE_EXISTING` | Yes | Strategy for writing data on the target (create as new or overwrite existing). With `OVERWRITE_EXISTING`, any writes to the affected databases or collections during the restore will be lost when the existing namespaces are dropped and replaced. To avoid data loss, stop writes to the affected namespaces before starting the restore. |

> [accordion] collections full type
>
> ```ts theme={null}
> {
>   sourceNamespace: string,
>   targetNamespace?: string
> }[]
> ```

> [accordion] databases full type
>
> ```ts theme={null}
> {
>   sourceNamespace: string,
>   targetNamespace?: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `collectionSuffix` | `string \| null` | No | Suffix applied to restored collection names. |
| `collections` | `object[] \| null` | No | List of collections in the restore scope (up to 100 items). |
| `createdAt` | `string \| null` | No | Date and time when the restore job was created (ISO 8601 format in UTC). |
| `databaseSuffix` | `string \| null` | No | Suffix applied to restored database names. |
| `databases` | `object[] \| null` | No | List of databases in the restore scope (up to 100 items). |
| `errorMessage` | `string \| null` | No | Error message when the job has failed or been canceled. |
| `finishedAt` | `string \| null` | No | Date and time when the restore job finished (ISO 8601 format in UTC). |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the collection restore job. |
| `indexStatus` | `object \| null` | No | Overall index build status for a collection restore job. |
| `indexStrategy` | `string \| null` | No | Strategy for restoring indexes (all, none, or all except TTL). |
| `oplogInc` | `number \| null` | No | Oplog increment for point-in-time restore. |
| `oplogTs` | `number \| null` | No | Oplog timestamp (seconds part) for point-in-time restore. |
| `pointInTimeUtcSeconds` | `number \| null` | No | Point-in-time restore time in seconds since UNIX epoch. |
| `restoredDocuments` | `number \| null` | No | Number of documents restored so far across all supported collections. |
| `snapshotId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the snapshot being restored. |
| `state` | `string \| null` | No | Current state of the collection restore job. A `SUCCESSFUL` job can include individual `UNSUPPORTED` collection restores. Use the restore job collections endpoint to get per-collection detailed states. |
| `targetClusterName` | `string \| null` | No | Human-readable label that identifies the target cluster. |
| `targetGroupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the target group. |
| `totalDocuments` | `number \| null` | No | Total number of documents across all supported collections in the restore job. This value may initially reflect an estimate based on collection metadata and can change as accurate document counts become available during the restore. |
| `writeStrategy` | `string \| null` | No | Strategy for writing data on the target (create as new or overwrite existing). With `OVERWRITE_EXISTING`, any writes to the affected databases or collections during the restore will be lost when the existing namespaces are dropped and replaced. To avoid data loss, stop writes to the affected namespaces before starting the restore. |

> [accordion] collections full type
>
> ```ts theme={null}
> {
>   sourceNamespace?: string | null,
>   targetNamespace?: string | null
> }[] | null
> ```

> [accordion] databases full type
>
> ```ts theme={null}
> {
>   sourceNamespace?: string | null,
>   targetNamespace?: string | null
> }[] | null
> ```

> [accordion] indexStatus full type
>
> ```ts theme={null}
> {
>   failedCollectionCount?: number | null,
>   state?: string | null
> } | null
> ```

***

### createExportBucket

`cloudBackups.createExportBucket`

Create One Snapshot Export Bucket: creates a Snapshot Export Bucket for an AWS S3 Bucket, Azure Blob Storage Container, or Google Cloud Storage Bucket

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.createExportBucket({ groupId: '5f43e7f0a1b2c3d4e5f60718', cloudProvider: 'AWS' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `cloudProvider` | `AWS \| AZURE \| GCP` | Yes | Human-readable label that identifies the cloud provider. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the Export Bucket. |
| `bucketName` | `string \| null` | No | The name of the AWS S3 Bucket, Azure Storage Container, or Google Cloud Storage Bucket that Snapshots are exported to. |
| `cloudProvider` | `string \| null` | No | Human-readable label that identifies the cloud provider. |
| `links` | `object[] \| null` | No | 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. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### deleteBackupPrivateEndpoint

`cloudBackups.deleteBackupPrivateEndpoint`

Delete One Object Storage Private Endpoint for Cloud Backups for One Cloud Provider from One Project: deletes one private endpoint, identified by its ID, for object storage backup operations

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.deleteBackupPrivateEndpoint({ groupId: '5f43e7f0a1b2c3d4e5f60718', cloudProvider: 'AWS', endpointId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `cloudProvider` | `AWS` | Yes | Human-readable label that identifies the cloud provider of the private endpoint to delete. |
| `endpointId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the private endpoint to delete. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteBackupShardedCluster

`cloudBackups.deleteBackupShardedCluster`

Remove One Sharded Cluster Cloud Backup: removes one snapshot of one sharded cluster from the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.deleteBackupShardedCluster({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', snapshotId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `snapshotId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the desired snapshot. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteClusterBackupSchedule

`cloudBackups.deleteClusterBackupSchedule`

Remove All Cloud Backup Schedules: removes all cloud backup schedules for the specified cluster

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.deleteClusterBackupSchedule({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `autoCopySettingsEnabled` | `boolean \| null` | No | Flag that indicates whether the copy settings are automatically managed by MongoDB Cloud and sync to the cluster topology. |
| `autoExportEnabled` | `boolean \| null` | No | Flag that indicates whether MongoDB Cloud automatically exports Cloud Backup Snapshots to the Export Bucket. |
| `clusterId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the cluster with the Snapshot you want to return. |
| `clusterName` | `string \| null` | No | Human-readable label that identifies the cluster with the Snapshot you want to return. |
| `copyPolicyItemsEnabled` | `boolean \| null` | No | 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` | `object[] \| null` | No | List that contains a document for each copy setting item in the desired backup policy. |
| `deleteCopiedBackups` | `object[] \| null` | No | List that contains a document for each deleted copy setting whose backup copies you want to delete. |
| `deleteCopySnapshots` | `boolean \| null` | No | 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. |
| `deleteSnapshots` | `boolean \| null` | No | Flag that indicates whether to delete Snapshots that MongoDB Cloud took previously when deleting the associated backup policy. |
| `export` | `object \| null` | No | Policy for automatically exporting Cloud Backup Snapshots. |
| `extraRetentionSettings` | `object[] \| null` | No | List that contains a document for each extra retention setting item in the desired backup policy. |
| `links` | `object[] \| null` | No | 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. |
| `nextSnapshot` | `string \| null` | No | Date and time when MongoDB Cloud takes the next Snapshot. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `policies` | `object[] \| null` | No | Rules set for this backup schedule. |
| `referenceHourOfDay` | `number \| null` | No | Hour of day in Coordinated Universal Time (UTC) that represents when MongoDB Cloud takes the Snapshot. |
| `referenceMinuteOfHour` | `number \| null` | No | Minute of the `referenceHourOfDay` that represents when MongoDB Cloud takes the Snapshot. |
| `restoreWindowDays` | `number \| null` | No | 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. |
| `updateCopySnapshots` | `boolean \| null` | No | Flag that indicates whether to apply the retention changes for updated copy policy items to Snapshot copies that MongoDB Cloud took previously. |
| `updateSnapshots` | `boolean \| null` | No | Flag that indicates whether to apply the retention changes in the updated backup policy to Snapshots that MongoDB Cloud took previously. |
| `useOrgAndGroupNamesInExportPrefix` | `boolean \| null` | No | 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. |

> [accordion] copySettings full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   copyPolicyItems?: {
>     frequencyType?: string | null,
>     id?: string | null
>   }[] | null,
>   frequencies?: string[] | null,
>   lastNumberOfSnapshots?: number | null,
>   regionName?: string | null,
>   shouldCopyOplogs?: boolean | null,
>   zoneId?: string | null
> }[] | null
> ```

> [accordion] deleteCopiedBackups full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   regionName?: string | null,
>   zoneId?: string | null
> }[] | null
> ```

> [accordion] export full type
>
> ```ts theme={null}
> {
>   exportBucketId?: string | null,
>   frequencyType?: string | null
> } | null
> ```

> [accordion] extraRetentionSettings full type
>
> ```ts theme={null}
> {
>   frequencyType?: string | null,
>   retentionDays?: number | null
> }[] | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] policies full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   policyItems?: {
>     frequencyInterval?: number | null,
>     frequencyType?: string | null,
>     id?: string | null,
>     retentionUnit?: string | null,
>     retentionValue?: number | null
>   }[] | null
> }[] | null
> ```

***

### deleteClusterBackupSnapshot

`cloudBackups.deleteClusterBackupSnapshot`

Remove One Replica Set Cloud Backup: removes the specified snapshot

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.deleteClusterBackupSnapshot({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', snapshotId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `snapshotId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the desired snapshot. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteExportBucket

`cloudBackups.deleteExportBucket`

Delete One Snapshot Export Bucket: deletes an Export Bucket

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.deleteExportBucket({ groupId: '5f43e7f0a1b2c3d4e5f60718', exportBucketId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `exportBucketId` | `string` | Yes | Unique 24-hexadecimal character string that identifies the Export Bucket. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### disableCompliancePolicy

`cloudBackups.disableCompliancePolicy`

Disable Backup Compliance Policy Settings: disables the Backup Compliance Policy settings with the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.disableCompliancePolicy({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getBackupExport

`cloudBackups.getBackupExport`

Return One Snapshot Export Job: returns one Cloud Backup Snapshot Export Job associated with the specified Atlas cluster

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.getBackupExport({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', exportId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `exportId` | `string` | Yes | Unique 24-hexadecimal character string that identifies the Export Job. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `components` | `object[] \| null` | No | Information on the export job for each replica set in the sharded cluster. |
| `createdAt` | `string \| null` | No | Date and time when a user or Atlas created the Export Job. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. |
| `customData` | `object[] \| null` | No | Collection of key-value pairs that represent custom data for the metadata file that MongoDB Cloud uploads when the Export Job finishes. |
| `exportBucketId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the Export Bucket. |
| `exportStatus` | `object \| null` | No | State of the Export Job. |
| `finishedAt` | `string \| null` | No | Date and time when this Export Job completed. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. |
| `id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the restore job. |
| `links` | `object[] \| null` | No | 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. |
| `prefix` | `string \| null` | No | Prefix used for all blob storage objects uploaded as part of the Export Job. |
| `snapshotId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the snapshot. |
| `state` | `string \| null` | No | State of the Export Job. |
| `stateReason` | `object \| null` | No | State reason of the Job. This is set when the job state is "Failed". |

> [accordion] components full type
>
> ```ts theme={null}
> {
>   exportId?: string | null,
>   replicaSetName?: string | null
> }[] | null
> ```

> [accordion] customData full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

> [accordion] exportStatus full type
>
> ```ts theme={null}
> {
>   exportedCollections?: number | null,
>   totalCollections?: number | null
> } | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] stateReason full type
>
> ```ts theme={null}
> {
>   errorCode?: string | null,
>   message?: string | null
> } | null
> ```

***

### getBackupPrivateEndpoint

`cloudBackups.getBackupPrivateEndpoint`

Return One Object Storage Private Endpoint for Cloud Backups for One Cloud Provider in One Project: returns one private endpoint, identified by its ID, for object storage backup operations

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.getBackupPrivateEndpoint({ groupId: '5f43e7f0a1b2c3d4e5f60718', cloudProvider: 'AWS', endpointId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `cloudProvider` | `AWS` | Yes | Human-readable label that identifies the cloud provider of the private endpoint. |
| `endpointId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the private endpoint. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cloudProvider` | `string \| null` | No | Human-readable label that identifies the cloud provider. |
| `errorMessage` | `string \| null` | No | Error message for failures associated with the Object Storage private endpoint. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the Private Endpoint Service. |
| `privateEndpointConnectionName` | `string \| null` | No | Connection name of the Private Endpoint. |
| `regionName` | `string \| null` | No | Cloud provider region in which the Object Storage bucket is located. For cross-region endpoints, this differs from `vpcRegionName`, which is the region in which the VPC interface endpoint is deployed. |
| `status` | `string \| null` | No | State of the Object Storage private endpoint. |
| `vpcRegionName` | `string \| null` | No | Cloud provider region in which the VPC interface endpoint is deployed. Echoes `regionName` for same-region endpoints. |

***

### getBackupRestoreJob

`cloudBackups.getBackupRestoreJob`

Return One Restore Job for One Cluster: returns one cloud backup restore job for one cluster from the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.getBackupRestoreJob({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', restoreJobId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster with the restore jobs you want to return. |
| `restoreJobId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the restore job to return. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cancelled` | `boolean \| null` | No | Flag that indicates whether someone canceled this restore job. |
| `components` | `object[] \| null` | No | Information on the restore job for each replica set in the sharded cluster. |
| `deliveryType` | `string \| null` | No | Human-readable label that categorizes the restore job to create. |
| `deliveryUrl` | `string[] \| null` | No | 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"`. |
| `desiredTimestamp` | `object \| null` | No | BSON timestamp that indicates when the checkpoint token entry in the oplog occurred. |
| `expired` | `boolean \| null` | No | Flag that indicates whether the restore job expired. |
| `expiresAt` | `string \| null` | No | Date and time when the restore job expires. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `failed` | `boolean \| null` | No | Flag that indicates whether the restore job failed. |
| `finishedAt` | `string \| null` | No | Date and time when the restore job completed. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the restore job. |
| `links` | `object[] \| null` | No | 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. |
| `oplogInc` | `number \| null` | No | 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`. |
| `oplogTs` | `number \| null` | No | 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`. |
| `pointInTimeUTCSeconds` | `number \| null` | No | 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`. |
| `privateDownloadDeliveryUrls` | `object[] \| null` | No | 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. |
| `snapshotId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the snapshot. |
| `targetClusterName` | `string \| null` | No | 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` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the target project for the specified `targetClusterName`. Required for `automated` and `pointInTime` restore types. |
| `timestamp` | `string \| null` | No | 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. |

> [accordion] components full type
>
> ```ts theme={null}
> {
>   downloadUrl?: string | null,
>   privateDownloadDeliveryUrls?: {
>     deliveryUrl?: string | null,
>     endpointId?: string | null
>   }[] | null,
>   replicaSetName?: string | null
> }[] | null
> ```

> [accordion] desiredTimestamp full type
>
> ```ts theme={null}
> {
>   date?: string | null,
>   increment?: number | null
> } | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] privateDownloadDeliveryUrls full type
>
> ```ts theme={null}
> {
>   deliveryUrl?: string | null,
>   endpointId?: string | null
> }[] | null
> ```

***

### getBackupSchedule

`cloudBackups.getBackupSchedule`

Return One Cloud Backup Schedule: returns the cloud backup schedule for the specified cluster within the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.getBackupSchedule({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `autoCopySettingsEnabled` | `boolean \| null` | No | Flag that indicates whether the copy settings are automatically managed by MongoDB Cloud and sync to the cluster topology. |
| `autoExportEnabled` | `boolean \| null` | No | Flag that indicates whether MongoDB Cloud automatically exports Cloud Backup Snapshots to the Export Bucket. |
| `clusterId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the cluster with the Snapshot you want to return. |
| `clusterName` | `string \| null` | No | Human-readable label that identifies the cluster with the Snapshot you want to return. |
| `copyPolicyItemsEnabled` | `boolean \| null` | No | 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` | `object[] \| null` | No | List that contains a document for each copy setting item in the desired backup policy. |
| `deleteCopiedBackups` | `object[] \| null` | No | List that contains a document for each deleted copy setting whose backup copies you want to delete. |
| `deleteCopySnapshots` | `boolean \| null` | No | 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. |
| `deleteSnapshots` | `boolean \| null` | No | Flag that indicates whether to delete Snapshots that MongoDB Cloud took previously when deleting the associated backup policy. |
| `export` | `object \| null` | No | Policy for automatically exporting Cloud Backup Snapshots. |
| `extraRetentionSettings` | `object[] \| null` | No | List that contains a document for each extra retention setting item in the desired backup policy. |
| `links` | `object[] \| null` | No | 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. |
| `nextSnapshot` | `string \| null` | No | Date and time when MongoDB Cloud takes the next Snapshot. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `policies` | `object[] \| null` | No | Rules set for this backup schedule. |
| `referenceHourOfDay` | `number \| null` | No | Hour of day in Coordinated Universal Time (UTC) that represents when MongoDB Cloud takes the Snapshot. |
| `referenceMinuteOfHour` | `number \| null` | No | Minute of the `referenceHourOfDay` that represents when MongoDB Cloud takes the Snapshot. |
| `restoreWindowDays` | `number \| null` | No | 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. |
| `updateCopySnapshots` | `boolean \| null` | No | Flag that indicates whether to apply the retention changes for updated copy policy items to Snapshot copies that MongoDB Cloud took previously. |
| `updateSnapshots` | `boolean \| null` | No | Flag that indicates whether to apply the retention changes in the updated backup policy to Snapshots that MongoDB Cloud took previously. |
| `useOrgAndGroupNamesInExportPrefix` | `boolean \| null` | No | 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. |

> [accordion] copySettings full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   copyPolicyItems?: {
>     frequencyType?: string | null,
>     id?: string | null
>   }[] | null,
>   frequencies?: string[] | null,
>   lastNumberOfSnapshots?: number | null,
>   regionName?: string | null,
>   shouldCopyOplogs?: boolean | null,
>   zoneId?: string | null
> }[] | null
> ```

> [accordion] deleteCopiedBackups full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   regionName?: string | null,
>   zoneId?: string | null
> }[] | null
> ```

> [accordion] export full type
>
> ```ts theme={null}
> {
>   exportBucketId?: string | null,
>   frequencyType?: string | null
> } | null
> ```

> [accordion] extraRetentionSettings full type
>
> ```ts theme={null}
> {
>   frequencyType?: string | null,
>   retentionDays?: number | null
> }[] | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] policies full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   policyItems?: {
>     frequencyInterval?: number | null,
>     frequencyType?: string | null,
>     id?: string | null,
>     retentionUnit?: string | null,
>     retentionValue?: number | null
>   }[] | null
> }[] | null
> ```

***

### getBackupShardedCluster

`cloudBackups.getBackupShardedCluster`

Return One Sharded Cluster Cloud Backup: returns one snapshot of one sharded cluster from the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.getBackupShardedCluster({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', snapshotId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `snapshotId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the desired snapshot. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `configServerType` | `string \| null` | No | Describes a sharded cluster's config server type. |
| `createdAt` | `string \| null` | No | Date and time when MongoDB Cloud took the snapshot. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `description` | `string \| null` | No | Human-readable phrase or sentence that explains the purpose of the snapshot. The resource returns this parameter when `"status": "onDemand"`. |
| `expiresAt` | `string \| null` | No | Date and time when MongoDB Cloud deletes the snapshot. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `frequencyType` | `string \| null` | No | Human-readable label that identifies how often this snapshot triggers. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the snapshot. |
| `links` | `object[] \| null` | No | 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. |
| `masterKeyUUID` | `string \| null` | No | 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`. |
| `members` | `object[] \| null` | No | List that includes the snapshots and the cloud provider that stores the snapshots. The resource returns this parameter when `"type" : "SHARDED_CLUSTER"`. |
| `mongodVersion` | `string \| null` | No | Version of the MongoDB host that this snapshot backs up. |
| `policyItems` | `string[] \| null` | No | List that contains unique identifiers for the policy items. |
| `snapshotIds` | `string[] \| null` | No | 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. |
| `snapshotType` | `string \| null` | No | Human-readable label that identifies when this snapshot triggers. |
| `status` | `string \| null` | No | Human-readable label that indicates the stage of the backup process for this snapshot. |
| `storageSizeBytes` | `number \| null` | No | Number of bytes taken to store the backup at time of snapshot. |
| `type` | `string \| null` | No | Human-readable label that categorizes the cluster as a replica set or sharded cluster. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] members full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   id?: string | null,
>   replicaSetName?: string | null
> }[] | null
> ```

***

### getBackupSnapshotDatabase

`cloudBackups.getBackupSnapshotDatabase`

Return One Database in One Snapshot: returns one database that exists in the specified snapshot

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.getBackupSnapshotDatabase({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	snapshotId: '5f43e7f0a1b2c3d4e5f60718',
	databaseName: 'sample_mflix',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `snapshotId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the desired snapshot. |
| `databaseName` | `string` | Yes | Human-readable label that identifies the database. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable label that identifies the database within the snapshot. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getClusterBackupSnapshot

`cloudBackups.getClusterBackupSnapshot`

Return One Replica Set Cloud Backup: returns one snapshot from the specified cluster

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.getClusterBackupSnapshot({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', snapshotId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `snapshotId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the desired snapshot. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cloudProvider` | `string \| null` | No | Human-readable label that identifies the cloud provider. |
| `copyRegions` | `string[] \| null` | No | List that identifies the regions to which MongoDB Cloud copies the snapshot. |
| `createdAt` | `string \| null` | No | Date and time when MongoDB Cloud took the snapshot. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `description` | `string \| null` | No | Human-readable phrase or sentence that explains the purpose of the snapshot. The resource returns this parameter when `"status": "onDemand"`. |
| `expiresAt` | `string \| null` | No | Date and time when MongoDB Cloud deletes the snapshot. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `frequencyType` | `string \| null` | No | Human-readable label that identifies how often this snapshot triggers. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the snapshot. |
| `links` | `object[] \| null` | No | 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. |
| `masterKeyUUID` | `string \| null` | No | 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`. |
| `mongodVersion` | `string \| null` | No | Version of the MongoDB host that this snapshot backs up. |
| `policyItems` | `string[] \| null` | No | List that contains unique identifiers for the policy items. |
| `replicaSetName` | `string \| null` | No | Human-readable label that identifies the replica set from which MongoDB Cloud took this snapshot. The resource returns this parameter when `"type": "replicaSet"`. |
| `snapshotType` | `string \| null` | No | Human-readable label that identifies when this snapshot triggers. |
| `status` | `string \| null` | No | Human-readable label that indicates the stage of the backup process for this snapshot. |
| `storageSizeBytes` | `number \| null` | No | Number of bytes taken to store the backup at time of snapshot. |
| `type` | `string \| null` | No | Human-readable label that categorizes the cluster as a replica set or sharded cluster. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getCollectionRestoreJob

`cloudBackups.getCollectionRestoreJob`

Return One Collection Restore Job for One Cluster: returns one collection restore job for one cluster from the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.getCollectionRestoreJob({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', jobId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster with the collection restore jobs you want to return. |
| `jobId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the collection restore job to return. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `collectionSuffix` | `string \| null` | No | Suffix applied to restored collection names. |
| `collections` | `object[] \| null` | No | List of collections in the restore scope (up to 100 items). |
| `createdAt` | `string \| null` | No | Date and time when the restore job was created (ISO 8601 format in UTC). |
| `databaseSuffix` | `string \| null` | No | Suffix applied to restored database names. |
| `databases` | `object[] \| null` | No | List of databases in the restore scope (up to 100 items). |
| `errorMessage` | `string \| null` | No | Error message when the job has failed or been canceled. |
| `finishedAt` | `string \| null` | No | Date and time when the restore job finished (ISO 8601 format in UTC). |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the collection restore job. |
| `indexStatus` | `object \| null` | No | Overall index build status for a collection restore job. |
| `indexStrategy` | `string \| null` | No | Strategy for restoring indexes (all, none, or all except TTL). |
| `oplogInc` | `number \| null` | No | Oplog increment for point-in-time restore. |
| `oplogTs` | `number \| null` | No | Oplog timestamp (seconds part) for point-in-time restore. |
| `pointInTimeUtcSeconds` | `number \| null` | No | Point-in-time restore time in seconds since UNIX epoch. |
| `restoredDocuments` | `number \| null` | No | Number of documents restored so far across all supported collections. |
| `snapshotId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the snapshot being restored. |
| `state` | `string \| null` | No | Current state of the collection restore job. A `SUCCESSFUL` job can include individual `UNSUPPORTED` collection restores. Use the restore job collections endpoint to get per-collection detailed states. |
| `targetClusterName` | `string \| null` | No | Human-readable label that identifies the target cluster. |
| `targetGroupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the target group. |
| `totalDocuments` | `number \| null` | No | Total number of documents across all supported collections in the restore job. This value may initially reflect an estimate based on collection metadata and can change as accurate document counts become available during the restore. |
| `writeStrategy` | `string \| null` | No | Strategy for writing data on the target (create as new or overwrite existing). With `OVERWRITE_EXISTING`, any writes to the affected databases or collections during the restore will be lost when the existing namespaces are dropped and replaced. To avoid data loss, stop writes to the affected namespaces before starting the restore. |

> [accordion] collections full type
>
> ```ts theme={null}
> {
>   sourceNamespace?: string | null,
>   targetNamespace?: string | null
> }[] | null
> ```

> [accordion] databases full type
>
> ```ts theme={null}
> {
>   sourceNamespace?: string | null,
>   targetNamespace?: string | null
> }[] | null
> ```

> [accordion] indexStatus full type
>
> ```ts theme={null}
> {
>   failedCollectionCount?: number | null,
>   state?: string | null
> } | null
> ```

***

### getCompliancePolicy

`cloudBackups.getCompliancePolicy`

Return Backup Compliance Policy Settings: returns the Backup Compliance Policy settings with the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.getCompliancePolicy({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `authorizedEmail` | `string \| null` | No | Email address of the user who authorized to update the Backup Compliance Policy settings. |
| `authorizedUserFirstName` | `string \| null` | No | First name of the user who authorized to updated the Backup Compliance Policy settings. |
| `authorizedUserLastName` | `string \| null` | No | Last name of the user who authorized to updated the Backup Compliance Policy settings. |
| `copyProtectionEnabled` | `boolean \| null` | No | 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. |
| `deletable` | `boolean \| null` | No | 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. |
| `encryptionAtRestEnabled` | `boolean \| null` | No | 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. |
| `onDemandPolicyItem` | `object \| null` | No | Specifications for on-demand policy. |
| `pitEnabled` | `boolean \| null` | No | Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false. |
| `projectId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the project for the Backup Compliance Policy. |
| `restoreWindowDays` | `number \| null` | No | 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. |
| `scheduledPolicyItems` | `object[] \| null` | No | List that contains the specifications for one scheduled policy. |
| `state` | `string \| null` | No | 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. |
| `updatedDate` | `string \| null` | No | 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. |
| `updatedUser` | `string \| null` | No | 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. |

> [accordion] onDemandPolicyItem full type
>
> ```ts theme={null}
> {
>   frequencyInterval?: number | null,
>   frequencyType?: string | null,
>   id?: string | null,
>   retentionUnit?: string | null,
>   retentionValue?: number | null
> } | null
> ```

> [accordion] scheduledPolicyItems full type
>
> ```ts theme={null}
> {
>   frequencyInterval?: number | null,
>   frequencyType?: string | null,
>   id?: string | null,
>   retentionUnit?: string | null,
>   retentionValue?: number | null
> }[] | null
> ```

***

### getExportBucket

`cloudBackups.getExportBucket`

Return One Snapshot Export Bucket: returns one Export Bucket associated with the specified Project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.getExportBucket({ groupId: '5f43e7f0a1b2c3d4e5f60718', exportBucketId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `exportBucketId` | `string` | Yes | Unique 24-hexadecimal character string that identifies the Export Bucket. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the Export Bucket. |
| `bucketName` | `string \| null` | No | The name of the AWS S3 Bucket, Azure Storage Container, or Google Cloud Storage Bucket that Snapshots are exported to. |
| `cloudProvider` | `string \| null` | No | Human-readable label that identifies the cloud provider. |
| `links` | `object[] \| null` | No | 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. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getRestoreJobCollection

`cloudBackups.getRestoreJobCollection`

Return One Collection State for One Collection Restore Job: returns one collection-level restore state for one collection restore job from the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.getRestoreJobCollection({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	jobId: '5f43e7f0a1b2c3d4e5f60718',
	sourceNamespace: 'example',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster with the collection restore job you want to return. |
| `jobId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the collection restore job. |
| `sourceNamespace` | `string` | Yes | Source namespace that identifies the collection to return (e.g. `db.collection`). |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `effectiveTargetNamespace` | `string \| null` | No | Actual target namespace after restore (e.g. after conflict rename). |
| `indexStatus` | `object \| null` | No | Index build status for a collection within a restore job. |
| `restoredDocuments` | `number \| null` | No | Number of documents restored so far. |
| `sourceNamespace` | `string \| null` | No | Source namespace that was requested to restore. |
| `state` | `string \| null` | No | Current state of this collection within the restore job. |
| `targetNamespace` | `string \| null` | No | Requested target namespace for the restored collection. |
| `totalDocuments` | `number \| null` | No | Total document count for this collection. |

> [accordion] indexStatus full type
>
> ```ts theme={null}
> {
>   errorMessage?: string | null,
>   failedIndexes?: {
>   }[] | null,
>   state?: string | null
> } | null
> ```

***

### getSnapshotDatabaseCollection

`cloudBackups.getSnapshotDatabaseCollection`

Return One Collection in One Database in One Snapshot: returns one collection that exists in the specified database in the snapshot

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.getSnapshotDatabaseCollection({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	snapshotId: '5f43e7f0a1b2c3d4e5f60718',
	databaseName: 'sample_mflix',
	collectionName: 'movies',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `snapshotId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the desired snapshot. |
| `databaseName` | `string` | Yes | Human-readable label that identifies the database. |
| `collectionName` | `string` | Yes | Human-readable label that identifies the collection. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable label that identifies the collection in the database within the snapshot. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### listBackupExports

`cloudBackups.listBackupExports`

Return All Snapshot Export Jobs: returns all Cloud Backup Snapshot Export Jobs associated with the specified Atlas cluster (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.listBackupExports({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   components?: {
>     exportId?: string | null,
>     replicaSetName?: string | null
>   }[] | null,
>   createdAt?: string | null,
>   customData?: {
>     key?: string | null,
>     value?: string | null
>   }[] | null,
>   exportBucketId?: string | null,
>   exportStatus?: {
>     exportedCollections?: number | null,
>     totalCollections?: number | null
>   } | null,
>   finishedAt?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   prefix?: string | null,
>   snapshotId?: string | null,
>   state?: string | null,
>   stateReason?: {
>     errorCode?: string | null,
>     message?: string | null
>   } | null
> }[] | null
> ```

***

### listBackupPrivateEndpoints

`cloudBackups.listBackupPrivateEndpoints`

Return Object Storage Private Endpoints for Cloud Backups for One Cloud Provider in One Project: returns the private endpoints of the specified cloud provider for object storage backup operations (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.listBackupPrivateEndpoints({ groupId: '5f43e7f0a1b2c3d4e5f60718', cloudProvider: 'AWS' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `cloudProvider` | `AWS` | Yes | Human-readable label that identifies the cloud provider for the private endpoints to return. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   errorMessage?: string | null,
>   id?: string | null,
>   privateEndpointConnectionName?: string | null,
>   regionName?: string | null,
>   status?: string | null,
>   vpcRegionName?: string | null
> }[] | null
> ```

***

### listBackupRestoreJobs

`cloudBackups.listBackupRestoreJobs`

Return All Restore Jobs for One Cluster: returns all cloud backup restore jobs for one cluster from the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.listBackupRestoreJobs({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster with the restore jobs you want to return. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   cancelled?: boolean | null,
>   components?: {
>     downloadUrl?: string | null,
>     privateDownloadDeliveryUrls?: {
>       deliveryUrl?: string | null,
>       endpointId?: string | null
>     }[] | null,
>     replicaSetName?: string | null
>   }[] | null,
>   deliveryType?: string | null,
>   deliveryUrl?: string[] | null,
>   desiredTimestamp?: {
>     date?: string | null,
>     increment?: number | null
>   } | null,
>   expired?: boolean | null,
>   expiresAt?: string | null,
>   failed?: boolean | null,
>   finishedAt?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   oplogInc?: number | null,
>   oplogTs?: number | null,
>   pointInTimeUTCSeconds?: number | null,
>   privateDownloadDeliveryUrls?: {
>     deliveryUrl?: string | null,
>     endpointId?: string | null
>   }[] | null,
>   snapshotId?: string | null,
>   targetClusterName?: string | null,
>   targetGroupId?: string | null,
>   timestamp?: string | null
> }[] | null
> ```

***

### listBackupShardedClusters

`cloudBackups.listBackupShardedClusters`

Return All Sharded Cluster Cloud Backups: returns all snapshots of one sharded cluster from the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.listBackupShardedClusters({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   configServerType?: string | null,
>   createdAt?: string | null,
>   description?: string | null,
>   expiresAt?: string | null,
>   frequencyType?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   masterKeyUUID?: string | null,
>   members?: {
>     cloudProvider?: string | null,
>     id?: string | null,
>     replicaSetName?: string | null
>   }[] | null,
>   mongodVersion?: string | null,
>   policyItems?: string[] | null,
>   snapshotIds?: string[] | null,
>   snapshotType?: string | null,
>   status?: string | null,
>   storageSizeBytes?: number | null,
>   type?: string | null
> }[] | null
> ```

***

### listBackupSnapshotDatabases

`cloudBackups.listBackupSnapshotDatabases`

Return Databases in One Snapshot: returns the list of databases that exist in the specified snapshot (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.listBackupSnapshotDatabases({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', snapshotId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `snapshotId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the desired snapshot. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   name?: string | null
> }[] | null
> ```

***

### listBackupSnapshots

`cloudBackups.listBackupSnapshots`

Return All Replica Set Cloud Backups: returns all snapshots of one cluster from the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.listBackupSnapshots({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `pointInTimeUtcSeconds` | `number` | No | Desired point in time, expressed as the number of seconds that have elapsed since the UNIX epoch. If specified, returns the closest snapshot created before that point in time. Mutually exclusive with `oplogTs` and `oplogInc`. |
| `oplogTs` | `number` | No | Oplog timestamp that represents the desired point in time. This is the first part of an Oplog timestamp. Must be used with `oplogInc`. Mutually exclusive with `pointInTimeUtcSeconds`. |
| `oplogInc` | `number` | No | Oplog operation number that represents the desired point in time. This is the second part of an Oplog timestamp. Must be used with `oplogTs`. Mutually exclusive with `pointInTimeUtcSeconds`. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   copyRegions?: string[] | null,
>   createdAt?: string | null,
>   description?: string | null,
>   expiresAt?: string | null,
>   frequencyType?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   masterKeyUUID?: string | null,
>   mongodVersion?: string | null,
>   policyItems?: string[] | null,
>   replicaSetName?: string | null,
>   snapshotType?: string | null,
>   status?: string | null,
>   storageSizeBytes?: number | null,
>   type?: string | null
> }[] | null
> ```

***

### listCollectionRestoreJobs

`cloudBackups.listCollectionRestoreJobs`

Return All Collection Restore Jobs for One Cluster: returns all collection restore jobs for one cluster from the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.listCollectionRestoreJobs({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster with the collection restore jobs you want to return. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   collectionSuffix?: string | null,
>   collections?: {
>     sourceNamespace?: string | null,
>     targetNamespace?: string | null
>   }[] | null,
>   createdAt?: string | null,
>   databaseSuffix?: string | null,
>   databases?: {
>     sourceNamespace?: string | null,
>     targetNamespace?: string | null
>   }[] | null,
>   errorMessage?: string | null,
>   finishedAt?: string | null,
>   id?: string | null,
>   indexStatus?: {
>     failedCollectionCount?: number | null,
>     state?: string | null
>   } | null,
>   indexStrategy?: string | null,
>   oplogInc?: number | null,
>   oplogTs?: number | null,
>   pointInTimeUtcSeconds?: number | null,
>   restoredDocuments?: number | null,
>   snapshotId?: string | null,
>   state?: string | null,
>   targetClusterName?: string | null,
>   targetGroupId?: string | null,
>   totalDocuments?: number | null,
>   writeStrategy?: string | null
> }[] | null
> ```

***

### listExportBuckets

`cloudBackups.listExportBuckets`

Return All Snapshot Export Buckets: returns all Export Buckets associated with the specified Project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.listExportBuckets({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   _id?: string | null,
>   bucketName?: string | null,
>   cloudProvider?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null
> }[] | null
> ```

***

### listRestoreJobCollections

`cloudBackups.listRestoreJobCollections`

Return All Collection States for One Collection Restore Job: returns all collection-level restore states for one collection restore job from the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.listRestoreJobCollections({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', jobId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster with the collection restore job you want to return. |
| `jobId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the collection restore job. |
| `state` | `NOT_STARTED \| IN_PROGRESS \| FINALIZING \| NOT_FOUND \| UNSUPPORTED \| SUCCESSFUL \| ROLLBACK \| NOT_RESTORED \| FAILED` | No | Collection-level state to filter by. |
| `sourceNamespace` | `string` | No | Source namespace to filter by (e.g. `db.collection`). |
| `targetNamespace` | `string` | No | Target namespace to filter by (e.g. `db.collection`). |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   effectiveTargetNamespace?: string | null,
>   indexStatus?: {
>     errorMessage?: string | null,
>     failedIndexes?: {
>     }[] | null,
>     state?: string | null
>   } | null,
>   restoredDocuments?: number | null,
>   sourceNamespace?: string | null,
>   state?: string | null,
>   targetNamespace?: string | null,
>   totalDocuments?: number | null
> }[] | null
> ```

***

### listSnapshotDatabaseCollections

`cloudBackups.listSnapshotDatabaseCollections`

Return Collections in One Database in One Snapshot: returns the list of collections in the specified database that exist in the snapshot (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.listSnapshotDatabaseCollections({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	snapshotId: '5f43e7f0a1b2c3d4e5f60718',
	databaseName: 'sample_mflix',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `snapshotId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the desired snapshot. |
| `databaseName` | `string` | Yes | Human-readable label that identifies the database. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   name?: string | null
> }[] | null
> ```

***

### takeSnapshots

`cloudBackups.takeSnapshots`

Take One On-Demand Snapshot: takes one on-demand snapshot for the specified cluster

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.takeSnapshots({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `description` | `string` | No | Human-readable phrase or sentence that explains the purpose of the snapshot. The resource returns this parameter when `"status" : "onDemand"`. |
| `retentionInDays` | `number` | No | Number of days that MongoDB Cloud should retain the on-demand snapshot. Must be at least **1**. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdAt` | `string \| null` | No | Date and time when MongoDB Cloud took the snapshot. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `description` | `string \| null` | No | Human-readable phrase or sentence that explains the purpose of the snapshot. The resource returns this parameter when `"status": "onDemand"`. |
| `expiresAt` | `string \| null` | No | Date and time when MongoDB Cloud deletes the snapshot. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `frequencyType` | `string \| null` | No | Human-readable label that identifies how often this snapshot triggers. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the snapshot. |
| `links` | `object[] \| null` | No | 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. |
| `masterKeyUUID` | `string \| null` | No | 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`. |
| `mongodVersion` | `string \| null` | No | Version of the MongoDB host that this snapshot backs up. |
| `policyItems` | `string[] \| null` | No | List that contains unique identifiers for the policy items. |
| `snapshotType` | `string \| null` | No | Human-readable label that identifies when this snapshot triggers. |
| `status` | `string \| null` | No | Human-readable label that indicates the stage of the backup process for this snapshot. |
| `storageSizeBytes` | `number \| null` | No | Number of bytes taken to store the backup at time of snapshot. |
| `type` | `string \| null` | No | Human-readable label that categorizes the cluster as a replica set or sharded cluster. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### updateBackupExportBucket

`cloudBackups.updateBackupExportBucket`

Update One Export Bucket Private Networking Settings: updates the private networking settings for one snapshot export bucket in the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.updateBackupExportBucket({ groupId: '5f43e7f0a1b2c3d4e5f60718', exportBucketId: '5f43e7f0a1b2c3d4e5f60718', requirePrivateNetworking: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `exportBucketId` | `string` | Yes | Unique 24-hexadecimal character string that identifies the snapshot export bucket. |
| `requirePrivateNetworking` | `boolean` | Yes | True to require private networking; false to disable it. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the Export Bucket. |
| `bucketName` | `string \| null` | No | The name of the AWS S3 Bucket, Azure Storage Container, or Google Cloud Storage Bucket that Snapshots are exported to. |
| `cloudProvider` | `string \| null` | No | Human-readable label that identifies the cloud provider. |
| `iamRoleId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the Unified AWS Access role ID that MongoDB Cloud uses to access the AWS S3 bucket. |
| `links` | `object[] \| null` | No | 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. |
| `region` | `string \| null` | No | AWS region for the export bucket. This is set by Atlas and is never user-supplied. |
| `requirePrivateNetworking` | `boolean \| null` | No | Indicates whether to use private link. User supplied. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### updateBackupSchedule

`cloudBackups.updateBackupSchedule`

Update Cloud Backup Schedule for One Cluster: updates the cloud backup schedule for one cluster within the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.updateBackupSchedule({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	policies: [{
		policyItems: [{
			frequencyInterval: 1,
			frequencyType: 'daily',
			retentionUnit: 'days',
			retentionValue: 1,
		}],
	}],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `autoCopySettingsEnabled` | `boolean` | No | Flag that indicates whether the copy settings are automatically managed by MongoDB Cloud and sync to the cluster topology. |
| `autoExportEnabled` | `boolean` | No | Flag that indicates whether MongoDB Cloud automatically exports Cloud Backup Snapshots to the Export Bucket. |
| `copyPolicyItemsEnabled` | `boolean` | No | 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` | `object[]` | No | List that contains a document for each copy setting item in the desired backup policy. |
| `deleteCopiedBackups` | `object[]` | No | List that contains a document for each deleted copy setting whose backup copies you want to delete. |
| `deleteCopySnapshots` | `boolean` | No | 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. |
| `deleteSnapshots` | `boolean` | No | Flag that indicates whether to delete Snapshots that MongoDB Cloud took previously when deleting the associated backup policy. |
| `export` | `object` | No | Policy for automatically exporting Cloud Backup Snapshots. |
| `extraRetentionSettings` | `object[]` | No | List that contains a document for each extra retention setting item in the desired backup policy. |
| `policies` | `object[]` | Yes | Rules set for this backup schedule. |
| `referenceHourOfDay` | `number` | No | Hour of day in Coordinated Universal Time (UTC) that represents when MongoDB Cloud takes the Snapshot. |
| `referenceMinuteOfHour` | `number` | No | Minute of the `referenceHourOfDay` that represents when MongoDB Cloud takes the Snapshot. |
| `restoreWindowDays` | `number` | No | 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. |
| `updateCopySnapshots` | `boolean` | No | Flag that indicates whether to apply the retention changes for updated copy policy items to Snapshot copies that MongoDB Cloud took previously. |
| `updateSnapshots` | `boolean` | No | Flag that indicates whether to apply the retention changes in the updated backup policy to Snapshots that MongoDB Cloud took previously. |
| `useOrgAndGroupNamesInExportPrefix` | `boolean` | No | 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. |

> [accordion] copySettings full type
>
> ```ts theme={null}
> {
>   cloudProvider?: AWS | AZURE | GCP,
>   copyPolicyItems?: {
>     frequencyType: daily | hourly | weekly | monthly | yearly | ondemand
>   }[],
>   frequencies?: (HOURLY | DAILY | WEEKLY | MONTHLY | YEARLY | ON_DEMAND)[],
>   lastNumberOfSnapshots?: number,
>   regionName?: string,
>   shouldCopyOplogs?: boolean,
>   zoneId: string
> }[]
> ```

> [accordion] deleteCopiedBackups full type
>
> ```ts theme={null}
> {
>   cloudProvider?: AWS | AZURE | GCP,
>   regionName?: string,
>   zoneId?: string
> }[]
> ```

> [accordion] export full type
>
> ```ts theme={null}
> {
>   exportBucketId?: string,
>   frequencyType?: monthly | yearly
> }
> ```

> [accordion] extraRetentionSettings full type
>
> ```ts theme={null}
> {
>   frequencyType?: HOURLY | DAILY | WEEKLY | MONTHLY | YEARLY | ON_DEMAND,
>   retentionDays?: number
> }[]
> ```

> [accordion] policies full type
>
> ```ts theme={null}
> {
>   id?: string,
>   policyItems: {
>     frequencyInterval: 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,
>     frequencyType: daily | hourly | weekly | monthly | yearly | ondemand,
>     retentionUnit: days | weeks | months | years,
>     retentionValue: number
>   }[]
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `autoCopySettingsEnabled` | `boolean \| null` | No | Flag that indicates whether the copy settings are automatically managed by MongoDB Cloud and sync to the cluster topology. |
| `autoExportEnabled` | `boolean \| null` | No | Flag that indicates whether MongoDB Cloud automatically exports Cloud Backup Snapshots to the Export Bucket. |
| `clusterId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the cluster with the Snapshot you want to return. |
| `clusterName` | `string \| null` | No | Human-readable label that identifies the cluster with the Snapshot you want to return. |
| `copyPolicyItemsEnabled` | `boolean \| null` | No | 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` | `object[] \| null` | No | List that contains a document for each copy setting item in the desired backup policy. |
| `deleteCopiedBackups` | `object[] \| null` | No | List that contains a document for each deleted copy setting whose backup copies you want to delete. |
| `deleteCopySnapshots` | `boolean \| null` | No | 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. |
| `deleteSnapshots` | `boolean \| null` | No | Flag that indicates whether to delete Snapshots that MongoDB Cloud took previously when deleting the associated backup policy. |
| `export` | `object \| null` | No | Policy for automatically exporting Cloud Backup Snapshots. |
| `extraRetentionSettings` | `object[] \| null` | No | List that contains a document for each extra retention setting item in the desired backup policy. |
| `links` | `object[] \| null` | No | 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. |
| `nextSnapshot` | `string \| null` | No | Date and time when MongoDB Cloud takes the next Snapshot. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `policies` | `object[] \| null` | No | Rules set for this backup schedule. |
| `referenceHourOfDay` | `number \| null` | No | Hour of day in Coordinated Universal Time (UTC) that represents when MongoDB Cloud takes the Snapshot. |
| `referenceMinuteOfHour` | `number \| null` | No | Minute of the `referenceHourOfDay` that represents when MongoDB Cloud takes the Snapshot. |
| `restoreWindowDays` | `number \| null` | No | 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. |
| `updateCopySnapshots` | `boolean \| null` | No | Flag that indicates whether to apply the retention changes for updated copy policy items to Snapshot copies that MongoDB Cloud took previously. |
| `updateSnapshots` | `boolean \| null` | No | Flag that indicates whether to apply the retention changes in the updated backup policy to Snapshots that MongoDB Cloud took previously. |
| `useOrgAndGroupNamesInExportPrefix` | `boolean \| null` | No | 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. |

> [accordion] copySettings full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   copyPolicyItems?: {
>     frequencyType?: string | null,
>     id?: string | null
>   }[] | null,
>   frequencies?: string[] | null,
>   lastNumberOfSnapshots?: number | null,
>   regionName?: string | null,
>   shouldCopyOplogs?: boolean | null,
>   zoneId?: string | null
> }[] | null
> ```

> [accordion] deleteCopiedBackups full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   regionName?: string | null,
>   zoneId?: string | null
> }[] | null
> ```

> [accordion] export full type
>
> ```ts theme={null}
> {
>   exportBucketId?: string | null,
>   frequencyType?: string | null
> } | null
> ```

> [accordion] extraRetentionSettings full type
>
> ```ts theme={null}
> {
>   frequencyType?: string | null,
>   retentionDays?: number | null
> }[] | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] policies full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   policyItems?: {
>     frequencyInterval?: number | null,
>     frequencyType?: string | null,
>     id?: string | null,
>     retentionUnit?: string | null,
>     retentionValue?: number | null
>   }[] | null
> }[] | null
> ```

***

### updateBackupSnapshot

`cloudBackups.updateBackupSnapshot`

Update Expiration Date for One Cloud Backup: 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

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.updateBackupSnapshot({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	snapshotId: '5f43e7f0a1b2c3d4e5f60718',
	retentionUnit: 'DAYS',
	retentionValue: 1,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `snapshotId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the desired snapshot. |
| `retentionUnit` | `DAYS \| WEEKS \| MONTHS \| YEARS` | Yes | Quantity of time in which MongoDB Cloud measures snapshot retention. |
| `retentionValue` | `number` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cloudProvider` | `string \| null` | No | Human-readable label that identifies the cloud provider. |
| `copyRegions` | `string[] \| null` | No | List that identifies the regions to which MongoDB Cloud copies the snapshot. |
| `createdAt` | `string \| null` | No | Date and time when MongoDB Cloud took the snapshot. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `description` | `string \| null` | No | Human-readable phrase or sentence that explains the purpose of the snapshot. The resource returns this parameter when `"status": "onDemand"`. |
| `expiresAt` | `string \| null` | No | Date and time when MongoDB Cloud deletes the snapshot. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `frequencyType` | `string \| null` | No | Human-readable label that identifies how often this snapshot triggers. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the snapshot. |
| `links` | `object[] \| null` | No | 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. |
| `masterKeyUUID` | `string \| null` | No | 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`. |
| `mongodVersion` | `string \| null` | No | Version of the MongoDB host that this snapshot backs up. |
| `policyItems` | `string[] \| null` | No | List that contains unique identifiers for the policy items. |
| `replicaSetName` | `string \| null` | No | Human-readable label that identifies the replica set from which MongoDB Cloud took this snapshot. The resource returns this parameter when `"type": "replicaSet"`. |
| `snapshotType` | `string \| null` | No | Human-readable label that identifies when this snapshot triggers. |
| `status` | `string \| null` | No | Human-readable label that indicates the stage of the backup process for this snapshot. |
| `storageSizeBytes` | `number \| null` | No | Number of bytes taken to store the backup at time of snapshot. |
| `type` | `string \| null` | No | Human-readable label that categorizes the cluster as a replica set or sharded cluster. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### updateCompliancePolicy

`cloudBackups.updateCompliancePolicy`

Update Backup Compliance Policy Settings: updates the Backup Compliance Policy settings for the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.cloudBackups.updateCompliancePolicy({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	authorizedEmail: 'ada@example.com',
	authorizedUserFirstName: 'example',
	authorizedUserLastName: 'example',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `overwriteBackupPolicies` | `boolean` | No | Flag that indicates whether to overwrite non complying backup policies with the new data protection settings or not. |
| `authorizedEmail` | `string` | Yes | Email address of the user who authorized to update the Backup Compliance Policy settings. |
| `authorizedUserFirstName` | `string` | Yes | First name of the user who authorized to updated the Backup Compliance Policy settings. |
| `authorizedUserLastName` | `string` | Yes | Last name of the user who authorized to updated the Backup Compliance Policy settings. |
| `copyProtectionEnabled` | `boolean` | No | 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. |
| `encryptionAtRestEnabled` | `boolean` | No | 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. |
| `onDemandPolicyItem` | `object` | No | Specifications for on-demand policy. |
| `pitEnabled` | `boolean` | No | Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false. |
| `projectId` | `string` | No | Unique 24-hexadecimal digit string that identifies the project for the Backup Compliance Policy. |
| `restoreWindowDays` | `number` | No | 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. |
| `scheduledPolicyItems` | `object[]` | No | List that contains the specifications for one scheduled policy. |

> [accordion] onDemandPolicyItem full type
>
> ```ts theme={null}
> {
>   frequencyInterval: 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,
>   frequencyType: ondemand,
>   retentionUnit: days | weeks | months | years,
>   retentionValue: number
> }
> ```

> [accordion] scheduledPolicyItems full type
>
> ```ts theme={null}
> {
>   frequencyInterval: 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,
>   frequencyType: daily | hourly | weekly | monthly | yearly,
>   retentionUnit: days | weeks | months | years,
>   retentionValue: number
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `authorizedEmail` | `string \| null` | No | Email address of the user who authorized to update the Backup Compliance Policy settings. |
| `authorizedUserFirstName` | `string \| null` | No | First name of the user who authorized to updated the Backup Compliance Policy settings. |
| `authorizedUserLastName` | `string \| null` | No | Last name of the user who authorized to updated the Backup Compliance Policy settings. |
| `copyProtectionEnabled` | `boolean \| null` | No | 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. |
| `deletable` | `boolean \| null` | No | 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. |
| `encryptionAtRestEnabled` | `boolean \| null` | No | 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. |
| `onDemandPolicyItem` | `object \| null` | No | Specifications for on-demand policy. |
| `pitEnabled` | `boolean \| null` | No | Flag that indicates whether the cluster uses Continuous Cloud Backups with a Backup Compliance Policy. If unspecified, this value defaults to false. |
| `projectId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the project for the Backup Compliance Policy. |
| `restoreWindowDays` | `number \| null` | No | 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. |
| `scheduledPolicyItems` | `object[] \| null` | No | List that contains the specifications for one scheduled policy. |
| `state` | `string \| null` | No | 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. |
| `updatedDate` | `string \| null` | No | 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. |
| `updatedUser` | `string \| null` | No | 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. |

> [accordion] onDemandPolicyItem full type
>
> ```ts theme={null}
> {
>   frequencyInterval?: number | null,
>   frequencyType?: string | null,
>   id?: string | null,
>   retentionUnit?: string | null,
>   retentionValue?: number | null
> } | null
> ```

> [accordion] scheduledPolicyItems full type
>
> ```ts theme={null}
> {
>   frequencyInterval?: number | null,
>   frequencyType?: string | null,
>   id?: string | null,
>   retentionUnit?: string | null,
>   retentionValue?: number | null
> }[] | null
> ```

***

## Cloud Migration Service

### createGroupLiveMigration

`cloudMigrationService.createGroupLiveMigration`

Create One Migration for One Local Managed Cluster to MongoDB Atlas: migrate one cluster that Cloud or Ops Manager manages to MongoDB Atlas

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.cloudMigrationService.createGroupLiveMigration({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	destination: { clusterName: 'Cluster0', groupId: '5f43e7f0a1b2c3d4e5f60718', hostnameSchemaType: 'PUBLIC' },
	migrationHosts: ['example'],
	source: {
		clusterName: 'Cluster0',
		groupId: '5f43e7f0a1b2c3d4e5f60718',
		managedAuthentication: true,
		ssl: true,
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `destination` | `object` | Yes | Document that describes the destination of the migration. |
| `dropDestinationData` | `boolean` | No | Flag that indicates whether the migration process drops all collections from the destination cluster before the migration starts. |
| `migrationHosts` | `string[]` | Yes | List of migration hosts used for this migration. |
| `sharding` | `object` | No | 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. |
| `source` | `object` | Yes | Document that describes the source of the migration. |

> [accordion] destination full type
>
> ```ts theme={null}
> {
>   clusterName: string,
>   groupId: string,
>   hostnameSchemaType: PUBLIC | PRIVATE_LINK | VPC_PEERING,
>   privateLinkId?: string | null
> }
> ```

> [accordion] sharding full type
>
> ```ts theme={null}
> {
>   createSupportingIndexes: boolean,
>   shardingEntries: {
>     collection: string,
>     database: string,
>     shardCollection: {
>       key: Record<string, {
>       }>[]
>     }
>   }[]
> }
> ```

> [accordion] source full type
>
> ```ts theme={null}
> {
>   caCertificatePath?: string | null,
>   clusterName: string,
>   groupId: string,
>   managedAuthentication: boolean,
>   password?: string | null,
>   ssl: boolean,
>   username?: string | null
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the migration job. |
| `lagTimeSeconds` | `number \| null \| null` | No | Replication lag between the source and destination clusters. Atlas returns this setting only during an active migration, before the cutover phase. |
| `migrationHosts` | `string[] \| null` | No | List of hosts running MongoDB Agents. These Agents can transfer your MongoDB data between one source and one destination cluster. |
| `readyForCutover` | `boolean \| null` | No | Flag that indicates the migrated cluster can be cut over to MongoDB Atlas. |
| `status` | `string \| null \| null` | No | 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 |

***

### createLinkToken

`cloudMigrationService.createLinkToken`

Create One Link-Token: create one link-token that contains all the information required to complete the link

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.cloudMigrationService.createLinkToken({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `accessListIps` | `string[]` | No | IP address access list entries associated with the API key. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `linkToken` | `string \| null` | No | Link token that contains all the information required to complete the link. |

***

### cutoverMigration

`cloudMigrationService.cutoverMigration`

Cut Over One Migrated Cluster: cut over the migrated cluster to MongoDB Atlas

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.cloudMigrationService.cutoverMigration({ groupId: '5f43e7f0a1b2c3d4e5f60718', liveMigrationId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `liveMigrationId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the migration. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteLinkTokens

`cloudMigrationService.deleteLinkTokens`

Remove One Link-Token: remove one organization link and its associated public API key

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.cloudMigrationService.deleteLinkTokens({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getGroupLiveMigration

`cloudMigrationService.getGroupLiveMigration`

Return One Migration Job: return details of one cluster migration job

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudMigrationService.getGroupLiveMigration({ groupId: '5f43e7f0a1b2c3d4e5f60718', liveMigrationId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `liveMigrationId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the migration. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the migration job. |
| `lagTimeSeconds` | `number \| null \| null` | No | Replication lag between the source and destination clusters. Atlas returns this setting only during an active migration, before the cutover phase. |
| `migrationHosts` | `string[] \| null` | No | List of hosts running MongoDB Agents. These Agents can transfer your MongoDB data between one source and one destination cluster. |
| `readyForCutover` | `boolean \| null` | No | Flag that indicates the migrated cluster can be cut over to MongoDB Atlas. |
| `status` | `string \| null \| null` | No | 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 |

***

### getMigrationValidateStatus

`cloudMigrationService.getMigrationValidateStatus`

Return One Migration Validation Job: return the status of one migration validation job

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudMigrationService.getMigrationValidateStatus({ groupId: '5f43e7f0a1b2c3d4e5f60718', validationId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `validationId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the validation job. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the validation. |
| `errorMessage` | `string \| null \| null` | No | Reason why the validation job failed. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the project to validate. |
| `sourceGroupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the source project. |
| `status` | `string \| null \| null` | No | State of the specified validation job returned at the time of the request. |

***

### listAvailableProjects

`cloudMigrationService.listAvailableProjects`

Return All Projects Available for Migration: return all projects that you can migrate to the specified organization

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudMigrationService.listAvailableProjects({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   deployments?: {
>     agentVersion?: string | null,
>     clusterId?: string | null,
>     dbSizeBytes?: number | null,
>     featureCompatibilityVersion?: string | null,
>     managed?: boolean | null,
>     mongoDBVersion?: string | null,
>     name?: string | null,
>     oplogSizeMB?: number | null,
>     sharded?: boolean | null,
>     shardsSize?: number | null,
>     tlsEnabled?: boolean | null
>   }[] | null,
>   migrationHosts?: string[] | null,
>   name?: string | null,
>   projectId?: string | null
> }[]
> ```

***

### validateLiveMigrations

`cloudMigrationService.validateLiveMigrations`

Validate One Migration Request: verifies whether the provided credentials, available disk space, MongoDB versions, and so on meet the requirements of the migration request

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudMigrationService.validateLiveMigrations({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	destination: { clusterName: 'Cluster0', groupId: '5f43e7f0a1b2c3d4e5f60718', hostnameSchemaType: 'PUBLIC' },
	migrationHosts: ['example'],
	source: {
		clusterName: 'Cluster0',
		groupId: '5f43e7f0a1b2c3d4e5f60718',
		managedAuthentication: true,
		ssl: true,
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `destination` | `object` | Yes | Document that describes the destination of the migration. |
| `dropDestinationData` | `boolean` | No | Flag that indicates whether the migration process drops all collections from the destination cluster before the migration starts. |
| `migrationHosts` | `string[]` | Yes | List of migration hosts used for this migration. |
| `sharding` | `object` | No | 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. |
| `source` | `object` | Yes | Document that describes the source of the migration. |

> [accordion] destination full type
>
> ```ts theme={null}
> {
>   clusterName: string,
>   groupId: string,
>   hostnameSchemaType: PUBLIC | PRIVATE_LINK | VPC_PEERING,
>   privateLinkId?: string | null
> }
> ```

> [accordion] sharding full type
>
> ```ts theme={null}
> {
>   createSupportingIndexes: boolean,
>   shardingEntries: {
>     collection: string,
>     database: string,
>     shardCollection: {
>       key: Record<string, {
>       }>[]
>     }
>   }[]
> }
> ```

> [accordion] source full type
>
> ```ts theme={null}
> {
>   caCertificatePath?: string | null,
>   clusterName: string,
>   groupId: string,
>   managedAuthentication: boolean,
>   password?: string | null,
>   ssl: boolean,
>   username?: string | null
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the validation. |
| `errorMessage` | `string \| null \| null` | No | Reason why the validation job failed. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the project to validate. |
| `sourceGroupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the source project. |
| `status` | `string \| null \| null` | No | State of the specified validation job returned at the time of the request. |

***

## Cloud Provider Access

### authorizeProviderAccessRole

`cloudProviderAccess.authorizeProviderAccessRole`

Authorize One Cloud Provider Access Role: grants access to the specified project for the specified access role

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.cloudProviderAccess.authorizeProviderAccessRole({ groupId: '5f43e7f0a1b2c3d4e5f60718', roleId: '5f43e7f0a1b2c3d4e5f60718', providerName: 'AWS' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `roleId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the role. Amazon Web Services (AWS) IAM roles and Google Service Accounts return this value as `roleId`. Azure Service Principals return it as `_id`. |
| `providerName` | `AWS \| AZURE \| GCP` | Yes | Human-readable label that identifies the cloud provider of the role. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `providerName` | `string \| null` | No | Human-readable label that identifies the cloud provider of the role. |

***

### createCloudProviderAccess

`cloudProviderAccess.createCloudProviderAccess`

Create One Cloud Provider Access Role: creates one access role for the specified cloud provider

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.cloudProviderAccess.createCloudProviderAccess({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	body: { providerName: 'AWS' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `body` | `object` | Yes | Cloud provider access role. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   providerName: AWS | AZURE | GCP
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `providerName` | `string \| null` | No | Human-readable label that identifies the cloud provider of the role. |

***

### deauthorizeProviderAccessRole

`cloudProviderAccess.deauthorizeProviderAccessRole`

Deauthorize One Cloud Provider Access Role: revokes access to the specified project for the specified access role

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.cloudProviderAccess.deauthorizeProviderAccessRole({ groupId: '5f43e7f0a1b2c3d4e5f60718', cloudProvider: 'AWS', roleId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `cloudProvider` | `AWS \| AZURE \| GCP` | Yes | Human-readable label that identifies the cloud provider of the role to deauthorize. |
| `roleId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the role. Amazon Web Services (AWS) IAM roles and Google Service Accounts return this value as `roleId`. Azure Service Principals return it as `_id`. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getCloudProviderAccess

`cloudProviderAccess.getCloudProviderAccess`

Return One Cloud Provider Access Role: returns the access role with the specified id and with access to the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudProviderAccess.getCloudProviderAccess({ groupId: '5f43e7f0a1b2c3d4e5f60718', roleId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `roleId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the role. Amazon Web Services (AWS) IAM roles and Google Service Accounts return this value as `roleId`. Azure Service Principals return it as `_id`. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `providerName` | `string \| null` | No | Human-readable label that identifies the cloud provider of the role. |

***

### listCloudProviderAccess

`cloudProviderAccess.listCloudProviderAccess`

Return All Cloud Provider Access Roles: returns all cloud provider access roles with access to the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.cloudProviderAccess.listCloudProviderAccess({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `awsIamRoles` | `object[] \| null` | No | List that contains the Amazon Web Services (AWS) IAM roles registered and authorized with MongoDB Cloud. |
| `azureServicePrincipals` | `object[] \| null` | No | List that contains the Azure Service Principals registered with MongoDB Cloud. |
| `gcpServiceAccounts` | `object[] \| null` | No | List that contains the Google Service Accounts registered and authorized with MongoDB Cloud. |

> [accordion] awsIamRoles full type
>
> ```ts theme={null}
> {
>   providerName?: string | null,
>   atlasAWSAccountArn?: string | null,
>   atlasAssumedRoleExternalId?: string | null,
>   authorizedDate?: string | null,
>   createdDate?: string | null,
>   featureUsages?: {
>     featureType?: string | null
>   }[] | null,
>   iamAssumedRoleArn?: string | null,
>   roleId?: string | null
> }[] | null
> ```

> [accordion] azureServicePrincipals full type
>
> ```ts theme={null}
> {
>   providerName?: string | null,
>   _id?: string | null,
>   atlasAzureAppId?: string | null,
>   createdDate?: string | null,
>   featureUsages?: {
>     featureType?: string | null
>   }[] | null,
>   lastUpdatedDate?: string | null,
>   servicePrincipalId?: string | null,
>   tenantId?: string | null
> }[] | null
> ```

> [accordion] gcpServiceAccounts full type
>
> ```ts theme={null}
> {
>   providerName?: string | null,
>   createdDate?: string | null,
>   featureUsages?: {
>     featureType?: string | null
>   }[] | null,
>   gcpServiceAccountForAtlas?: string | null,
>   roleId?: string | null,
>   status?: string | null
> }[] | null
> ```

***

## Cluster Outage Simulation

### endOutageSimulation

`clusterOutageSimulation.endOutageSimulation`

End One Outage Simulation: ends a cluster outage simulation

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.clusterOutageSimulation.endOutageSimulation({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster that is undergoing outage simulation. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clusterName` | `string \| null` | No | Human-readable label that identifies the cluster that undergoes outage simulation. |
| `expirationDate` | `string \| null` | No | 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. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project that contains the cluster to undergo outage simulation. |
| `id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the outage simulation. |
| `outageFilters` | `object[] \| null` | No | List of settings that specify the type of cluster outage simulation. |
| `startRequestDate` | `string \| null` | No | Date and time when MongoDB Cloud started the regional outage simulation. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `state` | `string \| null` | No | 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 clu |

> [accordion] outageFilters full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   regionName?: string | null,
>   type?: string | null
> }[] | null
> ```

***

### getOutageSimulation

`clusterOutageSimulation.getOutageSimulation`

Return One Outage Simulation: returns one outage simulation for one cluster

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.clusterOutageSimulation.getOutageSimulation({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster that is undergoing outage simulation. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clusterName` | `string \| null` | No | Human-readable label that identifies the cluster that undergoes outage simulation. |
| `expirationDate` | `string \| null` | No | 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. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project that contains the cluster to undergo outage simulation. |
| `id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the outage simulation. |
| `outageFilters` | `object[] \| null` | No | List of settings that specify the type of cluster outage simulation. |
| `startRequestDate` | `string \| null` | No | Date and time when MongoDB Cloud started the regional outage simulation. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `state` | `string \| null` | No | 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 clu |

> [accordion] outageFilters full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   regionName?: string | null,
>   type?: string | null
> }[] | null
> ```

***

### startOutageSimulation

`clusterOutageSimulation.startOutageSimulation`

Start One Outage Simulation: starts a cluster outage simulation

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.clusterOutageSimulation.startOutageSimulation({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster to undergo an outage simulation. |
| `outageFilters` | `object[]` | No | List of settings that specify the type of cluster outage simulation. |

> [accordion] outageFilters full type
>
> ```ts theme={null}
> {
>   cloudProvider?: AWS | GCP | AZURE,
>   regionName?: string,
>   type?: REGION
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clusterName` | `string \| null` | No | Human-readable label that identifies the cluster that undergoes outage simulation. |
| `expirationDate` | `string \| null` | No | 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. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project that contains the cluster to undergo outage simulation. |
| `id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the outage simulation. |
| `outageFilters` | `object[] \| null` | No | List of settings that specify the type of cluster outage simulation. |
| `startRequestDate` | `string \| null` | No | Date and time when MongoDB Cloud started the regional outage simulation. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `state` | `string \| null` | No | 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 clu |

> [accordion] outageFilters full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   regionName?: string | null,
>   type?: string | null
> }[] | null
> ```

***

## Clusters

### createCluster

`clusters.createCluster`

Create One Cluster in One Project: creates one cluster in the specified project

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.clusters.createCluster({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `useEffectiveInstanceFields` | `boolean` | No | Controls how hardware specification fields are returned in the response after cluster creation. When set to true, returns the original client-specified values and provides separate effective fields showing current operational values. When false (default), hardware specification fields show current operational values directly. Primarily used for autoscaling compatibility. |
| `useEffectiveFieldsReplicationSpecs` | `boolean` | No | Controls how `replicationSpecs` fields are returned in the response. When set to `true`, stores the client's view of `replicationSpecs` and returns it in `replicationSpecs`, while the actual cluster state (including auto-scaled hardware and auto-added shards) is returned in `effectiveReplicationSpecs`. When `false` (default), `replicationSpecs` contains the actual cluster state. |
| `acceptDataRisksAndForceReplicaSetReconfig` | `string` | No | 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 \`a |
| `adaptiveCapacity` | `ENABLED \| DISABLED \| null` | No | Governs adaptive capacity behavior of nodes in clusters on providers that support fallback hardware, including those providers' nodes in multi-cloud clusters. Adaptive capacity enables fallback hardware selection when the primary instance family is unavailable. `ENABLED` means the cluster explicitly opts in to adaptive capacity. `DISABLED` means the cluster explicitly opts out; the cluster receives capacity errors instead of being placed on fallback hardware. `null` means the field is unse |
| `advancedConfiguration` | `object` | No | Group of settings that configures a subset of the advanced configuration details. |
| `backupEnabled` | `boolean` | No | Flag that indicates whether Atlas backs up the cluster. On Atlas Core clusters, dedicated clusters use [Cloud Backups](https://www.mongodb.com/docs/atlas/backup/cloud-backup/overview/) and Flex clusters use [Flex Cluster Backups](https://www.mongodb.com/docs/atlas/backup/cloud-backup/flex-cluster-backup/). Default value is `false`. For clusters that use local [NVMe SSDs](https://www.mongodb.com/docs/atlas/manage-clusters/#nvme-storage) for storage, you can't disable backup, so you must set \`back |
| `biConnector` | `object` | No | Settings needed to configure the MongoDB Connector for Business Intelligence for this cluster. |
| `clusterType` | `REPLICASET \| SHARDED \| GEOSHARDED` | No | Configuration of nodes that comprise the cluster. |
| `configServerManagementMode` | `ATLAS_MANAGED \| FIXED_TO_DEDICATED` | No | 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. |
| `databaseEdition` | `CORE \| INFINITE` | No | Available in Public Preview: Optional field that indicates whether your cluster will be Atlas INFINITE or CORE. You can set it only when you create the cluster, or when you upgrade a Free or Flex cluster to a dedicated cluster. This value is immutable once the dedicated cluster exists; attempting to change it on an update request returns an error. |
| `diskWarmingMode` | `FULLY_WARMED \| VISIBLE_EARLIER` | No | Disk warming mode selection. |
| `encryptionAtRestProvider` | `NONE \| AWS \| AZURE \| GCP` | No | 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. |
| `globalClusterSelfManagedSharding` | `boolean` | No | 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 cann |
| `labels` | `object[]` | No | Deprecated: Cluster labels will be removed in a future release. We strongly recommend that you use Resource Tags instead. 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. |
| `mongoDBMajorVersion` | `string` | No | MongoDB major version of the cluster. Set to the binary major version. 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 \[projec |
| `name` | `string` | No | Human-readable label that identifies the cluster. |
| `paused` | `boolean` | No | Flag that indicates whether the cluster is paused. |
| `pitEnabled` | `boolean` | No | Flag that indicates whether the cluster uses continuous cloud backups. For Atlas Infinite clusters, continuous cloud backups always run. Omit this field or set it to `true`. Setting it to `false` returns an invalid attribute error. |
| `redactClientLogData` | `boolean` | No | Enable or disable log redaction. This setting configures the `mongod` or `mongos` to redact any document field contents from a message accompanying a given log event before logging. This prevents the program from writing potentially sensitive data stored on the database to the diagnostic log. Metadata such as error or operation codes, line numbers, and source file names are still visible in the logs. Use `redactClientLogData` in conjunction with Encryption at Rest and TLS/SSL (Transport En |
| `replicaSetScalingStrategy` | `SEQUENTIAL \| WORKLOAD_TYPE \| NODE_TYPE` | No | 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 a |
| `replicationSpecs` | `object[]` | No | List of settings that configure your cluster regions. This array has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. |
| `retainBackups` | `boolean` | No | Flag that indicates whether the cluster retains backups. |
| `rootCertType` | `ISRGROOTX1` | No | Root Certificate Authority that MongoDB Atlas cluster uses. MongoDB Cloud supports Internet Security Research Group. |
| `searchAutoMigration` | `object` | No | Configuration for automatically adding Dedicated Search Nodes on eligible Atlas Infinite clusters. This setting has no effect on Atlas Core clusters. |
| `tags` | `object[]` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. |
| `terminationProtectionEnabled` | `boolean` | No | 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. |
| `useAwsTimeBasedSnapshotCopyForFastInitialSync` | `boolean` | No | Flag that indicates whether AWS time-based snapshot copies will be used instead of slower standard snapshot copies during fast Atlas cross-region initial syncs. This flag is only relevant for clusters containing AWS nodes. |
| `versionReleaseSystem` | `LTS \| CONTINUOUS` | No | Method by which the cluster maintains the MongoDB versions. If value is `CONTINUOUS`, you must not specify `mongoDBMajorVersion`. |

> [accordion] advancedConfiguration full type
>
> ```ts theme={null}
> {
>   customOpensslCipherConfigTls12?: (TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 | TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256)[],
>   customOpensslCipherConfigTls13?: (TLS_AES_256_GCM_SHA384 | TLS_CHACHA20_POLY1305_SHA256 | TLS_AES_128_GCM_SHA256 | TLS_AES_128_CCM_SHA256)[],
>   minimumEnabledTlsProtocol?: TLS1_2 | TLS1_3,
>   tlsCipherConfigMode?: CUSTOM | DEFAULT
> }
> ```

> [accordion] biConnector full type
>
> ```ts theme={null}
> {
>   enabled?: boolean,
>   readPreference?: PRIMARY | SECONDARY | ANALYTICS
> }
> ```

> [accordion] labels full type
>
> ```ts theme={null}
> {
>   key?: string,
>   value?: string
> }[]
> ```

> [accordion] replicationSpecs full type
>
> ```ts theme={null}
> {
>   regionConfigs?: {
>     electableSpecs?: {
>       diskIOPS?: number,
>       diskSizeGB?: number,
>       ebsVolumeType?: STANDARD | PROVISIONED | HIGH_PERFORMANCE,
>       instanceSize?: 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 | M30_GEN_2 | M40_GEN_2 | M50_GEN_2 | M60_GEN_2 | M80_GEN_2 | M140_GEN_2 | M200_GEN_2 | M300_GEN_2 | M700_GEN_2 | R40_GEN_2 | R50_GEN_2 | R60_GEN_2 | R80_GEN_2 | R200_GEN_2 | R300_GEN_2 | R400_GEN_2 | R700_GEN_2 | M40_NVME_GEN_2 | M50_NVME_GEN_2 | M60_NVME_GEN_2 | M80_NVME_GEN_2 | M200_NVME_GEN_2 | M400_NVME_GEN_2,
>       nodeCount?: number
>     } | {
>       diskIOPS?: number,
>       diskSizeGB?: number,
>       instanceSize?: 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,
>       nodeCount?: number
>     } | {
>       diskIOPS?: number,
>       diskSizeGB?: number,
>       instanceSize?: M10 | M20 | M30 | M40 | M50 | M60 | M80 | M140 | M200 | M250 | M300 | M400 | R40 | R50 | R60 | R80 | R200 | R300 | R400 | R600 | M30_GEN_2 | M40_GEN_2 | M50_GEN_2 | M60_GEN_2 | M80_GEN_2 | M140_GEN_2 | M200_GEN_2 | M300_GEN_2 | M700_GEN_2 | R40_GEN_2 | R50_GEN_2 | R60_GEN_2 | R80_GEN_2 | R200_GEN_2 | R300_GEN_2 | R400_GEN_2,
>       nodeCount?: number
>     } | {
>       diskSizeGB?: number,
>       instanceSize?: M0 | M2 | M5
>     },
>     priority?: number,
>     providerName?: AWS | AZURE | GCP | TENANT,
>     regionName?: 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 | 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 | 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
>   }[],
>   zoneName?: string
> }[]
> ```

> [accordion] searchAutoMigration full type
>
> ```ts theme={null}
> {
>   disabled?: boolean
> }
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key: string,
>   value: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `acceptDataRisksAndForceReplicaSetReconfig` | `string \| null` | No | 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 \`a |
| `adaptiveCapacity` | `string \| null \| null` | No | Governs adaptive capacity behavior of nodes in clusters on providers that support fallback hardware, including those providers' nodes in multi-cloud clusters. Adaptive capacity enables fallback hardware selection when the primary instance family is unavailable. `ENABLED` means the cluster explicitly opts in to adaptive capacity. `DISABLED` means the cluster explicitly opts out; the cluster receives capacity errors instead of being placed on fallback hardware. `null` means the field is unse |
| `advancedConfiguration` | `object \| null` | No | Group of settings that configures a subset of the advanced configuration details. |
| `backupEnabled` | `boolean \| null` | No | Flag that indicates whether Atlas backs up the cluster. On Atlas Core clusters, dedicated clusters use [Cloud Backups](https://www.mongodb.com/docs/atlas/backup/cloud-backup/overview/) and Flex clusters use [Flex Cluster Backups](https://www.mongodb.com/docs/atlas/backup/cloud-backup/flex-cluster-backup/). Default value is `false`. For clusters that use local [NVMe SSDs](https://www.mongodb.com/docs/atlas/manage-clusters/#nvme-storage) for storage, you can't disable backup, so you must set \`back |
| `biConnector` | `object \| null` | No | Settings needed to configure the MongoDB Connector for Business Intelligence for this cluster. |
| `clusterType` | `string \| null` | No | Configuration of nodes that comprise the cluster. |
| `configServerManagementMode` | `string \| null` | No | 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. |
| `configServerType` | `string \| null` | No | Describes a sharded cluster's config server type. |
| `connectionStrings` | `object \| null` | No | Collection of Uniform Resource Locators that point to the MongoDB database. |
| `createDate` | `string \| null` | No | Date and time when MongoDB Cloud created this cluster. This parameter expresses its value in ISO 8601 format in UTC. |
| `databaseEdition` | `string \| null` | No | Available in Public Preview: Optional field that indicates whether your cluster will be Atlas INFINITE or CORE. You can set it only when you create the cluster, or when you upgrade a Free or Flex cluster to a dedicated cluster. This value is immutable once the dedicated cluster exists; attempting to change it on an update request returns an error. |
| `diskWarmingMode` | `string \| null` | No | Disk warming mode selection. |
| `effectiveDatabaseEdition` | `string \| null` | No | Available in Public Preview: Field that represents whether your cluster is Atlas INFINITE or CORE. This is read-only and always returned in the response. It reflects the actual cluster state. This value matches `databaseEdition` if it was set, otherwise it reflects the default database edition assigned to the cluster. |
| `effectiveReplicationSpecs` | `object[] \| null` | No | List of settings that represent the actual cluster state. This is read-only and always returned in the response. It reflects the current cluster configuration, which may differ from `replicationSpecs` due to system-managed changes. |
| `encryptionAtRestProvider` | `string \| null` | No | 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. |
| `featureCompatibilityVersion` | `string \| null` | No | Feature compatibility version of the cluster. This will always appear regardless of whether FCV is pinned. |
| `featureCompatibilityVersionExpirationDate` | `string \| null` | No | Feature compatibility version expiration date. Will only appear if FCV is pinned. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `globalClusterSelfManagedSharding` | `boolean \| null` | No | 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 cann |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the cluster. |
| `internalClusterRole` | `string \| null` | No | Internal classification of the cluster's role. Possible values: `NONE` (regular user cluster), `SYSTEM_CLUSTER` (system cluster for backup), `INTERNAL_SHADOW_CLUSTER` (internal use shadow cluster for testing). |
| `labels` | `object[] \| null` | No | Deprecated: Cluster labels will be removed in a future release. We strongly recommend that you use Resource Tags instead. 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. |
| `links` | `object[] \| null` | No | 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. |
| `mongoDBEmployeeAccessGrant` | `object \| null` | No | MongoDB employee granted access level and expiration for a cluster. |
| `mongoDBMajorVersion` | `string \| null` | No | MongoDB major version of the cluster. Set to the binary major version. 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 \[projec |
| `mongoDBVersion` | `string \| null` | No | Version of MongoDB that the cluster runs. |
| `name` | `string \| null` | No | Human-readable label that identifies the cluster. |
| `paused` | `boolean \| null` | No | Flag that indicates whether the cluster is paused. |
| `pitEnabled` | `boolean \| null` | No | Flag that indicates whether the cluster uses continuous cloud backups. For Atlas Infinite clusters, continuous cloud backups always run. Omit this field or set it to `true`. Setting it to `false` returns an invalid attribute error. |
| `redactClientLogData` | `boolean \| null` | No | Enable or disable log redaction. This setting configures the `mongod` or `mongos` to redact any document field contents from a message accompanying a given log event before logging. This prevents the program from writing potentially sensitive data stored on the database to the diagnostic log. Metadata such as error or operation codes, line numbers, and source file names are still visible in the logs. Use `redactClientLogData` in conjunction with Encryption at Rest and TLS/SSL (Transport En |
| `replicaSetScalingStrategy` | `string \| null` | No | 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 a |
| `replicationSpecs` | `object[] \| null` | No | List of settings that configure your cluster regions. This array has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. |
| `retainBackups` | `boolean \| null` | No | Flag that indicates whether the cluster retains backups. |
| `rootCertType` | `string \| null` | No | Root Certificate Authority that MongoDB Atlas cluster uses. MongoDB Cloud supports Internet Security Research Group. |
| `searchAutoMigration` | `object \| null` | No | Configuration for automatically adding Dedicated Search Nodes on eligible Atlas Infinite clusters. This setting has no effect on Atlas Core clusters. |
| `stateName` | `string \| null` | No | 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 unt |
| `tags` | `object[] \| null` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. |
| `terminationProtectionEnabled` | `boolean \| null` | No | 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. |
| `useAwsTimeBasedSnapshotCopyForFastInitialSync` | `boolean \| null` | No | Flag that indicates whether AWS time-based snapshot copies will be used instead of slower standard snapshot copies during fast Atlas cross-region initial syncs. This flag is only relevant for clusters containing AWS nodes. |
| `versionReleaseSystem` | `string \| null` | No | Method by which the cluster maintains the MongoDB versions. If value is `CONTINUOUS`, you must not specify `mongoDBMajorVersion`. |

> [accordion] advancedConfiguration full type
>
> ```ts theme={null}
> {
>   customOpensslCipherConfigTls12?: string[] | null,
>   customOpensslCipherConfigTls13?: string[] | null,
>   minimumEnabledTlsProtocol?: string | null,
>   tlsCipherConfigMode?: string | null
> } | null
> ```

> [accordion] biConnector full type
>
> ```ts theme={null}
> {
>   enabled?: boolean | null,
>   readPreference?: string | null
> } | null
> ```

> [accordion] connectionStrings full type
>
> ```ts theme={null}
> {
>   awsPrivateLink?: Record<string, string> | null,
>   awsPrivateLinkSrv?: Record<string, string> | null,
>   private?: string | null,
>   privateEndpoint?: {
>     connectionString?: string | null,
>     endpoints?: {
>       endpointId?: string | null,
>       providerName?: string | null,
>       region?: string | null
>     }[] | null,
>     srvConnectionString?: string | null,
>     srvShardOptimizedConnectionString?: string | null,
>     type?: string | null
>   }[] | null,
>   privateSrv?: string | null,
>   standard?: string | null,
>   standardSrv?: string | null
> } | null
> ```

> [accordion] effectiveReplicationSpecs full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   regionConfigs?: {
>     electableSpecs?: {
>       diskIOPS?: number | null,
>       diskSizeGB?: number | null,
>       diskThroughput?: number | null,
>       ebsVolumeType?: string | null,
>       instanceSize?: string | null,
>       nodeCount?: number | null
>     } | {
>       diskIOPS?: number | null,
>       diskSizeGB?: number | null,
>       instanceSize?: string | null,
>       nodeCount?: number | null
>     } | {
>       diskIOPS?: number | null,
>       diskSizeGB?: number | null,
>       diskThroughput?: number | null,
>       instanceSize?: string | null,
>       nodeCount?: number | null
>     } | {
>       diskSizeGB?: number | null,
>       effectiveInstanceSize?: string | null,
>       instanceSize?: string | null
>     } | null,
>     priority?: number | null,
>     providerName?: string | null,
>     regionName?: string | string | string | null
>   }[] | null,
>   zoneId?: string | null,
>   zoneName?: string | null
> }[] | null
> ```

> [accordion] labels full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] mongoDBEmployeeAccessGrant full type
>
> ```ts theme={null}
> {
>   expirationTime?: string | null,
>   grantType?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null
> } | null
> ```

> [accordion] replicationSpecs full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   regionConfigs?: {
>     electableSpecs?: {
>       diskIOPS?: number | null,
>       diskSizeGB?: number | null,
>       diskThroughput?: number | null,
>       ebsVolumeType?: string | null,
>       instanceSize?: string | null,
>       nodeCount?: number | null
>     } | {
>       diskIOPS?: number | null,
>       diskSizeGB?: number | null,
>       instanceSize?: string | null,
>       nodeCount?: number | null
>     } | {
>       diskIOPS?: number | null,
>       diskSizeGB?: number | null,
>       diskThroughput?: number | null,
>       instanceSize?: string | null,
>       nodeCount?: number | null
>     } | {
>       diskSizeGB?: number | null,
>       effectiveInstanceSize?: string | null,
>       instanceSize?: string | null
>     } | null,
>     priority?: number | null,
>     providerName?: string | null,
>     regionName?: string | string | string | null
>   }[] | null,
>   zoneId?: string | null,
>   zoneName?: string | null
> }[] | null
> ```

> [accordion] searchAutoMigration full type
>
> ```ts theme={null}
> {
>   disabled?: boolean | null
> } | null
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

***

### deleteCluster

`clusters.deleteCluster`

Remove One Cluster from One Project: removes one cluster from the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.clusters.deleteCluster({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `retainBackups` | `boolean` | No | Flag that indicates whether to retain backup snapshots for the deleted dedicated cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getCluster

`clusters.getCluster`

Return One Cluster from One Project: returns the details for one cluster in the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.clusters.getCluster({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies this cluster. |
| `useEffectiveInstanceFields` | `boolean` | No | Controls how hardware specification fields are returned in the response. When set to true, returns the original client-specified values and provides separate effective fields showing current operational values. When false (default), hardware specification fields show current operational values directly. Primarily used for autoscaling compatibility. |
| `useEffectiveFieldsReplicationSpecs` | `boolean` | No | Controls how `replicationSpecs` are returned in the response. When set to `true`, returns the client-specified view in `replicationSpecs` and the actual cluster state in `effectiveReplicationSpecs`. When `false` (default), `replicationSpecs` contains the actual cluster state. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `acceptDataRisksAndForceReplicaSetReconfig` | `string \| null` | No | 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 \`a |
| `adaptiveCapacity` | `string \| null \| null` | No | Governs adaptive capacity behavior of nodes in clusters on providers that support fallback hardware, including those providers' nodes in multi-cloud clusters. Adaptive capacity enables fallback hardware selection when the primary instance family is unavailable. `ENABLED` means the cluster explicitly opts in to adaptive capacity. `DISABLED` means the cluster explicitly opts out; the cluster receives capacity errors instead of being placed on fallback hardware. `null` means the field is unse |
| `advancedConfiguration` | `object \| null` | No | Group of settings that configures a subset of the advanced configuration details. |
| `backupEnabled` | `boolean \| null` | No | Flag that indicates whether Atlas backs up the cluster. On Atlas Core clusters, dedicated clusters use [Cloud Backups](https://www.mongodb.com/docs/atlas/backup/cloud-backup/overview/) and Flex clusters use [Flex Cluster Backups](https://www.mongodb.com/docs/atlas/backup/cloud-backup/flex-cluster-backup/). Default value is `false`. For clusters that use local [NVMe SSDs](https://www.mongodb.com/docs/atlas/manage-clusters/#nvme-storage) for storage, you can't disable backup, so you must set \`back |
| `biConnector` | `object \| null` | No | Settings needed to configure the MongoDB Connector for Business Intelligence for this cluster. |
| `clusterType` | `string \| null` | No | Configuration of nodes that comprise the cluster. |
| `configServerManagementMode` | `string \| null` | No | 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. |
| `configServerType` | `string \| null` | No | Describes a sharded cluster's config server type. |
| `connectionStrings` | `object \| null` | No | Collection of Uniform Resource Locators that point to the MongoDB database. |
| `createDate` | `string \| null` | No | Date and time when MongoDB Cloud created this cluster. This parameter expresses its value in ISO 8601 format in UTC. |
| `databaseEdition` | `string \| null` | No | Available in Public Preview: Optional field that indicates whether your cluster will be Atlas INFINITE or CORE. You can set it only when you create the cluster, or when you upgrade a Free or Flex cluster to a dedicated cluster. This value is immutable once the dedicated cluster exists; attempting to change it on an update request returns an error. |
| `diskWarmingMode` | `string \| null` | No | Disk warming mode selection. |
| `effectiveDatabaseEdition` | `string \| null` | No | Available in Public Preview: Field that represents whether your cluster is Atlas INFINITE or CORE. This is read-only and always returned in the response. It reflects the actual cluster state. This value matches `databaseEdition` if it was set, otherwise it reflects the default database edition assigned to the cluster. |
| `effectiveReplicationSpecs` | `object[] \| null` | No | List of settings that represent the actual cluster state. This is read-only and always returned in the response. It reflects the current cluster configuration, which may differ from `replicationSpecs` due to system-managed changes. |
| `encryptionAtRestProvider` | `string \| null` | No | 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. |
| `featureCompatibilityVersion` | `string \| null` | No | Feature compatibility version of the cluster. This will always appear regardless of whether FCV is pinned. |
| `featureCompatibilityVersionExpirationDate` | `string \| null` | No | Feature compatibility version expiration date. Will only appear if FCV is pinned. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `globalClusterSelfManagedSharding` | `boolean \| null` | No | 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 cann |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the cluster. |
| `internalClusterRole` | `string \| null` | No | Internal classification of the cluster's role. Possible values: `NONE` (regular user cluster), `SYSTEM_CLUSTER` (system cluster for backup), `INTERNAL_SHADOW_CLUSTER` (internal use shadow cluster for testing). |
| `labels` | `object[] \| null` | No | Deprecated: Cluster labels will be removed in a future release. We strongly recommend that you use Resource Tags instead. 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. |
| `links` | `object[] \| null` | No | 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. |
| `mongoDBEmployeeAccessGrant` | `object \| null` | No | MongoDB employee granted access level and expiration for a cluster. |
| `mongoDBMajorVersion` | `string \| null` | No | MongoDB major version of the cluster. Set to the binary major version. 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 \[projec |
| `mongoDBVersion` | `string \| null` | No | Version of MongoDB that the cluster runs. |
| `name` | `string \| null` | No | Human-readable label that identifies the cluster. |
| `paused` | `boolean \| null` | No | Flag that indicates whether the cluster is paused. |
| `pitEnabled` | `boolean \| null` | No | Flag that indicates whether the cluster uses continuous cloud backups. For Atlas Infinite clusters, continuous cloud backups always run. Omit this field or set it to `true`. Setting it to `false` returns an invalid attribute error. |
| `redactClientLogData` | `boolean \| null` | No | Enable or disable log redaction. This setting configures the `mongod` or `mongos` to redact any document field contents from a message accompanying a given log event before logging. This prevents the program from writing potentially sensitive data stored on the database to the diagnostic log. Metadata such as error or operation codes, line numbers, and source file names are still visible in the logs. Use `redactClientLogData` in conjunction with Encryption at Rest and TLS/SSL (Transport En |
| `replicaSetScalingStrategy` | `string \| null` | No | 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 a |
| `replicationSpecs` | `object[] \| null` | No | List of settings that configure your cluster regions. This array has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. |
| `retainBackups` | `boolean \| null` | No | Flag that indicates whether the cluster retains backups. |
| `rootCertType` | `string \| null` | No | Root Certificate Authority that MongoDB Atlas cluster uses. MongoDB Cloud supports Internet Security Research Group. |
| `searchAutoMigration` | `object \| null` | No | Configuration for automatically adding Dedicated Search Nodes on eligible Atlas Infinite clusters. This setting has no effect on Atlas Core clusters. |
| `stateName` | `string \| null` | No | 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 unt |
| `tags` | `object[] \| null` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. |
| `terminationProtectionEnabled` | `boolean \| null` | No | 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. |
| `useAwsTimeBasedSnapshotCopyForFastInitialSync` | `boolean \| null` | No | Flag that indicates whether AWS time-based snapshot copies will be used instead of slower standard snapshot copies during fast Atlas cross-region initial syncs. This flag is only relevant for clusters containing AWS nodes. |
| `versionReleaseSystem` | `string \| null` | No | Method by which the cluster maintains the MongoDB versions. If value is `CONTINUOUS`, you must not specify `mongoDBMajorVersion`. |

> [accordion] advancedConfiguration full type
>
> ```ts theme={null}
> {
>   customOpensslCipherConfigTls12?: string[] | null,
>   customOpensslCipherConfigTls13?: string[] | null,
>   minimumEnabledTlsProtocol?: string | null,
>   tlsCipherConfigMode?: string | null
> } | null
> ```

> [accordion] biConnector full type
>
> ```ts theme={null}
> {
>   enabled?: boolean | null,
>   readPreference?: string | null
> } | null
> ```

> [accordion] connectionStrings full type
>
> ```ts theme={null}
> {
>   awsPrivateLink?: Record<string, string> | null,
>   awsPrivateLinkSrv?: Record<string, string> | null,
>   private?: string | null,
>   privateEndpoint?: {
>     connectionString?: string | null,
>     endpoints?: {
>       endpointId?: string | null,
>       providerName?: string | null,
>       region?: string | null
>     }[] | null,
>     srvConnectionString?: string | null,
>     srvShardOptimizedConnectionString?: string | null,
>     type?: string | null
>   }[] | null,
>   privateSrv?: string | null,
>   standard?: string | null,
>   standardSrv?: string | null
> } | null
> ```

> [accordion] effectiveReplicationSpecs full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   regionConfigs?: {
>     electableSpecs?: {
>       diskIOPS?: number | null,
>       diskSizeGB?: number | null,
>       diskThroughput?: number | null,
>       ebsVolumeType?: string | null,
>       instanceSize?: string | null,
>       nodeCount?: number | null
>     } | {
>       diskIOPS?: number | null,
>       diskSizeGB?: number | null,
>       instanceSize?: string | null,
>       nodeCount?: number | null
>     } | {
>       diskIOPS?: number | null,
>       diskSizeGB?: number | null,
>       diskThroughput?: number | null,
>       instanceSize?: string | null,
>       nodeCount?: number | null
>     } | {
>       diskSizeGB?: number | null,
>       effectiveInstanceSize?: string | null,
>       instanceSize?: string | null
>     } | null,
>     priority?: number | null,
>     providerName?: string | null,
>     regionName?: string | string | string | null
>   }[] | null,
>   zoneId?: string | null,
>   zoneName?: string | null
> }[] | null
> ```

> [accordion] labels full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] mongoDBEmployeeAccessGrant full type
>
> ```ts theme={null}
> {
>   expirationTime?: string | null,
>   grantType?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null
> } | null
> ```

> [accordion] replicationSpecs full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   regionConfigs?: {
>     electableSpecs?: {
>       diskIOPS?: number | null,
>       diskSizeGB?: number | null,
>       diskThroughput?: number | null,
>       ebsVolumeType?: string | null,
>       instanceSize?: string | null,
>       nodeCount?: number | null
>     } | {
>       diskIOPS?: number | null,
>       diskSizeGB?: number | null,
>       instanceSize?: string | null,
>       nodeCount?: number | null
>     } | {
>       diskIOPS?: number | null,
>       diskSizeGB?: number | null,
>       diskThroughput?: number | null,
>       instanceSize?: string | null,
>       nodeCount?: number | null
>     } | {
>       diskSizeGB?: number | null,
>       effectiveInstanceSize?: string | null,
>       instanceSize?: string | null
>     } | null,
>     priority?: number | null,
>     providerName?: string | null,
>     regionName?: string | string | string | null
>   }[] | null,
>   zoneId?: string | null,
>   zoneName?: string | null
> }[] | null
> ```

> [accordion] searchAutoMigration full type
>
> ```ts theme={null}
> {
>   disabled?: boolean | null
> } | null
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

***

### getClusterAdaptiveSettings

`clusters.getClusterAdaptiveSettings`

Return Adaptive Settings for One Cluster: returns the Adaptive Settings for the specified cluster, including client-provided overrides and the effective settings derived from those overrides and Atlas-managed defaults

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.clusters.getClusterAdaptiveSettings({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `adaptiveSettingsOverrides` | `object \| null` | No | Map of customer-specified overrides for Adaptive Settings, applied on a best-effort basis. Each supported entry that you specify in this object takes precedence over the corresponding Atlas-managed default. For example, if a setting is enabled by default, you can add an override to disable it for your cluster. |
| `effectiveAdaptiveSettings` | `object \| null` | No | The effective state of Adaptive Settings currently applied to your cluster, based on your overrides and Atlas-managed defaults. Atlas-managed defaults can vary by MongoDB version, so the same setting may default differently across clusters running different versions. If you set an override for a setting that your cluster's current MongoDB version doesn't support, the override doesn't take effect and the effective value reflects the Atlas-managed default instead. |

> [accordion] adaptiveSettingsOverrides full type
>
> ```ts theme={null}
> {
> } | null
> ```

> [accordion] effectiveAdaptiveSettings full type
>
> ```ts theme={null}
> {
> } | null
> ```

***

### getClusterStatus

`clusters.getClusterStatus`

Return Status of All Cluster Operations: returns the status of all changes that you made to the specified cluster in the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.clusters.getClusterStatus({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `changeStatus` | `string \| null` | No | 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. |
| `links` | `object[] \| null` | No | 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. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getProcessArgs

`clusters.getProcessArgs`

Return Advanced Configuration Options for One Cluster: returns the advanced configuration details for one cluster in the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.clusters.getProcessArgs({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `changeStreamOptionsPreAndPostImagesExpireAfterSeconds` | `number \| null` | No | The minimum pre- and post-image retention time in seconds. |
| `chunkMigrationConcurrency` | `number \| null` | No | 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. |
| `customOpensslCipherConfigTls12` | `string[] \| null` | No | The custom OpenSSL cipher suite list for TLS 1.2. Requires `tlsCipherConfigMode` = `CUSTOM`; when `tlsCipherConfigMode` is omitted, supplying a non-empty list infers `CUSTOM`. |
| `customOpensslCipherConfigTls13` | `string[] \| null` | No | The custom OpenSSL cipher suite list for TLS 1.3. Requires `tlsCipherConfigMode` = `CUSTOM`; when `tlsCipherConfigMode` is omitted, supplying a non-empty list infers `CUSTOM`. |
| `defaultMaxTimeMS` | `number \| null` | No | Default time limit in milliseconds for individual read operations to complete. |
| `defaultWriteConcern` | `string \| null` | No | Default level of acknowledgment requested from MongoDB for write operations when none is specified by the driver. |
| `javascriptEnabled` | `boolean \| null` | No | 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. |
| `minimumEnabledTlsProtocol` | `string \| null` | No | Minimum Transport Layer Security (TLS) version that the cluster accepts for incoming connections. |
| `noTableScan` | `boolean \| null` | No | Flag that indicates whether the cluster disables executing any query that requires a collection scan to return results. |
| `oplogMinRetentionHours` | `number \| null \| null` | No | 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. |
| `oplogSizeMB` | `number \| null \| null` | No | 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. |
| `queryStatsLogVerbosity` | `number \| null` | No | 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. |
| `sampleRefreshIntervalBIConnector` | `number \| null` | No | Interval in seconds at which the mongosqld process re-samples data to create its relational schema. |
| `sampleSizeBIConnector` | `number \| null` | No | Number of documents per database to sample when gathering schema information. |
| `tlsCipherConfigMode` | `string \| null` | No | 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. |
| `transactionLifetimeLimitSeconds` | `number \| null` | No | 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. |

***

### getSampleDatasetLoad

`clusters.getSampleDatasetLoad`

Return Status of Sample Dataset Load for One Cluster: checks the progress of loading the sample dataset into one cluster

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.clusters.getSampleDatasetLoad({ groupId: '5f43e7f0a1b2c3d4e5f60718', sampleDatasetId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `sampleDatasetId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the loaded sample dataset. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies this sample dataset. |
| `clusterName` | `string \| null` | No | Human-readable label that identifies the cluster into which you loaded the sample dataset. |
| `completeDate` | `string \| null` | No | Date and time when the sample dataset load job completed. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. |
| `createDate` | `string \| null` | No | Date and time when you started the sample dataset load job. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. |
| `errorMessage` | `string \| null` | No | Details of the error returned when MongoDB Cloud loads the sample dataset. This endpoint returns null if state has a value other than FAILED. |
| `state` | `string \| null` | No | Status of the sample dataset load job. |

***

### grantMongoEmployeeAccess

`clusters.grantMongoEmployeeAccess`

Grant MongoDB Employee Cluster Access for One Cluster: grants MongoDB employee cluster access for the given duration and at the specified level for one cluster

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.clusters.grantMongoEmployeeAccess({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	expirationTime: '2026-04-09T10:00:00Z',
	grantType: 'CLUSTER_DATABASE_LOGS',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies this cluster. |
| `expirationTime` | `string` | Yes | Expiration date for the employee access grant. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `grantType` | `CLUSTER_DATABASE_LOGS \| CLUSTER_INFRASTRUCTURE \| CLUSTER_INFRASTRUCTURE_AND_APP_SERVICES_SYNC_DATA` | Yes | Level of access to grant to MongoDB Employees. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### listClusterDetails

`clusters.listClusterDetails`

Return All Authorized Clusters in All Projects: returns the details for all clusters in all projects to which you have access (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.clusters.listClusterDetails({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   clusters?: {
>     alertCount?: number | null,
>     authEnabled?: boolean | null,
>     availability?: string | null,
>     backupEnabled?: boolean | null,
>     clusterId?: string | null,
>     dataSizeBytes?: number | null,
>     name?: string | null,
>     nodeCount?: number | null,
>     sslEnabled?: boolean | null,
>     type?: string | null,
>     versions?: string[] | null
>   }[] | null,
>   groupId?: string | null,
>   groupName?: string | null,
>   orgId?: string | null,
>   orgName?: string | null,
>   planType?: string | null,
>   tags?: string[] | null
> }[] | null
> ```

***

### listClusterProviderRegions

`clusters.listClusterProviderRegions`

Return All Cloud Provider Regions: returns the list of regions available for the specified cloud provider at the specified tier (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.clusters.listClusterProviderRegions({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `providers` | `string[]` | No | Cloud providers whose regions to retrieve. When you specify multiple providers, the response can return only tiers and regions that support multi-cloud clusters. |
| `tier` | `string` | No | Cluster tier for which to retrieve the regions. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   instanceSizes?: {
>     availableRegions?: {
>       default?: boolean | null,
>       name?: string | null
>     }[] | null,
>     name?: string | null
>   }[] | null,
>   provider?: string | null
> }[] | null
> ```

***

### listClusters

`clusters.listClusters`

Return All Clusters in One Project: returns the details for all clusters in the specific project to which you have access (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.clusters.listClusters({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `includeDeletedWithRetainedBackups` | `boolean` | No | Flag that indicates whether to return Clusters with retain backups. |
| `useEffectiveInstanceFields` | `boolean` | No | Controls how hardware specification fields are returned in the response. When set to true, returns the original client-specified values and provides separate effective fields showing current operational values. When false (default), hardware specification fields show current operational values directly. Primarily used for autoscaling compatibility. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   acceptDataRisksAndForceReplicaSetReconfig?: string | null,
>   adaptiveCapacity?: string | null | null,
>   advancedConfiguration?: {
>     customOpensslCipherConfigTls12?: string[] | null,
>     customOpensslCipherConfigTls13?: string[] | null,
>     minimumEnabledTlsProtocol?: string | null,
>     tlsCipherConfigMode?: string | null
>   } | null,
>   backupEnabled?: boolean | null,
>   biConnector?: {
>     enabled?: boolean | null,
>     readPreference?: string | null
>   } | null,
>   clusterType?: string | null,
>   configServerManagementMode?: string | null,
>   configServerType?: string | null,
>   connectionStrings?: {
>     awsPrivateLink?: Record<string, string> | null,
>     awsPrivateLinkSrv?: Record<string, string> | null,
>     private?: string | null,
>     privateEndpoint?: {
>       connectionString?: string | null,
>       endpoints?: {
>         endpointId?: string | null,
>         providerName?: string | null,
>         region?: string | null
>       }[] | null,
>       srvConnectionString?: string | null,
>       srvShardOptimizedConnectionString?: string | null,
>       type?: string | null
>     }[] | null,
>     privateSrv?: string | null,
>     standard?: string | null,
>     standardSrv?: string | null
>   } | null,
>   createDate?: string | null,
>   databaseEdition?: string | null,
>   diskWarmingMode?: string | null,
>   effectiveDatabaseEdition?: string | null,
>   effectiveReplicationSpecs?: {
>     id?: string | null,
>     regionConfigs?: {
>       electableSpecs?: {
>         diskIOPS?: number | null,
>         diskSizeGB?: number | null,
>         diskThroughput?: number | null,
>         ebsVolumeType?: string | null,
>         instanceSize?: string | null,
>         nodeCount?: number | null
>       } | {
>         diskIOPS?: number | null,
>         diskSizeGB?: number | null,
>         instanceSize?: string | null,
>         nodeCount?: number | null
>       } | {
>         diskIOPS?: number | null,
>         diskSizeGB?: number | null,
>         diskThroughput?: number | null,
>         instanceSize?: string | null,
>         nodeCount?: number | null
>       } | {
>         diskSizeGB?: number | null,
>         effectiveInstanceSize?: string | null,
>         instanceSize?: string | null
>       } | null,
>       priority?: number | null,
>       providerName?: string | null,
>       regionName?: string | string | string | null
>     }[] | null,
>     zoneId?: string | null,
>     zoneName?: string | null
>   }[] | null,
>   encryptionAtRestProvider?: string | null,
>   featureCompatibilityVersion?: string | null,
>   featureCompatibilityVersionExpirationDate?: string | null,
>   globalClusterSelfManagedSharding?: boolean | null,
>   groupId?: string | null,
>   id?: string | null,
>   internalClusterRole?: string | null,
>   labels?: {
>     key?: string | null,
>     value?: string | null
>   }[] | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   mongoDBEmployeeAccessGrant?: {
>     expirationTime?: string | null,
>     grantType?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null
>   } | null,
>   mongoDBMajorVersion?: string | null,
>   mongoDBVersion?: string | null,
>   name?: string | null,
>   paused?: boolean | null,
>   pitEnabled?: boolean | null,
>   redactClientLogData?: boolean | null,
>   replicaSetScalingStrategy?: string | null,
>   replicationSpecs?: {
>     id?: string | null,
>     regionConfigs?: {
>       electableSpecs?: {
>         diskIOPS?: number | null,
>         diskSizeGB?: number | null,
>         diskThroughput?: number | null,
>         ebsVolumeType?: string | null,
>         instanceSize?: string | null,
>         nodeCount?: number | null
>       } | {
>         diskIOPS?: number | null,
>         diskSizeGB?: number | null,
>         instanceSize?: string | null,
>         nodeCount?: number | null
>       } | {
>         diskIOPS?: number | null,
>         diskSizeGB?: number | null,
>         diskThroughput?: number | null,
>         instanceSize?: string | null,
>         nodeCount?: number | null
>       } | {
>         diskSizeGB?: number | null,
>         effectiveInstanceSize?: string | null,
>         instanceSize?: string | null
>       } | null,
>       priority?: number | null,
>       providerName?: string | null,
>       regionName?: string | string | string | null
>     }[] | null,
>     zoneId?: string | null,
>     zoneName?: string | null
>   }[] | null,
>   retainBackups?: boolean | null,
>   rootCertType?: string | null,
>   searchAutoMigration?: {
>     disabled?: boolean | null
>   } | null,
>   stateName?: string | null,
>   tags?: {
>     key?: string | null,
>     value?: string | null
>   }[] | null,
>   terminationProtectionEnabled?: boolean | null,
>   useAwsTimeBasedSnapshotCopyForFastInitialSync?: boolean | null,
>   versionReleaseSystem?: string | null
> }[] | null
> ```

***

### pinFeatureCompatibilityVersion

`clusters.pinFeatureCompatibilityVersion`

Pin Feature Compatibility Version for One Cluster in One Project: pins the Feature Compatibility Version (FCV) to the current MongoDB version and sets the pin expiration date

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.clusters.pinFeatureCompatibilityVersion({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies this cluster. |
| `expirationDate` | `string` | No | Expiration date of the fixed FCV. If not specified, the expiration date will default to 4 weeks from the date FCV was originally pinned. Note that this field cannot exceed 4 weeks from the pinned date. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### requestSampleDatasetLoad

`clusters.requestSampleDatasetLoad`

Load Sample Dataset into One Cluster: requests loading the MongoDB sample dataset into the specified cluster

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.clusters.requestSampleDatasetLoad({ groupId: '5f43e7f0a1b2c3d4e5f60718', name: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `name` | `string` | Yes | Human-readable label that identifies the cluster into which you load the sample dataset. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies this sample dataset. |
| `clusterName` | `string \| null` | No | Human-readable label that identifies the cluster into which you loaded the sample dataset. |
| `completeDate` | `string \| null` | No | Date and time when the sample dataset load job completed. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. |
| `createDate` | `string \| null` | No | Date and time when you started the sample dataset load job. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. |
| `errorMessage` | `string \| null` | No | Details of the error returned when MongoDB Cloud loads the sample dataset. This endpoint returns null if state has a value other than FAILED. |
| `state` | `string \| null` | No | Status of the sample dataset load job. |

***

### restartPrimaries

`clusters.restartPrimaries`

Test Failover for One Cluster: starts a failover test for the specified cluster in the specified project

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.clusters.restartPrimaries({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### revokeMongoEmployeeAccess

`clusters.revokeMongoEmployeeAccess`

Revoke MongoDB Employee Cluster Access for One Cluster: revokes a previously granted MongoDB employee cluster access

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.clusters.revokeMongoEmployeeAccess({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies this cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### unpinFeatureCompatibilityVersion

`clusters.unpinFeatureCompatibilityVersion`

Unpin Feature Compatibility Version for One Cluster in One Project: unpins the current fixed Feature Compatibility Version (FCV)

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.clusters.unpinFeatureCompatibilityVersion({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies this cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### updateCluster

`clusters.updateCluster`

Update One Cluster in One Project: updates the details for one cluster in the specified project

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.clusters.updateCluster({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `useEffectiveInstanceFields` | `boolean` | No | Controls how hardware specification fields are returned in the response after cluster updates. When set to true, returns the original client-specified values and provides separate effective fields showing current operational values. When false (default), hardware specification fields show current operational values directly. Note: When using this header with autoscaling enabled, MongoDB ignores `replicationSpecs` changes during updates. To intentionally override the `replicationSpecs`, disable t |
| `useEffectiveFieldsReplicationSpecs` | `boolean` | No | Controls how `replicationSpecs` fields are returned in the response. When set to `true`, stores the client's view of `replicationSpecs` and returns it in `replicationSpecs`, while the actual cluster state (including auto-scaled hardware and auto-added shards) is returned in `effectiveReplicationSpecs`. When `false` (default), `replicationSpecs` contains the actual cluster state. |
| `acceptDataRisksAndForceReplicaSetReconfig` | `string` | No | 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 \`a |
| `adaptiveCapacity` | `ENABLED \| DISABLED \| null` | No | Governs adaptive capacity behavior of nodes in clusters on providers that support fallback hardware, including those providers' nodes in multi-cloud clusters. Adaptive capacity enables fallback hardware selection when the primary instance family is unavailable. `ENABLED` means the cluster explicitly opts in to adaptive capacity. `DISABLED` means the cluster explicitly opts out; the cluster receives capacity errors instead of being placed on fallback hardware. `null` means the field is unse |
| `advancedConfiguration` | `object` | No | Group of settings that configures a subset of the advanced configuration details. |
| `backupEnabled` | `boolean` | No | Flag that indicates whether Atlas backs up the cluster. On Atlas Core clusters, dedicated clusters use [Cloud Backups](https://www.mongodb.com/docs/atlas/backup/cloud-backup/overview/) and Flex clusters use [Flex Cluster Backups](https://www.mongodb.com/docs/atlas/backup/cloud-backup/flex-cluster-backup/). Default value is `false`. For clusters that use local [NVMe SSDs](https://www.mongodb.com/docs/atlas/manage-clusters/#nvme-storage) for storage, you can't disable backup, so you must set \`back |
| `biConnector` | `object` | No | Settings needed to configure the MongoDB Connector for Business Intelligence for this cluster. |
| `clusterType` | `REPLICASET \| SHARDED \| GEOSHARDED` | No | Configuration of nodes that comprise the cluster. |
| `configServerManagementMode` | `ATLAS_MANAGED \| FIXED_TO_DEDICATED` | No | 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. |
| `databaseEdition` | `CORE \| INFINITE` | No | Available in Public Preview: Optional field that indicates whether your cluster will be Atlas INFINITE or CORE. You can set it only when you create the cluster, or when you upgrade a Free or Flex cluster to a dedicated cluster. This value is immutable once the dedicated cluster exists; attempting to change it on an update request returns an error. |
| `diskWarmingMode` | `FULLY_WARMED \| VISIBLE_EARLIER` | No | Disk warming mode selection. |
| `encryptionAtRestProvider` | `NONE \| AWS \| AZURE \| GCP` | No | 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. |
| `globalClusterSelfManagedSharding` | `boolean` | No | 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 cann |
| `labels` | `object[]` | No | Deprecated: Cluster labels will be removed in a future release. We strongly recommend that you use Resource Tags instead. 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. |
| `mongoDBMajorVersion` | `string` | No | MongoDB major version of the cluster. Set to the binary major version. 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 \[projec |
| `name` | `string` | No | Human-readable label that identifies the cluster. |
| `paused` | `boolean` | No | Flag that indicates whether the cluster is paused. |
| `pitEnabled` | `boolean` | No | Flag that indicates whether the cluster uses continuous cloud backups. For Atlas Infinite clusters, continuous cloud backups always run. Omit this field or set it to `true`. Setting it to `false` returns an invalid attribute error. |
| `redactClientLogData` | `boolean` | No | Enable or disable log redaction. This setting configures the `mongod` or `mongos` to redact any document field contents from a message accompanying a given log event before logging. This prevents the program from writing potentially sensitive data stored on the database to the diagnostic log. Metadata such as error or operation codes, line numbers, and source file names are still visible in the logs. Use `redactClientLogData` in conjunction with Encryption at Rest and TLS/SSL (Transport En |
| `replicaSetScalingStrategy` | `SEQUENTIAL \| WORKLOAD_TYPE \| NODE_TYPE` | No | 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 a |
| `replicationSpecs` | `object[]` | No | List of settings that configure your cluster regions. This array has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. |
| `retainBackups` | `boolean` | No | Flag that indicates whether the cluster retains backups. |
| `rootCertType` | `ISRGROOTX1` | No | Root Certificate Authority that MongoDB Atlas cluster uses. MongoDB Cloud supports Internet Security Research Group. |
| `searchAutoMigration` | `object` | No | Configuration for automatically adding Dedicated Search Nodes on eligible Atlas Infinite clusters. This setting has no effect on Atlas Core clusters. |
| `tags` | `object[]` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. |
| `terminationProtectionEnabled` | `boolean` | No | 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. |
| `useAwsTimeBasedSnapshotCopyForFastInitialSync` | `boolean` | No | Flag that indicates whether AWS time-based snapshot copies will be used instead of slower standard snapshot copies during fast Atlas cross-region initial syncs. This flag is only relevant for clusters containing AWS nodes. |
| `versionReleaseSystem` | `LTS \| CONTINUOUS` | No | Method by which the cluster maintains the MongoDB versions. If value is `CONTINUOUS`, you must not specify `mongoDBMajorVersion`. |

> [accordion] advancedConfiguration full type
>
> ```ts theme={null}
> {
>   customOpensslCipherConfigTls12?: (TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 | TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256)[],
>   customOpensslCipherConfigTls13?: (TLS_AES_256_GCM_SHA384 | TLS_CHACHA20_POLY1305_SHA256 | TLS_AES_128_GCM_SHA256 | TLS_AES_128_CCM_SHA256)[],
>   minimumEnabledTlsProtocol?: TLS1_2 | TLS1_3,
>   tlsCipherConfigMode?: CUSTOM | DEFAULT
> }
> ```

> [accordion] biConnector full type
>
> ```ts theme={null}
> {
>   enabled?: boolean,
>   readPreference?: PRIMARY | SECONDARY | ANALYTICS
> }
> ```

> [accordion] labels full type
>
> ```ts theme={null}
> {
>   key?: string,
>   value?: string
> }[]
> ```

> [accordion] replicationSpecs full type
>
> ```ts theme={null}
> {
>   regionConfigs?: {
>     electableSpecs?: {
>       diskIOPS?: number,
>       diskSizeGB?: number,
>       ebsVolumeType?: STANDARD | PROVISIONED | HIGH_PERFORMANCE,
>       instanceSize?: 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 | M30_GEN_2 | M40_GEN_2 | M50_GEN_2 | M60_GEN_2 | M80_GEN_2 | M140_GEN_2 | M200_GEN_2 | M300_GEN_2 | M700_GEN_2 | R40_GEN_2 | R50_GEN_2 | R60_GEN_2 | R80_GEN_2 | R200_GEN_2 | R300_GEN_2 | R400_GEN_2 | R700_GEN_2 | M40_NVME_GEN_2 | M50_NVME_GEN_2 | M60_NVME_GEN_2 | M80_NVME_GEN_2 | M200_NVME_GEN_2 | M400_NVME_GEN_2,
>       nodeCount?: number
>     } | {
>       diskIOPS?: number,
>       diskSizeGB?: number,
>       instanceSize?: 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,
>       nodeCount?: number
>     } | {
>       diskIOPS?: number,
>       diskSizeGB?: number,
>       instanceSize?: M10 | M20 | M30 | M40 | M50 | M60 | M80 | M140 | M200 | M250 | M300 | M400 | R40 | R50 | R60 | R80 | R200 | R300 | R400 | R600 | M30_GEN_2 | M40_GEN_2 | M50_GEN_2 | M60_GEN_2 | M80_GEN_2 | M140_GEN_2 | M200_GEN_2 | M300_GEN_2 | M700_GEN_2 | R40_GEN_2 | R50_GEN_2 | R60_GEN_2 | R80_GEN_2 | R200_GEN_2 | R300_GEN_2 | R400_GEN_2,
>       nodeCount?: number
>     } | {
>       diskSizeGB?: number,
>       instanceSize?: M0 | M2 | M5
>     },
>     priority?: number,
>     providerName?: AWS | AZURE | GCP | TENANT,
>     regionName?: 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 | 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 | 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
>   }[],
>   zoneName?: string
> }[]
> ```

> [accordion] searchAutoMigration full type
>
> ```ts theme={null}
> {
>   disabled?: boolean
> }
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key: string,
>   value: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `acceptDataRisksAndForceReplicaSetReconfig` | `string \| null` | No | 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 \`a |
| `adaptiveCapacity` | `string \| null \| null` | No | Governs adaptive capacity behavior of nodes in clusters on providers that support fallback hardware, including those providers' nodes in multi-cloud clusters. Adaptive capacity enables fallback hardware selection when the primary instance family is unavailable. `ENABLED` means the cluster explicitly opts in to adaptive capacity. `DISABLED` means the cluster explicitly opts out; the cluster receives capacity errors instead of being placed on fallback hardware. `null` means the field is unse |
| `advancedConfiguration` | `object \| null` | No | Group of settings that configures a subset of the advanced configuration details. |
| `backupEnabled` | `boolean \| null` | No | Flag that indicates whether Atlas backs up the cluster. On Atlas Core clusters, dedicated clusters use [Cloud Backups](https://www.mongodb.com/docs/atlas/backup/cloud-backup/overview/) and Flex clusters use [Flex Cluster Backups](https://www.mongodb.com/docs/atlas/backup/cloud-backup/flex-cluster-backup/). Default value is `false`. For clusters that use local [NVMe SSDs](https://www.mongodb.com/docs/atlas/manage-clusters/#nvme-storage) for storage, you can't disable backup, so you must set \`back |
| `biConnector` | `object \| null` | No | Settings needed to configure the MongoDB Connector for Business Intelligence for this cluster. |
| `clusterType` | `string \| null` | No | Configuration of nodes that comprise the cluster. |
| `configServerManagementMode` | `string \| null` | No | 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. |
| `configServerType` | `string \| null` | No | Describes a sharded cluster's config server type. |
| `connectionStrings` | `object \| null` | No | Collection of Uniform Resource Locators that point to the MongoDB database. |
| `createDate` | `string \| null` | No | Date and time when MongoDB Cloud created this cluster. This parameter expresses its value in ISO 8601 format in UTC. |
| `databaseEdition` | `string \| null` | No | Available in Public Preview: Optional field that indicates whether your cluster will be Atlas INFINITE or CORE. You can set it only when you create the cluster, or when you upgrade a Free or Flex cluster to a dedicated cluster. This value is immutable once the dedicated cluster exists; attempting to change it on an update request returns an error. |
| `diskWarmingMode` | `string \| null` | No | Disk warming mode selection. |
| `effectiveDatabaseEdition` | `string \| null` | No | Available in Public Preview: Field that represents whether your cluster is Atlas INFINITE or CORE. This is read-only and always returned in the response. It reflects the actual cluster state. This value matches `databaseEdition` if it was set, otherwise it reflects the default database edition assigned to the cluster. |
| `effectiveReplicationSpecs` | `object[] \| null` | No | List of settings that represent the actual cluster state. This is read-only and always returned in the response. It reflects the current cluster configuration, which may differ from `replicationSpecs` due to system-managed changes. |
| `encryptionAtRestProvider` | `string \| null` | No | 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. |
| `featureCompatibilityVersion` | `string \| null` | No | Feature compatibility version of the cluster. This will always appear regardless of whether FCV is pinned. |
| `featureCompatibilityVersionExpirationDate` | `string \| null` | No | Feature compatibility version expiration date. Will only appear if FCV is pinned. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `globalClusterSelfManagedSharding` | `boolean \| null` | No | 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 cann |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the cluster. |
| `internalClusterRole` | `string \| null` | No | Internal classification of the cluster's role. Possible values: `NONE` (regular user cluster), `SYSTEM_CLUSTER` (system cluster for backup), `INTERNAL_SHADOW_CLUSTER` (internal use shadow cluster for testing). |
| `labels` | `object[] \| null` | No | Deprecated: Cluster labels will be removed in a future release. We strongly recommend that you use Resource Tags instead. 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. |
| `links` | `object[] \| null` | No | 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. |
| `mongoDBEmployeeAccessGrant` | `object \| null` | No | MongoDB employee granted access level and expiration for a cluster. |
| `mongoDBMajorVersion` | `string \| null` | No | MongoDB major version of the cluster. Set to the binary major version. 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 \[projec |
| `mongoDBVersion` | `string \| null` | No | Version of MongoDB that the cluster runs. |
| `name` | `string \| null` | No | Human-readable label that identifies the cluster. |
| `paused` | `boolean \| null` | No | Flag that indicates whether the cluster is paused. |
| `pitEnabled` | `boolean \| null` | No | Flag that indicates whether the cluster uses continuous cloud backups. For Atlas Infinite clusters, continuous cloud backups always run. Omit this field or set it to `true`. Setting it to `false` returns an invalid attribute error. |
| `redactClientLogData` | `boolean \| null` | No | Enable or disable log redaction. This setting configures the `mongod` or `mongos` to redact any document field contents from a message accompanying a given log event before logging. This prevents the program from writing potentially sensitive data stored on the database to the diagnostic log. Metadata such as error or operation codes, line numbers, and source file names are still visible in the logs. Use `redactClientLogData` in conjunction with Encryption at Rest and TLS/SSL (Transport En |
| `replicaSetScalingStrategy` | `string \| null` | No | 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 a |
| `replicationSpecs` | `object[] \| null` | No | List of settings that configure your cluster regions. This array has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. |
| `retainBackups` | `boolean \| null` | No | Flag that indicates whether the cluster retains backups. |
| `rootCertType` | `string \| null` | No | Root Certificate Authority that MongoDB Atlas cluster uses. MongoDB Cloud supports Internet Security Research Group. |
| `searchAutoMigration` | `object \| null` | No | Configuration for automatically adding Dedicated Search Nodes on eligible Atlas Infinite clusters. This setting has no effect on Atlas Core clusters. |
| `stateName` | `string \| null` | No | 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 unt |
| `tags` | `object[] \| null` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. |
| `terminationProtectionEnabled` | `boolean \| null` | No | 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. |
| `useAwsTimeBasedSnapshotCopyForFastInitialSync` | `boolean \| null` | No | Flag that indicates whether AWS time-based snapshot copies will be used instead of slower standard snapshot copies during fast Atlas cross-region initial syncs. This flag is only relevant for clusters containing AWS nodes. |
| `versionReleaseSystem` | `string \| null` | No | Method by which the cluster maintains the MongoDB versions. If value is `CONTINUOUS`, you must not specify `mongoDBMajorVersion`. |

> [accordion] advancedConfiguration full type
>
> ```ts theme={null}
> {
>   customOpensslCipherConfigTls12?: string[] | null,
>   customOpensslCipherConfigTls13?: string[] | null,
>   minimumEnabledTlsProtocol?: string | null,
>   tlsCipherConfigMode?: string | null
> } | null
> ```

> [accordion] biConnector full type
>
> ```ts theme={null}
> {
>   enabled?: boolean | null,
>   readPreference?: string | null
> } | null
> ```

> [accordion] connectionStrings full type
>
> ```ts theme={null}
> {
>   awsPrivateLink?: Record<string, string> | null,
>   awsPrivateLinkSrv?: Record<string, string> | null,
>   private?: string | null,
>   privateEndpoint?: {
>     connectionString?: string | null,
>     endpoints?: {
>       endpointId?: string | null,
>       providerName?: string | null,
>       region?: string | null
>     }[] | null,
>     srvConnectionString?: string | null,
>     srvShardOptimizedConnectionString?: string | null,
>     type?: string | null
>   }[] | null,
>   privateSrv?: string | null,
>   standard?: string | null,
>   standardSrv?: string | null
> } | null
> ```

> [accordion] effectiveReplicationSpecs full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   regionConfigs?: {
>     electableSpecs?: {
>       diskIOPS?: number | null,
>       diskSizeGB?: number | null,
>       diskThroughput?: number | null,
>       ebsVolumeType?: string | null,
>       instanceSize?: string | null,
>       nodeCount?: number | null
>     } | {
>       diskIOPS?: number | null,
>       diskSizeGB?: number | null,
>       instanceSize?: string | null,
>       nodeCount?: number | null
>     } | {
>       diskIOPS?: number | null,
>       diskSizeGB?: number | null,
>       diskThroughput?: number | null,
>       instanceSize?: string | null,
>       nodeCount?: number | null
>     } | {
>       diskSizeGB?: number | null,
>       effectiveInstanceSize?: string | null,
>       instanceSize?: string | null
>     } | null,
>     priority?: number | null,
>     providerName?: string | null,
>     regionName?: string | string | string | null
>   }[] | null,
>   zoneId?: string | null,
>   zoneName?: string | null
> }[] | null
> ```

> [accordion] labels full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] mongoDBEmployeeAccessGrant full type
>
> ```ts theme={null}
> {
>   expirationTime?: string | null,
>   grantType?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null
> } | null
> ```

> [accordion] replicationSpecs full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   regionConfigs?: {
>     electableSpecs?: {
>       diskIOPS?: number | null,
>       diskSizeGB?: number | null,
>       diskThroughput?: number | null,
>       ebsVolumeType?: string | null,
>       instanceSize?: string | null,
>       nodeCount?: number | null
>     } | {
>       diskIOPS?: number | null,
>       diskSizeGB?: number | null,
>       instanceSize?: string | null,
>       nodeCount?: number | null
>     } | {
>       diskIOPS?: number | null,
>       diskSizeGB?: number | null,
>       diskThroughput?: number | null,
>       instanceSize?: string | null,
>       nodeCount?: number | null
>     } | {
>       diskSizeGB?: number | null,
>       effectiveInstanceSize?: string | null,
>       instanceSize?: string | null
>     } | null,
>     priority?: number | null,
>     providerName?: string | null,
>     regionName?: string | string | string | null
>   }[] | null,
>   zoneId?: string | null,
>   zoneName?: string | null
> }[] | null
> ```

> [accordion] searchAutoMigration full type
>
> ```ts theme={null}
> {
>   disabled?: boolean | null
> } | null
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

***

### updateClusterAdaptiveSettings

`clusters.updateClusterAdaptiveSettings`

Update Adaptive Settings for One Cluster: updates the client-provided Adaptive Settings overrides for the specified cluster and returns the resulting Adaptive Settings, including the effective settings derived from those overrides and Atlas-managed defaults

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.clusters.updateClusterAdaptiveSettings({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `adaptiveSettingsOverrides` | `object` | No | Map of customer-specified overrides for Adaptive Settings, applied on a best-effort basis. Each supported entry that you specify in this object takes precedence over the corresponding Atlas-managed default. For example, if a setting is enabled by default, you can add an override to disable it for your cluster. |

> [accordion] adaptiveSettingsOverrides full type
>
> ```ts theme={null}
> {
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `adaptiveSettingsOverrides` | `object \| null` | No | Map of customer-specified overrides for Adaptive Settings, applied on a best-effort basis. Each supported entry that you specify in this object takes precedence over the corresponding Atlas-managed default. For example, if a setting is enabled by default, you can add an override to disable it for your cluster. |
| `effectiveAdaptiveSettings` | `object \| null` | No | The effective state of Adaptive Settings currently applied to your cluster, based on your overrides and Atlas-managed defaults. Atlas-managed defaults can vary by MongoDB version, so the same setting may default differently across clusters running different versions. If you set an override for a setting that your cluster's current MongoDB version doesn't support, the override doesn't take effect and the effective value reflects the Atlas-managed default instead. |

> [accordion] adaptiveSettingsOverrides full type
>
> ```ts theme={null}
> {
> } | null
> ```

> [accordion] effectiveAdaptiveSettings full type
>
> ```ts theme={null}
> {
> } | null
> ```

***

### updateProcessArgs

`clusters.updateProcessArgs`

Update Advanced Configuration Options for One Cluster: updates the advanced configuration details for one cluster in the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.clusters.updateProcessArgs({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `changeStreamOptionsPreAndPostImagesExpireAfterSeconds` | `number` | No | The minimum pre- and post-image retention time in seconds. |
| `chunkMigrationConcurrency` | `number` | No | 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. |
| `customOpensslCipherConfigTls12` | `(TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 \| TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256)[]` | No | The custom OpenSSL cipher suite list for TLS 1.2. Requires `tlsCipherConfigMode` = `CUSTOM`; when `tlsCipherConfigMode` is omitted, supplying a non-empty list infers `CUSTOM`. |
| `customOpensslCipherConfigTls13` | `(TLS_AES_256_GCM_SHA384 \| TLS_CHACHA20_POLY1305_SHA256 \| TLS_AES_128_GCM_SHA256 \| TLS_AES_128_CCM_SHA256)[]` | No | The custom OpenSSL cipher suite list for TLS 1.3. Requires `tlsCipherConfigMode` = `CUSTOM`; when `tlsCipherConfigMode` is omitted, supplying a non-empty list infers `CUSTOM`. |
| `defaultMaxTimeMS` | `number` | No | Default time limit in milliseconds for individual read operations to complete. |
| `defaultWriteConcern` | `string` | No | Default level of acknowledgment requested from MongoDB for write operations when none is specified by the driver. |
| `javascriptEnabled` | `boolean` | No | 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. |
| `minimumEnabledTlsProtocol` | `TLS1_2 \| TLS1_3` | No | Minimum Transport Layer Security (TLS) version that the cluster accepts for incoming connections. |
| `noTableScan` | `boolean` | No | Flag that indicates whether the cluster disables executing any query that requires a collection scan to return results. |
| `oplogMinRetentionHours` | `number \| null` | No | 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. |
| `oplogSizeMB` | `number \| null` | No | 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. |
| `queryStatsLogVerbosity` | `number` | No | 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. |
| `sampleRefreshIntervalBIConnector` | `number` | No | Interval in seconds at which the mongosqld process re-samples data to create its relational schema. |
| `sampleSizeBIConnector` | `number` | No | Number of documents per database to sample when gathering schema information. |
| `tlsCipherConfigMode` | `CUSTOM \| DEFAULT` | No | 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. |
| `transactionLifetimeLimitSeconds` | `number` | No | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `changeStreamOptionsPreAndPostImagesExpireAfterSeconds` | `number \| null` | No | The minimum pre- and post-image retention time in seconds. |
| `chunkMigrationConcurrency` | `number \| null` | No | 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. |
| `customOpensslCipherConfigTls12` | `string[] \| null` | No | The custom OpenSSL cipher suite list for TLS 1.2. Requires `tlsCipherConfigMode` = `CUSTOM`; when `tlsCipherConfigMode` is omitted, supplying a non-empty list infers `CUSTOM`. |
| `customOpensslCipherConfigTls13` | `string[] \| null` | No | The custom OpenSSL cipher suite list for TLS 1.3. Requires `tlsCipherConfigMode` = `CUSTOM`; when `tlsCipherConfigMode` is omitted, supplying a non-empty list infers `CUSTOM`. |
| `defaultMaxTimeMS` | `number \| null` | No | Default time limit in milliseconds for individual read operations to complete. |
| `defaultWriteConcern` | `string \| null` | No | Default level of acknowledgment requested from MongoDB for write operations when none is specified by the driver. |
| `javascriptEnabled` | `boolean \| null` | No | 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. |
| `minimumEnabledTlsProtocol` | `string \| null` | No | Minimum Transport Layer Security (TLS) version that the cluster accepts for incoming connections. |
| `noTableScan` | `boolean \| null` | No | Flag that indicates whether the cluster disables executing any query that requires a collection scan to return results. |
| `oplogMinRetentionHours` | `number \| null \| null` | No | 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. |
| `oplogSizeMB` | `number \| null \| null` | No | 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. |
| `queryStatsLogVerbosity` | `number \| null` | No | 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. |
| `sampleRefreshIntervalBIConnector` | `number \| null` | No | Interval in seconds at which the mongosqld process re-samples data to create its relational schema. |
| `sampleSizeBIConnector` | `number \| null` | No | Number of documents per database to sample when gathering schema information. |
| `tlsCipherConfigMode` | `string \| null` | No | 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. |
| `transactionLifetimeLimitSeconds` | `number \| null` | No | 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. |

***

### upgradeTenantUpgrade

`clusters.upgradeTenantUpgrade`

Upgrade One Shared-Tier Cluster: upgrades a shared-tier cluster to a Flex or Dedicated (M10+) cluster in the specified project

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.clusters.upgradeTenantUpgrade({ groupId: '5f43e7f0a1b2c3d4e5f60718', name: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `acceptDataRisksAndForceReplicaSetReconfig` | `string` | No | 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 \`a |
| `advancedConfiguration` | `object` | No | Group of settings that configures a subset of the advanced configuration details. |
| `autoScaling` | `object` | No | Range of instance sizes to which your cluster can scale. |
| `backupEnabled` | `boolean` | No | 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` | `object` | No | Settings needed to configure the MongoDB Connector for Business Intelligence for this cluster. |
| `clusterType` | `REPLICASET \| SHARDED \| GEOSHARDED` | No | Configuration of nodes that comprise the cluster. |
| `configServerManagementMode` | `ATLAS_MANAGED \| FIXED_TO_DEDICATED` | No | 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. |
| `databaseEdition` | `CORE \| INFINITE` | No | Available in Public Preview: Optional field that indicates whether your cluster will be Atlas INFINITE or CORE. This field applies only to flex and shared clusters. You can set it only when you create the cluster, or when you upgrade a flex cluster to a dedicated cluster. This value is immutable once the dedicated cluster exists; attempting to change it on an update request returns an error. |
| `deleteAfterCreationHours` | `number` | No | 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 pres |
| `diskSizeGB` | `number` | No | Storage capacity of instance data volumes expressed in gigabytes. Increase this number to add capacity. This value is not configurable on M0/M2/M5 clusters. MongoDB Cloud requires this parameter if you set `replicationSpecs`. If you specify a disk size below the minimum (10 GB), this parameter defaults to the minimum disk size value. Storage charge calculations depend on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum |
| `diskWarmingMode` | `FULLY_WARMED \| VISIBLE_EARLIER` | No | Disk warming mode selection. |
| `encryptionAtRestProvider` | `NONE \| AWS \| AZURE \| GCP` | No | 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. |
| `globalClusterSelfManagedSharding` | `boolean` | No | 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 cann |
| `labels` | `object[]` | No | Deprecated: Cluster labels will be removed in a future release. We strongly recommend that you use Resource Tags instead. 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. |
| `mongoDBMajorVersion` | `string` | No | 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/Pro |
| `mongoDBVersion` | `string` | No | Version of MongoDB that the cluster runs. |
| `name` | `string` | Yes | Human-readable label that identifies the cluster. |
| `numShards` | `number` | No | 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. |
| `paused` | `boolean` | No | Flag that indicates whether the cluster is paused. |
| `pitEnabled` | `boolean` | No | Flag that indicates whether the cluster uses continuous cloud backups. |
| `providerBackupEnabled` | `boolean` | No | 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` | `object` | No | Group of cloud provider settings that configure the provisioned MongoDB hosts. |
| `replicaSetScalingStrategy` | `SEQUENTIAL \| WORKLOAD_TYPE \| NODE_TYPE` | No | 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 a |
| `replicationFactor` | `3 \| 5 \| 7` | No | Deprecated: Use `replicationSpecs` instead. Number of members that belong to the replica set. Each member retains a copy of your databases, providing high availability and data redundancy. |
| `replicationSpec` | `object` | No | Physical location where MongoDB Cloud provisions cluster nodes. |
| `replicationSpecs` | `object[]` | No | 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. |
| `rootCertType` | `ISRGROOTX1` | No | Root Certificate Authority that MongoDB Atlas cluster uses. MongoDB Cloud supports Internet Security Research Group. |
| `tags` | `object[]` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. |
| `terminationProtectionEnabled` | `boolean` | No | 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. |
| `versionReleaseSystem` | `LTS \| CONTINUOUS` | No | Method by which the cluster maintains the MongoDB versions. If value is `CONTINUOUS`, you must not specify `mongoDBMajorVersion`. |

> [accordion] advancedConfiguration full type
>
> ```ts theme={null}
> {
>   customOpensslCipherConfigTls12?: (TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 | TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256)[],
>   customOpensslCipherConfigTls13?: (TLS_AES_256_GCM_SHA384 | TLS_CHACHA20_POLY1305_SHA256 | TLS_AES_128_GCM_SHA256 | TLS_AES_128_CCM_SHA256)[],
>   minimumEnabledTlsProtocol?: TLS1_2 | TLS1_3,
>   tlsCipherConfigMode?: CUSTOM | DEFAULT
> }
> ```

> [accordion] autoScaling full type
>
> ```ts theme={null}
> {
>   compute?: {
>     enabled?: boolean,
>     scaleDownEnabled?: boolean
>   },
>   diskGBEnabled?: boolean
> }
> ```

> [accordion] biConnector full type
>
> ```ts theme={null}
> {
>   enabled?: boolean,
>   readPreference?: PRIMARY | SECONDARY | ANALYTICS
> }
> ```

> [accordion] labels full type
>
> ```ts theme={null}
> {
>   key?: string,
>   value?: string
> }[]
> ```

> [accordion] providerSettings full type
>
> ```ts theme={null}
> {
>   providerName: string
> }
> ```

> [accordion] replicationSpec full type
>
> ```ts theme={null}
> Record<string, {
>   analyticsNodes?: number,
>   electableNodes?: 0 | 3 | 5 | 7,
>   priority?: number,
>   readOnlyNodes?: number
> }>
> ```

> [accordion] replicationSpecs full type
>
> ```ts theme={null}
> {
>   id?: string,
>   numShards?: number,
>   regionsConfig?: Record<string, {
>     analyticsNodes?: number,
>     electableNodes?: 0 | 3 | 5 | 7,
>     priority?: number,
>     readOnlyNodes?: number
>   }>,
>   zoneName?: string
> }[]
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key: string,
>   value: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `acceptDataRisksAndForceReplicaSetReconfig` | `string \| null` | No | 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 \`a |
| `advancedConfiguration` | `object \| null` | No | Group of settings that configures a subset of the advanced configuration details. |
| `autoScaling` | `object \| null` | No | Range of instance sizes to which your cluster can scale. |
| `backupEnabled` | `boolean \| null` | No | 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` | `object \| null` | No | Settings needed to configure the MongoDB Connector for Business Intelligence for this cluster. |
| `clusterType` | `string \| null` | No | Configuration of nodes that comprise the cluster. |
| `configServerManagementMode` | `string \| null` | No | 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. |
| `configServerType` | `string \| null` | No | Describes a sharded cluster's config server type. |
| `connectionStrings` | `object \| null` | No | Collection of Uniform Resource Locators that point to the MongoDB database. |
| `createDate` | `string \| null` | No | Date and time when MongoDB Cloud created this serverless instance. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. |
| `databaseEdition` | `string \| null` | No | Available in Public Preview: Optional field that indicates whether your cluster will be Atlas INFINITE or CORE. This field applies only to flex and shared clusters. You can set it only when you create the cluster, or when you upgrade a flex cluster to a dedicated cluster. This value is immutable once the dedicated cluster exists; attempting to change it on an update request returns an error. |
| `deleteAfterCreationHours` | `number \| null` | No | 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 pres |
| `deleteAfterDate` | `string \| null` | No | 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`. |
| `diskSizeGB` | `number \| null` | No | Storage capacity of instance data volumes expressed in gigabytes. Increase this number to add capacity. This value is not configurable on M0/M2/M5 clusters. MongoDB Cloud requires this parameter if you set `replicationSpecs`. If you specify a disk size below the minimum (10 GB), this parameter defaults to the minimum disk size value. Storage charge calculations depend on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum |
| `diskWarmingMode` | `string \| null` | No | Disk warming mode selection. |
| `effectiveDatabaseEdition` | `string \| null` | No | Available in Public Preview: Field that represents whether your cluster is Atlas INFINITE or CORE. This field applies only to flex and shared clusters. This is read-only and always returned in the response. It reflects the actual cluster state. This value matches `databaseEdition` if it was set, otherwise it reflects the default database edition assigned to the cluster. |
| `encryptionAtRestProvider` | `string \| null` | No | 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. |
| `featureCompatibilityVersion` | `string \| null` | No | Feature compatibility version of the cluster. |
| `featureCompatibilityVersionExpirationDate` | `string \| null` | No | Feature compatibility version expiration date. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `globalClusterSelfManagedSharding` | `boolean \| null` | No | 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 cann |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the cluster. |
| `labels` | `object[] \| null` | No | Deprecated: Cluster labels will be removed in a future release. We strongly recommend that you use Resource Tags instead. 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. |
| `links` | `object[] \| null` | No | 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. |
| `mongoDBEmployeeAccessGrant` | `object \| null` | No | MongoDB employee granted access level and expiration for a cluster. |
| `mongoDBMajorVersion` | `string \| null` | No | 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/Pro |
| `mongoDBVersion` | `string \| null` | No | Version of MongoDB that the cluster runs. |
| `mongoURI` | `string \| null` | No | 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. |
| `mongoURIUpdated` | `string \| null` | No | Date and time when someone last updated the connection string. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. |
| `mongoURIWithOptions` | `string \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable label that identifies the cluster. |
| `numShards` | `number \| null` | No | 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. |
| `paused` | `boolean \| null` | No | Flag that indicates whether the cluster is paused. |
| `pitEnabled` | `boolean \| null` | No | Flag that indicates whether the cluster uses continuous cloud backups. |
| `providerBackupEnabled` | `boolean \| null` | No | 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` | `object \| null` | No | Group of cloud provider settings that configure the provisioned MongoDB hosts. |
| `replicaSetScalingStrategy` | `string \| null` | No | 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 a |
| `replicationFactor` | `number \| null` | No | Deprecated: Use `replicationSpecs` instead. Number of members that belong to the replica set. Each member retains a copy of your databases, providing high availability and data redundancy. |
| `replicationSpec` | `object \| null` | No | Physical location where MongoDB Cloud provisions cluster nodes. |
| `replicationSpecs` | `object[] \| null` | No | 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. |
| `rootCertType` | `string \| null` | No | Root Certificate Authority that MongoDB Atlas cluster uses. MongoDB Cloud supports Internet Security Research Group. |
| `srvAddress` | `string \| null` | No | 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. |
| `stateName` | `string \| null` | No | 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 unt |
| `tags` | `object[] \| null` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. |
| `terminationProtectionEnabled` | `boolean \| null` | No | 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. |
| `versionReleaseSystem` | `string \| null` | No | Method by which the cluster maintains the MongoDB versions. If value is `CONTINUOUS`, you must not specify `mongoDBMajorVersion`. |

> [accordion] advancedConfiguration full type
>
> ```ts theme={null}
> {
>   customOpensslCipherConfigTls12?: string[] | null,
>   customOpensslCipherConfigTls13?: string[] | null,
>   minimumEnabledTlsProtocol?: string | null,
>   tlsCipherConfigMode?: string | null
> } | null
> ```

> [accordion] autoScaling full type
>
> ```ts theme={null}
> {
>   compute?: {
>     enabled?: boolean | null,
>     scaleDownEnabled?: boolean | null
>   } | null,
>   diskGBEnabled?: boolean | null
> } | null
> ```

> [accordion] biConnector full type
>
> ```ts theme={null}
> {
>   enabled?: boolean | null,
>   readPreference?: string | null
> } | null
> ```

> [accordion] connectionStrings full type
>
> ```ts theme={null}
> {
>   awsPrivateLink?: Record<string, string> | null,
>   awsPrivateLinkSrv?: Record<string, string> | null,
>   private?: string | null,
>   privateEndpoint?: {
>     connectionString?: string | null,
>     endpoints?: {
>       endpointId?: string | null,
>       providerName?: string | null,
>       region?: string | null
>     }[] | null,
>     srvConnectionString?: string | null,
>     srvShardOptimizedConnectionString?: string | null,
>     type?: string | null
>   }[] | null,
>   privateSrv?: string | null,
>   standard?: string | null,
>   standardSrv?: string | null
> } | null
> ```

> [accordion] labels full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] mongoDBEmployeeAccessGrant full type
>
> ```ts theme={null}
> {
>   expirationTime?: string | null,
>   grantType?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null
> } | null
> ```

> [accordion] providerSettings full type
>
> ```ts theme={null}
> {
>   providerName?: string | null
> } | null
> ```

> [accordion] replicationSpec full type
>
> ```ts theme={null}
> Record<string, {
>   analyticsNodes?: number | null,
>   electableNodes?: number | null,
>   priority?: number | null,
>   readOnlyNodes?: number | null
> }> | null
> ```

> [accordion] replicationSpecs full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   numShards?: number | null,
>   regionsConfig?: Record<string, {
>     analyticsNodes?: number | null,
>     electableNodes?: number | null,
>     priority?: number | null,
>     readOnlyNodes?: number | null
>   }> | null,
>   zoneName?: string | null
> }[] | null
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

***

### validateGroupClusterConfigurations

`clusters.validateGroupClusterConfigurations`

Validate One Cluster Configuration: checks if the given cluster configuration is valid and ready to be used to create or edit a cluster

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.clusters.validateGroupClusterConfigurations({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterDescription: {},
	editing: true,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `useEffectiveInstanceFields` | `boolean` | No | When true, hardware specification fields for autoscaling-enabled clusters are resolved to their effective (current operational) values before validating an edit. When false (default), the client-specified values are validated. Set this to match the header sent on the corresponding cluster update. |
| `useEffectiveFieldsReplicationSpecs` | `boolean` | No | Controls how `replicationSpecs` are interpreted for auto-sharded clusters when validating an edit. When false (default), `replicationSpecs` is treated as the actual cluster state. |
| `advancedConfiguration` | `object` | No | Advanced MongoDB process configuration options applied to the cluster. |
| `clusterDescription` | `object` | Yes | Configuration of a MongoDB Atlas cluster, including its replication topology, instance sizing, storage, and operational settings. |
| `clusterName` | `string` | No | Name of the existing cluster to validate against when editing is true. |
| `editing` | `boolean` | Yes | When true, validates the configuration as an update to an existing cluster. When false, validates as a new cluster create. |
| `searchDeploymentSpec` | `object` | No | Hardware specification for the Search Nodes that back a search deployment. |
| `tags` | `object[]` | No | Optional list of resource tags. |

> [accordion] advancedConfiguration full type
>
> ```ts theme={null}
> {
>   changeStreamOptionsPreAndPostImagesExpireAfterSeconds?: number,
>   chunkMigrationConcurrency?: number,
>   customOpensslCipherConfigTls12?: (TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 | TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256)[],
>   customOpensslCipherConfigTls13?: (TLS_AES_256_GCM_SHA384 | TLS_CHACHA20_POLY1305_SHA256 | TLS_AES_128_GCM_SHA256 | TLS_AES_128_CCM_SHA256)[],
>   defaultMaxTimeMS?: number,
>   defaultWriteConcern?: string,
>   javascriptEnabled?: boolean,
>   minimumEnabledTlsProtocol?: TLS1_2 | TLS1_3,
>   noTableScan?: boolean,
>   oplogMinRetentionHours?: number | null,
>   oplogSizeMB?: number | null,
>   queryStatsLogVerbosity?: number,
>   sampleRefreshIntervalBIConnector?: number,
>   sampleSizeBIConnector?: number,
>   tlsCipherConfigMode?: CUSTOM | DEFAULT,
>   transactionLifetimeLimitSeconds?: number
> }
> ```

> [accordion] clusterDescription full type
>
> ```ts theme={null}
> {
>   acceptDataRisksAndForceReplicaSetReconfig?: string,
>   adaptiveCapacity?: ENABLED | DISABLED | null,
>   advancedConfiguration?: {
>     customOpensslCipherConfigTls12?: (TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 | TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256)[],
>     customOpensslCipherConfigTls13?: (TLS_AES_256_GCM_SHA384 | TLS_CHACHA20_POLY1305_SHA256 | TLS_AES_128_GCM_SHA256 | TLS_AES_128_CCM_SHA256)[],
>     minimumEnabledTlsProtocol?: TLS1_2 | TLS1_3,
>     tlsCipherConfigMode?: CUSTOM | DEFAULT
>   },
>   backupEnabled?: boolean,
>   biConnector?: {
>     enabled?: boolean,
>     readPreference?: PRIMARY | SECONDARY | ANALYTICS
>   },
>   clusterType?: REPLICASET | SHARDED | GEOSHARDED,
>   configServerManagementMode?: ATLAS_MANAGED | FIXED_TO_DEDICATED,
>   connectionStrings?: {
>   },
>   databaseEdition?: CORE | INFINITE,
>   diskWarmingMode?: FULLY_WARMED | VISIBLE_EARLIER,
>   encryptionAtRestProvider?: NONE | AWS | AZURE | GCP,
>   globalClusterSelfManagedSharding?: boolean,
>   labels?: {
>     key?: string,
>     value?: string
>   }[],
>   mongoDBEmployeeAccessGrant?: {
>     expirationTime: string,
>     grantType: CLUSTER_DATABASE_LOGS | CLUSTER_INFRASTRUCTURE | CLUSTER_INFRASTRUCTURE_AND_APP_SERVICES_SYNC_DATA
>   },
>   mongoDBMajorVersion?: string,
>   name?: string,
>   paused?: boolean,
>   pitEnabled?: boolean,
>   redactClientLogData?: boolean,
>   replicaSetScalingStrategy?: SEQUENTIAL | WORKLOAD_TYPE | NODE_TYPE,
>   replicationSpecs?: {
>     regionConfigs?: {
>       electableSpecs?: {
>         diskIOPS?: number,
>         diskSizeGB?: number,
>         ebsVolumeType?: STANDARD | PROVISIONED | HIGH_PERFORMANCE,
>         instanceSize?: 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 | M30_GEN_2 | M40_GEN_2 | M50_GEN_2 | M60_GEN_2 | M80_GEN_2 | M140_GEN_2 | M200_GEN_2 | M300_GEN_2 | M700_GEN_2 | R40_GEN_2 | R50_GEN_2 | R60_GEN_2 | R80_GEN_2 | R200_GEN_2 | R300_GEN_2 | R400_GEN_2 | R700_GEN_2 | M40_NVME_GEN_2 | M50_NVME_GEN_2 | M60_NVME_GEN_2 | M80_NVME_GEN_2 | M200_NVME_GEN_2 | M400_NVME_GEN_2,
>         nodeCount?: number
>       } | {
>         diskIOPS?: number,
>         diskSizeGB?: number,
>         instanceSize?: 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,
>         nodeCount?: number
>       } | {
>         diskIOPS?: number,
>         diskSizeGB?: number,
>         instanceSize?: M10 | M20 | M30 | M40 | M50 | M60 | M80 | M140 | M200 | M250 | M300 | M400 | R40 | R50 | R60 | R80 | R200 | R300 | R400 | R600 | M30_GEN_2 | M40_GEN_2 | M50_GEN_2 | M60_GEN_2 | M80_GEN_2 | M140_GEN_2 | M200_GEN_2 | M300_GEN_2 | M700_GEN_2 | R40_GEN_2 | R50_GEN_2 | R60_GEN_2 | R80_GEN_2 | R200_GEN_2 | R300_GEN_2 | R400_GEN_2,
>         nodeCount?: number
>       } | {
>         diskSizeGB?: number,
>         instanceSize?: M0 | M2 | M5
>       },
>       priority?: number,
>       providerName?: AWS | AZURE | GCP | TENANT,
>       regionName?: 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 | 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 | 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
>     }[],
>     zoneName?: string
>   }[],
>   retainBackups?: boolean,
>   rootCertType?: ISRGROOTX1,
>   searchAutoMigration?: {
>     disabled?: boolean
>   },
>   tags?: {
>     key: string,
>     value: string
>   }[],
>   terminationProtectionEnabled?: boolean,
>   useAwsTimeBasedSnapshotCopyForFastInitialSync?: boolean,
>   versionReleaseSystem?: LTS | CONTINUOUS
> }
> ```

> [accordion] searchDeploymentSpec full type
>
> ```ts theme={null}
> {
>   instanceSize: S10_HIGHCPU | S20_HIGHCPU_NVME | S30_HIGHCPU_NVME | S40_HIGHCPU_NVME | S50_HIGHCPU_NVME | S60_HIGHCPU_NVME | S70_HIGHCPU_NVME | S80_HIGHCPU_NVME | S30_LOWCPU_NVME | S40_LOWCPU_NVME | S50_LOWCPU_NVME | S60_LOWCPU_NVME | S70_LOWCPU_NVME | S80_LOWCPU_NVME | S90_LOWCPU_NVME | S100_LOWCPU_NVME | S110_LOWCPU_NVME | S120_LOWCPU_NVME | S130_LOWCPU_NVME | S135_LOWCPU_NVME | S140_LOWCPU_NVME | S40_STORAGE_NVME | S50_STORAGE_NVME | S60_STORAGE_NVME | S70_STORAGE_NVME | S80_STORAGE_NVME | S90_STORAGE_NVME,
>   nodeCount: number
> }
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key: string,
>   value: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `errors` | `object[] \| null` | No | List of validation errors, present only when valid is false. |
| `valid` | `boolean \| null` | No | Whether the cluster configuration is valid. |

> [accordion] errors full type
>
> ```ts theme={null}
> {
>   errorCode?: string | null,
>   validationIssue?: string | null
> }[] | null
> ```

***

## Collection Level Metrics

### getClusterNamespaces

`collectionLevelMetrics.getClusterNamespaces`

Return Ranked Namespaces from One Cluster: return the subset of namespaces from the given cluster sorted by highest total execution time (descending) within the given time window

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.collectionLevelMetrics.getClusterNamespaces({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', clusterView: 'PRIMARY' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster to pin namespaces to. |
| `clusterView` | `PRIMARY \| SECONDARY \| INDIVIDUAL_PROCESS` | Yes | Human-readable label that identifies the cluster topology to retrieve metrics for. |
| `start` | `string` | No | 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**. |
| `end` | `string` | No | 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**. |
| `period` | `string` | No | 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**. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the request project. |
| `identifierId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the request process. |
| `rankedNamespaces` | `string[] \| null` | No | Ordered list of the hottest namespaces, highest value first. |

***

### getProcessNamespaces

`collectionLevelMetrics.getProcessNamespaces`

Return Ranked Namespaces from One Host: return the subset of namespaces from the given process ranked by highest total execution time (descending) within the given time window

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.collectionLevelMetrics.getProcessNamespaces({ groupId: '5f43e7f0a1b2c3d4e5f60718', processId: 'cluster0-shard-00-00.abcde.mongodb.net:27017' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `processId` | `string` | Yes | 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. |
| `start` | `string` | No | 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**. |
| `end` | `string` | No | 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**. |
| `period` | `string` | No | 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**. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the request project. |
| `identifierId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the request process. |
| `rankedNamespaces` | `string[] \| null` | No | Ordered list of the hottest namespaces, highest value first. |

***

### listCollStatMeasurements

`collectionLevelMetrics.listCollStatMeasurements`

Return Cluster-Level Query Latency: get a list of the Coll Stats Latency cluster-level measurements for the given namespace

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.collectionLevelMetrics.listCollStatMeasurements({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	clusterView: 'PRIMARY',
	databaseName: 'sample_mflix',
	collectionName: 'movies',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster to retrieve metrics for. |
| `clusterView` | `PRIMARY \| SECONDARY \| INDIVIDUAL_PROCESS` | Yes | Human-readable label that identifies the cluster topology to retrieve metrics for. |
| `databaseName` | `string` | Yes | Human-readable label that identifies the database. |
| `collectionName` | `string` | Yes | Human-readable label that identifies the collection. |
| `metrics` | `(READS_OPS \| READS_LATENCY \| AVERAGE_READS_LATENCY \| READS_P50_VALUE \| READS_P95_VALUE \| READS_P99_VALUE \| WRITES_OPS \| WRITES_LATENCY \| AVERAGE_WRITES_LATENCY \| WRITES_P50_VALUE \| WRITES_P95_VALUE \| WRITES_P99_VALUE \| COMMANDS_OPS \| COMMANDS_LATENCY \| AVERAGE_COMMANDS_LATENCY \| COMMANDS_P50_VALUE \| COMMANDS_P95_VALUE \| COMMANDS_P99_VALUE \| TOTAL_OPS \| TOTAL_LATENCY \| AVERAGE_TOTAL_OPS_LATENCY \| TOTAL_OPS_P50_VALUE \| TOTAL_OPS_P95_VALUE \| TOTAL_OPS_P99_VALUE)[]` | No | List that contains the metrics that you want to retrieve for the associated data series. If you don't set this parameter, this resource returns data series for all Coll Stats Latency metrics. |
| `start` | `string` | No | 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**. |
| `end` | `string` | No | 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**. |
| `period` | `string` | No | 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**. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clusterId` | `string \| null` | No | Unique identifier for Clusters. |
| `clusterView` | `string \| null` | No | Cluster topology view. |
| `collectionName` | `string \| null` | No | Human-readable label that identifies the collection. |
| `databaseName` | `string \| null` | No | Human-readable label that identifies the database that the specified MongoDB process serves. |
| `end` | `string \| null` | No | 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. |
| `granularity` | `string \| null` | No | 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**. |
| `groupId` | `string \| null` | No | 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`. |
| `links` | `object[] \| null` | No | 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. |
| `measurements` | `object[] \| null` | No | List that contains measurements and their data points. |
| `processId` | `string \| null` | No | 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. |
| `start` | `string \| null` | No | 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. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] measurements full type
>
> ```ts theme={null}
> {
>   dataPoints?: {
>     timestamp?: string | null,
>     value?: number | null
>   }[] | null,
>   name?: string | null,
>   units?: string | null
> }[] | null
> ```

***

### listCollStatMetrics

`collectionLevelMetrics.listCollStatMetrics`

Return All Metric Names: returns all available Coll Stats Latency metric names and their respective units for the specified project at the time of request

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.collectionLevelMetrics.listCollStatMetrics({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the project. |
| `links` | `object[] \| null` | No | 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. |
| `metrics` | `object[] \| null` | No | List of Coll Stats Latency metric names and their respective units. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] metrics full type
>
> ```ts theme={null}
> {
>   metricName?: string | null | null,
>   units?: string | null | null
> }[] | null
> ```

***

### listPinnedNamespaces

`collectionLevelMetrics.listPinnedNamespaces`

Return Pinned Namespaces: returns a list of given cluster's pinned namespaces, a set of namespaces manually selected by users to collect query latency metrics on

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.collectionLevelMetrics.listPinnedNamespaces({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster to retrieve pinned namespaces for. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clusterId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the request cluster. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the request project. |
| `pinnedNamespaces` | `string[] \| null` | No | List of all pinned namespaces. |

***

### listProcessMeasurements

`collectionLevelMetrics.listProcessMeasurements`

Return Host-Level Query Latency: get a list of the Coll Stats Latency process-level measurements for the given namespace

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.collectionLevelMetrics.listProcessMeasurements({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	processId: 'cluster0-shard-00-00.abcde.mongodb.net:27017',
	databaseName: 'sample_mflix',
	collectionName: 'movies',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `processId` | `string` | Yes | 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. |
| `databaseName` | `string` | Yes | Human-readable label that identifies the database. |
| `collectionName` | `string` | Yes | Human-readable label that identifies the collection. |
| `metrics` | `(READS_OPS \| READS_LATENCY \| AVERAGE_READS_LATENCY \| READS_P50_VALUE \| READS_P95_VALUE \| READS_P99_VALUE \| WRITES_OPS \| WRITES_LATENCY \| AVERAGE_WRITES_LATENCY \| WRITES_P50_VALUE \| WRITES_P95_VALUE \| WRITES_P99_VALUE \| COMMANDS_OPS \| COMMANDS_LATENCY \| AVERAGE_COMMANDS_LATENCY \| COMMANDS_P50_VALUE \| COMMANDS_P95_VALUE \| COMMANDS_P99_VALUE \| TOTAL_OPS \| TOTAL_LATENCY \| AVERAGE_TOTAL_OPS_LATENCY \| TOTAL_OPS_P50_VALUE \| TOTAL_OPS_P95_VALUE \| TOTAL_OPS_P99_VALUE)[]` | No | List that contains the metrics that you want to retrieve for the associated data series. If you don't set this parameter, this resource returns data series for all Coll Stats Latency metrics. |
| `start` | `string` | No | 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**. |
| `end` | `string` | No | 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**. |
| `period` | `string` | No | 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**. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `collectionName` | `string \| null` | No | Human-readable label that identifies the collection. |
| `databaseName` | `string \| null` | No | Human-readable label that identifies the database that the specified MongoDB process serves. |
| `end` | `string \| null` | No | 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. |
| `granularity` | `string \| null` | No | 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**. |
| `groupId` | `string \| null` | No | 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`. |
| `links` | `object[] \| null` | No | 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. |
| `measurements` | `object[] \| null` | No | List that contains measurements and their data points. |
| `processId` | `string \| null` | No | 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. |
| `start` | `string \| null` | No | 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. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] measurements full type
>
> ```ts theme={null}
> {
>   dataPoints?: {
>     timestamp?: string | null,
>     value?: number | null
>   }[] | null,
>   name?: string | null,
>   units?: string | null
> }[] | null
> ```

***

### pinNamespaces

`collectionLevelMetrics.pinNamespaces`

Pin Namespaces: pin provided list of namespaces for collection-level latency metrics collection for the given Group and Cluster

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.collectionLevelMetrics.pinNamespaces({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster to pin namespaces to. |
| `namespaces` | `string[]` | No | List of namespace strings (combination of database and collection) on the specified host or cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clusterId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the request cluster. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the request project. |
| `pinnedNamespaces` | `string[] \| null` | No | List of all pinned namespaces. |

***

### unpinNamespaces

`collectionLevelMetrics.unpinNamespaces`

Unpin Namespaces: unpin provided list of namespaces for collection-level latency metrics collection for the given Group and Cluster

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.collectionLevelMetrics.unpinNamespaces({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster to unpin namespaces from. |
| `namespaces` | `string[]` | No | List of namespace strings (combination of database and collection) on the specified host or cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clusterId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the request cluster. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the request project. |
| `pinnedNamespaces` | `string[] \| null` | No | List of all pinned namespaces. |

***

### updatePinnedNamespaces

`collectionLevelMetrics.updatePinnedNamespaces`

Add Pinned Namespaces: add provided list of namespaces to existing pinned namespaces list for collection-level latency metrics collection for the given Group and Cluster

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.collectionLevelMetrics.updatePinnedNamespaces({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster to pin namespaces to. |
| `namespaces` | `string[]` | No | List of namespace strings (combination of database and collection) on the specified host or cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clusterId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the request cluster. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the request project. |
| `pinnedNamespaces` | `string[] \| null` | No | List of all pinned namespaces. |

***

## Custom Database Roles

### createCustomDbRole

`customDatabaseRoles.createCustomDbRole`

Create One Custom Role: creates one custom role in the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.customDatabaseRoles.createCustomDbRole({ groupId: '5f43e7f0a1b2c3d4e5f60718', roleName: 'readAnyDatabase' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `actions` | `object[]` | No | List of the individual privilege actions that the role grants. |
| `inheritedRoles` | `object[]` | No | List of the built-in roles that this custom role inherits. |
| `roleName` | `string` | Yes | Human-readable label that identifies the role for the request. This name must be unique for this custom role in this project. |

> [accordion] actions full type
>
> ```ts theme={null}
> {
>   action: 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 | ANALYZE | 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 | CREATE_SEARCH_INDEX | DROP_SEARCH_INDEX | LIST_SEARCH_INDEXES | UPDATE_SEARCH_INDEX,
>   resources: {
>     cluster: boolean,
>     collection: string,
>     db: string
>   }[]
> }[]
> ```

> [accordion] inheritedRoles full type
>
> ```ts theme={null}
> {
>   db: string,
>   role: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `actions` | `object[] \| null` | No | List of the individual privilege actions that the role grants. |
| `inheritedRoles` | `object[] \| null` | No | List of the built-in roles that this custom role inherits. |
| `roleName` | `string \| null` | No | Human-readable label that identifies the role for the request. This name must be unique for this custom role in this project. |

> [accordion] actions full type
>
> ```ts theme={null}
> {
>   action?: string | null,
>   resources?: {
>     cluster?: boolean | null,
>     collection?: string | null,
>     db?: string | null
>   }[] | null
> }[] | null
> ```

> [accordion] inheritedRoles full type
>
> ```ts theme={null}
> {
>   db?: string | null,
>   role?: string | null
> }[] | null
> ```

***

### deleteCustomDbRole

`customDatabaseRoles.deleteCustomDbRole`

Remove One Custom Role from One Project: removes one custom role from the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.customDatabaseRoles.deleteCustomDbRole({ groupId: '5f43e7f0a1b2c3d4e5f60718', roleName: 'readAnyDatabase' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `roleName` | `string` | Yes | Human-readable label that identifies the role for the request. This name must be unique for this custom role in this project. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getCustomDbRole

`customDatabaseRoles.getCustomDbRole`

Return One Custom Role in One Project: returns one custom role for the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.customDatabaseRoles.getCustomDbRole({ groupId: '5f43e7f0a1b2c3d4e5f60718', roleName: 'readAnyDatabase' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `roleName` | `string` | Yes | Human-readable label that identifies the role for the request. This name must be unique for this custom role in this project. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `actions` | `object[] \| null` | No | List of the individual privilege actions that the role grants. |
| `inheritedRoles` | `object[] \| null` | No | List of the built-in roles that this custom role inherits. |
| `roleName` | `string \| null` | No | Human-readable label that identifies the role for the request. This name must be unique for this custom role in this project. |

> [accordion] actions full type
>
> ```ts theme={null}
> {
>   action?: string | null,
>   resources?: {
>     cluster?: boolean | null,
>     collection?: string | null,
>     db?: string | null
>   }[] | null
> }[] | null
> ```

> [accordion] inheritedRoles full type
>
> ```ts theme={null}
> {
>   db?: string | null,
>   role?: string | null
> }[] | null
> ```

***

### listCustomDbRoles

`customDatabaseRoles.listCustomDbRoles`

Return All Custom Roles in One Project: returns all custom roles for the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.customDatabaseRoles.listCustomDbRoles({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   actions?: {
>     action?: string | null,
>     resources?: {
>       cluster?: boolean | null,
>       collection?: string | null,
>       db?: string | null
>     }[] | null
>   }[] | null,
>   inheritedRoles?: {
>     db?: string | null,
>     role?: string | null
>   }[] | null,
>   roleName?: string | null
> }[]
> ```

***

### updateCustomDbRole

`customDatabaseRoles.updateCustomDbRole`

Update One Custom Role in One Project: updates one custom role in the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.customDatabaseRoles.updateCustomDbRole({ groupId: '5f43e7f0a1b2c3d4e5f60718', roleName: 'readAnyDatabase' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `roleName` | `string` | Yes | Human-readable label that identifies the role for the request. This name must be unique for this custom role in this project. |
| `actions` | `object[]` | No | List of the individual privilege actions that the role grants. |
| `inheritedRoles` | `object[]` | No | List of the built-in roles that this custom role inherits. |

> [accordion] actions full type
>
> ```ts theme={null}
> {
>   action: 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 | ANALYZE | 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 | CREATE_SEARCH_INDEX | DROP_SEARCH_INDEX | LIST_SEARCH_INDEXES | UPDATE_SEARCH_INDEX,
>   resources: {
>     cluster: boolean,
>     collection: string,
>     db: string
>   }[]
> }[]
> ```

> [accordion] inheritedRoles full type
>
> ```ts theme={null}
> {
>   db: string,
>   role: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `actions` | `object[] \| null` | No | List of the individual privilege actions that the role grants. |
| `inheritedRoles` | `object[] \| null` | No | List of the built-in roles that this custom role inherits. |
| `roleName` | `string \| null` | No | Human-readable label that identifies the role for the request. This name must be unique for this custom role in this project. |

> [accordion] actions full type
>
> ```ts theme={null}
> {
>   action?: string | null,
>   resources?: {
>     cluster?: boolean | null,
>     collection?: string | null,
>     db?: string | null
>   }[] | null
> }[] | null
> ```

> [accordion] inheritedRoles full type
>
> ```ts theme={null}
> {
>   db?: string | null,
>   role?: string | null
> }[] | null
> ```

***

## Database Users

### createDatabaseUser

`databaseUsers.createDatabaseUser`

Create One Database User in One Project: creates one database user in the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.databaseUsers.createDatabaseUser({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	databaseName: 'admin',
	username: 'app-user',
	password: 'correct-horse-battery-staple',
	roles: [{ databaseName: 'sample_mflix', roleName: 'readWrite' }],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `awsIAMType` | `NONE \| USER \| ROLE` | No | 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. |
| `databaseName` | `admin \| $external` | Yes | 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`. |
| `deleteAfterDate` | `string` | No | 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. |
| `description` | `string` | No | Description of this database user. |
| `labels` | `object[]` | No | 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. |
| `ldapAuthType` | `NONE \| GROUP \| USER` | No | Part of the Lightweight Directory Access Protocol (LDAP) record that the database uses to authenticate this database user on the LDAP host. |
| `oidcAuthType` | `NONE \| IDP_GROUP \| USER` | No | 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. |
| `password` | `string` | No | 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. |
| `roles` | `object[]` | Yes | List that provides the pairings of one role with one applicable database. |
| `scopes` | `object[]` | No | 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. |
| `username` | `string` | Yes | 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) Distingui |
| `x509Type` | `NONE \| CUSTOMER \| MANAGED` | No | 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. |

> [accordion] labels full type
>
> ```ts theme={null}
> {
>   key?: string,
>   value?: string
> }[]
> ```

> [accordion] roles full type
>
> ```ts theme={null}
> {
>   collectionName?: string,
>   databaseName: string,
>   roleName: atlasAdmin | backup | clusterMonitor | dbAdmin | dbAdminAnyDatabase | enableSharding | read | readAnyDatabase | readWrite | readWriteAnyDatabase | <a custom role name>
> }[]
> ```

> [accordion] scopes full type
>
> ```ts theme={null}
> {
>   name: string,
>   type: CLUSTER | DATA_LAKE | STREAM
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `awsIAMType` | `string \| null` | No | 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. |
| `databaseName` | `string \| null` | No | 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`. |
| `deleteAfterDate` | `string \| null` | No | 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. |
| `description` | `string \| null` | No | Description of this database user. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the project. |
| `labels` | `object[] \| null` | No | 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. |
| `ldapAuthType` | `string \| null` | No | Part of the Lightweight Directory Access Protocol (LDAP) record that the database uses to authenticate this database user on the LDAP host. |
| `links` | `object[] \| null` | No | 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. |
| `oidcAuthType` | `string \| null` | No | 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. |
| `password` | `string \| null` | No | 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. |
| `roles` | `object[] \| null` | No | List that provides the pairings of one role with one applicable database. |
| `scopes` | `object[] \| null` | No | 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. |
| `username` | `string \| null` | No | 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) Distingui |
| `x509Type` | `string \| null` | No | 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. |

> [accordion] labels full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] roles full type
>
> ```ts theme={null}
> {
>   collectionName?: string | null,
>   databaseName?: string | null,
>   roleName?: string | null
> }[] | null
> ```

> [accordion] scopes full type
>
> ```ts theme={null}
> {
>   name?: string | null,
>   type?: string | null
> }[] | null
> ```

***

### deleteDatabaseUser

`databaseUsers.deleteDatabaseUser`

Remove One Database User from One Project: removes one database user from the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.databaseUsers.deleteDatabaseUser({ groupId: '5f43e7f0a1b2c3d4e5f60718', databaseName: 'sample_mflix', username: 'app-user' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `databaseName` | `string` | Yes | 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`. |
| `username` | `string` | Yes | 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) Distingui |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getDatabaseUser

`databaseUsers.getDatabaseUser`

Return One Database User from One Project: returns one database user that belong to the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.databaseUsers.getDatabaseUser({ groupId: '5f43e7f0a1b2c3d4e5f60718', databaseName: 'sample_mflix', username: 'app-user' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `databaseName` | `string` | Yes | 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`. |
| `username` | `string` | Yes | 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) Distingui |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `awsIAMType` | `string \| null` | No | 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. |
| `databaseName` | `string \| null` | No | 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`. |
| `deleteAfterDate` | `string \| null` | No | 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. |
| `description` | `string \| null` | No | Description of this database user. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the project. |
| `labels` | `object[] \| null` | No | 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. |
| `ldapAuthType` | `string \| null` | No | Part of the Lightweight Directory Access Protocol (LDAP) record that the database uses to authenticate this database user on the LDAP host. |
| `links` | `object[] \| null` | No | 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. |
| `oidcAuthType` | `string \| null` | No | 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. |
| `password` | `string \| null` | No | 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. |
| `roles` | `object[] \| null` | No | List that provides the pairings of one role with one applicable database. |
| `scopes` | `object[] \| null` | No | 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. |
| `username` | `string \| null` | No | 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) Distingui |
| `x509Type` | `string \| null` | No | 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. |

> [accordion] labels full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] roles full type
>
> ```ts theme={null}
> {
>   collectionName?: string | null,
>   databaseName?: string | null,
>   roleName?: string | null
> }[] | null
> ```

> [accordion] scopes full type
>
> ```ts theme={null}
> {
>   name?: string | null,
>   type?: string | null
> }[] | null
> ```

***

### listDatabaseUsers

`databaseUsers.listDatabaseUsers`

Return All Database Users in One Project: returns all database users that belong to the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.databaseUsers.listDatabaseUsers({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   awsIAMType?: string | null,
>   databaseName?: string | null,
>   deleteAfterDate?: string | null,
>   description?: string | null,
>   groupId?: string | null,
>   labels?: {
>     key?: string | null,
>     value?: string | null
>   }[] | null,
>   ldapAuthType?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   oidcAuthType?: string | null,
>   password?: string | null,
>   roles?: {
>     collectionName?: string | null,
>     databaseName?: string | null,
>     roleName?: string | null
>   }[] | null,
>   scopes?: {
>     name?: string | null,
>     type?: string | null
>   }[] | null,
>   username?: string | null,
>   x509Type?: string | null
> }[] | null
> ```

***

### updateDatabaseUser

`databaseUsers.updateDatabaseUser`

Update One Database User in One Project: updates one database user that belongs to the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.databaseUsers.updateDatabaseUser({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	databaseName: 'sample_mflix',
	username: 'app-user',
	roles: [{ databaseName: 'sample_mflix', roleName: 'readAnyDatabase' }],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `databaseName` | `string` | Yes | 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`. |
| `username` | `string` | Yes | 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) Distingui |
| `awsIAMType` | `NONE \| USER \| ROLE` | No | 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. |
| `deleteAfterDate` | `string` | No | 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. |
| `description` | `string` | No | Description of this database user. |
| `labels` | `object[]` | No | 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. |
| `ldapAuthType` | `NONE \| GROUP \| USER` | No | Part of the Lightweight Directory Access Protocol (LDAP) record that the database uses to authenticate this database user on the LDAP host. |
| `oidcAuthType` | `NONE \| IDP_GROUP \| USER` | No | 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. |
| `password` | `string` | No | 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. |
| `roles` | `object[]` | Yes | List that provides the pairings of one role with one applicable database. |
| `scopes` | `object[]` | No | 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. |
| `x509Type` | `NONE \| CUSTOMER \| MANAGED` | No | 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. |

> [accordion] labels full type
>
> ```ts theme={null}
> {
>   key?: string,
>   value?: string
> }[]
> ```

> [accordion] roles full type
>
> ```ts theme={null}
> {
>   collectionName?: string,
>   databaseName: string,
>   roleName: atlasAdmin | backup | clusterMonitor | dbAdmin | dbAdminAnyDatabase | enableSharding | read | readAnyDatabase | readWrite | readWriteAnyDatabase | <a custom role name>
> }[]
> ```

> [accordion] scopes full type
>
> ```ts theme={null}
> {
>   name: string,
>   type: CLUSTER | DATA_LAKE | STREAM
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `awsIAMType` | `string \| null` | No | 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. |
| `databaseName` | `string \| null` | No | 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`. |
| `deleteAfterDate` | `string \| null` | No | 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. |
| `description` | `string \| null` | No | Description of this database user. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the project. |
| `labels` | `object[] \| null` | No | 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. |
| `ldapAuthType` | `string \| null` | No | Part of the Lightweight Directory Access Protocol (LDAP) record that the database uses to authenticate this database user on the LDAP host. |
| `links` | `object[] \| null` | No | 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. |
| `oidcAuthType` | `string \| null` | No | 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. |
| `password` | `string \| null` | No | 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. |
| `roles` | `object[] \| null` | No | List that provides the pairings of one role with one applicable database. |
| `scopes` | `object[] \| null` | No | 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. |
| `username` | `string \| null` | No | 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) Distingui |
| `x509Type` | `string \| null` | No | 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. |

> [accordion] labels full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] roles full type
>
> ```ts theme={null}
> {
>   collectionName?: string | null,
>   databaseName?: string | null,
>   roleName?: string | null
> }[] | null
> ```

> [accordion] scopes full type
>
> ```ts theme={null}
> {
>   name?: string | null,
>   type?: string | null
> }[] | null
> ```

***

## Data Federation

### createDataFederation

`dataFederation.createDataFederation`

Create One Federated Database Instance in One Project: creates one federated database instance in the specified project

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.dataFederation.createDataFederation({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `skipRoleValidation` | `boolean` | No | 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. |
| `cloudProviderConfig` | `object` | No | Cloud provider where this Federated Database Instance is hosted. |
| `dataProcessRegion` | `object` | No | Information about the cloud provider region to which the Federated Database Instance routes client connections. |
| `name` | `string` | No | Human-readable label that identifies the Federated Database Instance. |
| `storage` | `object` | No | Configuration information for each data store and its mapping to MongoDB Cloud databases. |

> [accordion] cloudProviderConfig full type
>
> ```ts theme={null}
> {
>   aws?: {
>     roleId: string,
>     testS3Bucket: string
>   },
>   azure?: {
>     roleId: string
>   },
>   gcp?: {
>     roleId: string
>   }
> }
> ```

> [accordion] dataProcessRegion full type
>
> ```ts theme={null}
> {
>   cloudProvider: AWS | AZURE | GCP,
>   region: SYDNEY_AUS | MUMBAI_IND | FRANKFURT_DEU | DUBLIN_IRL | LONDON_GBR | VIRGINIA_USA | OREGON_USA | SAOPAULO_BRA | MONTREAL_CAN | TOKYO_JPN | SEOUL_KOR | SINGAPORE_SGP | VIRGINIA_USA | AMSTERDAM_NLD | SAOPAULO_BRA | IOWA_USA | BELGIUM_EU
> }
> ```

> [accordion] storage full type
>
> ```ts theme={null}
> {
>   databases?: {
>     collections?: {
>       dataSources?: {
>         allowInsecure?: boolean,
>         collection?: string,
>         collectionRegex?: string,
>         database?: string,
>         databaseRegex?: string,
>         datasetName?: string,
>         datasetPrefix?: string,
>         defaultFormat?: .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?: string,
>         provenanceFieldName?: string,
>         storeName?: string,
>         trimLevel?: number,
>         urls?: string[]
>       }[],
>       name?: string
>     }[],
>     maxWildcardCollections?: number,
>     name?: string,
>     views?: {
>       name?: string,
>       pipeline?: string,
>       source?: string
>     }[]
>   }[],
>   stores?: {
>     name?: string,
>     provider: string
>   }[]
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cloudProviderConfig` | `object \| null` | No | Cloud provider where this Federated Database Instance is hosted. |
| `dataProcessRegion` | `object \| null` | No | Information about the cloud provider region to which the Federated Database Instance routes client connections. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `hostnames` | `string[] \| null` | No | List that contains the hostnames assigned to the Federated Database Instance. |
| `name` | `string \| null` | No | Human-readable label that identifies the Federated Database Instance. |
| `privateEndpointHostnames` | `object[] \| null` | No | List that contains the sets of private endpoints and hostnames. |
| `state` | `string \| null` | No | Label that indicates the status of the Federated Database Instance. |
| `storage` | `object \| null` | No | Configuration information for each data store and its mapping to MongoDB Cloud databases. |

> [accordion] cloudProviderConfig full type
>
> ```ts theme={null}
> {
>   aws?: {
>     externalId?: string | null,
>     iamAssumedRoleARN?: string | null,
>     iamUserARN?: string | null,
>     roleId?: string | null,
>     testS3Bucket?: string | null
>   } | null,
>   azure?: {
>     atlasAppId?: string | null,
>     roleId?: string | null,
>     servicePrincipalId?: string | null,
>     tenantId?: string | null
>   } | null,
>   gcp?: {
>     gcpServiceAccount?: string | null,
>     roleId?: string | null
>   } | null
> } | null
> ```

> [accordion] dataProcessRegion full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   region?: string | string | string | null
> } | null
> ```

> [accordion] privateEndpointHostnames full type
>
> ```ts theme={null}
> {
>   hostname?: string | null,
>   privateEndpoint?: string | null
> }[] | null
> ```

> [accordion] storage full type
>
> ```ts theme={null}
> {
>   databases?: {
>     collections?: {
>       dataSources?: {
>         allowInsecure?: boolean | null,
>         collection?: string | null,
>         collectionRegex?: string | null,
>         database?: string | null,
>         databaseRegex?: string | null,
>         datasetName?: string | null,
>         datasetPrefix?: string | null,
>         defaultFormat?: string | null,
>         path?: string | null,
>         provenanceFieldName?: string | null,
>         storeName?: string | null,
>         trimLevel?: number | null,
>         urls?: string[] | null
>       }[] | null,
>       name?: string | null
>     }[] | null,
>     maxWildcardCollections?: number | null,
>     name?: string | null,
>     views?: {
>       name?: string | null,
>       pipeline?: string | null,
>       source?: string | null
>     }[] | null
>   }[] | null,
>   stores?: {
>     name?: string | null,
>     provider?: string | null
>   }[] | null
> } | null
> ```

***

### createPrivateEndpointId

`dataFederation.createPrivateEndpointId`

Create One Federated Database Instance and Online Archive Private Endpoint for One Project: adds one private endpoint for Federated Database Instances and Online Archives to the specified projects

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.dataFederation.createPrivateEndpointId({ groupId: '5f43e7f0a1b2c3d4e5f60718', endpointId: 'vpce-0123456789abcdef0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `azureLinkId` | `string` | No | Link ID that identifies the Azure private endpoint connection. |
| `comment` | `string` | No | Human-readable string to associate with this private endpoint. |
| `customerEndpointDNSName` | `string` | No | Human-readable label to identify customer's VPC endpoint DNS name. If defined, you must also specify a value for `region`. |
| `customerEndpointIPAddress` | `string` | No | IP address used to connect to the Azure private endpoint. |
| `endpointId` | `string` | Yes | Unique string that identifies the private endpoint. For AWS, this is a 22-character alphanumeric string in the format `vpce-<17 hex characters>`. For Azure, this is the full resource ID in the format `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{endpointName}`. |
| `errorMessage` | `string` | No | Error message describing a failure approving the private endpoint request. |
| `provider` | `AWS \| AZURE` | No | Human-readable label that identifies the cloud service provider. Atlas Data Lake supports Amazon Web Services and Azure. |
| `region` | `string` | No | Human-readable label to identify the region of customer's VPC endpoint. If defined, you must also specify a value for `customerEndpointDNSName`. |
| `status` | `PENDING \| OK \| FAILED \| DELETING` | No | Status of the private endpoint connection request. |
| `type` | `DATA_LAKE` | No | Human-readable label that identifies the resource type associated with this private endpoint. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   azureLinkId?: string | null,
>   comment?: string | null,
>   customerEndpointDNSName?: string | null,
>   customerEndpointIPAddress?: string | null,
>   endpointId?: string | null,
>   errorMessage?: string | null,
>   provider?: string | null,
>   region?: string | null,
>   status?: string | null,
>   type?: string | null
> }[] | null
> ```

***

### deleteDataFederation

`dataFederation.deleteDataFederation`

Remove One Federated Database Instance from One Project: removes one federated database instance from the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.dataFederation.deleteDataFederation({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Human-readable label that identifies the federated database instance to remove. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteDataFederationLimit

`dataFederation.deleteDataFederationLimit`

Delete One Query Limit for One Federated Database Instance: deletes one query limit for one federated database instance

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.dataFederation.deleteDataFederationLimit({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant', limitName: 'bytesProcessed.query' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Human-readable label that identifies the federated database instance to which the query limit applies. |
| `limitName` | `bytesProcessed.query \| bytesProcessed.daily \| bytesProcessed.weekly \| bytesProcessed.monthly` | Yes | 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 \| |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deletePrivateEndpointId

`dataFederation.deletePrivateEndpointId`

Remove One Federated Database Instance and Online Archive Private Endpoint from One Project: removes one private endpoint for Federated Database Instances and Online Archives in the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.dataFederation.deletePrivateEndpointId({ groupId: '5f43e7f0a1b2c3d4e5f60718', endpointId: 'vpce-0123456789abcdef0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `endpointId` | `string` | Yes | Unique 22-character alphanumeric string that identifies the private endpoint to remove. Atlas Data Federation supports AWS private endpoints using the AWS PrivateLink feature. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### downloadFederationQueryLogs

`dataFederation.downloadFederationQueryLogs`

Download Query Logs for One Federated Database Instance: downloads the query logs for the specified federated database instance (returned as a file)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.dataFederation.downloadFederationQueryLogs({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `endDate` | `number` | No | 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. |
| `startDate` | `number` | No | 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. |
| `tenantName` | `string` | Yes | Human-readable label that identifies the federated database instance for which you want to download query logs. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `contentBase64` | `string` | No | The file, base64-encoded. Missing when the file came back as text or contentOmitted is set. |
| `text` | `string` | No | The file as text, in place of contentBase64, when it is a text file (CSV, JSON, Markdown, XML and the like) in UTF-8. |
| `contentType` | `string` | Yes | Media type of the file, for example application/pdf. |
| `byteLength` | `number` | Yes | Size of the file in bytes. |
| `filename` | `string` | No | The file name, when known. |
| `contentOmitted` | `not_requested \| over_limit` | No | Set when the content was left out: the caller did not ask for it, or the file was over the limit. |
| `fileId` | `string` | No | Where the host saved the file. Over the limit it comes in place of the content; a host that keeps every file sets it beside the content too. On Corsair it is a Files id (fil\_…): pass it to another app wherever that app takes a file URL, or read a text file or PDF with files.read\_text. |

***

### getDataFederation

`dataFederation.getDataFederation`

Return One Federated Database Instance in One Project: returns the details of one federated database instance within the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.dataFederation.getDataFederation({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Human-readable label that identifies the Federated Database to return. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cloudProviderConfig` | `object \| null` | No | Cloud provider where this Federated Database Instance is hosted. |
| `dataProcessRegion` | `object \| null` | No | Information about the cloud provider region to which the Federated Database Instance routes client connections. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `hostnames` | `string[] \| null` | No | List that contains the hostnames assigned to the Federated Database Instance. |
| `name` | `string \| null` | No | Human-readable label that identifies the Federated Database Instance. |
| `privateEndpointHostnames` | `object[] \| null` | No | List that contains the sets of private endpoints and hostnames. |
| `state` | `string \| null` | No | Label that indicates the status of the Federated Database Instance. |
| `storage` | `object \| null` | No | Configuration information for each data store and its mapping to MongoDB Cloud databases. |

> [accordion] cloudProviderConfig full type
>
> ```ts theme={null}
> {
>   aws?: {
>     externalId?: string | null,
>     iamAssumedRoleARN?: string | null,
>     iamUserARN?: string | null,
>     roleId?: string | null,
>     testS3Bucket?: string | null
>   } | null,
>   azure?: {
>     atlasAppId?: string | null,
>     roleId?: string | null,
>     servicePrincipalId?: string | null,
>     tenantId?: string | null
>   } | null,
>   gcp?: {
>     gcpServiceAccount?: string | null,
>     roleId?: string | null
>   } | null
> } | null
> ```

> [accordion] dataProcessRegion full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   region?: string | string | string | null
> } | null
> ```

> [accordion] privateEndpointHostnames full type
>
> ```ts theme={null}
> {
>   hostname?: string | null,
>   privateEndpoint?: string | null
> }[] | null
> ```

> [accordion] storage full type
>
> ```ts theme={null}
> {
>   databases?: {
>     collections?: {
>       dataSources?: {
>         allowInsecure?: boolean | null,
>         collection?: string | null,
>         collectionRegex?: string | null,
>         database?: string | null,
>         databaseRegex?: string | null,
>         datasetName?: string | null,
>         datasetPrefix?: string | null,
>         defaultFormat?: string | null,
>         path?: string | null,
>         provenanceFieldName?: string | null,
>         storeName?: string | null,
>         trimLevel?: number | null,
>         urls?: string[] | null
>       }[] | null,
>       name?: string | null
>     }[] | null,
>     maxWildcardCollections?: number | null,
>     name?: string | null,
>     views?: {
>       name?: string | null,
>       pipeline?: string | null,
>       source?: string | null
>     }[] | null
>   }[] | null,
>   stores?: {
>     name?: string | null,
>     provider?: string | null
>   }[] | null
> } | null
> ```

***

### getDataFederationLimit

`dataFederation.getDataFederationLimit`

Return One Federated Database Instance Query Limit for One Project: returns the details of one query limit for the specified federated database instance in the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.dataFederation.getDataFederationLimit({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant', limitName: 'bytesProcessed.query' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Human-readable label that identifies the federated database instance to which the query limit applies. |
| `limitName` | `bytesProcessed.query \| bytesProcessed.daily \| bytesProcessed.weekly \| bytesProcessed.monthly` | Yes | 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 \| |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `currentUsage` | `number \| null` | No | Amount that indicates the current usage of the limit. |
| `defaultLimit` | `number \| null` | No | Default value of the limit. |
| `lastModifiedDate` | `string \| null` | No | Only used for Data Federation limits. Timestamp that indicates when this usage limit was last modified. This field uses the ISO 8601 timestamp format in UTC. |
| `maximumLimit` | `number \| null` | No | Maximum value of the limit. |
| `name` | `string \| null` | No | Human-readable label that identifies the user-managed limit to modify. |
| `overrunPolicy` | `string \| null` | No | 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. |
| `tenantName` | `string \| null` | No | 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. |
| `value` | `number \| null` | No | Amount to set the limit to. |

***

### getPrivateEndpointId

`dataFederation.getPrivateEndpointId`

Return One Federated Database Instance and Online Archive Private Endpoint in One Project: returns the specified private endpoint for Federated Database Instances or Online Archives in the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.dataFederation.getPrivateEndpointId({ groupId: '5f43e7f0a1b2c3d4e5f60718', endpointId: 'vpce-0123456789abcdef0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `endpointId` | `string` | Yes | Unique 22-character alphanumeric string that identifies the private endpoint to return. Atlas Data Federation supports AWS private endpoints using the AWS PrivateLink feature. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `azureLinkId` | `string \| null` | No | Link ID that identifies the Azure private endpoint connection. |
| `comment` | `string \| null` | No | Human-readable string to associate with this private endpoint. |
| `customerEndpointDNSName` | `string \| null` | No | Human-readable label to identify customer's VPC endpoint DNS name. If defined, you must also specify a value for `region`. |
| `customerEndpointIPAddress` | `string \| null` | No | IP address used to connect to the Azure private endpoint. |
| `endpointId` | `string \| null` | No | Unique string that identifies the private endpoint. For AWS, this is a 22-character alphanumeric string in the format `vpce-<17 hex characters>`. For Azure, this is the full resource ID in the format `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{endpointName}`. |
| `errorMessage` | `string \| null` | No | Error message describing a failure approving the private endpoint request. |
| `provider` | `string \| null` | No | Human-readable label that identifies the cloud service provider. Atlas Data Lake supports Amazon Web Services and Azure. |
| `region` | `string \| null` | No | Human-readable label to identify the region of customer's VPC endpoint. If defined, you must also specify a value for `customerEndpointDNSName`. |
| `status` | `string \| null` | No | Status of the private endpoint connection request. |
| `type` | `string \| null` | No | Human-readable label that identifies the resource type associated with this private endpoint. |

***

### listDataFederation

`dataFederation.listDataFederation`

Return All Federated Database Instances in One Project: returns the details of all federated database instances in the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.dataFederation.listDataFederation({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `type` | `USER \| ONLINE_ARCHIVE` | No | Type of Federated Database Instances to return. |

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   cloudProviderConfig?: {
>     aws?: {
>       externalId?: string | null,
>       iamAssumedRoleARN?: string | null,
>       iamUserARN?: string | null,
>       roleId?: string | null,
>       testS3Bucket?: string | null
>     } | null,
>     azure?: {
>       atlasAppId?: string | null,
>       roleId?: string | null,
>       servicePrincipalId?: string | null,
>       tenantId?: string | null
>     } | null,
>     gcp?: {
>       gcpServiceAccount?: string | null,
>       roleId?: string | null
>     } | null
>   } | null,
>   dataProcessRegion?: {
>     cloudProvider?: string | null,
>     region?: string | string | string | null
>   } | null,
>   groupId?: string | null,
>   hostnames?: string[] | null,
>   name?: string | null,
>   privateEndpointHostnames?: {
>     hostname?: string | null,
>     privateEndpoint?: string | null
>   }[] | null,
>   state?: string | null,
>   storage?: {
>     databases?: {
>       collections?: {
>         dataSources?: {
>           allowInsecure?: boolean | null,
>           collection?: string | null,
>           collectionRegex?: string | null,
>           database?: string | null,
>           databaseRegex?: string | null,
>           datasetName?: string | null,
>           datasetPrefix?: string | null,
>           defaultFormat?: string | null,
>           path?: string | null,
>           provenanceFieldName?: string | null,
>           storeName?: string | null,
>           trimLevel?: number | null,
>           urls?: string[] | null
>         }[] | null,
>         name?: string | null
>       }[] | null,
>       maxWildcardCollections?: number | null,
>       name?: string | null,
>       views?: {
>         name?: string | null,
>         pipeline?: string | null,
>         source?: string | null
>       }[] | null
>     }[] | null,
>     stores?: {
>       name?: string | null,
>       provider?: string | null
>     }[] | null
>   } | null
> }[]
> ```

***

### listDataFederationLimits

`dataFederation.listDataFederationLimits`

Return All Query Limits for One Federated Database Instance: returns query limits for a federated databases instance in the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.dataFederation.listDataFederationLimits({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Human-readable label that identifies the federated database instance for which you want to retrieve query limits. |

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   currentUsage?: number | null,
>   defaultLimit?: number | null,
>   lastModifiedDate?: string | null,
>   maximumLimit?: number | null,
>   name?: string | null,
>   overrunPolicy?: string | null,
>   tenantName?: string | null,
>   value?: number | null
> }[]
> ```

***

### listPrivateEndpointIds

`dataFederation.listPrivateEndpointIds`

Return All Federated Database Instance and Online Archive Private Endpoints in One Project: returns all private endpoints for Federated Database Instances and Online Archives in the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.dataFederation.listPrivateEndpointIds({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   azureLinkId?: string | null,
>   comment?: string | null,
>   customerEndpointDNSName?: string | null,
>   customerEndpointIPAddress?: string | null,
>   endpointId?: string | null,
>   errorMessage?: string | null,
>   provider?: string | null,
>   region?: string | null,
>   status?: string | null,
>   type?: string | null
> }[] | null
> ```

***

### setDataFederationLimit

`dataFederation.setDataFederationLimit`

Configure One Query Limit for One Federated Database Instance: creates or updates one query limit for one federated database instance

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.dataFederation.setDataFederationLimit({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	tenantName: 'example-tenant',
	limitName: 'bytesProcessed.query',
	value: 1,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Human-readable label that identifies the federated database instance to which the query limit applies. |
| `limitName` | `bytesProcessed.query \| bytesProcessed.daily \| bytesProcessed.weekly \| bytesProcessed.monthly` | Yes | 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 \| |
| `overrunPolicy` | `BLOCK \| BLOCK_AND_KILL` | No | 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. |
| `value` | `number` | Yes | Amount to set the limit to. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `currentUsage` | `number \| null` | No | Amount that indicates the current usage of the limit. |
| `defaultLimit` | `number \| null` | No | Default value of the limit. |
| `lastModifiedDate` | `string \| null` | No | Only used for Data Federation limits. Timestamp that indicates when this usage limit was last modified. This field uses the ISO 8601 timestamp format in UTC. |
| `maximumLimit` | `number \| null` | No | Maximum value of the limit. |
| `name` | `string \| null` | No | Human-readable label that identifies the user-managed limit to modify. |
| `overrunPolicy` | `string \| null` | No | 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. |
| `tenantName` | `string \| null` | No | 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. |
| `value` | `number \| null` | No | Amount to set the limit to. |

***

### updateDataFederation

`dataFederation.updateDataFederation`

Update One Federated Database Instance in One Project: updates the details of one federated database instance in the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.dataFederation.updateDataFederation({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant', skipRoleValidation: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Human-readable label that identifies the federated database instance to update. |
| `skipRoleValidation` | `boolean` | Yes | 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. |
| `cloudProviderConfig` | `object` | No | Cloud provider where this Federated Database Instance is hosted. |
| `dataProcessRegion` | `object` | No | Information about the cloud provider region to which the Federated Database Instance routes client connections. |
| `name` | `string` | No | Human-readable label that identifies the Federated Database Instance. |
| `storage` | `object` | No | Configuration information for each data store and its mapping to MongoDB Cloud databases. |

> [accordion] cloudProviderConfig full type
>
> ```ts theme={null}
> {
>   aws?: {
>     roleId: string,
>     testS3Bucket: string
>   },
>   azure?: {
>     roleId: string
>   },
>   gcp?: {
>     roleId: string
>   }
> }
> ```

> [accordion] dataProcessRegion full type
>
> ```ts theme={null}
> {
>   cloudProvider: AWS | AZURE | GCP,
>   region: SYDNEY_AUS | MUMBAI_IND | FRANKFURT_DEU | DUBLIN_IRL | LONDON_GBR | VIRGINIA_USA | OREGON_USA | SAOPAULO_BRA | MONTREAL_CAN | TOKYO_JPN | SEOUL_KOR | SINGAPORE_SGP | VIRGINIA_USA | AMSTERDAM_NLD | SAOPAULO_BRA | IOWA_USA | BELGIUM_EU
> }
> ```

> [accordion] storage full type
>
> ```ts theme={null}
> {
>   databases?: {
>     collections?: {
>       dataSources?: {
>         allowInsecure?: boolean,
>         collection?: string,
>         collectionRegex?: string,
>         database?: string,
>         databaseRegex?: string,
>         datasetName?: string,
>         datasetPrefix?: string,
>         defaultFormat?: .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?: string,
>         provenanceFieldName?: string,
>         storeName?: string,
>         trimLevel?: number,
>         urls?: string[]
>       }[],
>       name?: string
>     }[],
>     maxWildcardCollections?: number,
>     name?: string,
>     views?: {
>       name?: string,
>       pipeline?: string,
>       source?: string
>     }[]
>   }[],
>   stores?: {
>     name?: string,
>     provider: string
>   }[]
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cloudProviderConfig` | `object \| null` | No | Cloud provider where this Federated Database Instance is hosted. |
| `dataProcessRegion` | `object \| null` | No | Information about the cloud provider region to which the Federated Database Instance routes client connections. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `hostnames` | `string[] \| null` | No | List that contains the hostnames assigned to the Federated Database Instance. |
| `name` | `string \| null` | No | Human-readable label that identifies the Federated Database Instance. |
| `privateEndpointHostnames` | `object[] \| null` | No | List that contains the sets of private endpoints and hostnames. |
| `state` | `string \| null` | No | Label that indicates the status of the Federated Database Instance. |
| `storage` | `object \| null` | No | Configuration information for each data store and its mapping to MongoDB Cloud databases. |

> [accordion] cloudProviderConfig full type
>
> ```ts theme={null}
> {
>   aws?: {
>     externalId?: string | null,
>     iamAssumedRoleARN?: string | null,
>     iamUserARN?: string | null,
>     roleId?: string | null,
>     testS3Bucket?: string | null
>   } | null,
>   azure?: {
>     atlasAppId?: string | null,
>     roleId?: string | null,
>     servicePrincipalId?: string | null,
>     tenantId?: string | null
>   } | null,
>   gcp?: {
>     gcpServiceAccount?: string | null,
>     roleId?: string | null
>   } | null
> } | null
> ```

> [accordion] dataProcessRegion full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   region?: string | string | string | null
> } | null
> ```

> [accordion] privateEndpointHostnames full type
>
> ```ts theme={null}
> {
>   hostname?: string | null,
>   privateEndpoint?: string | null
> }[] | null
> ```

> [accordion] storage full type
>
> ```ts theme={null}
> {
>   databases?: {
>     collections?: {
>       dataSources?: {
>         allowInsecure?: boolean | null,
>         collection?: string | null,
>         collectionRegex?: string | null,
>         database?: string | null,
>         databaseRegex?: string | null,
>         datasetName?: string | null,
>         datasetPrefix?: string | null,
>         defaultFormat?: string | null,
>         path?: string | null,
>         provenanceFieldName?: string | null,
>         storeName?: string | null,
>         trimLevel?: number | null,
>         urls?: string[] | null
>       }[] | null,
>       name?: string | null
>     }[] | null,
>     maxWildcardCollections?: number | null,
>     name?: string | null,
>     views?: {
>       name?: string | null,
>       pipeline?: string | null,
>       source?: string | null
>     }[] | null
>   }[] | null,
>   stores?: {
>     name?: string | null,
>     provider?: string | null
>   }[] | null
> } | null
> ```

***

## Encryption At Rest Using Customer Key Management

### createRestPrivateEndpoint

`encryptionAtRestUsingCustomerKeyManagement.createRestPrivateEndpoint`

Create One Private Endpoint for Encryption at Rest Using Customer Key Management for One Cloud Provider in One Project: creates a private endpoint in the specified region for encryption at rest using customer key management

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.encryptionAtRestUsingCustomerKeyManagement.createRestPrivateEndpoint({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	cloudProvider: 'AWS',
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `cloudProvider` | `AZURE \| AWS` | Yes | Human-readable label that identifies the cloud provider for the private endpoint to create. |
| `body` | `object` | Yes | Encryption At Rest Private Endpoint. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   regionName?: 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 | 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
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cloudProvider` | `string \| null` | No | Human-readable label that identifies the cloud provider for the Encryption At Rest private endpoint. |
| `errorMessage` | `string \| null` | No | Error message for failures associated with the Encryption At Rest private endpoint. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the Private Endpoint Service. |
| `regionName` | `string \| string \| null` | No | Cloud provider region in which the Encryption At Rest private endpoint is located. |
| `status` | `string \| null` | No | State of the Encryption At Rest private endpoint. |

***

### getEncryptionAtRest

`encryptionAtRestUsingCustomerKeyManagement.getEncryptionAtRest`

Return One Configuration for Encryption at Rest Using Customer-Managed Keys for One Project: returns the configuration for encryption at rest using the keys you manage through your cloud provider

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.encryptionAtRestUsingCustomerKeyManagement.getEncryptionAtRest({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `awsKms` | `object \| null` | No | Amazon Web Services (AWS) KMS configuration details and encryption at rest configuration set for the specified project. |
| `azureKeyVault` | `object \| null` | No | Details that define the configuration of Encryption at Rest using Azure Key Vault (AKV). |
| `enabledForSearchNodes` | `boolean \| null` | No | Flag that indicates whether Encryption at Rest for Dedicated Search Nodes is enabled in the specified project. |
| `googleCloudKms` | `object \| null` | No | Details that define the configuration of Encryption at Rest using Google Cloud Key Management Service (KMS). |

> [accordion] awsKms full type
>
> ```ts theme={null}
> {
>   accessKeyID?: string | null,
>   customerMasterKeyID?: string | null,
>   enabled?: boolean | null,
>   region?: string | null,
>   requirePrivateNetworking?: boolean | null,
>   roleId?: string | null,
>   secretAccessKey?: string | null,
>   valid?: boolean | null
> } | null
> ```

> [accordion] azureKeyVault full type
>
> ```ts theme={null}
> {
>   azureEnvironment?: string | null,
>   clientID?: string | null,
>   enabled?: boolean | null,
>   keyIdentifier?: string | null,
>   keyVaultName?: string | null,
>   requirePrivateNetworking?: boolean | null,
>   resourceGroupName?: string | null,
>   roleId?: string | null,
>   secret?: string | null,
>   subscriptionID?: string | null,
>   tenantID?: string | null,
>   valid?: boolean | null
> } | null
> ```

> [accordion] googleCloudKms full type
>
> ```ts theme={null}
> {
>   enabled?: boolean | null,
>   keyVersionResourceID?: string | null,
>   roleId?: string | null,
>   serviceAccountKey?: string | null,
>   valid?: boolean | null
> } | null
> ```

***

### getRestPrivateEndpoint

`encryptionAtRestUsingCustomerKeyManagement.getRestPrivateEndpoint`

Return One Private Endpoint for Encryption at Rest Using Customer Key Management for One Cloud Provider in One Project: returns one private endpoint, identified by its ID, for encryption at rest using Customer Key Management

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.encryptionAtRestUsingCustomerKeyManagement.getRestPrivateEndpoint({ groupId: '5f43e7f0a1b2c3d4e5f60718', cloudProvider: 'AWS', endpointId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `cloudProvider` | `AZURE \| AWS` | Yes | Human-readable label that identifies the cloud provider of the private endpoint. |
| `endpointId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the private endpoint. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cloudProvider` | `string \| null` | No | Human-readable label that identifies the cloud provider for the Encryption At Rest private endpoint. |
| `errorMessage` | `string \| null` | No | Error message for failures associated with the Encryption At Rest private endpoint. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the Private Endpoint Service. |
| `regionName` | `string \| string \| null` | No | Cloud provider region in which the Encryption At Rest private endpoint is located. |
| `status` | `string \| null` | No | State of the Encryption At Rest private endpoint. |

***

### listRestPrivateEndpoints

`encryptionAtRestUsingCustomerKeyManagement.listRestPrivateEndpoints`

Return Private Endpoints for Encryption at Rest Using Customer Key Management for One Cloud Provider in One Project: returns the private endpoints of the specified cloud provider for encryption at rest using customer key management (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.encryptionAtRestUsingCustomerKeyManagement.listRestPrivateEndpoints({ groupId: '5f43e7f0a1b2c3d4e5f60718', cloudProvider: 'AWS' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `cloudProvider` | `AZURE \| AWS` | Yes | Human-readable label that identifies the cloud provider for the private endpoints to return. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   errorMessage?: string | null,
>   id?: string | null,
>   regionName?: string | string | null,
>   status?: string | null
> }[] | null
> ```

***

### requestPrivateEndpointDeletion

`encryptionAtRestUsingCustomerKeyManagement.requestPrivateEndpointDeletion`

Delete One Private Endpoint for Encryption at Rest Using Customer Key Management for One Cloud Provider from One Project: deletes one private endpoint, identified by its ID, for encryption at rest using Customer Key Management

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.encryptionAtRestUsingCustomerKeyManagement.requestPrivateEndpointDeletion({ groupId: '5f43e7f0a1b2c3d4e5f60718', cloudProvider: 'AWS', endpointId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `cloudProvider` | `AZURE \| AWS` | Yes | Human-readable label that identifies the cloud provider of the private endpoint to delete. |
| `endpointId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the private endpoint to delete. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### updateEncryptionAtRest

`encryptionAtRestUsingCustomerKeyManagement.updateEncryptionAtRest`

Update Encryption at Rest Configuration in One Project: updates the configuration for encryption at rest using the keys you manage through your cloud provider

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.encryptionAtRestUsingCustomerKeyManagement.updateEncryptionAtRest({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `awsKms` | `object` | No | Amazon Web Services (AWS) KMS configuration details and encryption at rest configuration set for the specified project. |
| `azureKeyVault` | `object` | No | Details that define the configuration of Encryption at Rest using Azure Key Vault (AKV). |
| `enabledForSearchNodes` | `boolean` | No | Flag that indicates whether Encryption at Rest for Dedicated Search Nodes is enabled in the specified project. |
| `googleCloudKms` | `object` | No | Details that define the configuration of Encryption at Rest using Google Cloud Key Management Service (KMS). |

> [accordion] awsKms full type
>
> ```ts theme={null}
> {
>   accessKeyID?: string,
>   customerMasterKeyID?: string,
>   enabled?: boolean,
>   region?: 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,
>   requirePrivateNetworking?: boolean,
>   roleId?: string,
>   secretAccessKey?: string
> }
> ```

> [accordion] azureKeyVault full type
>
> ```ts theme={null}
> {
>   azureEnvironment?: AZURE | AZURE_CHINA | AZURE_US_GOVERNMENT,
>   clientID?: string,
>   enabled?: boolean,
>   keyIdentifier?: string,
>   keyVaultName?: string,
>   requirePrivateNetworking?: boolean,
>   resourceGroupName?: string,
>   roleId?: string,
>   secret?: string,
>   subscriptionID?: string,
>   tenantID?: string
> }
> ```

> [accordion] googleCloudKms full type
>
> ```ts theme={null}
> {
>   enabled?: boolean,
>   keyVersionResourceID?: string,
>   roleId?: string,
>   serviceAccountKey?: string
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `awsKms` | `object \| null` | No | Amazon Web Services (AWS) KMS configuration details and encryption at rest configuration set for the specified project. |
| `azureKeyVault` | `object \| null` | No | Details that define the configuration of Encryption at Rest using Azure Key Vault (AKV). |
| `enabledForSearchNodes` | `boolean \| null` | No | Flag that indicates whether Encryption at Rest for Dedicated Search Nodes is enabled in the specified project. |
| `googleCloudKms` | `object \| null` | No | Details that define the configuration of Encryption at Rest using Google Cloud Key Management Service (KMS). |

> [accordion] awsKms full type
>
> ```ts theme={null}
> {
>   accessKeyID?: string | null,
>   customerMasterKeyID?: string | null,
>   enabled?: boolean | null,
>   region?: string | null,
>   requirePrivateNetworking?: boolean | null,
>   roleId?: string | null,
>   secretAccessKey?: string | null,
>   valid?: boolean | null
> } | null
> ```

> [accordion] azureKeyVault full type
>
> ```ts theme={null}
> {
>   azureEnvironment?: string | null,
>   clientID?: string | null,
>   enabled?: boolean | null,
>   keyIdentifier?: string | null,
>   keyVaultName?: string | null,
>   requirePrivateNetworking?: boolean | null,
>   resourceGroupName?: string | null,
>   roleId?: string | null,
>   secret?: string | null,
>   subscriptionID?: string | null,
>   tenantID?: string | null,
>   valid?: boolean | null
> } | null
> ```

> [accordion] googleCloudKms full type
>
> ```ts theme={null}
> {
>   enabled?: boolean | null,
>   keyVersionResourceID?: string | null,
>   roleId?: string | null,
>   serviceAccountKey?: string | null,
>   valid?: boolean | null
> } | null
> ```

***

## Events

### getGroupEvent

`events.getGroupEvent`

Return One Event from One Project: returns one event for the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.events.getGroupEvent({ groupId: '5f43e7f0a1b2c3d4e5f60718', eventId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `eventId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the event that you want to return. |
| `includeRaw` | `boolean` | No | Flag that indicates whether to include the raw document in the output. The raw document contains additional meta information about the event. |

**Output:** `object`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   alertId?: string | null,
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   alertConfigId?: string | null,
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   targetPublicKey?: string | null | null,
>   userId?: string | null,
>   username?: string | null,
>   whitelistEntry?: string | null | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   created?: string | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   invoiceId?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   paymentId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   created?: string | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   shardName?: string | null
> } | {
>   apiKeyId?: string | null,
>   collection?: string | null,
>   created?: string | null,
>   database?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   opType?: string | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   sessionId?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   deskLocation?: string | null,
>   employeeIdentifier?: string | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   port?: number | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   replicaSetName?: string | null,
>   shardName?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   currentValue?: {
>     number?: number | null,
>     units?: string | null
>   } | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   deskLocation?: string | null,
>   employeeIdentifier?: string | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   metricName?: string | null,
>   orgId?: string | null,
>   port?: number | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   replicaSetName?: string | null,
>   shardName?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   dbUserUsername?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null,
>   whitelistEntry?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   endpointId?: string | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   providerEndpointId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   created?: string | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   hostname?: string | null | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   port?: number | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   replicaSetName?: string | null | null,
>   shardName?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   teamId?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   targetUsername?: string | null | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   resourceId?: string | null,
>   resourceType?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   created?: string | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   instanceName?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null
> } | {
>   created?: string | null,
>   eventTypeName?: string | null,
>   fromTier?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   instanceName?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   processorErrorMsg?: string | null,
>   processorName?: string | null,
>   processorState?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   reason?: string | null,
>   region?: string | null,
>   toTier?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   resourcePolicyId?: string | null,
>   userId?: string | null,
>   username?: string | null,
>   violatedPolicies?: string[] | null,
>   violationAction?: string | null
> }
> ```

***

### getOrgEvent

`events.getOrgEvent`

Return One Event from One Organization: returns one event for the specified organization

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.events.getOrgEvent({ orgId: '5f43e7f0a1b2c3d4e5f60718', eventId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `eventId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the event that you want to return. |
| `includeRaw` | `boolean` | No | Flag that indicates whether to include the raw document in the output. The raw document contains additional meta information about the event. |

**Output:** `object`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | string | string | string | string | string | string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   alertId?: string | null,
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   alertConfigId?: string | null,
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   targetPublicKey?: string | null | null,
>   userId?: string | null,
>   username?: string | null,
>   whitelistEntry?: string | null | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   invoiceId?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   paymentId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   dbUserUsername?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null,
>   whitelistEntry?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   invoiceId?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   teamId?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   targetUsername?: string | null | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   resourceId?: string | null,
>   resourceType?: string | null,
>   userId?: string | null,
>   username?: string | null
> } | {
>   apiKeyId?: string | null,
>   created?: string | null,
>   delegatePrincipal?: {
>     id?: string | null,
>     name?: string | null,
>     onBehalfOf?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: (recursive) | null
>     } | null
>   } | null,
>   eventTypeName?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   isGlobalAdmin?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   publicKey?: string | null,
>   raw?: {
>     _t?: string | null,
>     alertConfigId?: string | null,
>     cid?: string | null,
>     cre?: string | null,
>     description?: string | null | null,
>     gn?: string | null,
>     id?: string | null,
>     orgId?: string | null,
>     orgName?: string | null,
>     severity?: string | null
>   } | null,
>   remoteAddress?: string | null,
>   resourcePolicyId?: string | null,
>   userId?: string | null,
>   username?: string | null
> }
> ```

***

### listEventTypes

`events.listEventTypes`

Return All Event Types: returns a list of all event types, along with a description and additional metadata about each event (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.events.listEventTypes({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   alertable?: boolean | null,
>   description?: string | null,
>   eventType?: string | null
> }[] | null
> ```

***

### listGroupEvents

`events.listGroupEvents`

Return Events from One Project: returns events for the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.events.listGroupEvents({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `clusterNames` | `string[]` | No | Human-readable label that identifies the cluster. |
| `eventType` | `(ALERT_ACKNOWLEDGED_AUDIT \| ALERT_UNACKNOWLEDGED_AUDIT \| ALERT_CONFIG_DISABLED_AUDIT \| ALERT_CONFIG_ENABLED_AUDIT \| ALERT_CONFIG_ADDED_AUDIT \| ALERT_CONFIG_DELETED_AUDIT \| ALERT_CONFIG_CHANGED_AUDIT \| 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 \| 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 \| 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 \| 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 \| AUTOMATION_CONFIG_PUBLISHED_AUDIT \| PEER_CREATED \| PEER_DELETED \| PEER_UPDATED \| AZURE_PEER_CREATED \| AZURE_PEER_UPDATED \| AZURE_PEER_ACTIVE \| AZURE_PEER_DELETED \| CREDIT_CARD_CURRENT \| CREDIT_CARD_ABOUT_TO_EXPIRE \| PENDING_INVOICE_UNDER_THRESHOLD \| PENDING_INVOICE_OVER_THRESHOLD \| DAILY_BILL_UNDER_THRESHOLD \| DAILY_BILL_OVER_THRESHOLD \| DAILY_BILLING_CHANGE_NORMAL \| DAILY_BILLING_CHANGE_OVER_THRESHOLD \| WEEKLY_BILLING_CHANGE_NORMAL \| WEEKLY_BILLING_CHANGE_OVER_THRESHOLD \| MONTHLY_BILLING_CHANGE_NORMAL \| MONTHLY_BILLING_CHANGE_OVER_THRESHOLD \| 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_FIND_DOCUMENTS \| CLUSTER_CONNECTION_GET_NAMESPACES_AND_PROJECT_SQL_SCHEMA_DATA \| CLUSTER_MONGOS_IS_PRESENT \| CLUSTER_MONGOS_IS_MISSING \| 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 \| DATA_EXPLORER \| DATA_EXPLORER_CRUD_ATTEMPT \| DATA_EXPLORER_CRUD_ERROR \| DATA_EXPLORER_CRUD \| DATA_EXPLORER_SESSION_CREATED \| 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 \| CPS_RESTORE_REQUESTED_AUDIT \| CPS_RESTORE_AUTH_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 \| 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 \| BUCKET_CREATED_AUDIT \| BUCKET_DELETED_AUDIT \| FTS_INDEX_DELETION_FAILED \| FTS_INDEX_BUILD_COMPLETE \| FTS_INDEX_BUILD_FAILED \| FTS_INDEX_CREATED \| FTS_INDEX_UPDATED \| FTS_INDEX_PARTITIONS_CHANGED \| FTS_INDEX_REBUILT \| FTS_INDEX_DEFINITION_ROLLED_BACK \| FTS_INDEX_DELETED \| FTS_INDEX_CLEANED_UP \| FTS_INDEX_STALE \| FTS_INDEXES_RESTORED \| FTS_INDEXES_RESTORE_FAILED \| FTS_INDEXES_SYNONYM_MAPPING_INVALID \| GCP_PEER_CREATED \| GCP_PEER_DELETED \| GCP_PEER_UPDATED \| GCP_PEER_ACTIVE \| GCP_PEER_INACTIVE \| 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 \| PROJECT_OPERATIONS_CONTACT_MODIFIED \| PROJECT_OPERATIONS_CONTACT_ALERTS_ENABLED \| PROJECT_OPERATIONS_CONTACT_ALERTS_DISABLED \| GROUP_DEFAULT_ALERTS_SETTINGS_CHANGED \| 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 \| WEBHOOK_TEMPLATE_RENDER_FAILED \| ENCRYPTION_AT_REST_CONFIG_UPDATE_NO_LONGER_STALLED \| ENCRYPTION_AT_REST_CONFIG_UPDATE_STALLED \| INTEGRATION_CONFIGURED \| INTEGRATION_REMOVED \| 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_SEARCH_PROCESS_NOT_THROTTLING \| HOST_SEARCH_PROCESS_THROTTLING \| 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 \| INSIDE_METRIC_THRESHOLD \| OUTSIDE_METRIC_THRESHOLD \| ROLLING_INDEX_FAILED_INDEX_BUILD \| ROLLING_INDEX_SUCCESS_INDEX_BUILD \| INDEX_FAILED_INDEX_BUILD \| INDEX_SUCCESS_INDEX_BUILD \| MONGOTUNE_INFO \| MONGOTUNE_ALERT \| 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_USER_PASSWORD_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 \| CAPACITY_RETRY_OVERRIDE_SET \| CAPACITY_RETRY_OVERRIDE_REMOVED \| 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 \| PROJECT_ENABLE_DATA_VALIDATION_UPDATED \| PROJECT_COLLECT_DATABASE_STATISTICS_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 \| ENCRYPTION_AT_REST_PRIVATE_ENDPOINT_CREATED \| ENCRYPTION_AT_REST_PRIVATE_ENDPOINT_DELETED \| 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 \| SLS_LOG_AND_MONGOD_NODES_RECREATION_REQUESTED \| AGENT_FORCE_RESTART_REQUESTED \| CLUSTER_RESET_FORCE_RECONFIG_REQUESTED \| CLUSTER_FORCE_PAUSE_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 \| LOG_STREAMING_EXPORT_FAILED_NONRETRYABLE \| LOG_STREAMING_EXPORT_FAILED_RETRIES_EXHAUSTED \| LOG_STREAMING_EXPORT_RECOVERED \| LOG_STREAMING_REPLAY_STARTED \| LOG_STREAMING_REPLAY_COMPLETE \| LOG_STREAMING_REPLAY_FAILED \| OTEL_METRIC_INTEGRATION_ENABLED \| OTEL_METRIC_INTEGRATION_CONFIGURATION_UPDATED \| OTEL_METRIC_INTEGRATION_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 \| STREAM_WORKSPACE_PRIVATE_ENDPOINT_CREATED \| STREAM_WORKSPACE_PRIVATE_ENDPOINT_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 \| SEARCH_HOST_PAUSE_ALL_INITIAL_SYNCS \| SEARCH_HOST_DISABLE_FTS \| SEARCH_HOST_PAUSE_INITIAL_SYNC_ON_INDEX_IDS \| SEARCH_AUTOSCALING_ADMIN_OVERRIDES_UPDATED \| SEARCH_CLUSTER_MONGOT_VERSION_OVERRIDE_UPDATED \| 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 \| ADAPTIVE_SETTINGS_LOAD_SHEDDING_UPDATED \| 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 \| DISK_WARMING_PROCESS_NODE_HIDDEN_BY_ADMIN \| DISK_WARMING_PROCESS_NODE_UNHIDDEN_BY_ADMIN \| DISK_WARMING_PROCESS_INSTANCE_CANCELLED_BY_ADMIN \| DISK_WARMING_PROCESS_DISK_TAG_READY_BY_ADMIN \| NODE_FROZEN_BY_ADMIN \| NODE_UNFROZEN_BY_ADMIN \| CLUSTER_CREATED_VIA_ANIS \| MAINTENANCE_WAVE_ASSIGNMENT_ADDED \| MAINTENANCE_WAVE_ASSIGNMENT_MODIFIED \| MAINTENANCE_WAVE_ASSIGNMENT_REMOVED \| CLUSTER_MONGUARD_ENABLED \| CLUSTER_MONGUARD_DISABLED \| CLUSTER_MONGODB_VERSION_UPDATED \| VOLUME_IMPAIRED \| VOLUME_IMPAIRED_RESOLVED \| SQL_INTERFACE_ENABLED \| SQL_INTERFACE_DISABLED \| AUTO_EMBEDDING_INFERENCE_SCOPE_UPDATED \| CLUSTER_OVERLOAD_PROTECTION_SIMULATION_REQUESTED \| CLUSTER_OVERLOAD_PROTECTION_SIMULATION_STARTED \| CLUSTER_OVERLOAD_PROTECTION_SIMULATION_FAILED_TO_START \| CLUSTER_OVERLOAD_PROTECTION_SIMULATION_END_REQUESTED \| CLUSTER_OVERLOAD_PROTECTION_SIMULATION_ENDED \| DB_CHECK_UPDATED \| CLUSTER_SAMPLED_FOR_DB_CHECK \| DB_CHECK_SCHEDULED_FOR_CLUSTER \| DB_CHECK_DEFERRED_FOR_CLUSTER \| CLUSTER_OPTED_OUT_OF_DB_CHECK \| 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 \| 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_DOWNSCALE_SKIPPED_FALLBACK_BASE \| COMPUTE_AUTO_SCALE_DOWNSCALE_SKIPPED_FALLBACK_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 \| COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_BASE \| COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_ANALYTICS \| DISK_AUTO_SCALE_MAX_DISK_SIZE_FAIL \| DISK_AUTO_SCALE_OPLOG_FAIL \| CLUSTER_AUTO_SHARDING_INITIATED \| CLUSTER_RESHARDING_COMPLETED \| PREDICTIVE_COMPUTE_AUTO_SCALE_INITIATED_BASE \| PREDICTIVE_COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_BASE \| PREDICTIVE_COMPUTE_AUTO_SCALE_OPLOG_FAIL_BASE \| PREDICTIVE_COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_BASE \| MAINTENANCE_IN_ADVANCED \| MAINTENANCE_AUTO_DEFERRED \| MAINTENANCE_STARTED \| MAINTENANCE_COMPLETED \| MAINTENANCE_NO_LONGER_NEEDED \| 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 \| 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 \| 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 \| 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 \| 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 \| 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 \| PRIVATE_ENDPOINT_CONNECTION_STRING_AVAILABLE \| PRIVATE_ENDPOINT_CONNECTION_STRING_CREATED \| PRIVATE_ENDPOINT_CONNECTION_STRING_DELETED \| PRIVATE_ENDPOINT_CONNECTION_STRING_MISCONFIGURED \| PRIVATE_ENDPOINT_CONNECTION_STRING_OPT_IN \| PRIVATE_ENDPOINT_CONNECTION_STRING_OPT_OUT \| PRIVATE_ENDPOINT_CONNECTION_STRING_UPDATED \| CROSS_REGION_SUPPORTED_REGION_MODIFIED \| ENDPOINT_SERVICE_CREATED \| ENDPOINT_SERVICE_CREATION_RETRIED \| ENDPOINT_SERVICE_DELETED \| INTERFACE_ENDPOINT_CREATED \| INTERFACE_ENDPOINT_DELETED \| INTERFACE_ENDPOINT_PATCHED \| INTERFACE_ENDPOINT_RETRIED \| PROACTIVE_OPERATION_EVENT_LOGGED \| 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 \| SEARCH_DEPLOYMENT_CREATED \| SEARCH_DEPLOYMENT_UPDATED \| SEARCH_DEPLOYMENT_DELETED \| 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 \| INSIDE_SERVERLESS_METRIC_THRESHOLD \| OUTSIDE_SERVERLESS_METRIC_THRESHOLD \| INSIDE_FLEX_METRIC_THRESHOLD \| OUTSIDE_FLEX_METRIC_THRESHOLD \| SETUP_SERVERLESS_INITIATED \| MAX_PROCESSOR_COUNT_REACHED \| STREAM_PROCESSOR_STATE_IS_FAILED \| STREAM_PROCESSOR_STARTED \| STREAM_PROCESSOR_AUTOSCALE_INITIATED \| STREAM_PROCESSOR_CREATED \| STREAM_PROCESSOR_STOPPED \| STREAM_PROCESSOR_DROPPED \| STREAM_PROCESSOR_MODIFIED \| INSIDE_STREAM_PROCESSOR_METRIC_THRESHOLD \| OUTSIDE_STREAM_PROCESSOR_METRIC_THRESHOLD \| CASE_CREATED \| SUPPORT_EMAILS_SENT_SUCCESSFULLY \| SUPPORT_EMAILS_SENT_FAILURE \| TEAM_ADDED_TO_GROUP \| TEAM_REMOVED_FROM_GROUP \| TEAM_ROLES_MODIFIED \| 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 \| M0_BACKUP_SUBSCRIPTION_ENABLED \| M0_BACKUP_SUBSCRIPTION_CANCELLED \| M0_BACKUP_SUBSCRIPTION_PAUSED \| M0_BACKUP_SUBSCRIPTION_RESUMED \| 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 \| 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 \| TAGS_MODIFIED \| CLUSTER_TAGS_MODIFIED \| GROUP_TAGS_MODIFIED \| EMPLOYEE_DOWNLOADED_CLUSTER_LOGS \| CHARTS_API_SUCCESS \| CHARTS_API_FAILURE \| CHARTS_DASHBOARD_EXPORTED \| CHARTS_DASHBOARD_EXPORT_FAILED \| CHARTS_DASHBOARD_IMPORTED \| CHARTS_DASHBOARD_IMPORT_FAILED \| RESOURCE_POLICY_VIOLATED \| QUERY_SHAPE_BLOCKED \| QUERY_SHAPE_UNBLOCKED \| SHARD_KEY_ANALYSIS_STARTED \| SHARD_KEY_ANALYSIS_FINISHED \| QUERY_SAMPLING_STARTED \| QUERY_SAMPLING_STOPPED \| AI_MODELS_APIS_API_KEY_CREATED \| AI_MODELS_APIS_API_KEY_DELETED \| AI_MODELS_APIS_API_KEY_UPDATED \| AI_MODELS_APIS_RATE_LIMIT_UPDATED \| AI_MODELS_APIS_RATE_LIMIT_RESET \| AI_MODELS_APIS_RATE_LIMIT_ADMIN_OVERRIDE \| ENCRYPTION_KEY_TRANSITION_STARTED \| ENCRYPTION_KEY_TRANSITION_COMPLETED \| PROACTIVE_REMEDIATION_NEEDED \| STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_FIRST_WARNING \| STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_SECOND_WARNING \| STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_DELETED \| SEARCH_AUTO_MIGRATION_ADVISORY \| SEARCH_AUTO_MIGRATION_STARTED \| SEARCH_AUTO_MIGRATION_FAILED)[]` | No | Category of incident recorded at this moment in time. **IMPORTANT**: The complete list of event type values changes frequently. |
| `excludedEventType` | `(ALERT_ACKNOWLEDGED_AUDIT \| ALERT_UNACKNOWLEDGED_AUDIT \| ALERT_CONFIG_DISABLED_AUDIT \| ALERT_CONFIG_ENABLED_AUDIT \| ALERT_CONFIG_ADDED_AUDIT \| ALERT_CONFIG_DELETED_AUDIT \| ALERT_CONFIG_CHANGED_AUDIT \| 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 \| 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 \| 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 \| 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 \| AUTOMATION_CONFIG_PUBLISHED_AUDIT \| PEER_CREATED \| PEER_DELETED \| PEER_UPDATED \| AZURE_PEER_CREATED \| AZURE_PEER_UPDATED \| AZURE_PEER_ACTIVE \| AZURE_PEER_DELETED \| CREDIT_CARD_CURRENT \| CREDIT_CARD_ABOUT_TO_EXPIRE \| PENDING_INVOICE_UNDER_THRESHOLD \| PENDING_INVOICE_OVER_THRESHOLD \| DAILY_BILL_UNDER_THRESHOLD \| DAILY_BILL_OVER_THRESHOLD \| DAILY_BILLING_CHANGE_NORMAL \| DAILY_BILLING_CHANGE_OVER_THRESHOLD \| WEEKLY_BILLING_CHANGE_NORMAL \| WEEKLY_BILLING_CHANGE_OVER_THRESHOLD \| MONTHLY_BILLING_CHANGE_NORMAL \| MONTHLY_BILLING_CHANGE_OVER_THRESHOLD \| 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_FIND_DOCUMENTS \| CLUSTER_CONNECTION_GET_NAMESPACES_AND_PROJECT_SQL_SCHEMA_DATA \| CLUSTER_MONGOS_IS_PRESENT \| CLUSTER_MONGOS_IS_MISSING \| 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 \| DATA_EXPLORER \| DATA_EXPLORER_CRUD_ATTEMPT \| DATA_EXPLORER_CRUD_ERROR \| DATA_EXPLORER_CRUD \| DATA_EXPLORER_SESSION_CREATED \| 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 \| CPS_RESTORE_REQUESTED_AUDIT \| CPS_RESTORE_AUTH_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 \| 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 \| BUCKET_CREATED_AUDIT \| BUCKET_DELETED_AUDIT \| FTS_INDEX_DELETION_FAILED \| FTS_INDEX_BUILD_COMPLETE \| FTS_INDEX_BUILD_FAILED \| FTS_INDEX_CREATED \| FTS_INDEX_UPDATED \| FTS_INDEX_PARTITIONS_CHANGED \| FTS_INDEX_REBUILT \| FTS_INDEX_DEFINITION_ROLLED_BACK \| FTS_INDEX_DELETED \| FTS_INDEX_CLEANED_UP \| FTS_INDEX_STALE \| FTS_INDEXES_RESTORED \| FTS_INDEXES_RESTORE_FAILED \| FTS_INDEXES_SYNONYM_MAPPING_INVALID \| GCP_PEER_CREATED \| GCP_PEER_DELETED \| GCP_PEER_UPDATED \| GCP_PEER_ACTIVE \| GCP_PEER_INACTIVE \| 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 \| PROJECT_OPERATIONS_CONTACT_MODIFIED \| PROJECT_OPERATIONS_CONTACT_ALERTS_ENABLED \| PROJECT_OPERATIONS_CONTACT_ALERTS_DISABLED \| GROUP_DEFAULT_ALERTS_SETTINGS_CHANGED \| 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 \| WEBHOOK_TEMPLATE_RENDER_FAILED \| ENCRYPTION_AT_REST_CONFIG_UPDATE_NO_LONGER_STALLED \| ENCRYPTION_AT_REST_CONFIG_UPDATE_STALLED \| INTEGRATION_CONFIGURED \| INTEGRATION_REMOVED \| 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_SEARCH_PROCESS_NOT_THROTTLING \| HOST_SEARCH_PROCESS_THROTTLING \| 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 \| INSIDE_METRIC_THRESHOLD \| OUTSIDE_METRIC_THRESHOLD \| ROLLING_INDEX_FAILED_INDEX_BUILD \| ROLLING_INDEX_SUCCESS_INDEX_BUILD \| INDEX_FAILED_INDEX_BUILD \| INDEX_SUCCESS_INDEX_BUILD \| MONGOTUNE_INFO \| MONGOTUNE_ALERT \| 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_USER_PASSWORD_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 \| CAPACITY_RETRY_OVERRIDE_SET \| CAPACITY_RETRY_OVERRIDE_REMOVED \| 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 \| PROJECT_ENABLE_DATA_VALIDATION_UPDATED \| PROJECT_COLLECT_DATABASE_STATISTICS_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 \| ENCRYPTION_AT_REST_PRIVATE_ENDPOINT_CREATED \| ENCRYPTION_AT_REST_PRIVATE_ENDPOINT_DELETED \| 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 \| SLS_LOG_AND_MONGOD_NODES_RECREATION_REQUESTED \| AGENT_FORCE_RESTART_REQUESTED \| CLUSTER_RESET_FORCE_RECONFIG_REQUESTED \| CLUSTER_FORCE_PAUSE_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 \| LOG_STREAMING_EXPORT_FAILED_NONRETRYABLE \| LOG_STREAMING_EXPORT_FAILED_RETRIES_EXHAUSTED \| LOG_STREAMING_EXPORT_RECOVERED \| LOG_STREAMING_REPLAY_STARTED \| LOG_STREAMING_REPLAY_COMPLETE \| LOG_STREAMING_REPLAY_FAILED \| OTEL_METRIC_INTEGRATION_ENABLED \| OTEL_METRIC_INTEGRATION_CONFIGURATION_UPDATED \| OTEL_METRIC_INTEGRATION_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 \| STREAM_WORKSPACE_PRIVATE_ENDPOINT_CREATED \| STREAM_WORKSPACE_PRIVATE_ENDPOINT_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 \| SEARCH_HOST_PAUSE_ALL_INITIAL_SYNCS \| SEARCH_HOST_DISABLE_FTS \| SEARCH_HOST_PAUSE_INITIAL_SYNC_ON_INDEX_IDS \| SEARCH_AUTOSCALING_ADMIN_OVERRIDES_UPDATED \| SEARCH_CLUSTER_MONGOT_VERSION_OVERRIDE_UPDATED \| 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 \| ADAPTIVE_SETTINGS_LOAD_SHEDDING_UPDATED \| 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 \| DISK_WARMING_PROCESS_NODE_HIDDEN_BY_ADMIN \| DISK_WARMING_PROCESS_NODE_UNHIDDEN_BY_ADMIN \| DISK_WARMING_PROCESS_INSTANCE_CANCELLED_BY_ADMIN \| DISK_WARMING_PROCESS_DISK_TAG_READY_BY_ADMIN \| NODE_FROZEN_BY_ADMIN \| NODE_UNFROZEN_BY_ADMIN \| CLUSTER_CREATED_VIA_ANIS \| MAINTENANCE_WAVE_ASSIGNMENT_ADDED \| MAINTENANCE_WAVE_ASSIGNMENT_MODIFIED \| MAINTENANCE_WAVE_ASSIGNMENT_REMOVED \| CLUSTER_MONGUARD_ENABLED \| CLUSTER_MONGUARD_DISABLED \| CLUSTER_MONGODB_VERSION_UPDATED \| VOLUME_IMPAIRED \| VOLUME_IMPAIRED_RESOLVED \| SQL_INTERFACE_ENABLED \| SQL_INTERFACE_DISABLED \| AUTO_EMBEDDING_INFERENCE_SCOPE_UPDATED \| CLUSTER_OVERLOAD_PROTECTION_SIMULATION_REQUESTED \| CLUSTER_OVERLOAD_PROTECTION_SIMULATION_STARTED \| CLUSTER_OVERLOAD_PROTECTION_SIMULATION_FAILED_TO_START \| CLUSTER_OVERLOAD_PROTECTION_SIMULATION_END_REQUESTED \| CLUSTER_OVERLOAD_PROTECTION_SIMULATION_ENDED \| DB_CHECK_UPDATED \| CLUSTER_SAMPLED_FOR_DB_CHECK \| DB_CHECK_SCHEDULED_FOR_CLUSTER \| DB_CHECK_DEFERRED_FOR_CLUSTER \| CLUSTER_OPTED_OUT_OF_DB_CHECK \| 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 \| 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_DOWNSCALE_SKIPPED_FALLBACK_BASE \| COMPUTE_AUTO_SCALE_DOWNSCALE_SKIPPED_FALLBACK_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 \| COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_BASE \| COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_ANALYTICS \| DISK_AUTO_SCALE_MAX_DISK_SIZE_FAIL \| DISK_AUTO_SCALE_OPLOG_FAIL \| CLUSTER_AUTO_SHARDING_INITIATED \| CLUSTER_RESHARDING_COMPLETED \| PREDICTIVE_COMPUTE_AUTO_SCALE_INITIATED_BASE \| PREDICTIVE_COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_BASE \| PREDICTIVE_COMPUTE_AUTO_SCALE_OPLOG_FAIL_BASE \| PREDICTIVE_COMPUTE_AUTO_SCALE_CAPACITY_CONSTRAINT_FAIL_BASE \| MAINTENANCE_IN_ADVANCED \| MAINTENANCE_AUTO_DEFERRED \| MAINTENANCE_STARTED \| MAINTENANCE_COMPLETED \| MAINTENANCE_NO_LONGER_NEEDED \| 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 \| 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 \| 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 \| 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 \| 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 \| 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 \| PRIVATE_ENDPOINT_CONNECTION_STRING_AVAILABLE \| PRIVATE_ENDPOINT_CONNECTION_STRING_CREATED \| PRIVATE_ENDPOINT_CONNECTION_STRING_DELETED \| PRIVATE_ENDPOINT_CONNECTION_STRING_MISCONFIGURED \| PRIVATE_ENDPOINT_CONNECTION_STRING_OPT_IN \| PRIVATE_ENDPOINT_CONNECTION_STRING_OPT_OUT \| PRIVATE_ENDPOINT_CONNECTION_STRING_UPDATED \| CROSS_REGION_SUPPORTED_REGION_MODIFIED \| ENDPOINT_SERVICE_CREATED \| ENDPOINT_SERVICE_CREATION_RETRIED \| ENDPOINT_SERVICE_DELETED \| INTERFACE_ENDPOINT_CREATED \| INTERFACE_ENDPOINT_DELETED \| INTERFACE_ENDPOINT_PATCHED \| INTERFACE_ENDPOINT_RETRIED \| PROACTIVE_OPERATION_EVENT_LOGGED \| 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 \| SEARCH_DEPLOYMENT_CREATED \| SEARCH_DEPLOYMENT_UPDATED \| SEARCH_DEPLOYMENT_DELETED \| 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 \| INSIDE_SERVERLESS_METRIC_THRESHOLD \| OUTSIDE_SERVERLESS_METRIC_THRESHOLD \| INSIDE_FLEX_METRIC_THRESHOLD \| OUTSIDE_FLEX_METRIC_THRESHOLD \| SETUP_SERVERLESS_INITIATED \| MAX_PROCESSOR_COUNT_REACHED \| STREAM_PROCESSOR_STATE_IS_FAILED \| STREAM_PROCESSOR_STARTED \| STREAM_PROCESSOR_AUTOSCALE_INITIATED \| STREAM_PROCESSOR_CREATED \| STREAM_PROCESSOR_STOPPED \| STREAM_PROCESSOR_DROPPED \| STREAM_PROCESSOR_MODIFIED \| INSIDE_STREAM_PROCESSOR_METRIC_THRESHOLD \| OUTSIDE_STREAM_PROCESSOR_METRIC_THRESHOLD \| CASE_CREATED \| SUPPORT_EMAILS_SENT_SUCCESSFULLY \| SUPPORT_EMAILS_SENT_FAILURE \| TEAM_ADDED_TO_GROUP \| TEAM_REMOVED_FROM_GROUP \| TEAM_ROLES_MODIFIED \| 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 \| M0_BACKUP_SUBSCRIPTION_ENABLED \| M0_BACKUP_SUBSCRIPTION_CANCELLED \| M0_BACKUP_SUBSCRIPTION_PAUSED \| M0_BACKUP_SUBSCRIPTION_RESUMED \| 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 \| 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 \| TAGS_MODIFIED \| CLUSTER_TAGS_MODIFIED \| GROUP_TAGS_MODIFIED \| EMPLOYEE_DOWNLOADED_CLUSTER_LOGS \| CHARTS_API_SUCCESS \| CHARTS_API_FAILURE \| CHARTS_DASHBOARD_EXPORTED \| CHARTS_DASHBOARD_EXPORT_FAILED \| CHARTS_DASHBOARD_IMPORTED \| CHARTS_DASHBOARD_IMPORT_FAILED \| RESOURCE_POLICY_VIOLATED \| QUERY_SHAPE_BLOCKED \| QUERY_SHAPE_UNBLOCKED \| SHARD_KEY_ANALYSIS_STARTED \| SHARD_KEY_ANALYSIS_FINISHED \| QUERY_SAMPLING_STARTED \| QUERY_SAMPLING_STOPPED \| AI_MODELS_APIS_API_KEY_CREATED \| AI_MODELS_APIS_API_KEY_DELETED \| AI_MODELS_APIS_API_KEY_UPDATED \| AI_MODELS_APIS_RATE_LIMIT_UPDATED \| AI_MODELS_APIS_RATE_LIMIT_RESET \| AI_MODELS_APIS_RATE_LIMIT_ADMIN_OVERRIDE \| ENCRYPTION_KEY_TRANSITION_STARTED \| ENCRYPTION_KEY_TRANSITION_COMPLETED \| PROACTIVE_REMEDIATION_NEEDED \| STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_FIRST_WARNING \| STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_SECOND_WARNING \| STREAMS_PRIVATE_LINK_ENDPOINT_UNUSED_DELETED \| SEARCH_AUTO_MIGRATION_ADVISORY \| SEARCH_AUTO_MIGRATION_STARTED \| SEARCH_AUTO_MIGRATION_FAILED)[]` | No | 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. |
| `includeRaw` | `boolean` | No | Flag that indicates whether to include the raw document in the output. The raw document contains additional meta information about the event. |
| `maxDate` | `string` | No | Date and time from when MongoDB Cloud stops returning events. This parameter uses the ISO 8601 timestamp format in UTC. |
| `minDate` | `string` | No | Date and time from when MongoDB Cloud starts returning events. This parameter uses the ISO 8601 timestamp format in UTC. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> (
>   {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     alertId?: string | null,
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     alertConfigId?: string | null,
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     targetPublicKey?: string | null | null,
>     userId?: string | null,
>     username?: string | null,
>     whitelistEntry?: string | null | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     created?: string | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     invoiceId?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     paymentId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     created?: string | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     shardName?: string | null
>   } | {
>     apiKeyId?: string | null,
>     collection?: string | null,
>     created?: string | null,
>     database?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     opType?: string | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     sessionId?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     deskLocation?: string | null,
>     employeeIdentifier?: string | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     port?: number | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     replicaSetName?: string | null,
>     shardName?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     currentValue?: {
>       number?: number | null,
>       units?: string | null
>     } | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     deskLocation?: string | null,
>     employeeIdentifier?: string | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     metricName?: string | null,
>     orgId?: string | null,
>     port?: number | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     replicaSetName?: string | null,
>     shardName?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     dbUserUsername?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null,
>     whitelistEntry?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     endpointId?: string | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     providerEndpointId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     created?: string | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     hostname?: string | null | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     port?: number | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     replicaSetName?: string | null | null,
>     shardName?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     teamId?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     targetUsername?: string | null | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     resourceId?: string | null,
>     resourceType?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     created?: string | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     instanceName?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null
>   } | {
>     created?: string | null,
>     eventTypeName?: string | null,
>     fromTier?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     instanceName?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     processorErrorMsg?: string | null,
>     processorName?: string | null,
>     processorState?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     reason?: string | null,
>     region?: string | null,
>     toTier?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     resourcePolicyId?: string | null,
>     userId?: string | null,
>     username?: string | null,
>     violatedPolicies?: string[] | null,
>     violationAction?: string | null
>   }
> )[] | null
> ```

***

### listOrgEvents

`events.listOrgEvents`

Return Events from One Organization: returns events for the specified organization (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.events.listOrgEvents({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `orgId` | `string` | Yes | 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. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `eventType` | `(ALERT_ACKNOWLEDGED_AUDIT \| ALERT_UNACKNOWLEDGED_AUDIT \| ALERT_CONFIG_DISABLED_AUDIT \| ALERT_CONFIG_ENABLED_AUDIT \| ALERT_CONFIG_ADDED_AUDIT \| ALERT_CONFIG_DELETED_AUDIT \| ALERT_CONFIG_CHANGED_AUDIT \| 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 \| 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 \| 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_METHOD_DEACTIVATED \| 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_AWS_LICENSE_ARN_MODIFIED \| CREDIT_AWS_ACCOUNT_ID_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 \| 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 \| ORG_ACCESS_PROVISIONING_METHOD_UPDATED \| RESTRICT_ORG_MEMBERSHIP_ENABLED \| RESTRICT_ORG_MEMBERSHIP_DISABLED \| ROLE_MAPPING_CREATED \| ROLE_MAPPING_UPDATED \| ROLE_MAPPING_DELETED \| SCIM_CLIENT_CREATED \| SCIM_CLIENT_UPDATED \| SCIM_CLIENT_DELETED \| SCIM_CLIENT_SECRET_CREATED \| SCIM_CLIENT_SECRET_DELETED \| GROUP_DELETED \| GROUP_CREATED \| GROUP_MOVED \| PROJECT_OPERATIONS_CONTACT_MODIFIED \| PROJECT_OPERATIONS_CONTACT_ALERTS_ENABLED \| PROJECT_OPERATIONS_CONTACT_ALERTS_DISABLED \| 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 \| ORG_LIMIT_UPDATED \| SHADOW_CLUSTER_ORG_OPT_IN \| SHADOW_CLUSTER_ORG_OPT_OUT \| ATLAS_MAINTENANCE_FLEET_ACTIVE_WAVE_CLOSED_BY_ADMIN \| ATLAS_MAINTENANCE_FLEET_ACTIVE_WAVE_AUTO_CLOSED \| MAINTENANCE_WAVE_ASSIGNMENT_ADDED \| MAINTENANCE_WAVE_ASSIGNMENT_MODIFIED \| MAINTENANCE_WAVE_ASSIGNMENT_REMOVED \| ORG_CREATED \| CUSTOM_SESSION_TIMEOUT_MODIFIED \| SECURITY_CONTACT_MODIFIED \| OPERATIONS_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_DAILY_BILLING_CHANGE_NORMAL \| ORG_DAILY_BILLING_CHANGE_OVER_THRESHOLD \| ORG_WEEKLY_BILLING_CHANGE_NORMAL \| ORG_WEEKLY_BILLING_CHANGE_OVER_THRESHOLD \| ORG_MONTHLY_BILLING_CHANGE_NORMAL \| ORG_MONTHLY_BILLING_CHANGE_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 \| ORG_DELEGATION_SETTINGS_UPDATED \| ORGANIZATION_VOYAGE_SETTINGS_CREATED \| ORGANIZATION_VOYAGE_SETTINGS_DELETED \| ORG_DATA_SHARING_AI_MODELS_ENABLED \| ORG_DATA_SHARING_AI_MODELS_DISABLED \| ORG_WAVE_ASSIGNMENT_MODE_MANUAL \| ORG_WAVE_ASSIGNMENT_MODE_ENV_TAG_MAPPING \| PROJECT_CREATED_VIA_ANIS \| 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 \| SUPPORT_EMAILS_SENT_SUCCESSFULLY \| SUPPORT_EMAILS_SENT_FAILURE \| TEAM_CREATED \| TEAM_DELETED \| TEAM_UPDATED \| TEAM_NAME_CHANGED \| TEAM_ADDED_TO_GROUP \| TEAM_REMOVED_FROM_GROUP \| TEAM_ROLES_MODIFIED \| 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 \| TAGS_MODIFIED \| GROUP_TAGS_MODIFIED \| RESOURCE_POLICY_CREATED \| RESOURCE_POLICY_MODIFIED \| RESOURCE_POLICY_DELETED \| RESOURCE_POLICY_VIOLATED \| AI_MODELS_APIS_USAGE_TIER_UPDATED \| AI_MODELS_APIS_RATE_LIMIT_ADMIN_OVERRIDE \| AI_MODELS_APIS_FREE_TOKENS_ADMIN_ADJUSTED \| OAUTH_CLIENT_CREATED \| OAUTH_CLIENT_UPDATED \| OAUTH_CLIENT_DELETED \| OAUTH_CLIENT_SECRET_CREATED \| OAUTH_CLIENT_SECRET_DELETED \| OAUTH_AUTHORIZATION_GRANTED \| OAUTH_AUTHORIZATION_DENIED \| OAUTH_TOKEN_ISSUED \| OAUTH_TOKEN_REVOKED \| OAUTH_USER_CONSENT_GRANTED \| OAUTH_USER_CONSENT_REVOKED)[]` | No | Category of incident recorded at this moment in time. **IMPORTANT**: The complete list of event type values changes frequently. |
| `includeRaw` | `boolean` | No | Flag that indicates whether to include the raw document in the output. The raw document contains additional meta information about the event. |
| `maxDate` | `string` | No | Date and time from when MongoDB Cloud stops returning events. This parameter uses the ISO 8601 timestamp format in UTC. |
| `minDate` | `string` | No | Date and time from when MongoDB Cloud starts returning events. This parameter uses the ISO 8601 timestamp format in UTC. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> (
>   {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | string | string | string | string | string | string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     alertId?: string | null,
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     alertConfigId?: string | null,
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     targetPublicKey?: string | null | null,
>     userId?: string | null,
>     username?: string | null,
>     whitelistEntry?: string | null | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     invoiceId?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     paymentId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     dbUserUsername?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null,
>     whitelistEntry?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     invoiceId?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     teamId?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     targetUsername?: string | null | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     resourceId?: string | null,
>     resourceType?: string | null,
>     userId?: string | null,
>     username?: string | null
>   } | {
>     apiKeyId?: string | null,
>     created?: string | null,
>     delegatePrincipal?: {
>       id?: string | null,
>       name?: string | null,
>       onBehalfOf?: {
>         id?: string | null,
>         name?: string | null,
>         onBehalfOf?: (recursive) | null
>       } | null
>     } | null,
>     eventTypeName?: string | null,
>     groupId?: string | null,
>     id?: string | null,
>     isGlobalAdmin?: boolean | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     publicKey?: string | null,
>     raw?: {
>       _t?: string | null,
>       alertConfigId?: string | null,
>       cid?: string | null,
>       cre?: string | null,
>       description?: string | null | null,
>       gn?: string | null,
>       id?: string | null,
>       orgId?: string | null,
>       orgName?: string | null,
>       severity?: string | null
>     } | null,
>     remoteAddress?: string | null,
>     resourcePolicyId?: string | null,
>     userId?: string | null,
>     username?: string | null
>   }
> )[] | null
> ```

***

## Federated Authentication

### createIdentityProvider

`federatedAuthentication.createIdentityProvider`

Create One Identity Provider: creates one identity provider within the specified federation

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.federatedAuthentication.createIdentityProvider({
	federationSettingsId: '5f43e7f0a1b2c3d4e5f60718',
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `federationSettingsId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies your federation. |
| `body` | `object` | Yes | — |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   associatedDomains?: string[],
>   audience?: string,
>   authorizationType?: GROUP | USER,
>   clientId?: string,
>   description?: string | null,
>   displayName?: string,
>   groupsClaim?: string,
>   idpType?: WORKFORCE | WORKLOAD,
>   issuerUri?: string,
>   protocol?: SAML | OIDC,
>   requestedScopes?: string[],
>   userClaim?: string
> } | {
>   audience?: string,
>   authorizationType?: GROUP | USER,
>   description?: string | null,
>   displayName?: string,
>   groupsClaim?: string,
>   idpType?: WORKFORCE | WORKLOAD,
>   issuerUri?: string,
>   protocol?: SAML | OIDC,
>   userClaim?: string
> }
> ```

**Output:** `object`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   associatedDomains?: string[] | null,
>   associatedOrgs?: {
>     dataAccessIdentityProviderIds?: string[] | null,
>     domainAllowList?: string[] | null,
>     domainRestrictionEnabled?: boolean | null,
>     identityProviderId?: string | null | null,
>     orgId?: string | null,
>     postAuthRoleGrants?: (string | null)[] | null,
>     roleMappings?: {
>       externalGroupName?: string | null,
>       id?: string | null,
>       roleAssignments?: {
>         groupId?: string | null,
>         orgId?: string | null,
>         role?: string | null
>       }[] | null
>     }[] | null,
>     userConflicts?: {
>       emailAddress?: string | null,
>       federationSettingsId?: string | null,
>       firstName?: string | null,
>       lastName?: string | null,
>       userId?: string | null
>     }[] | null
>   }[] | null,
>   audience?: string | null | null,
>   authorizationType?: string | null,
>   clientId?: string | null | null,
>   createdAt?: string | null,
>   description?: string | null | null,
>   displayName?: string | null,
>   groupsClaim?: string | null | null,
>   id?: string | null,
>   idpType?: string | null,
>   issuerUri?: string | null,
>   oktaIdpId?: string | null | null,
>   protocol?: string | null,
>   requestedScopes?: string[] | null,
>   updatedAt?: string | null | null,
>   userClaim?: string | null
> } | {
>   associatedOrgs?: {
>     dataAccessIdentityProviderIds?: string[] | null,
>     domainAllowList?: string[] | null,
>     domainRestrictionEnabled?: boolean | null,
>     identityProviderId?: string | null | null,
>     orgId?: string | null,
>     postAuthRoleGrants?: (string | null)[] | null,
>     roleMappings?: {
>       externalGroupName?: string | null,
>       id?: string | null,
>       roleAssignments?: {
>         groupId?: string | null,
>         orgId?: string | null,
>         role?: string | null
>       }[] | null
>     }[] | null,
>     userConflicts?: {
>       emailAddress?: string | null,
>       federationSettingsId?: string | null,
>       firstName?: string | null,
>       lastName?: string | null,
>       userId?: string | null
>     }[] | null
>   }[] | null,
>   audience?: string | null | null,
>   authorizationType?: string | null,
>   createdAt?: string | null,
>   description?: string | null | null,
>   displayName?: string | null,
>   groupsClaim?: string | null | null,
>   id?: string | null,
>   idpType?: string | null,
>   issuerUri?: string | null,
>   oktaIdpId?: string | null | null,
>   protocol?: string | null,
>   updatedAt?: string | null | null,
>   userClaim?: string | null
> }
> ```

***

### createRoleMapping

`federatedAuthentication.createRoleMapping`

Create One Role Mapping in One Organization Configuration: adds one role mapping to the specified organization in the specified federation

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.federatedAuthentication.createRoleMapping({
	federationSettingsId: '5f43e7f0a1b2c3d4e5f60718',
	orgId: '5f43e7f0a1b2c3d4e5f60718',
	externalGroupName: 'example',
	roleAssignments: [{}],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `federationSettingsId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies your federation. |
| `orgId` | `string` | Yes | 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. |
| `externalGroupName` | `string` | Yes | Unique human-readable label that identifies the identity provider group to which this role mapping applies. |
| `roleAssignments` | `object[]` | Yes | 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. |

> [accordion] roleAssignments full type
>
> ```ts theme={null}
> {
>   groupId?: string,
>   orgId?: string,
>   role?: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `externalGroupName` | `string \| null` | No | Unique human-readable label that identifies the identity provider group to which this role mapping applies. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this role mapping. |
| `roleAssignments` | `object[] \| null` | No | 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. |

> [accordion] roleAssignments full type
>
> ```ts theme={null}
> {
>   groupId?: string | null,
>   orgId?: string | null,
>   role?: string | null
> }[] | null
> ```

***

### deleteFederationSetting

`federatedAuthentication.deleteFederationSetting`

Delete One Federation Settings Instance: deletes the federation settings instance and all associated data, including identity providers and domains

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.federatedAuthentication.deleteFederationSetting({ federationSettingsId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `federationSettingsId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies your federation. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteIdentityProvider

`federatedAuthentication.deleteIdentityProvider`

Delete One Identity Provider: deletes one identity provider in the specified federation

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.federatedAuthentication.deleteIdentityProvider({ federationSettingsId: '5f43e7f0a1b2c3d4e5f60718', identityProviderId: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `federationSettingsId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies your federation. |
| `identityProviderId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the identity provider to connect. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteRoleMapping

`federatedAuthentication.deleteRoleMapping`

Remove One Role Mapping from One Organization: removes one role mapping in the specified organization from the specified federation

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.federatedAuthentication.deleteRoleMapping({ federationSettingsId: '5f43e7f0a1b2c3d4e5f60718', id: '5f43e7f0a1b2c3d4e5f60718', orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `federationSettingsId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies your federation. |
| `id` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the role mapping that you want to remove. |
| `orgId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getConnectedOrgConfig

`federatedAuthentication.getConnectedOrgConfig`

Return One Organization Configuration from One Federation: returns the specified connected organization configuration from the specified federation

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.federatedAuthentication.getConnectedOrgConfig({ federationSettingsId: '5f43e7f0a1b2c3d4e5f60718', orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `federationSettingsId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies your federation. |
| `orgId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the connected organization configuration to return. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `dataAccessIdentityProviderIds` | `string[] \| null` | No | The collection of unique ids representing the identity providers that can be used for data access in this organization. |
| `domainAllowList` | `string[] \| null` | No | Approved domains that restrict users who can join the organization based on their email address. |
| `domainRestrictionEnabled` | `boolean \| null` | No | Value that indicates whether domain restriction is enabled for this connected organization. |
| `identityProviderId` | `string \| null \| null` | No | 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` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the connected organization configuration. |
| `postAuthRoleGrants` | `(string \| null)[] \| null` | No | 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. |
| `roleMappings` | `object[] \| null` | No | Role mappings that are configured in this organization. |
| `userConflicts` | `object[] \| null` | No | List that contains the users who have an email address that doesn't match any domain on the allowed list. |

> [accordion] roleMappings full type
>
> ```ts theme={null}
> {
>   externalGroupName?: string | null,
>   id?: string | null,
>   roleAssignments?: {
>     groupId?: string | null,
>     orgId?: string | null,
>     role?: string | null
>   }[] | null
> }[] | null
> ```

> [accordion] userConflicts full type
>
> ```ts theme={null}
> {
>   emailAddress?: string | null,
>   federationSettingsId?: string | null,
>   firstName?: string | null,
>   lastName?: string | null,
>   userId?: string | null
> }[] | null
> ```

***

### getFederationSettings

`federatedAuthentication.getFederationSettings`

Return Federation Settings for One Organization: returns information about the federation settings for the specified organization

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.federatedAuthentication.getFederationSettings({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `federatedDomains` | `string[] \| null` | No | List of domains associated with the organization's identity provider. |
| `hasRoleMappings` | `boolean \| null` | No | Flag that indicates whether this organization has role mappings configured. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this federation. |
| `identityProviderId` | `string \| null` | No | Legacy 20-hexadecimal digit string that identifies the identity provider connected to this organization. |
| `identityProviderStatus` | `string \| null` | No | String enum that indicates whether the identity provider is active. |

***

### getIdentityProvider

`federatedAuthentication.getIdentityProvider`

Return One Identity Provider by ID: returns one identity provider in the specified federation by the identity provider's id

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.federatedAuthentication.getIdentityProvider({ federationSettingsId: '5f43e7f0a1b2c3d4e5f60718', identityProviderId: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `federationSettingsId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies your federation. |
| `identityProviderId` | `string` | Yes | Unique string that identifies the identity provider to connect. If using an API version before 11-15-2023, use the legacy 20-hexadecimal digit id. 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. For all other versions, use the 24-hexadecimal digit id. |

**Output:** `object`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   acsUrl?: string | null | null,
>   associatedDomains?: string[] | null,
>   associatedOrgs?: {
>     dataAccessIdentityProviderIds?: string[] | null,
>     domainAllowList?: string[] | null,
>     domainRestrictionEnabled?: boolean | null,
>     identityProviderId?: string | null | null,
>     orgId?: string | null,
>     postAuthRoleGrants?: (string | null)[] | null,
>     roleMappings?: {
>       externalGroupName?: string | null,
>       id?: string | null,
>       roleAssignments?: {
>         groupId?: string | null,
>         orgId?: string | null,
>         role?: string | null
>       }[] | null
>     }[] | null,
>     userConflicts?: {
>       emailAddress?: string | null,
>       federationSettingsId?: string | null,
>       firstName?: string | null,
>       lastName?: string | null,
>       userId?: string | null
>     }[] | null
>   }[] | null,
>   audienceUri?: string | null | null,
>   createdAt?: string | null,
>   description?: string | null | null,
>   displayName?: string | null,
>   id?: string | null,
>   idpType?: string | null,
>   issuerUri?: string | null,
>   oktaIdpId?: string | null | null,
>   pemFileInfo?: {
>     certificates?: {
>       notAfter?: string | null,
>       notBefore?: string | null
>     }[] | null,
>     fileName?: string | null
>   } | null,
>   protocol?: string | null,
>   requestBinding?: string | null,
>   responseSignatureAlgorithm?: string | null,
>   slug?: string | null | null,
>   ssoDebugEnabled?: boolean | null,
>   ssoUrl?: string | null,
>   status?: string | null,
>   updatedAt?: string | null | null
> } | {
>   associatedDomains?: string[] | null,
>   associatedOrgs?: {
>     dataAccessIdentityProviderIds?: string[] | null,
>     domainAllowList?: string[] | null,
>     domainRestrictionEnabled?: boolean | null,
>     identityProviderId?: string | null | null,
>     orgId?: string | null,
>     postAuthRoleGrants?: (string | null)[] | null,
>     roleMappings?: {
>       externalGroupName?: string | null,
>       id?: string | null,
>       roleAssignments?: {
>         groupId?: string | null,
>         orgId?: string | null,
>         role?: string | null
>       }[] | null
>     }[] | null,
>     userConflicts?: {
>       emailAddress?: string | null,
>       federationSettingsId?: string | null,
>       firstName?: string | null,
>       lastName?: string | null,
>       userId?: string | null
>     }[] | null
>   }[] | null,
>   audience?: string | null | null,
>   authorizationType?: string | null,
>   clientId?: string | null | null,
>   createdAt?: string | null,
>   description?: string | null | null,
>   displayName?: string | null,
>   groupsClaim?: string | null | null,
>   id?: string | null,
>   idpType?: string | null,
>   issuerUri?: string | null,
>   oktaIdpId?: string | null | null,
>   protocol?: string | null,
>   requestedScopes?: string[] | null,
>   updatedAt?: string | null | null,
>   userClaim?: string | null
> } | {
>   associatedOrgs?: {
>     dataAccessIdentityProviderIds?: string[] | null,
>     domainAllowList?: string[] | null,
>     domainRestrictionEnabled?: boolean | null,
>     identityProviderId?: string | null | null,
>     orgId?: string | null,
>     postAuthRoleGrants?: (string | null)[] | null,
>     roleMappings?: {
>       externalGroupName?: string | null,
>       id?: string | null,
>       roleAssignments?: {
>         groupId?: string | null,
>         orgId?: string | null,
>         role?: string | null
>       }[] | null
>     }[] | null,
>     userConflicts?: {
>       emailAddress?: string | null,
>       federationSettingsId?: string | null,
>       firstName?: string | null,
>       lastName?: string | null,
>       userId?: string | null
>     }[] | null
>   }[] | null,
>   audience?: string | null | null,
>   authorizationType?: string | null,
>   createdAt?: string | null,
>   description?: string | null | null,
>   displayName?: string | null,
>   groupsClaim?: string | null | null,
>   id?: string | null,
>   idpType?: string | null,
>   issuerUri?: string | null,
>   oktaIdpId?: string | null | null,
>   protocol?: string | null,
>   updatedAt?: string | null | null,
>   userClaim?: string | null
> }
> ```

***

### getIdentityProviderMetadata

`federatedAuthentication.getIdentityProviderMetadata`

Return Metadata of One Identity Provider: returns the metadata of one identity provider in the specified federation

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.federatedAuthentication.getIdentityProviderMetadata({ federationSettingsId: '5f43e7f0a1b2c3d4e5f60718', identityProviderId: '5f43e7f0a1b2c3d4e5f6' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `federationSettingsId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies your federation. |
| `identityProviderId` | `string` | Yes | 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. |

**Output:** `string`

***

### getRoleMapping

`federatedAuthentication.getRoleMapping`

Return One Role Mapping from One Organization: returns one role mapping from the specified organization in the specified federation

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.federatedAuthentication.getRoleMapping({ federationSettingsId: '5f43e7f0a1b2c3d4e5f60718', id: '5f43e7f0a1b2c3d4e5f60718', orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `federationSettingsId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies your federation. |
| `id` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the role mapping that you want to return. |
| `orgId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `externalGroupName` | `string \| null` | No | Unique human-readable label that identifies the identity provider group to which this role mapping applies. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this role mapping. |
| `roleAssignments` | `object[] \| null` | No | 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. |

> [accordion] roleAssignments full type
>
> ```ts theme={null}
> {
>   groupId?: string | null,
>   orgId?: string | null,
>   role?: string | null
> }[] | null
> ```

***

### listConnectedOrgConfigs

`federatedAuthentication.listConnectedOrgConfigs`

Return All Organization Configurations from One Federation: returns all connected organization configurations in the specified federation (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.federatedAuthentication.listConnectedOrgConfigs({ federationSettingsId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `federationSettingsId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies your federation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   dataAccessIdentityProviderIds?: string[] | null,
>   domainAllowList?: string[] | null,
>   domainRestrictionEnabled?: boolean | null,
>   identityProviderId?: string | null | null,
>   orgId?: string | null,
>   postAuthRoleGrants?: (string | null)[] | null,
>   roleMappings?: {
>     externalGroupName?: string | null,
>     id?: string | null,
>     roleAssignments?: {
>       groupId?: string | null,
>       orgId?: string | null,
>       role?: string | null
>     }[] | null
>   }[] | null,
>   userConflicts?: {
>     emailAddress?: string | null,
>     federationSettingsId?: string | null,
>     firstName?: string | null,
>     lastName?: string | null,
>     userId?: string | null
>   }[] | null
> }[] | null
> ```

***

### listIdentityProviders

`federatedAuthentication.listIdentityProviders`

Return All Identity Providers in One Federation: returns all identity providers with the provided protocol and type in the specified federation (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.federatedAuthentication.listIdentityProviders({ federationSettingsId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `federationSettingsId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies your federation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `protocol` | `(SAML \| OIDC)[]` | No | The protocols of the target identity providers. |
| `idpType` | `(WORKFORCE \| WORKLOAD)[]` | No | The types of the target identity providers. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> (
>   {
>     acsUrl?: string | null | null,
>     associatedDomains?: string[] | null,
>     associatedOrgs?: {
>       dataAccessIdentityProviderIds?: string[] | null,
>       domainAllowList?: string[] | null,
>       domainRestrictionEnabled?: boolean | null,
>       identityProviderId?: string | null | null,
>       orgId?: string | null,
>       postAuthRoleGrants?: (string | null)[] | null,
>       roleMappings?: {
>         externalGroupName?: string | null,
>         id?: string | null,
>         roleAssignments?: {
>           groupId?: string | null,
>           orgId?: string | null,
>           role?: string | null
>         }[] | null
>       }[] | null,
>       userConflicts?: {
>         emailAddress?: string | null,
>         federationSettingsId?: string | null,
>         firstName?: string | null,
>         lastName?: string | null,
>         userId?: string | null
>       }[] | null
>     }[] | null,
>     audienceUri?: string | null | null,
>     createdAt?: string | null,
>     description?: string | null | null,
>     displayName?: string | null,
>     id?: string | null,
>     idpType?: string | null,
>     issuerUri?: string | null,
>     oktaIdpId?: string | null | null,
>     pemFileInfo?: {
>       certificates?: {
>         notAfter?: string | null,
>         notBefore?: string | null
>       }[] | null,
>       fileName?: string | null
>     } | null,
>     protocol?: string | null,
>     requestBinding?: string | null,
>     responseSignatureAlgorithm?: string | null,
>     slug?: string | null | null,
>     ssoDebugEnabled?: boolean | null,
>     ssoUrl?: string | null,
>     status?: string | null,
>     updatedAt?: string | null | null
>   } | {
>     associatedDomains?: string[] | null,
>     associatedOrgs?: {
>       dataAccessIdentityProviderIds?: string[] | null,
>       domainAllowList?: string[] | null,
>       domainRestrictionEnabled?: boolean | null,
>       identityProviderId?: string | null | null,
>       orgId?: string | null,
>       postAuthRoleGrants?: (string | null)[] | null,
>       roleMappings?: {
>         externalGroupName?: string | null,
>         id?: string | null,
>         roleAssignments?: {
>           groupId?: string | null,
>           orgId?: string | null,
>           role?: string | null
>         }[] | null
>       }[] | null,
>       userConflicts?: {
>         emailAddress?: string | null,
>         federationSettingsId?: string | null,
>         firstName?: string | null,
>         lastName?: string | null,
>         userId?: string | null
>       }[] | null
>     }[] | null,
>     audience?: string | null | null,
>     authorizationType?: string | null,
>     clientId?: string | null | null,
>     createdAt?: string | null,
>     description?: string | null | null,
>     displayName?: string | null,
>     groupsClaim?: string | null | null,
>     id?: string | null,
>     idpType?: string | null,
>     issuerUri?: string | null,
>     oktaIdpId?: string | null | null,
>     protocol?: string | null,
>     requestedScopes?: string[] | null,
>     updatedAt?: string | null | null,
>     userClaim?: string | null
>   } | {
>     associatedOrgs?: {
>       dataAccessIdentityProviderIds?: string[] | null,
>       domainAllowList?: string[] | null,
>       domainRestrictionEnabled?: boolean | null,
>       identityProviderId?: string | null | null,
>       orgId?: string | null,
>       postAuthRoleGrants?: (string | null)[] | null,
>       roleMappings?: {
>         externalGroupName?: string | null,
>         id?: string | null,
>         roleAssignments?: {
>           groupId?: string | null,
>           orgId?: string | null,
>           role?: string | null
>         }[] | null
>       }[] | null,
>       userConflicts?: {
>         emailAddress?: string | null,
>         federationSettingsId?: string | null,
>         firstName?: string | null,
>         lastName?: string | null,
>         userId?: string | null
>       }[] | null
>     }[] | null,
>     audience?: string | null | null,
>     authorizationType?: string | null,
>     createdAt?: string | null,
>     description?: string | null | null,
>     displayName?: string | null,
>     groupsClaim?: string | null | null,
>     id?: string | null,
>     idpType?: string | null,
>     issuerUri?: string | null,
>     oktaIdpId?: string | null | null,
>     protocol?: string | null,
>     updatedAt?: string | null | null,
>     userClaim?: string | null
>   }
> )[] | null
> ```

***

### listRoleMappings

`federatedAuthentication.listRoleMappings`

Return All Role Mappings from One Organization: returns all role mappings from the specified organization in the specified federation

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.federatedAuthentication.listRoleMappings({ federationSettingsId: '5f43e7f0a1b2c3d4e5f60718', orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `federationSettingsId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies your federation. |
| `orgId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   externalGroupName?: string | null,
>   id?: string | null,
>   roleAssignments?: {
>     groupId?: string | null,
>     orgId?: string | null,
>     role?: string | null
>   }[] | null
> }[] | null
> ```

***

### removeConnectedOrgConfig

`federatedAuthentication.removeConnectedOrgConfig`

Remove One Organization Configuration from One Federation: removes one connected organization configuration from the specified federation

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.federatedAuthentication.removeConnectedOrgConfig({ federationSettingsId: '5f43e7f0a1b2c3d4e5f60718', orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `federationSettingsId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies your federation. |
| `orgId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the connected organization configuration to remove. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### revokeIdentityProviderJwks

`federatedAuthentication.revokeIdentityProviderJwks`

Revoke JWKS from One OIDC Identity Provider: revokes the JWKS tokens from the requested OIDC identity provider

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.federatedAuthentication.revokeIdentityProviderJwks({ federationSettingsId: '5f43e7f0a1b2c3d4e5f60718', identityProviderId: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `federationSettingsId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies your federation. |
| `identityProviderId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the identity provider to connect. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### updateConnectedOrgConfig

`federatedAuthentication.updateConnectedOrgConfig`

Update One Organization Configuration in One Federation: updates one connected organization configuration from the specified federation

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.federatedAuthentication.updateConnectedOrgConfig({ federationSettingsId: '5f43e7f0a1b2c3d4e5f60718', orgId: '5f43e7f0a1b2c3d4e5f60718', domainRestrictionEnabled: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `federationSettingsId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies your federation. |
| `orgId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the connected organization configuration to update. |
| `dataAccessIdentityProviderIds` | `string[]` | No | The collection of unique ids representing the identity providers that can be used for data access in this organization. |
| `domainAllowList` | `string[]` | No | Approved domains that restrict users who can join the organization based on their email address. |
| `domainRestrictionEnabled` | `boolean` | Yes | Value that indicates whether domain restriction is enabled for this connected organization. |
| `identityProviderId` | `string \| null` | No | 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. |
| `postAuthRoleGrants` | `(ORG_OWNER \| ORG_MEMBER \| ORG_GROUP_CREATOR \| ORG_BILLING_ADMIN \| ORG_BILLING_READ_ONLY \| ORG_STREAM_PROCESSING_ADMIN \| ORG_READ_ONLY \| null)[]` | No | 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. |
| `roleMappings` | `object[]` | No | Role mappings that are configured in this organization. |
| `userConflicts` | `object[]` | No | List that contains the users who have an email address that doesn't match any domain on the allowed list. |

> [accordion] roleMappings full type
>
> ```ts theme={null}
> {
>   externalGroupName: string,
>   roleAssignments: {
>     groupId?: string,
>     orgId?: string,
>     role?: string
>   }[]
> }[]
> ```

> [accordion] userConflicts full type
>
> ```ts theme={null}
> {
>   emailAddress: string,
>   federationSettingsId: string,
>   firstName: string,
>   lastName: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `dataAccessIdentityProviderIds` | `string[] \| null` | No | The collection of unique ids representing the identity providers that can be used for data access in this organization. |
| `domainAllowList` | `string[] \| null` | No | Approved domains that restrict users who can join the organization based on their email address. |
| `domainRestrictionEnabled` | `boolean \| null` | No | Value that indicates whether domain restriction is enabled for this connected organization. |
| `identityProviderId` | `string \| null \| null` | No | 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` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the connected organization configuration. |
| `postAuthRoleGrants` | `(string \| null)[] \| null` | No | 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. |
| `roleMappings` | `object[] \| null` | No | Role mappings that are configured in this organization. |
| `userConflicts` | `object[] \| null` | No | List that contains the users who have an email address that doesn't match any domain on the allowed list. |

> [accordion] roleMappings full type
>
> ```ts theme={null}
> {
>   externalGroupName?: string | null,
>   id?: string | null,
>   roleAssignments?: {
>     groupId?: string | null,
>     orgId?: string | null,
>     role?: string | null
>   }[] | null
> }[] | null
> ```

> [accordion] userConflicts full type
>
> ```ts theme={null}
> {
>   emailAddress?: string | null,
>   federationSettingsId?: string | null,
>   firstName?: string | null,
>   lastName?: string | null,
>   userId?: string | null
> }[] | null
> ```

***

### updateIdentityProvider

`federatedAuthentication.updateIdentityProvider`

Update One Identity Provider: updates one identity provider in the specified federation

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.federatedAuthentication.updateIdentityProvider({
	federationSettingsId: '5f43e7f0a1b2c3d4e5f60718',
	identityProviderId: 'example',
	body: { ssoDebugEnabled: true },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `federationSettingsId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies your federation. |
| `identityProviderId` | `string` | Yes | Unique string that identifies the identity provider to connect. If using an API version before 11-15-2023, use the legacy 20-hexadecimal digit id. 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. For all other versions, use the 24-hexadecimal digit id. |
| `body` | `object` | Yes | — |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   associatedDomains?: string[],
>   description?: string | null,
>   displayName?: string,
>   idpType?: WORKFORCE | WORKLOAD,
>   issuerUri?: string,
>   pemFileInfo?: {
>     certificates?: {
>       content?: string,
>       notAfter?: string,
>       notBefore?: string
>     }[],
>     fileName?: string
>   },
>   protocol?: SAML | OIDC,
>   requestBinding?: HTTP-POST | HTTP-REDIRECT,
>   responseSignatureAlgorithm?: SHA-1 | SHA-256,
>   slug?: string,
>   ssoDebugEnabled: boolean,
>   ssoUrl?: string,
>   status?: ACTIVE | INACTIVE | null
> } | {
>   associatedDomains?: string[],
>   audience?: string,
>   authorizationType?: GROUP | USER,
>   clientId?: string,
>   description?: string | null,
>   displayName?: string,
>   groupsClaim?: string,
>   idpType?: WORKFORCE | WORKLOAD,
>   issuerUri?: string,
>   protocol?: SAML | OIDC,
>   requestedScopes?: string[],
>   userClaim?: string
> } | {
>   audience?: string,
>   authorizationType?: GROUP | USER,
>   description?: string | null,
>   displayName?: string,
>   groupsClaim?: string,
>   idpType?: WORKFORCE | WORKLOAD,
>   issuerUri?: string,
>   protocol?: SAML | OIDC,
>   userClaim?: string
> }
> ```

**Output:** `object`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   acsUrl?: string | null | null,
>   associatedDomains?: string[] | null,
>   associatedOrgs?: {
>     dataAccessIdentityProviderIds?: string[] | null,
>     domainAllowList?: string[] | null,
>     domainRestrictionEnabled?: boolean | null,
>     identityProviderId?: string | null | null,
>     orgId?: string | null,
>     postAuthRoleGrants?: (string | null)[] | null,
>     roleMappings?: {
>       externalGroupName?: string | null,
>       id?: string | null,
>       roleAssignments?: {
>         groupId?: string | null,
>         orgId?: string | null,
>         role?: string | null
>       }[] | null
>     }[] | null,
>     userConflicts?: {
>       emailAddress?: string | null,
>       federationSettingsId?: string | null,
>       firstName?: string | null,
>       lastName?: string | null,
>       userId?: string | null
>     }[] | null
>   }[] | null,
>   audienceUri?: string | null | null,
>   createdAt?: string | null,
>   description?: string | null | null,
>   displayName?: string | null,
>   id?: string | null,
>   idpType?: string | null,
>   issuerUri?: string | null,
>   oktaIdpId?: string | null | null,
>   pemFileInfo?: {
>     certificates?: {
>       notAfter?: string | null,
>       notBefore?: string | null
>     }[] | null,
>     fileName?: string | null
>   } | null,
>   protocol?: string | null,
>   requestBinding?: string | null,
>   responseSignatureAlgorithm?: string | null,
>   slug?: string | null | null,
>   ssoDebugEnabled?: boolean | null,
>   ssoUrl?: string | null,
>   status?: string | null,
>   updatedAt?: string | null | null
> } | {
>   associatedDomains?: string[] | null,
>   associatedOrgs?: {
>     dataAccessIdentityProviderIds?: string[] | null,
>     domainAllowList?: string[] | null,
>     domainRestrictionEnabled?: boolean | null,
>     identityProviderId?: string | null | null,
>     orgId?: string | null,
>     postAuthRoleGrants?: (string | null)[] | null,
>     roleMappings?: {
>       externalGroupName?: string | null,
>       id?: string | null,
>       roleAssignments?: {
>         groupId?: string | null,
>         orgId?: string | null,
>         role?: string | null
>       }[] | null
>     }[] | null,
>     userConflicts?: {
>       emailAddress?: string | null,
>       federationSettingsId?: string | null,
>       firstName?: string | null,
>       lastName?: string | null,
>       userId?: string | null
>     }[] | null
>   }[] | null,
>   audience?: string | null | null,
>   authorizationType?: string | null,
>   clientId?: string | null | null,
>   createdAt?: string | null,
>   description?: string | null | null,
>   displayName?: string | null,
>   groupsClaim?: string | null | null,
>   id?: string | null,
>   idpType?: string | null,
>   issuerUri?: string | null,
>   oktaIdpId?: string | null | null,
>   protocol?: string | null,
>   requestedScopes?: string[] | null,
>   updatedAt?: string | null | null,
>   userClaim?: string | null
> } | {
>   associatedOrgs?: {
>     dataAccessIdentityProviderIds?: string[] | null,
>     domainAllowList?: string[] | null,
>     domainRestrictionEnabled?: boolean | null,
>     identityProviderId?: string | null | null,
>     orgId?: string | null,
>     postAuthRoleGrants?: (string | null)[] | null,
>     roleMappings?: {
>       externalGroupName?: string | null,
>       id?: string | null,
>       roleAssignments?: {
>         groupId?: string | null,
>         orgId?: string | null,
>         role?: string | null
>       }[] | null
>     }[] | null,
>     userConflicts?: {
>       emailAddress?: string | null,
>       federationSettingsId?: string | null,
>       firstName?: string | null,
>       lastName?: string | null,
>       userId?: string | null
>     }[] | null
>   }[] | null,
>   audience?: string | null | null,
>   authorizationType?: string | null,
>   createdAt?: string | null,
>   description?: string | null | null,
>   displayName?: string | null,
>   groupsClaim?: string | null | null,
>   id?: string | null,
>   idpType?: string | null,
>   issuerUri?: string | null,
>   oktaIdpId?: string | null | null,
>   protocol?: string | null,
>   updatedAt?: string | null | null,
>   userClaim?: string | null
> }
> ```

***

### updateRoleMapping

`federatedAuthentication.updateRoleMapping`

Update One Role Mapping in One Organization: updates one role mapping in the specified organization in the specified federation

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.federatedAuthentication.updateRoleMapping({
	federationSettingsId: '5f43e7f0a1b2c3d4e5f60718',
	id: '5f43e7f0a1b2c3d4e5f60718',
	orgId: '5f43e7f0a1b2c3d4e5f60718',
	externalGroupName: 'example',
	roleAssignments: [{}],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `federationSettingsId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies your federation. |
| `id` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the role mapping that you want to update. |
| `orgId` | `string` | Yes | 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. |
| `externalGroupName` | `string` | Yes | Unique human-readable label that identifies the identity provider group to which this role mapping applies. |
| `roleAssignments` | `object[]` | Yes | 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. |

> [accordion] roleAssignments full type
>
> ```ts theme={null}
> {
>   groupId?: string,
>   orgId?: string,
>   role?: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `externalGroupName` | `string \| null` | No | Unique human-readable label that identifies the identity provider group to which this role mapping applies. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this role mapping. |
| `roleAssignments` | `object[] \| null` | No | 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. |

> [accordion] roleAssignments full type
>
> ```ts theme={null}
> {
>   groupId?: string | null,
>   orgId?: string | null,
>   role?: string | null
> }[] | null
> ```

***

## Flex Clusters

### createFlexCluster

`flexClusters.createFlexCluster`

Create One Flex Cluster in One Project: creates one flex cluster in the specified project

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.flexClusters.createFlexCluster({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	name: 'Cluster0',
	providerSettings: { backingProviderName: 'AWS', regionName: 'US_EAST_1' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `databaseEdition` | `CORE \| INFINITE` | No | Available in Public Preview: Optional field that indicates whether your tenant cluster will be upgraded to Atlas INFINITE or CORE. |
| `name` | `string` | Yes | Human-readable label that identifies the instance. |
| `providerSettings` | `object` | Yes | Group of cloud provider settings that configure the provisioned MongoDB flex cluster. |
| `tags` | `object[]` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the instance. |
| `terminationProtectionEnabled` | `boolean` | No | 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. |

> [accordion] providerSettings full type
>
> ```ts theme={null}
> {
>   backingProviderName: AWS | AZURE | GCP,
>   regionName: string
> }
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key: string,
>   value: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `backupSettings` | `object \| null` | No | Flex backup configuration. |
| `clusterType` | `string \| null` | No | Flex cluster topology. |
| `connectionStrings` | `object \| null` | No | Collection of Uniform Resource Locators that point to the MongoDB database. |
| `createDate` | `string \| null` | No | Date and time when MongoDB Cloud created this instance. This parameter expresses its value in ISO 8601 format in UTC. |
| `databaseEdition` | `string \| null` | No | Available in Public Preview: Optional field that indicates whether your tenant cluster will be upgraded to Atlas INFINITE or CORE. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the instance. |
| `links` | `object[] \| null` | No | 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. |
| `mongoDBVersion` | `string \| null` | No | Version of MongoDB that the instance runs. |
| `name` | `string \| null` | No | Human-readable label that identifies the instance. |
| `providerSettings` | `object \| null` | No | Group of cloud provider settings that configure the provisioned MongoDB flex cluster. |
| `stateName` | `string \| null` | No | 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 unt |
| `tags` | `object[] \| null` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the instance. |
| `terminationProtectionEnabled` | `boolean \| null` | No | 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. |
| `versionReleaseSystem` | `string \| null` | No | Method by which the cluster maintains the MongoDB versions. |

> [accordion] backupSettings full type
>
> ```ts theme={null}
> {
>   enabled?: boolean | null
> } | null
> ```

> [accordion] connectionStrings full type
>
> ```ts theme={null}
> {
>   standard?: string | null,
>   standardSrv?: string | null
> } | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] providerSettings full type
>
> ```ts theme={null}
> {
>   backingProviderName?: string | null,
>   diskSizeGB?: number | null,
>   providerName?: string | null,
>   regionName?: string | null
> } | null
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

***

### deleteFlexCluster

`flexClusters.deleteFlexCluster`

Remove One Flex Cluster from One Project: removes one flex cluster from the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.flexClusters.deleteFlexCluster({ groupId: '5f43e7f0a1b2c3d4e5f60718', name: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `name` | `string` | Yes | Human-readable label that identifies the flex cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getFlexCluster

`flexClusters.getFlexCluster`

Return One Flex Cluster from One Project: returns details for one flex cluster in the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.flexClusters.getFlexCluster({ groupId: '5f43e7f0a1b2c3d4e5f60718', name: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `name` | `string` | Yes | Human-readable label that identifies the flex cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `backupSettings` | `object \| null` | No | Flex backup configuration. |
| `clusterType` | `string \| null` | No | Flex cluster topology. |
| `connectionStrings` | `object \| null` | No | Collection of Uniform Resource Locators that point to the MongoDB database. |
| `createDate` | `string \| null` | No | Date and time when MongoDB Cloud created this instance. This parameter expresses its value in ISO 8601 format in UTC. |
| `databaseEdition` | `string \| null` | No | Available in Public Preview: Optional field that indicates whether your tenant cluster will be upgraded to Atlas INFINITE or CORE. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the instance. |
| `links` | `object[] \| null` | No | 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. |
| `mongoDBVersion` | `string \| null` | No | Version of MongoDB that the instance runs. |
| `name` | `string \| null` | No | Human-readable label that identifies the instance. |
| `providerSettings` | `object \| null` | No | Group of cloud provider settings that configure the provisioned MongoDB flex cluster. |
| `stateName` | `string \| null` | No | 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 unt |
| `tags` | `object[] \| null` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the instance. |
| `terminationProtectionEnabled` | `boolean \| null` | No | 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. |
| `versionReleaseSystem` | `string \| null` | No | Method by which the cluster maintains the MongoDB versions. |

> [accordion] backupSettings full type
>
> ```ts theme={null}
> {
>   enabled?: boolean | null
> } | null
> ```

> [accordion] connectionStrings full type
>
> ```ts theme={null}
> {
>   standard?: string | null,
>   standardSrv?: string | null
> } | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] providerSettings full type
>
> ```ts theme={null}
> {
>   backingProviderName?: string | null,
>   diskSizeGB?: number | null,
>   providerName?: string | null,
>   regionName?: string | null
> } | null
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

***

### listFlexClusters

`flexClusters.listFlexClusters`

Return All Flex Clusters from One Project: returns details for all flex clusters in the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.flexClusters.listFlexClusters({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   backupSettings?: {
>     enabled?: boolean | null
>   } | null,
>   clusterType?: string | null,
>   connectionStrings?: {
>     standard?: string | null,
>     standardSrv?: string | null
>   } | null,
>   createDate?: string | null,
>   databaseEdition?: string | null,
>   groupId?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   mongoDBVersion?: string | null,
>   name?: string | null,
>   providerSettings?: {
>     backingProviderName?: string | null,
>     diskSizeGB?: number | null,
>     providerName?: string | null,
>     regionName?: string | null
>   } | null,
>   stateName?: string | null,
>   tags?: {
>     key?: string | null,
>     value?: string | null
>   }[] | null,
>   terminationProtectionEnabled?: boolean | null,
>   versionReleaseSystem?: string | null
> }[] | null
> ```

***

### tenantUpgrade

`flexClusters.tenantUpgrade`

Upgrade One Flex Cluster: upgrades a flex cluster to a dedicated cluster (M10+) in the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.flexClusters.tenantUpgrade({ groupId: '5f43e7f0a1b2c3d4e5f60718', name: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `acceptDataRisksAndForceReplicaSetReconfig` | `string` | No | 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 \`a |
| `adaptiveCapacity` | `ENABLED \| DISABLED \| null` | No | Governs adaptive capacity behavior of nodes in clusters on providers that support fallback hardware, including those providers' nodes in multi-cloud clusters. Adaptive capacity enables fallback hardware selection when the primary instance family is unavailable. `ENABLED` means the cluster explicitly opts in to adaptive capacity. `DISABLED` means the cluster explicitly opts out; the cluster receives capacity errors instead of being placed on fallback hardware. `null` means the field is unse |
| `advancedConfiguration` | `object` | No | Group of settings that configures a subset of the advanced configuration details. |
| `backupEnabled` | `boolean` | No | Flag that indicates whether Atlas backs up the cluster. On Atlas Core clusters, dedicated clusters use [Cloud Backups](https://www.mongodb.com/docs/atlas/backup/cloud-backup/overview/) and Flex clusters use [Flex Cluster Backups](https://www.mongodb.com/docs/atlas/backup/cloud-backup/flex-cluster-backup/). Default value is `false`. For clusters that use local [NVMe SSDs](https://www.mongodb.com/docs/atlas/manage-clusters/#nvme-storage) for storage, you can't disable backup, so you must set \`back |
| `biConnector` | `object` | No | Settings needed to configure the MongoDB Connector for Business Intelligence for this cluster. |
| `clusterType` | `REPLICASET \| SHARDED \| GEOSHARDED` | No | Configuration of nodes that comprise the cluster. |
| `configServerManagementMode` | `ATLAS_MANAGED \| FIXED_TO_DEDICATED` | No | 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. |
| `databaseEdition` | `CORE \| INFINITE` | No | Available in Public Preview: Optional field that indicates whether your cluster will be Atlas INFINITE or CORE. You can set it only when you create the cluster, or when you upgrade a Free or Flex cluster to a dedicated cluster. This value is immutable once the dedicated cluster exists; attempting to change it on an update request returns an error. |
| `diskWarmingMode` | `FULLY_WARMED \| VISIBLE_EARLIER` | No | Disk warming mode selection. |
| `encryptionAtRestProvider` | `NONE \| AWS \| AZURE \| GCP` | No | 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. |
| `globalClusterSelfManagedSharding` | `boolean` | No | 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 cann |
| `labels` | `object[]` | No | Deprecated: Cluster labels will be removed in a future release. We strongly recommend that you use Resource Tags instead. 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. |
| `mongoDBMajorVersion` | `string` | No | MongoDB major version of the cluster. Set to the binary major version. 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 \[projec |
| `name` | `string` | Yes | Human-readable label that identifies the cluster. |
| `paused` | `boolean` | No | Flag that indicates whether the cluster is paused. |
| `pitEnabled` | `boolean` | No | Flag that indicates whether the cluster uses continuous cloud backups. For Atlas Infinite clusters, continuous cloud backups always run. Omit this field or set it to `true`. Setting it to `false` returns an invalid attribute error. |
| `redactClientLogData` | `boolean` | No | Enable or disable log redaction. This setting configures the `mongod` or `mongos` to redact any document field contents from a message accompanying a given log event before logging. This prevents the program from writing potentially sensitive data stored on the database to the diagnostic log. Metadata such as error or operation codes, line numbers, and source file names are still visible in the logs. Use `redactClientLogData` in conjunction with Encryption at Rest and TLS/SSL (Transport En |
| `replicaSetScalingStrategy` | `SEQUENTIAL \| WORKLOAD_TYPE \| NODE_TYPE` | No | 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 a |
| `replicationSpecs` | `object[]` | No | List of settings that configure your cluster regions. This array has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. |
| `retainBackups` | `boolean` | No | Flag that indicates whether the cluster retains backups. |
| `rootCertType` | `ISRGROOTX1` | No | Root Certificate Authority that MongoDB Atlas cluster uses. MongoDB Cloud supports Internet Security Research Group. |
| `searchAutoMigration` | `object` | No | Configuration for automatically adding Dedicated Search Nodes on eligible Atlas Infinite clusters. This setting has no effect on Atlas Core clusters. |
| `tags` | `object[]` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. |
| `terminationProtectionEnabled` | `boolean` | No | 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. |
| `useAwsTimeBasedSnapshotCopyForFastInitialSync` | `boolean` | No | Flag that indicates whether AWS time-based snapshot copies will be used instead of slower standard snapshot copies during fast Atlas cross-region initial syncs. This flag is only relevant for clusters containing AWS nodes. |
| `versionReleaseSystem` | `LTS \| CONTINUOUS` | No | Method by which the cluster maintains the MongoDB versions. If value is `CONTINUOUS`, you must not specify `mongoDBMajorVersion`. |

> [accordion] advancedConfiguration full type
>
> ```ts theme={null}
> {
>   customOpensslCipherConfigTls12?: (TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 | TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256)[],
>   customOpensslCipherConfigTls13?: (TLS_AES_256_GCM_SHA384 | TLS_CHACHA20_POLY1305_SHA256 | TLS_AES_128_GCM_SHA256 | TLS_AES_128_CCM_SHA256)[],
>   minimumEnabledTlsProtocol?: TLS1_2 | TLS1_3,
>   tlsCipherConfigMode?: CUSTOM | DEFAULT
> }
> ```

> [accordion] biConnector full type
>
> ```ts theme={null}
> {
>   enabled?: boolean,
>   readPreference?: PRIMARY | SECONDARY | ANALYTICS
> }
> ```

> [accordion] labels full type
>
> ```ts theme={null}
> {
>   key?: string,
>   value?: string
> }[]
> ```

> [accordion] replicationSpecs full type
>
> ```ts theme={null}
> {
>   regionConfigs?: {
>     electableSpecs?: {
>       diskIOPS?: number,
>       diskSizeGB?: number,
>       ebsVolumeType?: STANDARD | PROVISIONED | HIGH_PERFORMANCE,
>       instanceSize?: 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 | M30_GEN_2 | M40_GEN_2 | M50_GEN_2 | M60_GEN_2 | M80_GEN_2 | M140_GEN_2 | M200_GEN_2 | M300_GEN_2 | M700_GEN_2 | R40_GEN_2 | R50_GEN_2 | R60_GEN_2 | R80_GEN_2 | R200_GEN_2 | R300_GEN_2 | R400_GEN_2 | R700_GEN_2 | M40_NVME_GEN_2 | M50_NVME_GEN_2 | M60_NVME_GEN_2 | M80_NVME_GEN_2 | M200_NVME_GEN_2 | M400_NVME_GEN_2,
>       nodeCount?: number
>     } | {
>       diskIOPS?: number,
>       diskSizeGB?: number,
>       instanceSize?: 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,
>       nodeCount?: number
>     } | {
>       diskIOPS?: number,
>       diskSizeGB?: number,
>       instanceSize?: M10 | M20 | M30 | M40 | M50 | M60 | M80 | M140 | M200 | M250 | M300 | M400 | R40 | R50 | R60 | R80 | R200 | R300 | R400 | R600 | M30_GEN_2 | M40_GEN_2 | M50_GEN_2 | M60_GEN_2 | M80_GEN_2 | M140_GEN_2 | M200_GEN_2 | M300_GEN_2 | M700_GEN_2 | R40_GEN_2 | R50_GEN_2 | R60_GEN_2 | R80_GEN_2 | R200_GEN_2 | R300_GEN_2 | R400_GEN_2,
>       nodeCount?: number
>     } | {
>       diskSizeGB?: number,
>       instanceSize?: M0 | M2 | M5
>     },
>     priority?: number,
>     providerName?: AWS | AZURE | GCP | TENANT,
>     regionName?: 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 | 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 | 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
>   }[],
>   zoneName?: string
> }[]
> ```

> [accordion] searchAutoMigration full type
>
> ```ts theme={null}
> {
>   disabled?: boolean
> }
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key: string,
>   value: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `backupSettings` | `object \| null` | No | Flex backup configuration. |
| `clusterType` | `string \| null` | No | Flex cluster topology. |
| `connectionStrings` | `object \| null` | No | Collection of Uniform Resource Locators that point to the MongoDB database. |
| `createDate` | `string \| null` | No | Date and time when MongoDB Cloud created this instance. This parameter expresses its value in ISO 8601 format in UTC. |
| `databaseEdition` | `string \| null` | No | Available in Public Preview: Optional field that indicates whether your tenant cluster will be upgraded to Atlas INFINITE or CORE. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the instance. |
| `links` | `object[] \| null` | No | 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. |
| `mongoDBVersion` | `string \| null` | No | Version of MongoDB that the instance runs. |
| `name` | `string \| null` | No | Human-readable label that identifies the instance. |
| `providerSettings` | `object \| null` | No | Group of cloud provider settings that configure the provisioned MongoDB flex cluster. |
| `stateName` | `string \| null` | No | 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 unt |
| `tags` | `object[] \| null` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the instance. |
| `terminationProtectionEnabled` | `boolean \| null` | No | 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. |
| `versionReleaseSystem` | `string \| null` | No | Method by which the cluster maintains the MongoDB versions. |

> [accordion] backupSettings full type
>
> ```ts theme={null}
> {
>   enabled?: boolean | null
> } | null
> ```

> [accordion] connectionStrings full type
>
> ```ts theme={null}
> {
>   standard?: string | null,
>   standardSrv?: string | null
> } | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] providerSettings full type
>
> ```ts theme={null}
> {
>   backingProviderName?: string | null,
>   diskSizeGB?: number | null,
>   providerName?: string | null,
>   regionName?: string | null
> } | null
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

***

### updateFlexCluster

`flexClusters.updateFlexCluster`

Update One Flex Cluster in One Project: updates one flex cluster in the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.flexClusters.updateFlexCluster({ groupId: '5f43e7f0a1b2c3d4e5f60718', name: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `name` | `string` | Yes | Human-readable label that identifies the flex cluster. |
| `databaseEdition` | `CORE \| INFINITE` | No | Available in Public Preview: Optional field that indicates whether your tenant cluster will be upgraded to Atlas INFINITE or CORE. |
| `tags` | `object[]` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the instance. |
| `terminationProtectionEnabled` | `boolean` | No | 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. |

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key: string,
>   value: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `backupSettings` | `object \| null` | No | Flex backup configuration. |
| `clusterType` | `string \| null` | No | Flex cluster topology. |
| `connectionStrings` | `object \| null` | No | Collection of Uniform Resource Locators that point to the MongoDB database. |
| `createDate` | `string \| null` | No | Date and time when MongoDB Cloud created this instance. This parameter expresses its value in ISO 8601 format in UTC. |
| `databaseEdition` | `string \| null` | No | Available in Public Preview: Optional field that indicates whether your tenant cluster will be upgraded to Atlas INFINITE or CORE. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the instance. |
| `links` | `object[] \| null` | No | 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. |
| `mongoDBVersion` | `string \| null` | No | Version of MongoDB that the instance runs. |
| `name` | `string \| null` | No | Human-readable label that identifies the instance. |
| `providerSettings` | `object \| null` | No | Group of cloud provider settings that configure the provisioned MongoDB flex cluster. |
| `stateName` | `string \| null` | No | 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 unt |
| `tags` | `object[] \| null` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the instance. |
| `terminationProtectionEnabled` | `boolean \| null` | No | 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. |
| `versionReleaseSystem` | `string \| null` | No | Method by which the cluster maintains the MongoDB versions. |

> [accordion] backupSettings full type
>
> ```ts theme={null}
> {
>   enabled?: boolean | null
> } | null
> ```

> [accordion] connectionStrings full type
>
> ```ts theme={null}
> {
>   standard?: string | null,
>   standardSrv?: string | null
> } | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] providerSettings full type
>
> ```ts theme={null}
> {
>   backingProviderName?: string | null,
>   diskSizeGB?: number | null,
>   providerName?: string | null,
>   regionName?: string | null
> } | null
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

***

## Flex Restore Jobs

### createFlexRestoreJob

`flexRestoreJobs.createFlexRestoreJob`

Create One Restore Job for One Flex Cluster: restores one snapshot of one flex cluster from the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.flexRestoreJobs.createFlexRestoreJob({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	name: 'Cluster0',
	snapshotId: '5f43e7f0a1b2c3d4e5f60718',
	targetDeploymentItemName: 'example',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `name` | `string` | Yes | Human-readable label that identifies the flex cluster whose snapshot you want to restore. |
| `snapshotId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the snapshot to restore. |
| `targetDeploymentItemName` | `string` | Yes | Human-readable label that identifies the instance or cluster on the target project to which you want to restore the snapshot. You can restore the snapshot to another flex cluster or dedicated cluster tier. |
| `targetProjectId` | `string` | No | Unique 24-hexadecimal digit string that identifies the project that contains the instance or cluster to which you want to restore the snapshot. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `deliveryType` | `string \| null` | No | Means by which this resource returns the snapshot to the requesting MongoDB Cloud user. |
| `expirationDate` | `string \| null` | No | Date and time when the download link no longer works. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the restore job. |
| `instanceName` | `string \| null` | No | Human-readable label that identifies the source instance. |
| `links` | `object[] \| null` | No | 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. |
| `projectId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the project from which the restore job originated. |
| `restoreFinishedDate` | `string \| null` | No | Date and time when MongoDB Cloud completed writing this snapshot. MongoDB Cloud changes the status of the restore job to `CLOSED`. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `restoreScheduledDate` | `string \| null` | No | Date and time when MongoDB Cloud will restore this snapshot. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `snapshotFinishedDate` | `string \| null` | No | Date and time when MongoDB Cloud completed writing this snapshot. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `snapshotId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the snapshot to restore. |
| `snapshotUrl` | `string \| null` | No | Internet address from which you can download the compressed snapshot files. The resource returns this parameter when `"deliveryType" : "DOWNLOAD"`. |
| `status` | `string \| null` | No | Phase of the restore workflow for this job at the time this resource made this request. |
| `targetDeploymentItemName` | `string \| null` | No | Human-readable label that identifies the instance or cluster on the target project to which you want to restore the snapshot. You can restore the snapshot to another flex or dedicated cluster tier. |
| `targetProjectId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the project that contains the instance or cluster to which you want to restore the snapshot. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getFlexRestoreJob

`flexRestoreJobs.getFlexRestoreJob`

Return One Restore Job for One Flex Cluster: returns one restore job for one flex cluster from the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.flexRestoreJobs.getFlexRestoreJob({ groupId: '5f43e7f0a1b2c3d4e5f60718', name: 'Cluster0', restoreJobId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `name` | `string` | Yes | Human-readable label that identifies the flex cluster. |
| `restoreJobId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the restore job to return. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `deliveryType` | `string \| null` | No | Means by which this resource returns the snapshot to the requesting MongoDB Cloud user. |
| `expirationDate` | `string \| null` | No | Date and time when the download link no longer works. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the restore job. |
| `instanceName` | `string \| null` | No | Human-readable label that identifies the source instance. |
| `links` | `object[] \| null` | No | 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. |
| `projectId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the project from which the restore job originated. |
| `restoreFinishedDate` | `string \| null` | No | Date and time when MongoDB Cloud completed writing this snapshot. MongoDB Cloud changes the status of the restore job to `CLOSED`. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `restoreScheduledDate` | `string \| null` | No | Date and time when MongoDB Cloud will restore this snapshot. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `snapshotFinishedDate` | `string \| null` | No | Date and time when MongoDB Cloud completed writing this snapshot. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `snapshotId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the snapshot to restore. |
| `snapshotUrl` | `string \| null` | No | Internet address from which you can download the compressed snapshot files. The resource returns this parameter when `"deliveryType" : "DOWNLOAD"`. |
| `status` | `string \| null` | No | Phase of the restore workflow for this job at the time this resource made this request. |
| `targetDeploymentItemName` | `string \| null` | No | Human-readable label that identifies the instance or cluster on the target project to which you want to restore the snapshot. You can restore the snapshot to another flex or dedicated cluster tier. |
| `targetProjectId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the project that contains the instance or cluster to which you want to restore the snapshot. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### listFlexRestoreJobs

`flexRestoreJobs.listFlexRestoreJobs`

Return All Restore Jobs for One Flex Cluster: returns all restore jobs for one flex cluster from the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.flexRestoreJobs.listFlexRestoreJobs({ groupId: '5f43e7f0a1b2c3d4e5f60718', name: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `name` | `string` | Yes | Human-readable label that identifies the flex cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   deliveryType?: string | null,
>   expirationDate?: string | null,
>   id?: string | null,
>   instanceName?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   projectId?: string | null,
>   restoreFinishedDate?: string | null,
>   restoreScheduledDate?: string | null,
>   snapshotFinishedDate?: string | null,
>   snapshotId?: string | null,
>   snapshotUrl?: string | null,
>   status?: string | null,
>   targetDeploymentItemName?: string | null,
>   targetProjectId?: string | null
> }[] | null
> ```

***

## Flex Snapshots

### downloadFlexBackup

`flexSnapshots.downloadFlexBackup`

Download One Flex Cluster Snapshot: requests one snapshot for the specified flex cluster

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.flexSnapshots.downloadFlexBackup({ name: 'Cluster0', groupId: '5f43e7f0a1b2c3d4e5f60718', snapshotId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `name` | `string` | Yes | Human-readable label that identifies the flex cluster. |
| `groupId` | `string` | Yes | 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. |
| `snapshotId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the snapshot to download. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `deliveryType` | `string \| null` | No | Means by which this resource returns the snapshot to the requesting MongoDB Cloud user. |
| `expirationDate` | `string \| null` | No | Date and time when the download link no longer works. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the restore job. |
| `instanceName` | `string \| null` | No | Human-readable label that identifies the source instance. |
| `links` | `object[] \| null` | No | 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. |
| `projectId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the project from which the restore job originated. |
| `restoreFinishedDate` | `string \| null` | No | Date and time when MongoDB Cloud completed writing this snapshot. MongoDB Cloud changes the status of the restore job to `CLOSED`. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `restoreScheduledDate` | `string \| null` | No | Date and time when MongoDB Cloud will restore this snapshot. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `snapshotFinishedDate` | `string \| null` | No | Date and time when MongoDB Cloud completed writing this snapshot. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `snapshotId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the snapshot to restore. |
| `snapshotUrl` | `string \| null` | No | Internet address from which you can download the compressed snapshot files. The resource returns this parameter when `"deliveryType" : "DOWNLOAD"`. |
| `status` | `string \| null` | No | Phase of the restore workflow for this job at the time this resource made this request. |
| `targetDeploymentItemName` | `string \| null` | No | Human-readable label that identifies the instance or cluster on the target project to which you want to restore the snapshot. You can restore the snapshot to another flex or dedicated cluster tier. |
| `targetProjectId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the project that contains the instance or cluster to which you want to restore the snapshot. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getFlexBackupSnapshot

`flexSnapshots.getFlexBackupSnapshot`

Return One Snapshot for One Flex Cluster: returns one snapshot of one flex cluster from the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.flexSnapshots.getFlexBackupSnapshot({ groupId: '5f43e7f0a1b2c3d4e5f60718', name: 'Cluster0', snapshotId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `name` | `string` | Yes | Human-readable label that identifies the flex cluster. |
| `snapshotId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the desired snapshot. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `expiration` | `string \| null` | No | Date and time when the download link no longer works. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `finishTime` | `string \| null` | No | Date and time when MongoDB Cloud completed writing this snapshot. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the snapshot. |
| `links` | `object[] \| null` | No | 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. |
| `mongoDBVersion` | `string \| null` | No | MongoDB host version that the snapshot runs. |
| `scheduledTime` | `string \| null` | No | Date and time when MongoDB Cloud will take the snapshot. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `startTime` | `string \| null` | No | Date and time when MongoDB Cloud began taking the snapshot. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `status` | `string \| null` | No | Phase of the workflow for this snapshot at the time this resource made this request. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### listFlexBackupSnapshots

`flexSnapshots.listFlexBackupSnapshots`

Return All Snapshots for One Flex Cluster: returns all snapshots of one flex cluster from the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.flexSnapshots.listFlexBackupSnapshots({ groupId: '5f43e7f0a1b2c3d4e5f60718', name: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `name` | `string` | Yes | Human-readable label that identifies the flex cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   expiration?: string | null,
>   finishTime?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   mongoDBVersion?: string | null,
>   scheduledTime?: string | null,
>   startTime?: string | null,
>   status?: string | null
> }[] | null
> ```

***

## Global Clusters

### createCustomZoneMapping

`globalClusters.createCustomZoneMapping`

Add One Custom Zone Mapping to One Global Cluster: creates one custom zone mapping for the specified global cluster

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.globalClusters.createCustomZoneMapping({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	customZoneMappings: [{ location: 'example', zone: 'example' }],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies this cluster. |
| `customZoneMappings` | `object[]` | Yes | 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. |

> [accordion] customZoneMappings full type
>
> ```ts theme={null}
> {
>   location: string,
>   zone: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `customZoneMapping` | `Record<string, string> \| null` | No | 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` `zoneId` property. This parameter returns an empty object if no custom zones exist. Example: `{"US-VA": "6716c5a804f4ce77e899bf99", "DE": "6716c5a804f4ce77e899bf9a"}`. |
| `managedNamespaces` | `object[] \| null` | No | List that contains a namespace for a Global Cluster. MongoDB Cloud manages this cluster. |
| `selfManagedSharding` | `boolean \| null` | No | 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. |

> [accordion] managedNamespaces full type
>
> ```ts theme={null}
> {
>   collection?: string | null,
>   customShardKey?: string | null,
>   db?: string | null,
>   isCustomShardKeyHashed?: boolean | null,
>   isShardKeyUnique?: boolean | null,
>   numInitialChunks?: number | null,
>   presplitHashedZones?: boolean | null
> }[] | null
> ```

***

### createManagedNamespace

`globalClusters.createManagedNamespace`

Create One Managed Namespace in One Global Cluster: creates one managed namespace within the specified global cluster

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.globalClusters.createManagedNamespace({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	collection: 'example',
	customShardKey: 'example',
	db: 'example',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies this cluster. |
| `collection` | `string` | Yes | Human-readable label of the collection to manage for this Global Cluster. |
| `customShardKey` | `string` | Yes | 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` | `string` | Yes | Human-readable label of the database to manage for this Global Cluster. |
| `isCustomShardKeyHashed` | `boolean` | No | 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. |
| `isShardKeyUnique` | `boolean` | No | 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/). |
| `numInitialChunks` | `number` | No | 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/). |
| `presplitHashedZones` | `boolean` | No | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `customZoneMapping` | `Record<string, string> \| null` | No | 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` `zoneId` property. This parameter returns an empty object if no custom zones exist. Example: `{"US-VA": "6716c5a804f4ce77e899bf99", "DE": "6716c5a804f4ce77e899bf9a"}`. |
| `managedNamespaces` | `object[] \| null` | No | List that contains a namespace for a Global Cluster. MongoDB Cloud manages this cluster. |
| `selfManagedSharding` | `boolean \| null` | No | 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. |

> [accordion] managedNamespaces full type
>
> ```ts theme={null}
> {
>   collection?: string | null,
>   customShardKey?: string | null,
>   db?: string | null,
>   isCustomShardKeyHashed?: boolean | null,
>   isShardKeyUnique?: boolean | null,
>   numInitialChunks?: number | null,
>   presplitHashedZones?: boolean | null
> }[] | null
> ```

***

### deleteCustomZoneMapping

`globalClusters.deleteCustomZoneMapping`

Remove All Custom Zone Mappings from One Global Cluster: removes all custom zone mappings for the specified global cluster

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.globalClusters.deleteCustomZoneMapping({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies this cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `customZoneMapping` | `Record<string, string> \| null` | No | 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` `zoneId` property. This parameter returns an empty object if no custom zones exist. Example: `{"US-VA": "6716c5a804f4ce77e899bf99", "DE": "6716c5a804f4ce77e899bf9a"}`. |
| `managedNamespaces` | `object[] \| null` | No | List that contains a namespace for a Global Cluster. MongoDB Cloud manages this cluster. |
| `selfManagedSharding` | `boolean \| null` | No | 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. |

> [accordion] managedNamespaces full type
>
> ```ts theme={null}
> {
>   collection?: string | null,
>   customShardKey?: string | null,
>   db?: string | null,
>   isCustomShardKeyHashed?: boolean | null,
>   isShardKeyUnique?: boolean | null,
>   numInitialChunks?: number | null,
>   presplitHashedZones?: boolean | null
> }[] | null
> ```

***

### deleteManagedNamespaces

`globalClusters.deleteManagedNamespaces`

Remove One Managed Namespace from One Global Cluster: removes one managed namespace within the specified global cluster

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.globalClusters.deleteManagedNamespaces({ clusterName: 'Cluster0', groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `clusterName` | `string` | Yes | Human-readable label that identifies this cluster. |
| `groupId` | `string` | Yes | 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. |
| `db` | `string` | No | Human-readable label that identifies the database that contains the collection. |
| `collection` | `string` | No | Human-readable label that identifies the collection associated with the managed namespace. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `customZoneMapping` | `Record<string, string> \| null` | No | 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` `zoneId` property. This parameter returns an empty object if no custom zones exist. Example: `{"US-VA": "6716c5a804f4ce77e899bf99", "DE": "6716c5a804f4ce77e899bf9a"}`. |
| `managedNamespaces` | `object[] \| null` | No | List that contains a namespace for a Global Cluster. MongoDB Cloud manages this cluster. |
| `selfManagedSharding` | `boolean \| null` | No | 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. |

> [accordion] managedNamespaces full type
>
> ```ts theme={null}
> {
>   collection?: string | null,
>   customShardKey?: string | null,
>   db?: string | null,
>   isCustomShardKeyHashed?: boolean | null,
>   isShardKeyUnique?: boolean | null,
>   numInitialChunks?: number | null,
>   presplitHashedZones?: boolean | null
> }[] | null
> ```

***

### getClusterGlobalWrites

`globalClusters.getClusterGlobalWrites`

Return One Managed Namespace in One Global Cluster: returns one managed namespace within the specified global cluster

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.globalClusters.getClusterGlobalWrites({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies this cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `customZoneMapping` | `Record<string, string> \| null` | No | 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` `zoneId` property. This parameter returns an empty object if no custom zones exist. Example: `{"US-VA": "6716c5a804f4ce77e899bf99", "DE": "6716c5a804f4ce77e899bf9a"}`. |
| `managedNamespaces` | `object[] \| null` | No | List that contains a namespace for a Global Cluster. MongoDB Cloud manages this cluster. |
| `selfManagedSharding` | `boolean \| null` | No | 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. |

> [accordion] managedNamespaces full type
>
> ```ts theme={null}
> {
>   collection?: string | null,
>   customShardKey?: string | null,
>   db?: string | null,
>   isCustomShardKeyHashed?: boolean | null,
>   isShardKeyUnique?: boolean | null,
>   numInitialChunks?: number | null,
>   presplitHashedZones?: boolean | null
> }[] | null
> ```

***

## Invoices

### createCostExplorerProcess

`invoices.createCostExplorerProcess`

Create One Cost Explorer Query Process: creates a query process within the Cost Explorer for the given parameters

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.invoices.createCostExplorerProcess({ orgId: '5f43e7f0a1b2c3d4e5f60718', endDate: '2026-04-09', startDate: '2026-04-09' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `clusters` | `string[]` | No | The list of clusters to be included in the Cost Explorer Query. |
| `endDate` | `string` | Yes | The exclusive ending date for the Cost Explorer query. The date must be the start of a month. |
| `groupBy` | `organizations \| projects \| clusters \| services` | No | The dimension to group the returned usage results by. At least one filter value needs to be provided for a dimension to be used. |
| `includePartialMatches` | `boolean` | No | Flag to control whether usage that matches the filter criteria, but does not have values for all filter criteria is included in response. Default is false, which excludes the partially matching data. |
| `organizations` | `string[]` | No | The list of organizations to be included in the Cost Explorer Query. |
| `projects` | `string[]` | No | The list of projects to be included in the Cost Explorer Query. |
| `services` | `string[]` | No | The list of SKU services to be included in the Cost Explorer Query. |
| `startDate` | `string` | Yes | The inclusive starting date for the Cost Explorer query. The date must be the start of a month. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `token` | `string \| null` | No | The token used to identify the created Cost Explorer query. |

***

### createOrgInvoiceReport

`invoices.createOrgInvoiceReport`

Create One Invoice Report: requests asynchronous generation of a report for the specified invoice

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.invoices.createOrgInvoiceReport({
	orgId: '5f43e7f0a1b2c3d4e5f60718',
	invoiceId: '5f43e7f0a1b2c3d4e5f60718',
	reportFormat: 'CSV',
	reportType: 'FOCUS',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `invoiceId` | `string` | Yes | Unique string that identifies the invoice for which to generate the report. |
| `formatSpecVersion` | `string` | No | Version of the report format specification. |
| `reportFormat` | `CSV` | Yes | Format of the report. |
| `reportType` | `FOCUS` | Yes | Type of report to generate. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `downloadUrl` | `string \| null` | No | URL to download the report. Present only when the report has succeeded. |
| `expiresAt` | `string \| null` | No | Time at which the download URL expires. This parameter expresses its value in the ISO 8601 timestamp format in UTC. Present only when the report has succeeded. |
| `failureReason` | `string \| null` | No | Reason the report failed. Present only when the report has failed. |
| `formatSpecVersion` | `string \| null` | No | Version of the report format specification. |
| `invoiceId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the invoice. |
| `reportFormat` | `string \| null` | No | Format of the generated report. |
| `reportId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the report. |
| `reportType` | `string \| null` | No | Type of the generated report. |
| `state` | `string \| null` | No | Current state of the report generation. |

***

### getCostExplorerUsage

`invoices.getCostExplorerUsage`

Return Usage Details for One Cost Explorer Query: returns the usage details for a Cost Explorer query, if the query is finished and the data is ready to be viewed

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.invoices.getCostExplorerUsage({ orgId: '5f43e7f0a1b2c3d4e5f60718', token: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `token` | `string` | Yes | Unique 64 digit string that identifies the Cost Explorer query. |

**Output:** *empty object*

***

### getInvoice

`invoices.getInvoice`

Return One Invoice for One Organization: returns one invoice that MongoDB issued to the specified organization

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.invoices.getInvoice({ orgId: '5f43e7f0a1b2c3d4e5f60718', invoiceId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `invoiceId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the invoice submitted to the specified organization. Charges typically post the next day. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `amountBilledCents` | `number \| null` | No | 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). |
| `amountPaidCents` | `number \| null` | No | Sum that the specified organization paid toward this invoice. This parameter expresses its value in cents (100ths of one US Dollar). |
| `created` | `string \| null` | No | Date and time when MongoDB Cloud created this invoice. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `creditsCents` | `number \| null` | No | Sum that MongoDB credited the specified organization toward this invoice. This parameter expresses its value in cents (100ths of one US Dollar). |
| `endDate` | `string \| null` | No | 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. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the invoice submitted to the specified organization. Charges typically post the next day. |
| `lineItems` | `object[] \| null` | No | List that contains individual services included in this invoice. |
| `linkedInvoices` | `object[] \| null` | No | List that contains the invoices for organizations linked to the paying organization. |
| `links` | `object[] \| null` | No | 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. |
| `orgId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the organization charged for services consumed from MongoDB Cloud. |
| `payments` | `object[] \| null` | No | List that contains funds transferred to MongoDB to cover the specified service noted in this invoice. |
| `refunds` | `object[] \| null` | No | List that contains payments that MongoDB returned to the organization for this invoice. |
| `salesTaxCents` | `number \| null` | No | Sum of sales tax applied to this invoice. This parameter expresses its value in cents (100ths of one US Dollar). |
| `startDate` | `string \| null` | No | 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. |
| `startingBalanceCents` | `number \| null` | No | Sum that the specified organization owed to MongoDB when MongoDB issued this invoice. This parameter expresses its value in US Dollars. |
| `statusName` | `string \| null` | No | 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 e |
| `subtotalCents` | `number \| null` | No | Sum of all positive invoice line items contained in this invoice. This parameter expresses its value in cents (100ths of one US Dollar). |
| `updated` | `string \| null` | No | 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. |

> [accordion] lineItems full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   clusterName?: string | null,
>   created?: string | null,
>   discountCents?: number | null,
>   endDate?: string | null,
>   groupId?: string | null,
>   groupName?: string | null,
>   note?: string | null,
>   percentDiscount?: number | null,
>   quantity?: number | null,
>   sku?: string | null,
>   startDate?: string | null,
>   stitchAppName?: string | null,
>   tags?: Record<string, string[]> | null,
>   tierLowerBound?: number | null,
>   tierUpperBound?: number | null,
>   totalPriceCents?: number | null,
>   unit?: string | null,
>   unitPriceDollars?: number | null
> }[] | null
> ```

> [accordion] linkedInvoices full type
>
> ```ts theme={null}
> {
>   amountBilledCents?: number | null,
>   amountPaidCents?: number | null,
>   created?: string | null,
>   creditsCents?: number | null,
>   endDate?: string | null,
>   id?: string | null,
>   lineItems?: {
>     cloudProvider?: string | null,
>     clusterName?: string | null,
>     created?: string | null,
>     discountCents?: number | null,
>     endDate?: string | null,
>     groupId?: string | null,
>     groupName?: string | null,
>     note?: string | null,
>     percentDiscount?: number | null,
>     quantity?: number | null,
>     sku?: string | null,
>     startDate?: string | null,
>     stitchAppName?: string | null,
>     tags?: Record<string, string[]> | null,
>     tierLowerBound?: number | null,
>     tierUpperBound?: number | null,
>     totalPriceCents?: number | null,
>     unit?: string | null,
>     unitPriceDollars?: number | null
>   }[] | null,
>   linkedInvoices?: (recursive)[] | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   payments?: {
>     amountBilledCents?: number | null,
>     amountPaidCents?: number | null,
>     created?: string | null,
>     currency?: string | null,
>     id?: string | null,
>     salesTaxCents?: number | null,
>     statusName?: string | null,
>     subtotalCents?: number | null,
>     unitPrice?: string | null,
>     updated?: string | null
>   }[] | null,
>   refunds?: {
>     amountCents?: number | null,
>     created?: string | null,
>     paymentId?: string | null,
>     reason?: string | null
>   }[] | null,
>   salesTaxCents?: number | null,
>   startDate?: string | null,
>   startingBalanceCents?: number | null,
>   statusName?: string | null,
>   subtotalCents?: number | null,
>   updated?: string | null
> }[] | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] payments full type
>
> ```ts theme={null}
> {
>   amountBilledCents?: number | null,
>   amountPaidCents?: number | null,
>   created?: string | null,
>   currency?: string | null,
>   id?: string | null,
>   salesTaxCents?: number | null,
>   statusName?: string | null,
>   subtotalCents?: number | null,
>   unitPrice?: string | null,
>   updated?: string | null
> }[] | null
> ```

> [accordion] refunds full type
>
> ```ts theme={null}
> {
>   amountCents?: number | null,
>   created?: string | null,
>   paymentId?: string | null,
>   reason?: string | null
> }[] | null
> ```

***

### getInvoiceCsv

`invoices.getInvoiceCsv`

Return One Invoice as CSV for One Organization: returns one invoice that MongoDB issued to the specified organization in CSV format (returned as a file)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.invoices.getInvoiceCsv({ orgId: '5f43e7f0a1b2c3d4e5f60718', invoiceId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `invoiceId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the invoice submitted to the specified organization. Charges typically post the next day. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `contentBase64` | `string` | No | The file, base64-encoded. Missing when the file came back as text or contentOmitted is set. |
| `text` | `string` | No | The file as text, in place of contentBase64, when it is a text file (CSV, JSON, Markdown, XML and the like) in UTF-8. |
| `contentType` | `string` | Yes | Media type of the file, for example application/pdf. |
| `byteLength` | `number` | Yes | Size of the file in bytes. |
| `filename` | `string` | No | The file name, when known. |
| `contentOmitted` | `not_requested \| over_limit` | No | Set when the content was left out: the caller did not ask for it, or the file was over the limit. |
| `fileId` | `string` | No | Where the host saved the file. Over the limit it comes in place of the content; a host that keeps every file sets it beside the content too. On Corsair it is a Files id (fil\_…): pass it to another app wherever that app takes a file URL, or read a text file or PDF with files.read\_text. |

***

### getOrgAssociatedInvoices

`invoices.getOrgAssociatedInvoices`

Return Associated Invoices: returns a list of invoice IDs for the specified organization and month/year

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.invoices.getOrgAssociatedInvoices({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `month` | `number` | No | The month for which to retrieve invoices (1-12). Defaults to current month. |
| `year` | `number` | No | The year for which to retrieve invoices. Defaults to current year. |
| `includeLinkedOrgs` | `boolean` | No | Whether to include invoices from linked organizations. Defaults to false. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `associatedInvoices` | `object[] \| null` | No | List of invoices associated with the organization for the specified period. |
| `month` | `string \| null` | No | Two-digit number that represents the month of the associated invoices. |
| `year` | `string \| null` | No | Four-digit number that represents the year of the associated invoices. |

> [accordion] associatedInvoices full type
>
> ```ts theme={null}
> {
>   invoiceId?: string | null,
>   orgId?: string | null
> }[] | null
> ```

***

### getOrgInvoiceReport

`invoices.getOrgInvoiceReport`

Return One Invoice Report: returns the status and details of a previously requested invoice report

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.invoices.getOrgInvoiceReport({ orgId: '5f43e7f0a1b2c3d4e5f60718', invoiceId: '5f43e7f0a1b2c3d4e5f60718', reportId: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `invoiceId` | `string` | Yes | Unique string that identifies the invoice the report was generated for. |
| `reportId` | `string` | Yes | Unique string that identifies the report to retrieve. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `downloadUrl` | `string \| null` | No | URL to download the report. Present only when the report has succeeded. |
| `expiresAt` | `string \| null` | No | Time at which the download URL expires. This parameter expresses its value in the ISO 8601 timestamp format in UTC. Present only when the report has succeeded. |
| `failureReason` | `string \| null` | No | Reason the report failed. Present only when the report has failed. |
| `formatSpecVersion` | `string \| null` | No | Version of the report format specification. |
| `invoiceId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the invoice. |
| `reportFormat` | `string \| null` | No | Format of the generated report. |
| `reportId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the report. |
| `reportType` | `string \| null` | No | Type of the generated report. |
| `state` | `string \| null` | No | Current state of the report generation. |

***

### getSku

`invoices.getSku`

Return One Stock Keeping Unit: returns details about a single SKU (Stock Keeping Unit) by its identifier

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.invoices.getSku({ skuId: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `skuId` | `string` | Yes | Unique identifier of the SKU to retrieve. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `description` | `string \| null` | No | Human-readable short summary of what this SKU represents. |
| `id` | `string \| null` | No | Unique string that identifies the SKU. |

***

### listInvoicePending

`invoices.listInvoicePending`

Return All Pending Invoices for One Organization: returns all invoices accruing charges for the current billing cycle for the specified organization

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.invoices.listInvoicePending({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   amountBilledCents?: number | null,
>   amountPaidCents?: number | null,
>   created?: string | null,
>   creditsCents?: number | null,
>   endDate?: string | null,
>   id?: string | null,
>   lineItems?: {
>     cloudProvider?: string | null,
>     clusterName?: string | null,
>     created?: string | null,
>     discountCents?: number | null,
>     endDate?: string | null,
>     groupId?: string | null,
>     groupName?: string | null,
>     note?: string | null,
>     percentDiscount?: number | null,
>     quantity?: number | null,
>     sku?: string | null,
>     startDate?: string | null,
>     stitchAppName?: string | null,
>     tags?: Record<string, string[]> | null,
>     tierLowerBound?: number | null,
>     tierUpperBound?: number | null,
>     totalPriceCents?: number | null,
>     unit?: string | null,
>     unitPriceDollars?: number | null
>   }[] | null,
>   linkedInvoices?: {
>     amountBilledCents?: number | null,
>     amountPaidCents?: number | null,
>     created?: string | null,
>     creditsCents?: number | null,
>     endDate?: string | null,
>     id?: string | null,
>     lineItems?: {
>       cloudProvider?: string | null,
>       clusterName?: string | null,
>       created?: string | null,
>       discountCents?: number | null,
>       endDate?: string | null,
>       groupId?: string | null,
>       groupName?: string | null,
>       note?: string | null,
>       percentDiscount?: number | null,
>       quantity?: number | null,
>       sku?: string | null,
>       startDate?: string | null,
>       stitchAppName?: string | null,
>       tags?: Record<string, string[]> | null,
>       tierLowerBound?: number | null,
>       tierUpperBound?: number | null,
>       totalPriceCents?: number | null,
>       unit?: string | null,
>       unitPriceDollars?: number | null
>     }[] | null,
>     linkedInvoices?: (recursive)[] | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     payments?: {
>       amountBilledCents?: number | null,
>       amountPaidCents?: number | null,
>       created?: string | null,
>       currency?: string | null,
>       id?: string | null,
>       salesTaxCents?: number | null,
>       statusName?: string | null,
>       subtotalCents?: number | null,
>       unitPrice?: string | null,
>       updated?: string | null
>     }[] | null,
>     refunds?: {
>       amountCents?: number | null,
>       created?: string | null,
>       paymentId?: string | null,
>       reason?: string | null
>     }[] | null,
>     salesTaxCents?: number | null,
>     startDate?: string | null,
>     startingBalanceCents?: number | null,
>     statusName?: string | null,
>     subtotalCents?: number | null,
>     updated?: string | null
>   }[] | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   payments?: {
>     amountBilledCents?: number | null,
>     amountPaidCents?: number | null,
>     created?: string | null,
>     currency?: string | null,
>     id?: string | null,
>     salesTaxCents?: number | null,
>     statusName?: string | null,
>     subtotalCents?: number | null,
>     unitPrice?: string | null,
>     updated?: string | null
>   }[] | null,
>   refunds?: {
>     amountCents?: number | null,
>     created?: string | null,
>     paymentId?: string | null,
>     reason?: string | null
>   }[] | null,
>   salesTaxCents?: number | null,
>   startDate?: string | null,
>   startingBalanceCents?: number | null,
>   statusName?: string | null,
>   subtotalCents?: number | null,
>   updated?: string | null
> }[] | null
> ```

***

### listInvoices

`invoices.listInvoices`

Return All Invoices for One Organization: returns all invoices that MongoDB issued to the specified organization (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.invoices.listInvoices({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `orgId` | `string` | Yes | 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. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `viewLinkedInvoices` | `boolean` | No | Flag that indicates whether to return linked invoices in the `linkedInvoices` field. |
| `statusNames` | `(PENDING \| CLOSED \| FORGIVEN \| FAILED \| PAID \| FREE \| PREPAID \| INVOICED)[]` | No | Statuses of the invoice to be retrieved. Omit to return invoices of all statuses. |
| `fromDate` | `string` | No | 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`. |
| `toDate` | `string` | No | 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`. |
| `sortBy` | `START_DATE \| END_DATE` | No | Field used to sort the returned invoices by. Use in combination with `orderBy` parameter to control the order of the result. |
| `orderBy` | `desc \| asc` | No | Field used to order the returned invoices by. Use in combination of `sortBy` parameter to control the order of the result. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   amountBilledCents?: number | null,
>   amountPaidCents?: number | null,
>   created?: string | null,
>   creditsCents?: number | null,
>   endDate?: string | null,
>   id?: string | null,
>   linkedInvoices?: {
>     amountBilledCents?: number | null,
>     amountPaidCents?: number | null,
>     created?: string | null,
>     creditsCents?: number | null,
>     endDate?: string | null,
>     id?: string | null,
>     linkedInvoices?: (recursive)[] | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     orgId?: string | null,
>     salesTaxCents?: number | null,
>     startDate?: string | null,
>     startingBalanceCents?: number | null,
>     statusName?: string | null,
>     subtotalCents?: number | null,
>     updated?: string | null
>   }[] | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   orgId?: string | null,
>   salesTaxCents?: number | null,
>   startDate?: string | null,
>   startingBalanceCents?: number | null,
>   statusName?: string | null,
>   subtotalCents?: number | null,
>   updated?: string | null
> }[] | null
> ```

***

### listOrgInvoiceReports

`invoices.listOrgInvoiceReports`

Return All Invoice Reports for One Invoice: returns all unexpired reports for the specified invoice, newest first (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.invoices.listOrgInvoiceReports({ orgId: '5f43e7f0a1b2c3d4e5f60718', invoiceId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `invoiceId` | `string` | Yes | Unique string that identifies the invoice to list reports for. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   downloadUrl?: string | null,
>   expiresAt?: string | null,
>   failureReason?: string | null,
>   formatSpecVersion?: string | null,
>   invoiceId?: string | null,
>   reportFormat?: string | null,
>   reportId?: string | null,
>   reportType?: string | null,
>   state?: string | null
> }[] | null
> ```

***

### listSkus

`invoices.listSkus`

Return All Stock Keeping Units: returns all available SKUs (Stock Keeping Units) that can appear on MongoDB invoices (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.invoices.listSkus({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   description?: string | null,
>   id?: string | null
> }[] | null
> ```

***

### listSkuServices

`invoices.listSkuServices`

Return All Stock Keeping Unit Services: returns all launched SKU services (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.invoices.listSkuServices({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   name?: string | null
> }[] | null
> ```

***

### searchInvoiceLineItems

`invoices.searchInvoiceLineItems`

Return All Line Items for One Invoice by Invoice ID: query the `lineItems` of the specified invoice and return the result JSON (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.invoices.searchInvoiceLineItems({ orgId: '5f43e7f0a1b2c3d4e5f60718', invoiceId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `orgId` | `string` | Yes | 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. |
| `invoiceId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the invoice submitted to the specified organization. Charges typically post the next day. |
| `filters` | `object` | No | Request body which contains various fields to filter line items as part of certain Invoice Usage Details queries. |
| `sortField` | `USAGE_DATES \| BILL_DATES \| TOTAL_PRICE_CENTS` | No | Specify the field used to specify how to sort query results. Default to bill date. |
| `sortOrder` | `ASCENDING \| DESCENDING` | No | Specify the sort order (ascending / descending) used to specify how to sort query results. Defaults to descending. |

> [accordion] filters full type
>
> ```ts theme={null}
> {
>   billEndDate?: string,
>   billStartDate?: string,
>   clusterIds?: string[],
>   groupIds?: string[],
>   includeZeroCentLineItems?: boolean,
>   skuServices?: string[],
>   usageEndDate?: string,
>   usageStartDate?: string
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   additionalData?: {
>     processorId?: string | null,
>     processorName?: string | null,
>     workspace?: string | null
>   } | null,
>   billDate?: string | null,
>   cloudProvider?: string | null,
>   clusterName?: string | null,
>   description?: string | null,
>   groupId?: string | null,
>   quantity?: number | null,
>   totalPriceCents?: number | null,
>   unitPriceDollars?: number | null,
>   usageDate?: string | null
> }[] | null
> ```

***

## Ldap Configuration

### deleteLdapUserMapping

`ldapConfiguration.deleteLdapUserMapping`

Remove LDAP User to DN Mapping: removes the current LDAP Distinguished Name mapping captured in the `userToDNMapping` document from the LDAP configuration for the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.ldapConfiguration.deleteLdapUserMapping({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `customerX509` | `object \| null` | No | Settings to configure TLS Certificates for database users. |
| `ldap` | `object \| null` | No | Lightweight Directory Access Protocol (LDAP) over Transport Layer Security (TLS) configuration details that apply to the specified project. |
| `links` | `object[] \| null` | No | 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. |

> [accordion] customerX509 full type
>
> ```ts theme={null}
> {
>   cas?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null
> } | null
> ```

> [accordion] ldap full type
>
> ```ts theme={null}
> {
>   authenticationEnabled?: boolean | null,
>   authorizationEnabled?: boolean | null,
>   authzQueryTemplate?: string | null,
>   bindPassword?: string | null,
>   bindUsername?: string | null,
>   caCertificate?: string | null,
>   hostname?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   port?: number | null,
>   userToDNMapping?: {
>     ldapQuery?: string | null,
>     match?: string | null,
>     substitution?: string | null
>   }[] | null
> } | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getUserSecurity

`ldapConfiguration.getUserSecurity`

Return LDAP or X.509 Configuration: returns the current LDAP configuration for the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.ldapConfiguration.getUserSecurity({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `customerX509` | `object \| null` | No | Settings to configure TLS Certificates for database users. |
| `ldap` | `object \| null` | No | Lightweight Directory Access Protocol (LDAP) over Transport Layer Security (TLS) configuration details that apply to the specified project. |
| `links` | `object[] \| null` | No | 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. |

> [accordion] customerX509 full type
>
> ```ts theme={null}
> {
>   cas?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null
> } | null
> ```

> [accordion] ldap full type
>
> ```ts theme={null}
> {
>   authenticationEnabled?: boolean | null,
>   authorizationEnabled?: boolean | null,
>   authzQueryTemplate?: string | null,
>   bindPassword?: string | null,
>   bindUsername?: string | null,
>   caCertificate?: string | null,
>   hostname?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   port?: number | null,
>   userToDNMapping?: {
>     ldapQuery?: string | null,
>     match?: string | null,
>     substitution?: string | null
>   }[] | null
> } | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getUserSecurityVerify

`ldapConfiguration.getUserSecurityVerify`

Return Status of LDAP Configuration Verification in One Project: returns the status of one request to verify one LDAP configuration for the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.ldapConfiguration.getUserSecurityVerify({ groupId: '5f43e7f0a1b2c3d4e5f60718', requestId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `requestId` | `string` | Yes | Unique string that identifies the request to verify an Lightweight Directory Access Protocol (LDAP) configuration. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the project associated with this Lightweight Directory Access Protocol (LDAP) over Transport Layer Security (TLS) configuration. |
| `links` | `object[] \| null` | No | 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. |
| `request` | `object \| null` | No | Request information needed to verify an Lightweight Directory Access Protocol (LDAP) over Transport Layer Security (TLS) configuration. The response does not return the `bindPassword`. |
| `requestId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this request to verify an Lightweight Directory Access Protocol (LDAP) configuration. |
| `status` | `string \| null` | No | Human-readable string that indicates the status of the Lightweight Directory Access Protocol (LDAP) over Transport Layer Security (TLS) configuration. |
| `validations` | `object[] \| null` | No | 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. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] request full type
>
> ```ts theme={null}
> {
>   authzQueryTemplate?: string | null,
>   bindPassword?: string | null,
>   bindUsername?: string | null,
>   caCertificate?: string | null,
>   hostname?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   port?: number | null
> } | null
> ```

> [accordion] validations full type
>
> ```ts theme={null}
> {
>   status?: string | null,
>   validationType?: string | null
> }[] | null
> ```

***

### updateUserSecurity

`ldapConfiguration.updateUserSecurity`

Update LDAP or X.509 Configuration: edits the LDAP configuration for the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.ldapConfiguration.updateUserSecurity({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `customerX509` | `object` | No | Settings to configure TLS Certificates for database users. |
| `ldap` | `object` | No | Lightweight Directory Access Protocol (LDAP) over Transport Layer Security (TLS) configuration details that apply to the specified project. |

> [accordion] customerX509 full type
>
> ```ts theme={null}
> {
>   cas?: string
> }
> ```

> [accordion] ldap full type
>
> ```ts theme={null}
> {
>   authenticationEnabled?: boolean,
>   authorizationEnabled?: boolean,
>   authzQueryTemplate?: string,
>   bindPassword?: string,
>   bindUsername?: string,
>   caCertificate?: string,
>   hostname?: string,
>   port?: number,
>   userToDNMapping?: {
>     ldapQuery?: string,
>     match: string,
>     substitution?: string
>   }[]
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `customerX509` | `object \| null` | No | Settings to configure TLS Certificates for database users. |
| `ldap` | `object \| null` | No | Lightweight Directory Access Protocol (LDAP) over Transport Layer Security (TLS) configuration details that apply to the specified project. |
| `links` | `object[] \| null` | No | 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. |

> [accordion] customerX509 full type
>
> ```ts theme={null}
> {
>   cas?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null
> } | null
> ```

> [accordion] ldap full type
>
> ```ts theme={null}
> {
>   authenticationEnabled?: boolean | null,
>   authorizationEnabled?: boolean | null,
>   authzQueryTemplate?: string | null,
>   bindPassword?: string | null,
>   bindUsername?: string | null,
>   caCertificate?: string | null,
>   hostname?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   port?: number | null,
>   userToDNMapping?: {
>     ldapQuery?: string | null,
>     match?: string | null,
>     substitution?: string | null
>   }[] | null
> } | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### verifyUserSecurityLdap

`ldapConfiguration.verifyUserSecurityLdap`

Verify LDAP Configuration in One Project: verifies the LDAP configuration for the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.ldapConfiguration.verifyUserSecurityLdap({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	bindPassword: 'example',
	bindUsername: 'CN=ada,DC=example,DC=com',
	hostname: 'example',
	port: 1,
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `authzQueryTemplate` | `string` | No | 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 |
| `bindPassword` | `string` | Yes | Password that MongoDB Cloud uses to authenticate the `bindUsername`. |
| `bindUsername` | `string` | Yes | 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. |
| `caCertificate` | `string` | No | 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` | `string` | Yes | 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. |
| `port` | `number` | Yes | IANA port to which the Lightweight Directory Access Protocol (LDAP) host listens for client connections. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the project associated with this Lightweight Directory Access Protocol (LDAP) over Transport Layer Security (TLS) configuration. |
| `links` | `object[] \| null` | No | 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. |
| `request` | `object \| null` | No | Request information needed to verify an Lightweight Directory Access Protocol (LDAP) over Transport Layer Security (TLS) configuration. The response does not return the `bindPassword`. |
| `requestId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this request to verify an Lightweight Directory Access Protocol (LDAP) configuration. |
| `status` | `string \| null` | No | Human-readable string that indicates the status of the Lightweight Directory Access Protocol (LDAP) over Transport Layer Security (TLS) configuration. |
| `validations` | `object[] \| null` | No | 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. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] request full type
>
> ```ts theme={null}
> {
>   authzQueryTemplate?: string | null,
>   bindPassword?: string | null,
>   bindUsername?: string | null,
>   caCertificate?: string | null,
>   hostname?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   port?: number | null
> } | null
> ```

> [accordion] validations full type
>
> ```ts theme={null}
> {
>   status?: string | null,
>   validationType?: string | null
> }[] | null
> ```

***

## Maintenance Windows

### deferMaintenanceWindow

`maintenanceWindows.deferMaintenanceWindow`

Defer One Maintenance Window for One Project: defers the maintenance window for the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.maintenanceWindows.deferMaintenanceWindow({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getMaintenanceWindow

`maintenanceWindows.getMaintenanceWindow`

Return One Maintenance Window for One Project: returns the maintenance window for the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.maintenanceWindows.getMaintenanceWindow({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `autoDeferOnceEnabled` | `boolean \| null` | No | 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` | `number \| null` | No | One-based integer that represents the day of the week, in the project's configured time zone (see `timeZoneId`), that the maintenance window starts. - `1`: Sunday. - `2`: Monday. - `3`: Tuesday. - `4`: Wednesday. - `5`: Thursday. - `6`: Friday. - `7`: Saturday. |
| `effectiveWaveAssignment` | `number \| null` | No | Maintenance wave that Atlas uses when scheduling maintenance for this project. This read-only value can differ from `waveAssignment` in two scenarios: (1) when the organization's `effectiveWaveAssignmentMode` is `ENV_TAG_MAPPING`, the effective wave is derived from environment tags regardless of any explicit assignment; (2) when cross-organization maintenance sequencing is active and this project's organization is a linked non-paying organization, the effective wave reflects the paying organizat |
| `hourOfDay` | `number \| null` | No | Zero-based integer that represents the hour of the day, in the project's configured time zone (see `timeZoneId`), that the maintenance window starts according to a 24-hour clock. Use `0` for midnight and `12` for noon. If you haven't changed your project's time zone, this defaults to UTC. |
| `numberOfDeferrals` | `number \| null` | No | Number of times the current maintenance event for this project has been deferred. |
| `protectedHours` | `object \| null` | No | Defines the a window where maintenance will not begin within. |
| `startASAP` | `boolean \| null` | No | 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. |
| `timeZoneId` | `string \| null` | No | Identifier for the current time zone of the maintenance window. This can only be updated via the Project Settings UI. |
| `waveAssignment` | `number \| null \| null` | No | Maintenance wave explicitly assigned to this project. Always returned in GET responses when a value has been set, regardless of the organization's `effectiveWaveAssignmentMode`. When the mode is `ENV_TAG_MAPPING`, this stored assignment is preserved but not used for scheduling — the effective wave is derived from environment tags instead. Not editable when the mode is `ENV_TAG_MAPPING`. Switching back to `MANUAL` restores this value as the effective wave. Must be between 1 and 3, inclusive. Pass |

> [accordion] protectedHours full type
>
> ```ts theme={null}
> {
>   endHourOfDay?: number | null,
>   startHourOfDay?: number | null
> } | null
> ```

***

### resetMaintenanceWindow

`maintenanceWindows.resetMaintenanceWindow`

Reset One Maintenance Window for One Project: resets the maintenance window for the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.maintenanceWindows.resetMaintenanceWindow({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### toggleMaintenanceAutoDefer

`maintenanceWindows.toggleMaintenanceAutoDefer`

Toggle Automatic Deferral of Maintenance for One Project: toggles automatic deferral of the maintenance window for the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.maintenanceWindows.toggleMaintenanceAutoDefer({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### updateMaintenanceWindow

`maintenanceWindows.updateMaintenanceWindow`

Update One Maintenance Window for One Project: updates the maintenance window for the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.maintenanceWindows.updateMaintenanceWindow({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `autoDeferOnceEnabled` | `boolean` | No | 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` | `number` | No | One-based integer that represents the day of the week, in the project's configured time zone (see `timeZoneId`), that the maintenance window starts. - `1`: Sunday. - `2`: Monday. - `3`: Tuesday. - `4`: Wednesday. - `5`: Thursday. - `6`: Friday. - `7`: Saturday. |
| `hourOfDay` | `number` | No | Zero-based integer that represents the hour of the day, in the project's configured time zone (see `timeZoneId`), that the maintenance window starts according to a 24-hour clock. Use `0` for midnight and `12` for noon. If you haven't changed your project's time zone, this defaults to UTC. |
| `protectedHours` | `object` | No | Defines the a window where maintenance will not begin within. |
| `startASAP` | `boolean` | No | 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. |
| `waveAssignment` | `number \| null` | No | Maintenance wave explicitly assigned to this project. Always returned in GET responses when a value has been set, regardless of the organization's `effectiveWaveAssignmentMode`. When the mode is `ENV_TAG_MAPPING`, this stored assignment is preserved but not used for scheduling — the effective wave is derived from environment tags instead. Not editable when the mode is `ENV_TAG_MAPPING`. Switching back to `MANUAL` restores this value as the effective wave. Must be between 1 and 3, inclusive. Pass |

> [accordion] protectedHours full type
>
> ```ts theme={null}
> {
>   endHourOfDay?: number,
>   startHourOfDay?: number
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

## Metric Integrations

### createGroupMetricIntegration

`metricIntegrations.createGroupMetricIntegration`

Create One Metric Integration: creates a new metric integration configuration identified by a unique ID

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.metricIntegrations.createGroupMetricIntegration({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	aggregationTemporality: 'DELTA',
	authType: 'HEADER',
	endpoint: 'example',
	integrationType: 'OTEL',
	metricSelection: ['ATLAS_STREAM_PROCESSING'],
	providerType: 'CUSTOM',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `aggregationTemporality` | `DELTA \| CUMULATIVE` | Yes | The temporality to send to the metric integration. |
| `authType` | `HEADER \| OAUTH2` | Yes | Authentication method the integration uses when exporting metrics to the endpoint. `HEADER` authenticates with the static HTTP headers provided in the `headers` field, which must be set when this value is used. `OAUTH2` acquires a bearer token from an OAuth 2.0 token endpoint using the `oauth` field. |
| `endpoint` | `string` | Yes | OpenTelemetry collector endpoint URL. Must use HTTPS. |
| `headers` | `object[]` | No | HTTP headers for authentication and configuration. Total size limit 2KB. Required when `authType` is `HEADER`. |
| `integrationType` | `OTEL` | Yes | Type of metric integration. Identifies which protocol will be used for the integration. This value cannot be modified after the integration is created. |
| `metricSelection` | `(ATLAS_STREAM_PROCESSING \| MONGODB_METRICS \| HARDWARE_METRICS \| DB_STATS \| QUERY_SHAPE_INSIGHTS \| SEARCH_METRICS \| SHARDING_METRICS)[]` | Yes | Array of metric categories to export. Determines which types of metrics are sent to the integration. |
| `oauth` | `object` | No | OAuth 2.0 client credentials configuration. Required when `authType` is `OAUTH2`. Secrets are never returned. |
| `providerType` | `CUSTOM \| DATADOG \| DYNATRACE \| NEW_RELIC` | Yes | The provider type for the metric integration. Identifies the third-party service provider. |

> [accordion] headers full type
>
> ```ts theme={null}
> {
>   name: string,
>   value: string
> }[]
> ```

> [accordion] oauth full type
>
> ```ts theme={null}
> {
>   clientAuthMethod: CLIENT_SECRET | PRIVATE_KEY_JWT,
>   clientId: string,
>   clientSecret?: string,
>   scopes?: string[],
>   tokenEndpoint: string,
>   tokenRequestParams?: Record<string, string>
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `aggregationTemporality` | `string \| null` | No | The temporality to send to the metric integration. |
| `authType` | `string \| null` | No | Authentication method the integration uses when exporting metrics to the endpoint. |
| `endpoint` | `string \| null` | No | OpenTelemetry collector endpoint URL. |
| `headersRedacted` | `object[] \| null` | No | HTTP headers for authentication and configuration. Values are redacted and never returned in plaintext. |
| `integrationType` | `string \| null` | No | Type of metric integration. Identifies which protocol will be used for the integration. |
| `metricIntegrationId` | `string \| null` | No | Unique identifier of the metric integration configuration. |
| `metricSelection` | `string[] \| null` | No | Array of metric categories to export. Determines which types of metrics are sent to the integration. |
| `oauth` | `object \| null` | No | OAuth 2.0 configuration returned for a metric integration. Secrets are never returned. |
| `providerType` | `string \| null` | No | The provider type for the metric integration. Identifies the third-party service provider. |

> [accordion] headersRedacted full type
>
> ```ts theme={null}
> {
>   name?: string | null,
>   value?: string | null
> }[] | null
> ```

> [accordion] oauth full type
>
> ```ts theme={null}
> {
>   clientAuthMethod?: string | null,
>   clientId?: string | null,
>   scopes?: string[] | null,
>   signingKeyInfo?: {
>     algorithm?: string | null,
>     createdAt?: string | null,
>     jwksUri?: string | null,
>     kid?: string | null
>   } | null,
>   tokenEndpoint?: string | null,
>   tokenRequestParams?: Record<string, string> | null
> } | null
> ```

***

### deleteGroupMetricIntegration

`metricIntegrations.deleteGroupMetricIntegration`

Remove One Metric Integration: removes the configuration for one metric integration identified by its unique ID

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.metricIntegrations.deleteGroupMetricIntegration({ groupId: '5f43e7f0a1b2c3d4e5f60718', metricIntegrationId: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `metricIntegrationId` | `string` | Yes | Unique identifier of the metric integration configuration. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getGroupMetricIntegration

`metricIntegrations.getGroupMetricIntegration`

Return One Metric Integration: returns the configuration for one metric integration identified by its unique ID

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.metricIntegrations.getGroupMetricIntegration({ groupId: '5f43e7f0a1b2c3d4e5f60718', metricIntegrationId: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `metricIntegrationId` | `string` | Yes | Unique identifier of the metric integration configuration. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `aggregationTemporality` | `string \| null` | No | The temporality to send to the metric integration. |
| `authType` | `string \| null` | No | Authentication method the integration uses when exporting metrics to the endpoint. |
| `endpoint` | `string \| null` | No | OpenTelemetry collector endpoint URL. |
| `headersRedacted` | `object[] \| null` | No | HTTP headers for authentication and configuration. Values are redacted and never returned in plaintext. |
| `integrationType` | `string \| null` | No | Type of metric integration. Identifies which protocol will be used for the integration. |
| `metricIntegrationId` | `string \| null` | No | Unique identifier of the metric integration configuration. |
| `metricSelection` | `string[] \| null` | No | Array of metric categories to export. Determines which types of metrics are sent to the integration. |
| `oauth` | `object \| null` | No | OAuth 2.0 configuration returned for a metric integration. Secrets are never returned. |
| `providerType` | `string \| null` | No | The provider type for the metric integration. Identifies the third-party service provider. |

> [accordion] headersRedacted full type
>
> ```ts theme={null}
> {
>   name?: string | null,
>   value?: string | null
> }[] | null
> ```

> [accordion] oauth full type
>
> ```ts theme={null}
> {
>   clientAuthMethod?: string | null,
>   clientId?: string | null,
>   scopes?: string[] | null,
>   signingKeyInfo?: {
>     algorithm?: string | null,
>     createdAt?: string | null,
>     jwksUri?: string | null,
>     kid?: string | null
>   } | null,
>   tokenEndpoint?: string | null,
>   tokenRequestParams?: Record<string, string> | null
> } | null
> ```

***

### listGroupMetricIntegrations

`metricIntegrations.listGroupMetricIntegrations`

Return All Active Metric Integrations: returns all metric integration configurations for the project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.metricIntegrations.listGroupMetricIntegrations({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `integrationType` | `string` | No | Optional filter by integration type (e.g., `OTEL`). |
| `providerType` | `string` | No | Optional filter by provider type (e.g., `CUSTOM`). When specified, `integrationType` must also be specified. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   aggregationTemporality?: string | null,
>   authType?: string | null,
>   endpoint?: string | null,
>   headersRedacted?: {
>     name?: string | null,
>     value?: string | null
>   }[] | null,
>   integrationType?: string | null,
>   metricIntegrationId?: string | null,
>   metricSelection?: string[] | null,
>   oauth?: {
>     clientAuthMethod?: string | null,
>     clientId?: string | null,
>     scopes?: string[] | null,
>     signingKeyInfo?: {
>       algorithm?: string | null,
>       createdAt?: string | null,
>       jwksUri?: string | null,
>       kid?: string | null
>     } | null,
>     tokenEndpoint?: string | null,
>     tokenRequestParams?: Record<string, string> | null
>   } | null,
>   providerType?: string | null
> }[] | null
> ```

***

### updateGroupMetricIntegration

`metricIntegrations.updateGroupMetricIntegration`

Update One Metric Integration: updates the configuration for one metric integration identified by its unique ID

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.metricIntegrations.updateGroupMetricIntegration({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	metricIntegrationId: 'example',
	aggregationTemporality: 'DELTA',
	authType: 'HEADER',
	endpoint: 'example',
	integrationType: 'OTEL',
	metricSelection: ['ATLAS_STREAM_PROCESSING'],
	providerType: 'CUSTOM',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `metricIntegrationId` | `string` | Yes | Unique identifier of the metric integration configuration. |
| `aggregationTemporality` | `DELTA \| CUMULATIVE` | Yes | The temporality to send to the metric integration. |
| `authType` | `HEADER \| OAUTH2` | Yes | Authentication method the integration uses when exporting metrics to the endpoint. `HEADER` authenticates with the static HTTP headers provided in the `headers` field, which must be set when this value is used. `OAUTH2` acquires a bearer token from an OAuth 2.0 token endpoint using the `oauth` field. |
| `endpoint` | `string` | Yes | OpenTelemetry collector endpoint URL. Must use HTTPS. |
| `headers` | `object[]` | No | HTTP headers for authentication and configuration. Total size limit 2KB. Required when `authType` is `HEADER`. |
| `integrationType` | `OTEL` | Yes | Type of metric integration. Identifies which protocol will be used for the integration. This value cannot be modified after the integration is created. |
| `metricSelection` | `(ATLAS_STREAM_PROCESSING \| MONGODB_METRICS \| HARDWARE_METRICS \| DB_STATS \| QUERY_SHAPE_INSIGHTS \| SEARCH_METRICS \| SHARDING_METRICS)[]` | Yes | Array of metric categories to export. Determines which types of metrics are sent to the integration. |
| `oauth` | `object` | No | OAuth 2.0 client credentials configuration. Required when `authType` is `OAUTH2`. Secrets are never returned. |
| `providerType` | `CUSTOM \| DATADOG \| DYNATRACE \| NEW_RELIC` | Yes | The provider type for the metric integration. Identifies the third-party service provider. |

> [accordion] headers full type
>
> ```ts theme={null}
> {
>   name: string,
>   value: string
> }[]
> ```

> [accordion] oauth full type
>
> ```ts theme={null}
> {
>   clientAuthMethod: CLIENT_SECRET | PRIVATE_KEY_JWT,
>   clientId: string,
>   clientSecret?: string,
>   scopes?: string[],
>   tokenEndpoint: string,
>   tokenRequestParams?: Record<string, string>
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `aggregationTemporality` | `string \| null` | No | The temporality to send to the metric integration. |
| `authType` | `string \| null` | No | Authentication method the integration uses when exporting metrics to the endpoint. |
| `endpoint` | `string \| null` | No | OpenTelemetry collector endpoint URL. |
| `headersRedacted` | `object[] \| null` | No | HTTP headers for authentication and configuration. Values are redacted and never returned in plaintext. |
| `integrationType` | `string \| null` | No | Type of metric integration. Identifies which protocol will be used for the integration. |
| `metricIntegrationId` | `string \| null` | No | Unique identifier of the metric integration configuration. |
| `metricSelection` | `string[] \| null` | No | Array of metric categories to export. Determines which types of metrics are sent to the integration. |
| `oauth` | `object \| null` | No | OAuth 2.0 configuration returned for a metric integration. Secrets are never returned. |
| `providerType` | `string \| null` | No | The provider type for the metric integration. Identifies the third-party service provider. |

> [accordion] headersRedacted full type
>
> ```ts theme={null}
> {
>   name?: string | null,
>   value?: string | null
> }[] | null
> ```

> [accordion] oauth full type
>
> ```ts theme={null}
> {
>   clientAuthMethod?: string | null,
>   clientId?: string | null,
>   scopes?: string[] | null,
>   signingKeyInfo?: {
>     algorithm?: string | null,
>     createdAt?: string | null,
>     jwksUri?: string | null,
>     kid?: string | null
>   } | null,
>   tokenEndpoint?: string | null,
>   tokenRequestParams?: Record<string, string> | null
> } | null
> ```

***

## Mongo Db Cloud Users

### addGroupUserRole

`mongoDbCloudUsers.addGroupUserRole`

Add One Project Role to One MongoDB Cloud User: adds one project-level role to the MongoDB Cloud user

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.mongoDbCloudUsers.addGroupUserRole({ groupId: '5f43e7f0a1b2c3d4e5f60718', userId: '5f43e7f0a1b2c3d4e5f60718', groupRole: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `userId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the pending or active user in the project. If you need to lookup a user's `userId` or verify a user's status in the organization, use the Return All MongoDB Cloud Users in One Project resource and filter by `username`. |
| `groupRole` | `string` | Yes | Project-level role to assign to or remove from the MongoDB Cloud user. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user. |
| `orgMembershipStatus` | `string \| null` | No | String enum that indicates the user's organization membership status: ACTIVE (member), PENDING (invited), `INVITATION_EXPIRED` (invitation expired), or `INVITATION_REJECTED` (invitation declined). |
| `roles` | `string[] \| null` | No | One or more project-level roles assigned to the MongoDB Cloud user. |
| `username` | `string \| null` | No | Email address that represents the username of the MongoDB Cloud user. |

***

### addGroupUsers

`mongoDbCloudUsers.addGroupUsers`

Add One MongoDB Cloud User to One Project: adds one MongoDB Cloud user to one project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.mongoDbCloudUsers.addGroupUsers({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	roles: ['example'],
	username: 'app-user',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `roles` | `string[]` | Yes | One or more project-level roles to assign the MongoDB Cloud user. |
| `username` | `string` | Yes | Email address that represents the username of the MongoDB Cloud user. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user. |
| `orgMembershipStatus` | `string \| null` | No | String enum that indicates the user's organization membership status: ACTIVE (member), PENDING (invited), `INVITATION_EXPIRED` (invitation expired), or `INVITATION_REJECTED` (invitation declined). |
| `roles` | `string[] \| null` | No | One or more project-level roles assigned to the MongoDB Cloud user. |
| `username` | `string \| null` | No | Email address that represents the username of the MongoDB Cloud user. |

***

### addOrgRole

`mongoDbCloudUsers.addOrgRole`

Add One Organization Role to One MongoDB Cloud User: adds one organization-level role to the MongoDB Cloud user

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.mongoDbCloudUsers.addOrgRole({ orgId: '5f43e7f0a1b2c3d4e5f60718', userId: '5f43e7f0a1b2c3d4e5f60718', orgRole: 'ORG_OWNER' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `userId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the pending or active user in the organization. If you need to lookup a user's `userId` or verify a user's status in the organization, use the Return All MongoDB Cloud Users in One Organization resource and filter by `username`. |
| `orgRole` | `ORG_OWNER \| ORG_GROUP_CREATOR \| ORG_BILLING_ADMIN \| ORG_BILLING_READ_ONLY \| ORG_STREAM_PROCESSING_ADMIN \| ORG_READ_ONLY \| ORG_MEMBER` | Yes | Organization-level role. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user. |
| `orgMembershipStatus` | `string \| null` | No | String enum that indicates the user's organization membership status: ACTIVE (member), PENDING (invited), `INVITATION_EXPIRED` (invitation expired), or `INVITATION_REJECTED` (invitation declined). |
| `roles` | `object \| null` | No | Organization- and project-level roles assigned to one MongoDB Cloud user within one organization. |
| `teamIds` | `string[] \| null` | No | List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs. |
| `username` | `string \| null` | No | Email address that represents the username of the MongoDB Cloud user. |

> [accordion] roles full type
>
> ```ts theme={null}
> {
>   groupRoleAssignments?: {
>     groupId?: string | null,
>     groupRoles?: string[] | null
>   }[] | null,
>   orgRoles?: string[] | null
> } | null
> ```

***

### addOrgTeamUser

`mongoDbCloudUsers.addOrgTeamUser`

Add One MongoDB Cloud User to One Team: adds one MongoDB Cloud user to one team

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.mongoDbCloudUsers.addOrgTeamUser({ orgId: '5f43e7f0a1b2c3d4e5f60718', teamId: '5f43e7f0a1b2c3d4e5f60718', id: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `teamId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the team to add the MongoDB Cloud user to. |
| `id` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user. |
| `orgMembershipStatus` | `string \| null` | No | String enum that indicates the user's organization membership status: ACTIVE (member), PENDING (invited), `INVITATION_EXPIRED` (invitation expired), or `INVITATION_REJECTED` (invitation declined). |
| `roles` | `object \| null` | No | Organization- and project-level roles assigned to one MongoDB Cloud user within one organization. |
| `teamIds` | `string[] \| null` | No | List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs. |
| `username` | `string \| null` | No | Email address that represents the username of the MongoDB Cloud user. |

> [accordion] roles full type
>
> ```ts theme={null}
> {
>   groupRoleAssignments?: {
>     groupId?: string | null,
>     groupRoles?: string[] | null
>   }[] | null,
>   orgRoles?: string[] | null
> } | null
> ```

***

### createOrgUser

`mongoDbCloudUsers.createOrgUser`

Add One MongoDB Cloud User to One Organization: invites one new or existing MongoDB Cloud user to join the organization

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.mongoDbCloudUsers.createOrgUser({
	orgId: '5f43e7f0a1b2c3d4e5f60718',
	roles: {
		orgRoles: ['ORG_OWNER'],
	},
	username: 'app-user',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `roles` | `object` | Yes | Organization and project level roles to assign the MongoDB Cloud user within one organization. |
| `teamIds` | `string[]` | No | List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs. |
| `username` | `string` | Yes | Email address that represents the username of the MongoDB Cloud user. |

> [accordion] roles full type
>
> ```ts theme={null}
> {
>   groupRoleAssignments?: {
>     groupId?: string,
>     groupRoles?: string[]
>   }[],
>   orgRoles: (ORG_OWNER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_STREAM_PROCESSING_ADMIN | ORG_READ_ONLY | ORG_MEMBER)[]
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user. |
| `orgMembershipStatus` | `string \| null` | No | String enum that indicates the user's organization membership status: ACTIVE (member), PENDING (invited), `INVITATION_EXPIRED` (invitation expired), or `INVITATION_REJECTED` (invitation declined). |
| `roles` | `object \| null` | No | Organization- and project-level roles assigned to one MongoDB Cloud user within one organization. |
| `teamIds` | `string[] \| null` | No | List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs. |
| `username` | `string \| null` | No | Email address that represents the username of the MongoDB Cloud user. |

> [accordion] roles full type
>
> ```ts theme={null}
> {
>   groupRoleAssignments?: {
>     groupId?: string | null,
>     groupRoles?: string[] | null
>   }[] | null,
>   orgRoles?: string[] | null
> } | null
> ```

***

### getGroupUser

`mongoDbCloudUsers.getGroupUser`

Return One MongoDB Cloud User in One Project: returns information about the specified MongoDB Cloud user within the context of the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.mongoDbCloudUsers.getGroupUser({ groupId: '5f43e7f0a1b2c3d4e5f60718', userId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `userId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the pending or active user in the project. If you need to lookup a user's `userId` or verify a user's status in the organization, use the Return All MongoDB Cloud Users in One Project resource and filter by `username`. |
| `orgMembershipStatuses` | `(PENDING \| ACTIVE \| INVITATION_EXPIRED \| INVITATION_REJECTED)[]` | No | Organization membership status to filter users by. You can supply this parameter multiple times. Allowed values: `ACTIVE`, `PENDING`, `INVITATION_EXPIRED`, `INVITATION_REJECTED`. If you exclude this parameter, this resource returns ACTIVE and PENDING users. Not supported in deprecated versions. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user. |
| `orgMembershipStatus` | `string \| null` | No | String enum that indicates the user's organization membership status: ACTIVE (member), PENDING (invited), `INVITATION_EXPIRED` (invitation expired), or `INVITATION_REJECTED` (invitation declined). |
| `roles` | `string[] \| null` | No | One or more project-level roles assigned to the MongoDB Cloud user. |
| `username` | `string \| null` | No | Email address that represents the username of the MongoDB Cloud user. |

***

### getOrgUser

`mongoDbCloudUsers.getOrgUser`

Return One MongoDB Cloud User in One Organization: returns information about the specified MongoDB Cloud user within the context of the specified organization

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.mongoDbCloudUsers.getOrgUser({ orgId: '5f43e7f0a1b2c3d4e5f60718', userId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `userId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the pending or active user in the organization. If you need to lookup a user's `userId` or verify a user's status in the organization, use the Return All MongoDB Cloud Users in One Organization resource and filter by `username`. |
| `orgMembershipStatuses` | `(PENDING \| ACTIVE \| INVITATION_EXPIRED \| INVITATION_REJECTED)[]` | No | Organization membership status to filter users by. You can supply this parameter multiple times. Allowed values: `ACTIVE`, `PENDING`, `INVITATION_EXPIRED`, `INVITATION_REJECTED`. If you exclude this parameter, this resource returns ACTIVE and PENDING users. Not supported in deprecated versions. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user. |
| `orgMembershipStatus` | `string \| null` | No | String enum that indicates the user's organization membership status: ACTIVE (member), PENDING (invited), `INVITATION_EXPIRED` (invitation expired), or `INVITATION_REJECTED` (invitation declined). |
| `roles` | `object \| null` | No | Organization- and project-level roles assigned to one MongoDB Cloud user within one organization. |
| `teamIds` | `string[] \| null` | No | List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs. |
| `username` | `string \| null` | No | Email address that represents the username of the MongoDB Cloud user. |

> [accordion] roles full type
>
> ```ts theme={null}
> {
>   groupRoleAssignments?: {
>     groupId?: string | null,
>     groupRoles?: string[] | null
>   }[] | null,
>   orgRoles?: string[] | null
> } | null
> ```

***

### listGroupUsers

`mongoDbCloudUsers.listGroupUsers`

Return All MongoDB Cloud Users in One Project: returns details about the pending and active MongoDB Cloud users associated with the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.mongoDbCloudUsers.listGroupUsers({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `flattenTeams` | `boolean` | No | 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. |
| `includeOrgUsers` | `boolean` | No | 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. |
| `orgMembershipStatus` | `string` | No | Deprecated: Use `orgMembershipStatuses` instead. Organization membership status to filter users by. Allowed values: `ACTIVE`, `PENDING`, `INVITATION_EXPIRED`, `INVITATION_REJECTED`. If you exclude this parameter, this resource returns ACTIVE and PENDING users. Not supported in deprecated versions. |
| `orgMembershipStatuses` | `(PENDING \| ACTIVE \| INVITATION_EXPIRED \| INVITATION_REJECTED)[]` | No | Organization membership status to filter users by. You can supply this parameter multiple times. Allowed values: `ACTIVE`, `PENDING`, `INVITATION_EXPIRED`, `INVITATION_REJECTED`. Replaces the deprecated `orgMembershipStatus` parameter. If you exclude this parameter, this resource returns ACTIVE and PENDING users. Cannot be combined with `orgMembershipStatus`. Not supported in deprecated versions. |
| `username` | `string` | No | Email address to filter users by. Not supported in deprecated versions. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   orgMembershipStatus?: string | null,
>   roles?: string[] | null,
>   username?: string | null
> }[] | null
> ```

***

### listOrgUsers

`mongoDbCloudUsers.listOrgUsers`

Return All MongoDB Cloud Users in One Organization: returns details about the pending and active MongoDB Cloud users associated with the specified organization (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.mongoDbCloudUsers.listOrgUsers({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `username` | `string` | No | Email address to filter users by. Not supported in deprecated versions. |
| `orgMembershipStatus` | `string` | No | Deprecated: Use `orgMembershipStatuses` instead. Organization membership status to filter users by. Allowed values: `ACTIVE`, `PENDING`, `INVITATION_EXPIRED`, `INVITATION_REJECTED`. If you exclude this parameter, this resource returns ACTIVE and PENDING users. Not supported in deprecated versions. |
| `orgMembershipStatuses` | `(PENDING \| ACTIVE \| INVITATION_EXPIRED \| INVITATION_REJECTED)[]` | No | Organization membership status to filter users by. You can supply this parameter multiple times. Allowed values: `ACTIVE`, `PENDING`, `INVITATION_EXPIRED`, `INVITATION_REJECTED`. Replaces the deprecated `orgMembershipStatus` parameter. If you exclude this parameter, this resource returns ACTIVE and PENDING users. Cannot be combined with `orgMembershipStatus`. Not supported in deprecated versions. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   orgMembershipStatus?: string | null,
>   roles?: {
>     groupRoleAssignments?: {
>       groupId?: string | null,
>       groupRoles?: string[] | null
>     }[] | null,
>     orgRoles?: string[] | null
>   } | null,
>   teamIds?: string[] | null,
>   username?: string | null
> }[] | null
> ```

***

### listTeamUsers

`mongoDbCloudUsers.listTeamUsers`

Return All MongoDB Cloud Users Assigned to One Team: returns details about the pending and active MongoDB Cloud users associated with the specified team in the organization (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.mongoDbCloudUsers.listTeamUsers({ orgId: '5f43e7f0a1b2c3d4e5f60718', teamId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `orgId` | `string` | Yes | 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. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `teamId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the team whose application users you want to return. |
| `username` | `string` | No | Email address to filter users by. Not supported in deprecated versions. |
| `orgMembershipStatus` | `string` | No | Deprecated: Use `orgMembershipStatuses` instead. Organization membership status to filter users by. Allowed values: `ACTIVE`, `PENDING`, `INVITATION_EXPIRED`, `INVITATION_REJECTED`. If you exclude this parameter, this resource returns ACTIVE and PENDING users. Not supported in deprecated versions. |
| `orgMembershipStatuses` | `(PENDING \| ACTIVE \| INVITATION_EXPIRED \| INVITATION_REJECTED)[]` | No | Organization membership status to filter users by. You can supply this parameter multiple times. Allowed values: `ACTIVE`, `PENDING`, `INVITATION_EXPIRED`, `INVITATION_REJECTED`. Replaces the deprecated `orgMembershipStatus` parameter. If you exclude this parameter, this resource returns ACTIVE and PENDING users. Cannot be combined with `orgMembershipStatus`. Not supported in deprecated versions. |
| `userId` | `string` | No | Unique 24-hexadecimal digit string to filter users by. Not supported in deprecated versions. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   orgMembershipStatus?: string | null,
>   roles?: {
>     groupRoleAssignments?: {
>       groupId?: string | null,
>       groupRoles?: string[] | null
>     }[] | null,
>     orgRoles?: string[] | null
>   } | null,
>   teamIds?: string[] | null,
>   username?: string | null
> }[] | null
> ```

***

### removeGroupUser

`mongoDbCloudUsers.removeGroupUser`

Remove One MongoDB Cloud User from One Project: removes one MongoDB Cloud user from the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.mongoDbCloudUsers.removeGroupUser({ groupId: '5f43e7f0a1b2c3d4e5f60718', userId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `userId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the pending or active user in the project. If you need to lookup a user's `userId` or verify a user's status in the organization, use the [Return All MongoDB Cloud Users in One Project](#tag/MongoDB-Cloud-Users/operation/listProjectUsers) resource and filter by `username`. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### removeGroupUserRole

`mongoDbCloudUsers.removeGroupUserRole`

Remove One Project Role from One MongoDB Cloud User: removes one project-level role from the MongoDB Cloud user

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.mongoDbCloudUsers.removeGroupUserRole({ groupId: '5f43e7f0a1b2c3d4e5f60718', userId: '5f43e7f0a1b2c3d4e5f60718', groupRole: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `userId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the pending or active user in the project. If you need to lookup a user's `userId` or verify a user's status in the organization, use the Return All MongoDB Cloud Users in One Project resource and filter by `username`. |
| `groupRole` | `string` | Yes | Project-level role to assign to or remove from the MongoDB Cloud user. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user. |
| `orgMembershipStatus` | `string \| null` | No | String enum that indicates the user's organization membership status: ACTIVE (member), PENDING (invited), `INVITATION_EXPIRED` (invitation expired), or `INVITATION_REJECTED` (invitation declined). |
| `roles` | `string[] \| null` | No | One or more project-level roles assigned to the MongoDB Cloud user. |
| `username` | `string \| null` | No | Email address that represents the username of the MongoDB Cloud user. |

***

### removeOrgRole

`mongoDbCloudUsers.removeOrgRole`

Remove One Organization Role from One MongoDB Cloud User: removes one organization-level role from the MongoDB Cloud user

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.mongoDbCloudUsers.removeOrgRole({ orgId: '5f43e7f0a1b2c3d4e5f60718', userId: '5f43e7f0a1b2c3d4e5f60718', orgRole: 'ORG_OWNER' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `userId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the pending or active user in the organization. If you need to lookup a user's `userId` or verify a user's status in the organization, use the Return All MongoDB Cloud Users in One Organization resource and filter by `username`. |
| `orgRole` | `ORG_OWNER \| ORG_GROUP_CREATOR \| ORG_BILLING_ADMIN \| ORG_BILLING_READ_ONLY \| ORG_STREAM_PROCESSING_ADMIN \| ORG_READ_ONLY \| ORG_MEMBER` | Yes | Organization-level role. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user. |
| `orgMembershipStatus` | `string \| null` | No | String enum that indicates the user's organization membership status: ACTIVE (member), PENDING (invited), `INVITATION_EXPIRED` (invitation expired), or `INVITATION_REJECTED` (invitation declined). |
| `roles` | `object \| null` | No | Organization- and project-level roles assigned to one MongoDB Cloud user within one organization. |
| `teamIds` | `string[] \| null` | No | List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs. |
| `username` | `string \| null` | No | Email address that represents the username of the MongoDB Cloud user. |

> [accordion] roles full type
>
> ```ts theme={null}
> {
>   groupRoleAssignments?: {
>     groupId?: string | null,
>     groupRoles?: string[] | null
>   }[] | null,
>   orgRoles?: string[] | null
> } | null
> ```

***

### removeOrgTeamUser

`mongoDbCloudUsers.removeOrgTeamUser`

Remove One MongoDB Cloud User from One Team: removes one MongoDB Cloud user from one team

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.mongoDbCloudUsers.removeOrgTeamUser({ orgId: '5f43e7f0a1b2c3d4e5f60718', teamId: '5f43e7f0a1b2c3d4e5f60718', id: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `teamId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the team to remove the MongoDB user from. |
| `id` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user. |
| `orgMembershipStatus` | `string \| null` | No | String enum that indicates the user's organization membership status: ACTIVE (member), PENDING (invited), `INVITATION_EXPIRED` (invitation expired), or `INVITATION_REJECTED` (invitation declined). |
| `roles` | `object \| null` | No | Organization- and project-level roles assigned to one MongoDB Cloud user within one organization. |
| `teamIds` | `string[] \| null` | No | List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs. |
| `username` | `string \| null` | No | Email address that represents the username of the MongoDB Cloud user. |

> [accordion] roles full type
>
> ```ts theme={null}
> {
>   groupRoleAssignments?: {
>     groupId?: string | null,
>     groupRoles?: string[] | null
>   }[] | null,
>   orgRoles?: string[] | null
> } | null
> ```

***

### removeOrgUser

`mongoDbCloudUsers.removeOrgUser`

Remove One MongoDB Cloud User from One Organization: removes one MongoDB Cloud user in the specified organization

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.mongoDbCloudUsers.removeOrgUser({ orgId: '5f43e7f0a1b2c3d4e5f60718', userId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `userId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the pending or active user in the organization. If you need to lookup a user's `userId` or verify a user's status in the organization, use the [Return All MongoDB Cloud Users in One Organization](#tag/MongoDB-Cloud-Users/operation/listOrganizationUsers) resource and filter by `username`. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### updateOrgUser

`mongoDbCloudUsers.updateOrgUser`

Update One MongoDB Cloud User in One Organization: updates one MongoDB Cloud user in the specified organization

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.mongoDbCloudUsers.updateOrgUser({ orgId: '5f43e7f0a1b2c3d4e5f60718', userId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `userId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the pending or active user in the organization. If you need to lookup a user's `userId` or verify a user's status in the organization, use the Return All MongoDB Cloud Users in One Organization resource and filter by `username`. |
| `roles` | `object` | No | Organization and project level roles to assign the MongoDB Cloud user within one organization. |
| `teamIds` | `string[]` | No | List of unique 24-hexadecimal digit strings that identifies the teams to assign the MongoDB Cloud user. |

> [accordion] roles full type
>
> ```ts theme={null}
> {
>   groupRoleAssignments?: {
>     groupId?: string,
>     groupRoles?: string[]
>   }[],
>   orgRoles: (ORG_OWNER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_STREAM_PROCESSING_ADMIN | ORG_READ_ONLY | ORG_MEMBER)[]
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user. |
| `orgMembershipStatus` | `string \| null` | No | String enum that indicates the user's organization membership status: ACTIVE (member), PENDING (invited), `INVITATION_EXPIRED` (invitation expired), or `INVITATION_REJECTED` (invitation declined). |
| `roles` | `object \| null` | No | Organization- and project-level roles assigned to one MongoDB Cloud user within one organization. |
| `teamIds` | `string[] \| null` | No | List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs. |
| `username` | `string \| null` | No | Email address that represents the username of the MongoDB Cloud user. |

> [accordion] roles full type
>
> ```ts theme={null}
> {
>   groupRoleAssignments?: {
>     groupId?: string | null,
>     groupRoles?: string[] | null
>   }[] | null,
>   orgRoles?: string[] | null
> } | null
> ```

***

## Monitoring And Logs

### downloadClusterLog

`monitoringAndLogs.downloadClusterLog`

Download Logs for One Cluster Host in One Project: returns a compressed (.gz) log file that contains a range of log messages for the specified host for the specified project (returned as a file)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.monitoringAndLogs.downloadClusterLog({ groupId: '5f43e7f0a1b2c3d4e5f60718', hostName: 'cluster0-shard-00-00.abcde.mongodb.net', logName: 'mongodb' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `hostName` | `string` | Yes | Human-readable label that identifies the host that stores the log files that you want to download. |
| `logName` | `mongodb \| mongos \| mongodb-audit-log \| mongos-audit-log` | Yes | Human-readable label that identifies the log file that you want to return. To return audit logs, enable *Database Auditing* for the specified project. |
| `endDate` | `number` | No | 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. |
| `startDate` | `number` | No | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `contentBase64` | `string` | No | The file, base64-encoded. Missing when the file came back as text or contentOmitted is set. |
| `text` | `string` | No | The file as text, in place of contentBase64, when it is a text file (CSV, JSON, Markdown, XML and the like) in UTF-8. |
| `contentType` | `string` | Yes | Media type of the file, for example application/pdf. |
| `byteLength` | `number` | Yes | Size of the file in bytes. |
| `filename` | `string` | No | The file name, when known. |
| `contentOmitted` | `not_requested \| over_limit` | No | Set when the content was left out: the caller did not ask for it, or the file was over the limit. |
| `fileId` | `string` | No | Where the host saved the file. Over the limit it comes in place of the content; a host that keeps every file sets it beside the content too. On Corsair it is a Files id (fil\_…): pass it to another app wherever that app takes a file URL, or read a text file or PDF with files.read\_text. |

***

### getDatabase

`monitoringAndLogs.getDatabase`

Return One Database for One MongoDB Process: returns one database running on the specified host for the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.monitoringAndLogs.getDatabase({ groupId: '5f43e7f0a1b2c3d4e5f60718', databaseName: 'sample_mflix', processId: 'cluster0-shard-00-00.abcde.mongodb.net:27017' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `databaseName` | `string` | Yes | Human-readable label that identifies the database that the specified MongoDB process serves. |
| `processId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `databaseName` | `string \| null` | No | Human-readable label that identifies the database that the specified MongoDB process serves. |
| `links` | `object[] \| null` | No | 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. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getDatabaseMeasurements

`monitoringAndLogs.getDatabaseMeasurements`

Return Measurements for One Database in One MongoDB Process: returns the measurements of one database for the specified host for the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.monitoringAndLogs.getDatabaseMeasurements({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	databaseName: 'sample_mflix',
	processId: 'cluster0-shard-00-00.abcde.mongodb.net:27017',
	granularity: 'PT1M',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `databaseName` | `string` | Yes | Human-readable label that identifies the database that the specified MongoDB process serves. |
| `m` | `(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)[]` | No | 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. |
| `processId` | `string` | Yes | 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. |
| `granularity` | `string` | Yes | Duration that specifies the interval at which Atlas reports the metrics. This parameter expresses its value in the ISO 8601 duration format in UTC. |
| `period` | `string` | No | 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**. |
| `start` | `string` | No | 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**. |
| `end` | `string` | No | 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**. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `databaseName` | `string \| null` | No | Human-readable label that identifies the database that the specified MongoDB process serves. |
| `end` | `string \| null` | No | 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. |
| `granularity` | `string \| null` | No | 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**. |
| `groupId` | `string \| null` | No | 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`. |
| `hostId` | `string \| null` | No | 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. |
| `links` | `object[] \| null` | No | 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. |
| `measurements` | `object[] \| null` | No | List that contains measurements and their data points. |
| `message` | `string \| null` | No | Explanation of measurement availability limitations on the current tier. |
| `partitionName` | `string \| null` | No | Human-readable label of the disk or partition to which the measurements apply. |
| `processId` | `string \| null` | No | 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. |
| `scale` | `object \| null` | No | Information on scaling the cluster to a tier that supports the requested feature. Present only when the feature is unavailable on the cluster's current tier. |
| `start` | `string \| null` | No | 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. |
| `warningMessage` | `string \| null` | No | Explanation of why the response contains no measurement data points, when applicable. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] measurements full type
>
> ```ts theme={null}
> {
>   dataPoints?: {
>     timestamp?: string | null,
>     value?: number | null
>   }[] | null,
>   name?: string | null,
>   units?: string | null
> }[] | null
> ```

> [accordion] scale full type
>
> ```ts theme={null}
> {
>   docsUrl?: string | null | null,
>   minimumTier?: string | null,
>   scaleUrl?: string | null
> } | null
> ```

***

### getGroupProcess

`monitoringAndLogs.getGroupProcess`

Return One MongoDB Process by ID: returns the processes for the specified host for the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.monitoringAndLogs.getGroupProcess({ groupId: '5f43e7f0a1b2c3d4e5f60718', processId: 'cluster0-shard-00-00.abcde.mongodb.net:27017' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `processId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `created` | `string \| null` | No | Date and time when MongoDB Cloud created this MongoDB process. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `groupId` | `string \| null` | No | 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`. |
| `hostname` | `string \| null` | No | Hostname, fully qualified domain name (FQDN), or Internet Protocol address (IPv4 or IPv6) of the host that runs the MongoDB process (`mongod` or `mongos`). |
| `id` | `string \| null` | No | 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. |
| `lastPing` | `string \| null` | No | 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. |
| `links` | `object[] \| null` | No | 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. |
| `port` | `number \| null` | No | Internet Assigned Numbers Authority (IANA) port on which the MongoDB process listens for requests. |
| `replicaSetName` | `string \| null` | No | 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. |
| `shardName` | `string \| null` | No | 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. |
| `typeName` | `string \| null` | No | Type of MongoDB process that MongoDB Cloud tracks. MongoDB Cloud returns new processes as `NO_DATA` until MongoDB Cloud completes deploying the process. |
| `userAlias` | `string \| null` | No | 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. |
| `version` | `string \| null` | No | Version of MongoDB that this process runs. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getIndexMeasurements

`monitoringAndLogs.getIndexMeasurements`

Return Atlas Search Metrics for One Index in One Namespace: returns the Atlas Search metrics data series within the provided time range for one namespace and index name on the specified process

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.monitoringAndLogs.getIndexMeasurements({
	processId: 'cluster0-shard-00-00.abcde.mongodb.net:27017',
	indexName: 'example',
	databaseName: 'sample_mflix',
	collectionName: 'movies',
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	granularity: 'PT1M',
	metrics: ['INDEX_SIZE_ON_DISK'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `processId` | `string` | Yes | 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. |
| `indexName` | `string` | Yes | Human-readable label that identifies the index. |
| `databaseName` | `string` | Yes | Human-readable label that identifies the database. |
| `collectionName` | `string` | Yes | Human-readable label that identifies the collection. |
| `groupId` | `string` | Yes | 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. |
| `granularity` | `string` | Yes | Duration that specifies the interval at which Atlas reports the metrics. This parameter expresses its value in the ISO 8601 duration format in UTC. |
| `period` | `string` | No | 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**. |
| `start` | `string` | No | 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**. |
| `end` | `string` | No | 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**. |
| `metrics` | `(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)[]` | Yes | List that contains the measurements that MongoDB Atlas reports for the associated data series. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `collectionName` | `string \| null` | No | Human-readable label that identifies the collection. |
| `databaseName` | `string \| null` | No | Human-readable label that identifies the database that the specified MongoDB process serves. |
| `end` | `string \| null` | No | 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. |
| `granularity` | `string \| null` | No | 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**. |
| `groupId` | `string \| null` | No | 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`. |
| `indexIds` | `(string \| null)[] \| null` | No | List that contains the Atlas Search index identifiers. |
| `indexStatsMeasurements` | `object[] \| null` | No | List that contains the Atlas Search index stats measurements. |
| `links` | `object[] \| null` | No | 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. |
| `processId` | `string \| null` | No | 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. |
| `start` | `string \| null` | No | 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. |

> [accordion] indexStatsMeasurements full type
>
> ```ts theme={null}
> {
>   dataPoints?: {
>     timestamp?: string | null,
>     value?: number | null
>   }[] | null,
>   name?: string | null,
>   units?: string | null
> }[] | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getProcessDisk

`monitoringAndLogs.getProcessDisk`

Return Measurements for One Disk: returns measurement details for one disk or partition for the specified host for the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.monitoringAndLogs.getProcessDisk({ partitionName: 'example', groupId: '5f43e7f0a1b2c3d4e5f60718', processId: 'cluster0-shard-00-00.abcde.mongodb.net:27017' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `partitionName` | `string` | Yes | Human-readable label of the disk or partition to which the measurements apply. |
| `groupId` | `string` | Yes | 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. |
| `processId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `partitionName` | `string \| null` | No | Human-readable label of the disk or partition to which the measurements apply. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getProcessDiskMeasurements

`monitoringAndLogs.getProcessDiskMeasurements`

Return Measurements of One Disk for One MongoDB Process: returns the measurements of one disk or partition for the specified host for the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.monitoringAndLogs.getProcessDiskMeasurements({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	partitionName: 'example',
	processId: 'cluster0-shard-00-00.abcde.mongodb.net:27017',
	granularity: 'PT1M',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `m` | `(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)[]` | No | 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. |
| `partitionName` | `string` | Yes | Human-readable label of the disk or partition to which the measurements apply. |
| `processId` | `string` | Yes | 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. |
| `granularity` | `string` | Yes | Duration that specifies the interval at which Atlas reports the metrics. This parameter expresses its value in the ISO 8601 duration format in UTC. |
| `period` | `string` | No | 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**. |
| `start` | `string` | No | 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**. |
| `end` | `string` | No | 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**. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `databaseName` | `string \| null` | No | Human-readable label that identifies the database that the specified MongoDB process serves. |
| `end` | `string \| null` | No | 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. |
| `granularity` | `string \| null` | No | 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**. |
| `groupId` | `string \| null` | No | 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`. |
| `hostId` | `string \| null` | No | 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. |
| `links` | `object[] \| null` | No | 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. |
| `measurements` | `object[] \| null` | No | List that contains measurements and their data points. |
| `message` | `string \| null` | No | Explanation of measurement availability limitations on the current tier. |
| `partitionName` | `string \| null` | No | Human-readable label of the disk or partition to which the measurements apply. |
| `processId` | `string \| null` | No | 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. |
| `scale` | `object \| null` | No | Information on scaling the cluster to a tier that supports the requested feature. Present only when the feature is unavailable on the cluster's current tier. |
| `start` | `string \| null` | No | 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. |
| `warningMessage` | `string \| null` | No | Explanation of why the response contains no measurement data points, when applicable. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] measurements full type
>
> ```ts theme={null}
> {
>   dataPoints?: {
>     timestamp?: string | null,
>     value?: number | null
>   }[] | null,
>   name?: string | null,
>   units?: string | null
> }[] | null
> ```

> [accordion] scale full type
>
> ```ts theme={null}
> {
>   docsUrl?: string | null | null,
>   minimumTier?: string | null,
>   scaleUrl?: string | null
> } | null
> ```

***

### getProcessMeasurements

`monitoringAndLogs.getProcessMeasurements`

Return Measurements for One MongoDB Process: returns disk, partition, or host measurements per process for the specified host for the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.monitoringAndLogs.getProcessMeasurements({ groupId: '5f43e7f0a1b2c3d4e5f60718', processId: 'cluster0-shard-00-00.abcde.mongodb.net:27017', granularity: 'PT1M' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `m` | `(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_TIME \| 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 \| STORAGE_READ_IOPS \| STORAGE_WRITE_IOPS \| STORAGE_READ_LATENCY \| STORAGE_WRITE_LATENCY \| STORAGE_BYTES_READ \| STORAGE_BYTES_WRITTEN \| STORAGE_THROUGHPUT_UTILIZATION \| STORAGE_SPACE_USED \| STORAGE_SPACE_FREE \| STORAGE_SPACE_PERCENT_FREE \| STORAGE_SPACE_PERCENT_USED \| CATALOG_ACTIVE_COLLECTIONS_AND_INDEXES \| QUERY_SPILL_FILE_SPILLED_SIZE \| AVG_MAJORITY_WRITE_CONCERN_WRITE_TIME \| TRANSACTIONS_CURRENT_ACTIVE \| TRANSACTIONS_CURRENT_INACTIVE \| TRANSACTIONS_CURRENT_OPEN \| TRANSACTIONS_ABORTED \| TRANSACTIONS_COMMITTED \| TRANSACTIONS_STARTED \| CACHE_PRESSURE_PERCENTAGE \| INGRESS_QUEUE_WAIT_TIME \| CONNECTION_RATE_LIMITING_OFFERED_CONNECTIONS \| CONNECTION_RATE_LIMITING_SUCCESSFUL_CONNECTIONS \| CONNECTION_RATE_LIMITING_REJECTED_CONNECTIONS \| CONNECTION_RATE_LIMITING_INTERRUPTED_IN_QUEUE \| CONNECTION_RATE_LIMITING_AVERAGE_TIME_QUEUED \| OPERATION_RATE_LIMITING_OFFERED_OPERATIONS \| OPERATION_RATE_LIMITING_SUCCESSFUL_OPERATIONS \| OPERATION_RATE_LIMITING_REJECTED_OPERATIONS \| OPERATION_RATE_LIMITING_QUEUED_OPERATIONS \| OPERATION_RATE_LIMITING_CURRENT_QUEUE_DEPTH \| OPERATION_RATE_LIMITING_QUEUE_TIME_AVG)[]` | No | 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. |
| `period` | `string` | No | 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**. |
| `processId` | `string` | Yes | 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. |
| `granularity` | `string` | Yes | Duration that specifies the interval at which Atlas reports the metrics. This parameter expresses its value in the ISO 8601 duration format in UTC. |
| `start` | `string` | No | 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**. |
| `end` | `string` | No | 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**. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `databaseName` | `string \| null` | No | Human-readable label that identifies the database that the specified MongoDB process serves. |
| `end` | `string \| null` | No | 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. |
| `granularity` | `string \| null` | No | 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**. |
| `groupId` | `string \| null` | No | 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`. |
| `hostId` | `string \| null` | No | 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. |
| `links` | `object[] \| null` | No | 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. |
| `measurements` | `object[] \| null` | No | List that contains measurements and their data points. |
| `message` | `string \| null` | No | Explanation of measurement availability limitations on the current tier. |
| `partitionName` | `string \| null` | No | Human-readable label of the disk or partition to which the measurements apply. |
| `processId` | `string \| null` | No | 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. |
| `scale` | `object \| null` | No | Information on scaling the cluster to a tier that supports the requested feature. Present only when the feature is unavailable on the cluster's current tier. |
| `start` | `string \| null` | No | 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. |
| `warningMessage` | `string \| null` | No | Explanation of why the response contains no measurement data points, when applicable. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] measurements full type
>
> ```ts theme={null}
> {
>   dataPoints?: {
>     timestamp?: string | null,
>     value?: number | null
>   }[] | null,
>   name?: string | null,
>   units?: string | null
> }[] | null
> ```

> [accordion] scale full type
>
> ```ts theme={null}
> {
>   docsUrl?: string | null | null,
>   minimumTier?: string | null,
>   scaleUrl?: string | null
> } | null
> ```

***

### listDatabases

`monitoringAndLogs.listDatabases`

Return Available Databases for One MongoDB Process: returns the list of databases running on the specified host for the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.monitoringAndLogs.listDatabases({ groupId: '5f43e7f0a1b2c3d4e5f60718', processId: 'cluster0-shard-00-00.abcde.mongodb.net:27017' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `processId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   databaseName?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null
> }[] | null
> ```

***

### listGroupProcesses

`monitoringAndLogs.listGroupProcesses`

Return All MongoDB Processes in One Project: returns details of all processes for the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.monitoringAndLogs.listGroupProcesses({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   created?: string | null,
>   groupId?: string | null,
>   hostname?: string | null,
>   id?: string | null,
>   lastPing?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   port?: number | null,
>   replicaSetName?: string | null,
>   shardName?: string | null,
>   typeName?: string | null,
>   userAlias?: string | null,
>   version?: string | null
> }[] | null
> ```

***

### listHostFtsMetrics

`monitoringAndLogs.listHostFtsMetrics`

Return All Atlas Search Metric Types for One Process: returns all Atlas Search metric types available for one process in the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.monitoringAndLogs.listHostFtsMetrics({ processId: 'cluster0-shard-00-00.abcde.mongodb.net:27017', groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `processId` | `string` | Yes | 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. |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the project. |
| `hardwareMetrics` | `object[] \| null` | No | List that contains all host compute, memory, and storage utilization dedicated to Atlas Search when MongoDB Atlas received this request. |
| `indexMetrics` | `object[] \| null` | No | List that contains all performance and utilization measurements that Atlas Search index performed by the time MongoDB Atlas received this request. |
| `links` | `object[] \| null` | No | 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. |
| `processId` | `string \| null` | No | Hostname and port that identifies the process. |
| `statusMetrics` | `object[] \| null` | No | List that contains all available Atlas Search status metrics when MongoDB Atlas received this request. |

> [accordion] hardwareMetrics full type
>
> ```ts theme={null}
> {
>   metricName?: string | null | null,
>   units?: string | null | null
> }[] | null
> ```

> [accordion] indexMetrics full type
>
> ```ts theme={null}
> {
>   metricName?: string | null | null,
>   units?: string | null | null
> }[] | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] statusMetrics full type
>
> ```ts theme={null}
> {
>   metricName?: string | null | null,
>   units?: string | null | null
> }[] | null
> ```

***

### listIndexMeasurements

`monitoringAndLogs.listIndexMeasurements`

Return All Atlas Search Index Metrics for One Namespace: returns the Atlas Search index metrics within the specified time range for one namespace in the specified process

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.monitoringAndLogs.listIndexMeasurements({
	processId: 'cluster0-shard-00-00.abcde.mongodb.net:27017',
	databaseName: 'sample_mflix',
	collectionName: 'movies',
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	granularity: 'PT1M',
	metrics: ['INDEX_SIZE_ON_DISK'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `processId` | `string` | Yes | 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. |
| `databaseName` | `string` | Yes | Human-readable label that identifies the database. |
| `collectionName` | `string` | Yes | Human-readable label that identifies the collection. |
| `groupId` | `string` | Yes | 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. |
| `granularity` | `string` | Yes | Duration that specifies the interval at which Atlas reports the metrics. This parameter expresses its value in the ISO 8601 duration format in UTC. |
| `period` | `string` | No | 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**. |
| `start` | `string` | No | 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**. |
| `end` | `string` | No | 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**. |
| `metrics` | `(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)[]` | Yes | List that contains the measurements that MongoDB Atlas reports for the associated data series. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `collectionName` | `string \| null` | No | Human-readable label that identifies the collection. |
| `databaseName` | `string \| null` | No | Human-readable label that identifies the database that the specified MongoDB process serves. |
| `end` | `string \| null` | No | 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. |
| `granularity` | `string \| null` | No | 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**. |
| `groupId` | `string \| null` | No | 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`. |
| `indexIds` | `(string \| null)[] \| null` | No | List that contains the Atlas Search index identifiers. |
| `indexStatsMeasurements` | `object[] \| null` | No | List that contains the Atlas Search index stats measurements. |
| `links` | `object[] \| null` | No | 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. |
| `processId` | `string \| null` | No | 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. |
| `start` | `string \| null` | No | 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. |

> [accordion] indexStatsMeasurements full type
>
> ```ts theme={null}
> {
>   dataPoints?: {
>     timestamp?: string | null,
>     value?: number | null
>   }[] | null,
>   name?: string | null,
>   units?: string | null
> }[] | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### listMeasurements

`monitoringAndLogs.listMeasurements`

Return Atlas Search Hardware and Status Metrics: returns the Atlas Search hardware and status data series within the provided time range for one process in the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.monitoringAndLogs.listMeasurements({
	processId: 'cluster0-shard-00-00.abcde.mongodb.net:27017',
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	granularity: 'PT1M',
	metrics: ['FTS_DISK_USAGE'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `processId` | `string` | Yes | 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. |
| `groupId` | `string` | Yes | 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. |
| `granularity` | `string` | Yes | Duration that specifies the interval at which Atlas reports the metrics. This parameter expresses its value in the ISO 8601 duration format in UTC. |
| `period` | `string` | No | 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**. |
| `start` | `string` | No | 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**. |
| `end` | `string` | No | 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**. |
| `metrics` | `(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)[]` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `end` | `string \| null` | No | 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. |
| `granularity` | `string \| null` | No | 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**. |
| `groupId` | `string \| null` | No | 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`. |
| `hardwareMeasurements` | `object[] \| null` | No | List that contains the Atlas Search hardware measurements. |
| `links` | `object[] \| null` | No | 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. |
| `processId` | `string \| null` | No | 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. |
| `start` | `string \| null` | No | 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. |
| `statusMeasurements` | `object[] \| null` | No | List that contains the Atlas Search status measurements. |

> [accordion] hardwareMeasurements full type
>
> ```ts theme={null}
> {
>   dataPoints?: {
>     timestamp?: string | null,
>     value?: number | null
>   }[] | null,
>   name?: string | null,
>   units?: string | null
> }[] | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] statusMeasurements full type
>
> ```ts theme={null}
> {
>   dataPoints?: {
>     timestamp?: string | null,
>     value?: number | null
>   }[] | null,
>   name?: string | null,
>   units?: string | null
> }[] | null
> ```

***

### listProcessDisks

`monitoringAndLogs.listProcessDisks`

Return Available Disks for One MongoDB Process: returns the list of disks or partitions for the specified host for the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.monitoringAndLogs.listProcessDisks({ groupId: '5f43e7f0a1b2c3d4e5f60718', processId: 'cluster0-shard-00-00.abcde.mongodb.net:27017' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `processId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   partitionName?: string | null
> }[] | null
> ```

***

## Network Peering

### createGroupContainer

`networkPeering.createGroupContainer`

Create One Network Peering Container: creates one new network peering container in the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.networkPeering.createGroupContainer({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `body` | `object` | Yes | Collection of settings that configures the network container for a virtual private connection on Amazon Web Services. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   providerName?: AWS | GCP | AZURE | TENANT | SERVERLESS
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the network peering container. |
| `providerName` | `string \| null` | No | Cloud service provider that serves the requested network peering containers. |
| `provisioned` | `boolean \| null` | No | Flag that indicates whether MongoDB Cloud clusters exist in the specified network peering container. |

***

### createGroupPeer

`networkPeering.createGroupPeer`

Create One Network Peering Connection: creates one new network peering connection in the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.networkPeering.createGroupPeer({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	body: { containerId: '5f43e7f0a1b2c3d4e5f60718' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `body` | `object` | Yes | — |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   containerId: string,
>   providerName?: AWS | AZURE | GCP
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `containerId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud network container that contains the specified network peering connection. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the network peering connection. |
| `providerName` | `string \| null` | No | Cloud service provider that serves the requested network peering connection. |

***

### deleteGroupContainer

`networkPeering.deleteGroupContainer`

Remove One Network Peering Container: removes one network peering container in the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.networkPeering.deleteGroupContainer({ groupId: '5f43e7f0a1b2c3d4e5f60718', containerId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `containerId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud network container that you want to remove. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteGroupPeer

`networkPeering.deleteGroupPeer`

Remove One Network Peering Connection: removes one network peering connection in the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.networkPeering.deleteGroupPeer({ groupId: '5f43e7f0a1b2c3d4e5f60718', peerId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `peerId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the network peering connection that you want to delete. |

**Output:** *empty object*

***

### getGroupContainer

`networkPeering.getGroupContainer`

Return One Network Peering Container: returns details about one network peering container in one specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.networkPeering.getGroupContainer({ groupId: '5f43e7f0a1b2c3d4e5f60718', containerId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `containerId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud network container. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the network peering container. |
| `providerName` | `string \| null` | No | Cloud service provider that serves the requested network peering containers. |
| `provisioned` | `boolean \| null` | No | Flag that indicates whether MongoDB Cloud clusters exist in the specified network peering container. |

***

### getGroupPeer

`networkPeering.getGroupPeer`

Return One Network Peering Connection in One Project: returns details about one specified network peering connection in the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.networkPeering.getGroupPeer({ groupId: '5f43e7f0a1b2c3d4e5f60718', peerId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `peerId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the network peering connection that you want to retrieve. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `containerId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud network container that contains the specified network peering connection. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the network peering connection. |
| `providerName` | `string \| null` | No | Cloud service provider that serves the requested network peering connection. |

***

### listGroupContainerAll

`networkPeering.listGroupContainerAll`

Return All Network Peering Containers in One Project: returns details about all network peering containers in the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.networkPeering.listGroupContainerAll({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   providerName?: string | null,
>   provisioned?: boolean | null
> }[] | null
> ```

***

### listGroupContainers

`networkPeering.listGroupContainers`

Return All Network Peering Containers in One Project for One Cloud Provider: returns details about all network peering containers in the specified project for the specified cloud provider (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.networkPeering.listGroupContainers({ groupId: '5f43e7f0a1b2c3d4e5f60718', providerName: 'AWS' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `providerName` | `AWS \| AZURE \| GCP` | Yes | Cloud service provider that serves the desired network peering containers. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   providerName?: string | null,
>   provisioned?: boolean | null
> }[] | null
> ```

***

### listGroupPeers

`networkPeering.listGroupPeers`

Return All Network Peering Connections in One Project: returns details about all network peering connections in the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.networkPeering.listGroupPeers({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `providerName` | `AWS \| AZURE \| GCP` | No | Cloud service provider to use for this VPC peering connection. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   containerId?: string | null,
>   id?: string | null,
>   providerName?: string | null
> }[] | null
> ```

***

### updateGroupContainer

`networkPeering.updateGroupContainer`

Update One Network Peering Container: updates the network details and labels of one specified network peering container in the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.networkPeering.updateGroupContainer({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	containerId: '5f43e7f0a1b2c3d4e5f60718',
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `containerId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud network container that you want to remove. |
| `body` | `object` | Yes | Collection of settings that configures the network container for a virtual private connection on Amazon Web Services. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   providerName?: AWS | GCP | AZURE | TENANT | SERVERLESS
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the network peering container. |
| `providerName` | `string \| null` | No | Cloud service provider that serves the requested network peering containers. |
| `provisioned` | `boolean \| null` | No | Flag that indicates whether MongoDB Cloud clusters exist in the specified network peering container. |

***

### updateGroupPeer

`networkPeering.updateGroupPeer`

Update One Network Peering Connection: updates one specified network peering connection in the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.networkPeering.updateGroupPeer({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	peerId: '5f43e7f0a1b2c3d4e5f60718',
	body: { containerId: '5f43e7f0a1b2c3d4e5f60718' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `peerId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the network peering connection that you want to update. |
| `body` | `object` | Yes | — |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   containerId: string,
>   providerName?: AWS | AZURE | GCP
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `containerId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud network container that contains the specified network peering connection. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the network peering connection. |
| `providerName` | `string \| null` | No | Cloud service provider that serves the requested network peering connection. |

***

## Online Archive

### createOnlineArchive

`onlineArchive.createOnlineArchive`

Create One Online Archive: creates one online archive

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.onlineArchive.createOnlineArchive({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	collName: 'example',
	criteria: {},
	dbName: 'example',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster that contains the collection for which you want to create one online archive. |
| `collName` | `string` | Yes | Human-readable label that identifies the collection for which you created the online archive. |
| `collectionType` | `TIMESERIES \| STANDARD` | No | 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"`. |
| `criteria` | `object` | Yes | 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"`. |
| `dataExpirationRule` | `object` | No | Rule for specifying when data should be deleted from the archive. |
| `dataProcessRegion` | `object` | No | Settings to configure the region where you wish to store your archived data. |
| `dbName` | `string` | Yes | Human-readable label of the database that contains the collection that contains the online archive. |
| `partitionFields` | `object[]` | No | 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.typ |
| `paused` | `boolean` | No | 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` | `object` | No | Regular frequency and duration when archiving process occurs. |

> [accordion] criteria full type
>
> ```ts theme={null}
> {
>   type?: DATE | CUSTOM
> }
> ```

> [accordion] dataExpirationRule full type
>
> ```ts theme={null}
> {
>   expireAfterDays?: number
> }
> ```

> [accordion] dataProcessRegion full type
>
> ```ts theme={null}
> {
>   cloudProvider?: AWS | AZURE | GCP
> }
> ```

> [accordion] partitionFields full type
>
> ```ts theme={null}
> {
>   fieldName: string,
>   order: number
> }[]
> ```

> [accordion] schedule full type
>
> ```ts theme={null}
> {
>   type: DEFAULT | DAILY | WEEKLY | MONTHLY
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the online archive. |
| `clusterName` | `string \| null` | No | Human-readable label that identifies the cluster that contains the collection for which you want to create an online archive. |
| `collName` | `string \| null` | No | Human-readable label that identifies the collection for which you created the online archive. |
| `collectionType` | `string \| null` | No | 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"`. |
| `criteria` | `object \| null` | No | 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"`. |
| `dataExpirationRule` | `object \| null` | No | Rule for specifying when data should be deleted from the archive. |
| `dataProcessRegion` | `object \| null` | No | Settings to configure the region where you wish to store your archived data. |
| `dataSetName` | `string \| null` | No | Human-readable label that identifies the dataset that Atlas generates for this online archive. |
| `dbName` | `string \| null` | No | Human-readable label of the database that contains the collection that contains the online archive. |
| `groupId` | `string \| null` | No | 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. |
| `partitionFields` | `object[] \| null` | No | 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.typ |
| `paused` | `boolean \| null` | No | 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` | `object \| null` | No | Regular frequency and duration when archiving process occurs. |
| `state` | `string \| null` | No | 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 |

> [accordion] criteria full type
>
> ```ts theme={null}
> {
>   type?: string | null
> } | null
> ```

> [accordion] dataExpirationRule full type
>
> ```ts theme={null}
> {
>   expireAfterDays?: number | null
> } | null
> ```

> [accordion] dataProcessRegion full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null
> } | null
> ```

> [accordion] partitionFields full type
>
> ```ts theme={null}
> {
>   fieldName?: string | null,
>   fieldType?: string | null,
>   order?: number | null
> }[] | null
> ```

> [accordion] schedule full type
>
> ```ts theme={null}
> {
>   type?: string | null
> } | null
> ```

***

### deleteOnlineArchive

`onlineArchive.deleteOnlineArchive`

Remove One Online Archive: removes one online archive

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.onlineArchive.deleteOnlineArchive({ groupId: '5f43e7f0a1b2c3d4e5f60718', archiveId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `archiveId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the online archive to delete. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster that contains the collection from which you want to remove an online archive. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### downloadQueryLogs

`onlineArchive.downloadQueryLogs`

Download Online Archive Query Logs: downloads query logs for the specified online archive (returned as a file)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.onlineArchive.downloadQueryLogs({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `startDate` | `number` | No | 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). |
| `endDate` | `number` | No | 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). |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster that contains the collection for which you want to return the query logs from one online archive. |
| `archiveOnly` | `boolean` | No | Flag that indicates whether to download logs for queries against your online archive only or both your online archive and cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `contentBase64` | `string` | No | The file, base64-encoded. Missing when the file came back as text or contentOmitted is set. |
| `text` | `string` | No | The file as text, in place of contentBase64, when it is a text file (CSV, JSON, Markdown, XML and the like) in UTF-8. |
| `contentType` | `string` | Yes | Media type of the file, for example application/pdf. |
| `byteLength` | `number` | Yes | Size of the file in bytes. |
| `filename` | `string` | No | The file name, when known. |
| `contentOmitted` | `not_requested \| over_limit` | No | Set when the content was left out: the caller did not ask for it, or the file was over the limit. |
| `fileId` | `string` | No | Where the host saved the file. Over the limit it comes in place of the content; a host that keeps every file sets it beside the content too. On Corsair it is a Files id (fil\_…): pass it to another app wherever that app takes a file URL, or read a text file or PDF with files.read\_text. |

***

### getOnlineArchive

`onlineArchive.getOnlineArchive`

Return One Online Archive: returns one online archive for one cluster

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.onlineArchive.getOnlineArchive({ groupId: '5f43e7f0a1b2c3d4e5f60718', archiveId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `archiveId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the online archive to return. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster that contains the specified collection from which Application created the online archive. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the online archive. |
| `clusterName` | `string \| null` | No | Human-readable label that identifies the cluster that contains the collection for which you want to create an online archive. |
| `collName` | `string \| null` | No | Human-readable label that identifies the collection for which you created the online archive. |
| `collectionType` | `string \| null` | No | 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"`. |
| `criteria` | `object \| null` | No | 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"`. |
| `dataExpirationRule` | `object \| null` | No | Rule for specifying when data should be deleted from the archive. |
| `dataProcessRegion` | `object \| null` | No | Settings to configure the region where you wish to store your archived data. |
| `dataSetName` | `string \| null` | No | Human-readable label that identifies the dataset that Atlas generates for this online archive. |
| `dbName` | `string \| null` | No | Human-readable label of the database that contains the collection that contains the online archive. |
| `groupId` | `string \| null` | No | 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. |
| `partitionFields` | `object[] \| null` | No | 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.typ |
| `paused` | `boolean \| null` | No | 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` | `object \| null` | No | Regular frequency and duration when archiving process occurs. |
| `state` | `string \| null` | No | 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 |

> [accordion] criteria full type
>
> ```ts theme={null}
> {
>   type?: string | null
> } | null
> ```

> [accordion] dataExpirationRule full type
>
> ```ts theme={null}
> {
>   expireAfterDays?: number | null
> } | null
> ```

> [accordion] dataProcessRegion full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null
> } | null
> ```

> [accordion] partitionFields full type
>
> ```ts theme={null}
> {
>   fieldName?: string | null,
>   fieldType?: string | null,
>   order?: number | null
> }[] | null
> ```

> [accordion] schedule full type
>
> ```ts theme={null}
> {
>   type?: string | null
> } | null
> ```

***

### listOnlineArchives

`onlineArchive.listOnlineArchives`

Return All Online Archives for One Cluster: returns details of all online archives (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.onlineArchive.listOnlineArchives({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster that contains the collection for which you want to return the online archives. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   _id?: string | null,
>   clusterName?: string | null,
>   collName?: string | null,
>   collectionType?: string | null,
>   criteria?: {
>     type?: string | null
>   } | null,
>   dataExpirationRule?: {
>     expireAfterDays?: number | null
>   } | null,
>   dataProcessRegion?: {
>     cloudProvider?: string | null
>   } | null,
>   dataSetName?: string | null,
>   dbName?: string | null,
>   groupId?: string | null,
>   partitionFields?: {
>     fieldName?: string | null,
>     fieldType?: string | null,
>     order?: number | null
>   }[] | null,
>   paused?: boolean | null,
>   schedule?: {
>     type?: string | null
>   } | null,
>   state?: string | null
> }[] | null
> ```

***

### updateOnlineArchive

`onlineArchive.updateOnlineArchive`

Update One Online Archive: updates, pauses, or resumes one online archive

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.onlineArchive.updateOnlineArchive({ groupId: '5f43e7f0a1b2c3d4e5f60718', archiveId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `archiveId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the online archive to update. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster that contains the specified collection from which Application created the online archive. |
| `criteria` | `object` | No | 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"`. |
| `dataExpirationRule` | `object` | No | Rule for specifying when data should be deleted from the archive. |
| `paused` | `boolean` | No | 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` | `object` | No | Regular frequency and duration when archiving process occurs. |

> [accordion] criteria full type
>
> ```ts theme={null}
> {
>   type?: DATE | CUSTOM
> }
> ```

> [accordion] dataExpirationRule full type
>
> ```ts theme={null}
> {
>   expireAfterDays?: number
> }
> ```

> [accordion] schedule full type
>
> ```ts theme={null}
> {
>   type: DEFAULT | DAILY | WEEKLY | MONTHLY
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the online archive. |
| `clusterName` | `string \| null` | No | Human-readable label that identifies the cluster that contains the collection for which you want to create an online archive. |
| `collName` | `string \| null` | No | Human-readable label that identifies the collection for which you created the online archive. |
| `collectionType` | `string \| null` | No | 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"`. |
| `criteria` | `object \| null` | No | 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"`. |
| `dataExpirationRule` | `object \| null` | No | Rule for specifying when data should be deleted from the archive. |
| `dataProcessRegion` | `object \| null` | No | Settings to configure the region where you wish to store your archived data. |
| `dataSetName` | `string \| null` | No | Human-readable label that identifies the dataset that Atlas generates for this online archive. |
| `dbName` | `string \| null` | No | Human-readable label of the database that contains the collection that contains the online archive. |
| `groupId` | `string \| null` | No | 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. |
| `partitionFields` | `object[] \| null` | No | 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.typ |
| `paused` | `boolean \| null` | No | 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` | `object \| null` | No | Regular frequency and duration when archiving process occurs. |
| `state` | `string \| null` | No | 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 |

> [accordion] criteria full type
>
> ```ts theme={null}
> {
>   type?: string | null
> } | null
> ```

> [accordion] dataExpirationRule full type
>
> ```ts theme={null}
> {
>   expireAfterDays?: number | null
> } | null
> ```

> [accordion] dataProcessRegion full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null
> } | null
> ```

> [accordion] partitionFields full type
>
> ```ts theme={null}
> {
>   fieldName?: string | null,
>   fieldType?: string | null,
>   order?: number | null
> }[] | null
> ```

> [accordion] schedule full type
>
> ```ts theme={null}
> {
>   type?: string | null
> } | null
> ```

***

## Organizations

### createOrg

`organizations.createOrg`

Create One Organization: creates one organization in MongoDB Cloud and links it to the requesting Service Account's or API Key's organization

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.organizations.createOrg({ name: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `apiKey` | `object` | No | 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. |
| `federationSettingsId` | `string` | No | 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. |
| `name` | `string` | Yes | Human-readable label that identifies the organization. |
| `orgOwnerId` | `string` | No | 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. |
| `serviceAccount` | `object` | No | 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. |
| `skipDefaultAlertsSettings` | `boolean` | No | Disables automatic alert creation. When set to true, no organization level alerts will be created automatically. |

> [accordion] apiKey full type
>
> ```ts theme={null}
> {
>   desc: string,
>   roles: (ORG_OWNER | ORG_MEMBER | ORG_GROUP_CREATOR | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_STREAM_PROCESSING_ADMIN | ORG_READ_ONLY | null)[]
> }
> ```

> [accordion] serviceAccount full type
>
> ```ts theme={null}
> {
>   description: string,
>   name: string,
>   roles: (ORG_MEMBER | ORG_READ_ONLY | ORG_BILLING_ADMIN | ORG_BILLING_READ_ONLY | ORG_STREAM_PROCESSING_ADMIN | ORG_GROUP_CREATOR | ORG_OWNER)[],
>   secretExpiresAfterHours?: number | null,
>   withoutInitialSecret?: boolean
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `apiKey` | `object \| null` | No | Details of the Programmatic API Keys. |
| `federationSettingsId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the federation that you linked the newly created organization to. |
| `orgOwnerId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user that you assigned the Organization Owner role in the new organization. |
| `organization` | `object \| null` | No | Details that describe the organization. |
| `serviceAccount` | `object \| null` | No | Organization Service Account that Atlas created for the organization. |
| `skipDefaultAlertsSettings` | `boolean \| null` | No | Disables automatic alert creation. When set to true, no organization level alerts will be created automatically. |

> [accordion] apiKey full type
>
> ```ts theme={null}
> {
>   desc?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   privateKey?: string | null,
>   publicKey?: string | null,
>   roles?: {
>     groupId?: string | null,
>     orgId?: string | null,
>     roleName?: string | null
>   }[] | null
> } | null
> ```

> [accordion] organization full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   isDeleted?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   name?: string | null,
>   skipDefaultAlertsSettings?: boolean | null
> } | null
> ```

> [accordion] serviceAccount full type
>
> ```ts theme={null}
> {
>   clientId?: string | null,
>   createdAt?: string | null,
>   description?: string | null,
>   name?: string | null,
>   roles?: string[] | null,
>   secrets?: {
>     createdAt?: string | null,
>     expiresAt?: string | null,
>     id?: string | null,
>     lastUsedAt?: string | null | null,
>     maskedSecretValue?: string | null,
>     secret?: string | null
>   }[] | null,
>   systemManaged?: boolean | null
> } | null
> ```

***

### deleteOrg

`organizations.deleteOrg`

Remove One Organization: removes one specified organization

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.organizations.deleteOrg({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getOrg

`organizations.getOrg`

Return One Organization: returns one organization to which the requesting Service Account or API Key has access

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.organizations.getOrg({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the organization. |
| `isDeleted` | `boolean \| null` | No | Flag that indicates whether this organization has been deleted. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable label that identifies the organization. |
| `skipDefaultAlertsSettings` | `boolean \| null` | No | Disables automatic alert creation. When set to true, no organization level alerts will be created automatically. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getOrgDelegationSettings

`organizations.getOrgDelegationSettings`

Return Delegation Settings for One Organization: returns the delegation settings for the specified organization

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.organizations.getOrgDelegationSettings({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `delegatedMcpAccess` | `string \| null \| null` | No | Policy that controls how MCP (Model Context Protocol) delegated access is permitted within this organization. Possible values are `DISALLOWED`, `READ_ONLY`, and `READ_WRITE`. Defaults to `DISALLOWED`. |
| `delegatedPartnerAccess` | `string \| null \| null` | No | Policy that controls whether partner delegated access is permitted within this organization. Possible values are `DISALLOWED` and `READ_WRITE`. Defaults to `DISALLOWED`. |
| `idleRefreshTokenLifetime` | `number \| null \| null` | No | Maximum number of seconds a refresh token may be idle before it expires. When not set, the system default applies. |
| `maximumRefreshTokenLifetime` | `number \| null \| null` | No | Maximum lifetime of a refresh token in seconds, regardless of activity. When not set, the system default applies. |

***

### getOrgGroups

`organizations.getOrgGroups`

Return All Projects in One Organization: returns multiple projects in the specified organization (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.organizations.getOrgGroups({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `orgId` | `string` | Yes | 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. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `name` | `string` | No | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   clusterCount?: number | null,
>   created?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   name?: string | null,
>   orgId?: string | null,
>   regionUsageRestrictions?: string | null,
>   tags?: {
>     key?: string | null,
>     value?: string | null
>   }[] | null,
>   withDefaultAlertsSettings?: boolean | null
> }[] | null
> ```

***

### getOrgMaintenanceSettings

`organizations.getOrgMaintenanceSettings`

Return Maintenance Settings for One Organization: returns maintenance settings for the specified organization

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.organizations.getOrgMaintenanceSettings({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `effectiveWaveAssignmentMode` | `string \| null` | No | Wave assignment mode that Atlas uses when scheduling maintenance for projects in this organization. This read-only field takes precedence over `waveAssignmentMode` for scheduling. It matches `waveAssignmentMode` except when cross-organization maintenance sequencing is enabled and this organization is a linked non-paying organization, in which case it reflects the paying organization's `waveAssignmentMode`. Possible values are `MANUAL` and `ENV_TAG_MAPPING`. Defaults to `MANUAL` when no mode is c |
| `waveAssignmentMode` | `string \| null \| null` | No | Mode explicitly configured for this organization that determines how maintenance waves are assigned to projects. Possible values are `MANUAL` and `ENV_TAG_MAPPING`. Omitted from the response when no explicit preference has been set; in that case `effectiveWaveAssignmentMode` reflects the value the system uses (`MANUAL` by default). Atlas uses read-only `effectiveWaveAssignmentMode` (not this field) for scheduling. In a cross-organization billing hierarchy, a linked non-paying organization cannot |

***

### getOrgSettings

`organizations.getOrgSettings`

Return Settings for One Organization: returns details about the specified organization's settings

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.organizations.getOrgSettings({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `apiAccessListRequired` | `boolean \| null` | No | 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` | `object \| null` | No | 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. |
| `genAIFeaturesEnabled` | `boolean \| null` | No | 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. |
| `maxServiceAccountSecretValidityInHours` | `number \| null` | No | Number that represents the maximum period before expiry in hours for new Atlas Admin API Service Account secrets within the specified organization. |
| `multiFactorAuthRequired` | `boolean \| null` | No | 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/](https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/). |
| `operationsContact` | `string \| null \| null` | No | String that specifies a distribution list email address for the specified organization to receive proactive notifications about its infrastructure. The operations contact is used for notifications only and is not authorized to make decisions or approvals. Passing an explicit null clears the existing operations contact (if any). An empty string is invalid and is rejected with a validation error. Addresses are trimmed and converted to lowercase before validation; each normalized address must conta |
| `restrictEmployeeAccess` | `boolean \| null` | No | 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/](https://www.mongodb.com/docs/atlas/security-restrict-support-access/). |
| `securityContact` | `string \| null` | No | 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). Addresses are trimmed and converted to lowercase before validation; each normalized address must contain at most 254 characters. |
| `streamsCrossGroupEnabled` | `boolean \| null` | No | 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. |

> [accordion] customSessionTimeouts full type
>
> ```ts theme={null}
> {
>   absoluteSessionTimeoutInSeconds?: number | null,
>   idleSessionTimeoutInSeconds?: number | null
> } | null
> ```

***

### listOrgs

`organizations.listOrgs`

Return All Organizations: returns all organizations to which the requesting Service Account or API Key has access (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.organizations.listOrgs({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `name` | `string` | No | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   isDeleted?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   name?: string | null,
>   skipDefaultAlertsSettings?: boolean | null
> }[] | null
> ```

***

### resetOrgMaintenanceSettings

`organizations.resetOrgMaintenanceSettings`

Reset Maintenance Settings for One Organization: resets maintenance settings for the specified organization to their default values

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.organizations.resetOrgMaintenanceSettings({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `effectiveWaveAssignmentMode` | `string \| null` | No | Wave assignment mode that Atlas uses when scheduling maintenance for projects in this organization. This read-only field takes precedence over `waveAssignmentMode` for scheduling. It matches `waveAssignmentMode` except when cross-organization maintenance sequencing is enabled and this organization is a linked non-paying organization, in which case it reflects the paying organization's `waveAssignmentMode`. Possible values are `MANUAL` and `ENV_TAG_MAPPING`. Defaults to `MANUAL` when no mode is c |
| `waveAssignmentMode` | `string \| null \| null` | No | Mode explicitly configured for this organization that determines how maintenance waves are assigned to projects. Possible values are `MANUAL` and `ENV_TAG_MAPPING`. Omitted from the response when no explicit preference has been set; in that case `effectiveWaveAssignmentMode` reflects the value the system uses (`MANUAL` by default). Atlas uses read-only `effectiveWaveAssignmentMode` (not this field) for scheduling. In a cross-organization billing hierarchy, a linked non-paying organization cannot |

***

### updateOrg

`organizations.updateOrg`

Update One Organization: updates one organization

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.organizations.updateOrg({ orgId: '5f43e7f0a1b2c3d4e5f60718', name: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `name` | `string` | Yes | Human-readable label that identifies the organization. |
| `skipDefaultAlertsSettings` | `boolean` | No | Disables automatic alert creation. When set to true, no organization level alerts will be created automatically. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the organization. |
| `isDeleted` | `boolean \| null` | No | Flag that indicates whether this organization has been deleted. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable label that identifies the organization. |
| `skipDefaultAlertsSettings` | `boolean \| null` | No | Disables automatic alert creation. When set to true, no organization level alerts will be created automatically. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### updateOrgDelegationSettings

`organizations.updateOrgDelegationSettings`

Update Delegation Settings for One Organization: updates the delegation settings for the specified organization

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.organizations.updateOrgDelegationSettings({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `delegatedMcpAccess` | `DISALLOWED \| READ_ONLY \| READ_WRITE \| null` | No | Policy that controls how MCP (Model Context Protocol) delegated access is permitted within this organization. Possible values are `DISALLOWED`, `READ_ONLY`, and `READ_WRITE`. Defaults to `DISALLOWED`. |
| `delegatedPartnerAccess` | `DISALLOWED \| READ_WRITE \| null` | No | Policy that controls whether partner delegated access is permitted within this organization. Possible values are `DISALLOWED` and `READ_WRITE`. Defaults to `DISALLOWED`. |
| `idleRefreshTokenLifetime` | `number \| null` | No | Maximum number of seconds a refresh token may be idle before it expires. Omit to leave unchanged; set to null to reset to the system default. Must be between 1 and 31536000 (1 year) when provided. |
| `maximumRefreshTokenLifetime` | `number \| null` | No | Maximum lifetime of a refresh token in seconds, regardless of activity. Omit to leave unchanged; set to null to reset to the system default. Must be between 1 and 31536000 (1 year) when provided. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `delegatedMcpAccess` | `string \| null \| null` | No | Policy that controls how MCP (Model Context Protocol) delegated access is permitted within this organization. Possible values are `DISALLOWED`, `READ_ONLY`, and `READ_WRITE`. Defaults to `DISALLOWED`. |
| `delegatedPartnerAccess` | `string \| null \| null` | No | Policy that controls whether partner delegated access is permitted within this organization. Possible values are `DISALLOWED` and `READ_WRITE`. Defaults to `DISALLOWED`. |
| `idleRefreshTokenLifetime` | `number \| null \| null` | No | Maximum number of seconds a refresh token may be idle before it expires. When not set, the system default applies. |
| `maximumRefreshTokenLifetime` | `number \| null \| null` | No | Maximum lifetime of a refresh token in seconds, regardless of activity. When not set, the system default applies. |

***

### updateOrgMaintenanceSettings

`organizations.updateOrgMaintenanceSettings`

Update Maintenance Settings for One Organization: updates maintenance settings for the specified organization

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.organizations.updateOrgMaintenanceSettings({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `waveAssignmentMode` | `MANUAL \| ENV_TAG_MAPPING` | No | Mode configured for this organization that determines how maintenance waves are assigned to projects. Possible values are `MANUAL` and `ENV_TAG_MAPPING`. Defaults to `MANUAL` when unset. Set the organization to `ENV_TAG_MAPPING` mode to have Atlas derive the maintenance wave from each project's environment tag. The tag key must be `environment`. The tag value determines the wave: `development` or `test` maps to Wave 1, `staging` maps to Wave 2, and `production` maps to Wave 3. Only this field ca |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `effectiveWaveAssignmentMode` | `string \| null` | No | Wave assignment mode that Atlas uses when scheduling maintenance for projects in this organization. This read-only field takes precedence over `waveAssignmentMode` for scheduling. It matches `waveAssignmentMode` except when cross-organization maintenance sequencing is enabled and this organization is a linked non-paying organization, in which case it reflects the paying organization's `waveAssignmentMode`. Possible values are `MANUAL` and `ENV_TAG_MAPPING`. Defaults to `MANUAL` when no mode is c |
| `waveAssignmentMode` | `string \| null \| null` | No | Mode explicitly configured for this organization that determines how maintenance waves are assigned to projects. Possible values are `MANUAL` and `ENV_TAG_MAPPING`. Omitted from the response when no explicit preference has been set; in that case `effectiveWaveAssignmentMode` reflects the value the system uses (`MANUAL` by default). Atlas uses read-only `effectiveWaveAssignmentMode` (not this field) for scheduling. In a cross-organization billing hierarchy, a linked non-paying organization cannot |

***

### updateOrgSettings

`organizations.updateOrgSettings`

Update Settings for One Organization: updates the organization's settings

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.organizations.updateOrgSettings({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `apiAccessListRequired` | `boolean` | No | 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` | `object` | No | 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. |
| `genAIFeaturesEnabled` | `boolean` | No | 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. |
| `maxServiceAccountSecretValidityInHours` | `number` | No | Number that represents the maximum period before expiry in hours for new Atlas Admin API Service Account secrets within the specified organization. |
| `multiFactorAuthRequired` | `boolean` | No | 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/](https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/). |
| `operationsContact` | `string \| null` | No | String that specifies a distribution list email address for the specified organization to receive proactive notifications about its infrastructure. The operations contact is used for notifications only and is not authorized to make decisions or approvals. Passing an explicit null clears the existing operations contact (if any). An empty string is invalid and is rejected with a validation error. Addresses are trimmed and converted to lowercase before validation; each normalized address must conta |
| `restrictEmployeeAccess` | `boolean` | No | 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/](https://www.mongodb.com/docs/atlas/security-restrict-support-access/). |
| `securityContact` | `string` | No | 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). Addresses are trimmed and converted to lowercase before validation; each normalized address must contain at most 254 characters. |
| `streamsCrossGroupEnabled` | `boolean` | No | 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. |

> [accordion] customSessionTimeouts full type
>
> ```ts theme={null}
> {
>   absoluteSessionTimeoutInSeconds?: number,
>   idleSessionTimeoutInSeconds?: number
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `apiAccessListRequired` | `boolean \| null` | No | 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` | `object \| null` | No | 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. |
| `genAIFeaturesEnabled` | `boolean \| null` | No | 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. |
| `maxServiceAccountSecretValidityInHours` | `number \| null` | No | Number that represents the maximum period before expiry in hours for new Atlas Admin API Service Account secrets within the specified organization. |
| `multiFactorAuthRequired` | `boolean \| null` | No | 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/](https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/). |
| `operationsContact` | `string \| null \| null` | No | String that specifies a distribution list email address for the specified organization to receive proactive notifications about its infrastructure. The operations contact is used for notifications only and is not authorized to make decisions or approvals. Passing an explicit null clears the existing operations contact (if any). An empty string is invalid and is rejected with a validation error. Addresses are trimmed and converted to lowercase before validation; each normalized address must conta |
| `restrictEmployeeAccess` | `boolean \| null` | No | 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/](https://www.mongodb.com/docs/atlas/security-restrict-support-access/). |
| `securityContact` | `string \| null` | No | 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). Addresses are trimmed and converted to lowercase before validation; each normalized address must contain at most 254 characters. |
| `streamsCrossGroupEnabled` | `boolean \| null` | No | 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. |

> [accordion] customSessionTimeouts full type
>
> ```ts theme={null}
> {
>   absoluteSessionTimeoutInSeconds?: number | null,
>   idleSessionTimeoutInSeconds?: number | null
> } | null
> ```

***

## Overload Protection Simulation

### createClusterOverloadSimulation

`overloadProtectionSimulation.createClusterOverloadSimulation`

Create One Overload Protection Simulation: starts an overload protection simulation for one cluster

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.overloadProtectionSimulation.createClusterOverloadSimulation({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', durationSeconds: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster on which to start the overload protection simulation. |
| `durationSeconds` | `number` | Yes | Duration of the overload protection simulation in seconds. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cancelRequestedAt` | `string \| null` | No | Date and time when cancellation of the overload protection simulation was requested. This parameter is only present when a cancellation has been requested and expresses its value in the ISO 8601 timestamp format in UTC. |
| `clusterName` | `string \| null` | No | Human-readable label that identifies the cluster on which the simulation is running. |
| `durationSeconds` | `number \| null` | No | Duration of the overload protection simulation in seconds. |
| `expiresAt` | `string \| null` | No | Date and time when the overload protection simulation expires. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project that contains the cluster. |
| `requestDate` | `string \| null` | No | Date and time when the overload protection simulation was requested. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `simulationId` | `string \| null` | No | Unique identifier of the overload protection simulation. |
| `state` | `string \| null` | No | Current state of the overload protection simulation. |

***

### deleteClusterOverloadSimulation

`overloadProtectionSimulation.deleteClusterOverloadSimulation`

Delete One Overload Protection Simulation: deletes the overload protection simulation for one cluster

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.overloadProtectionSimulation.deleteClusterOverloadSimulation({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', simulationId: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster on which the overload protection simulation is running. |
| `simulationId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the overload protection simulation. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getClusterOverloadSimulation

`overloadProtectionSimulation.getClusterOverloadSimulation`

Return One Overload Protection Simulation: returns the overload protection simulation for one cluster

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.overloadProtectionSimulation.getClusterOverloadSimulation({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', simulationId: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster on which the overload protection simulation is running. |
| `simulationId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the overload protection simulation. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cancelRequestedAt` | `string \| null` | No | Date and time when cancellation of the overload protection simulation was requested. This parameter is only present when a cancellation has been requested and expresses its value in the ISO 8601 timestamp format in UTC. |
| `clusterName` | `string \| null` | No | Human-readable label that identifies the cluster on which the simulation is running. |
| `durationSeconds` | `number \| null` | No | Duration of the overload protection simulation in seconds. |
| `expiresAt` | `string \| null` | No | Date and time when the overload protection simulation expires. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project that contains the cluster. |
| `requestDate` | `string \| null` | No | Date and time when the overload protection simulation was requested. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `simulationId` | `string \| null` | No | Unique identifier of the overload protection simulation. |
| `state` | `string \| null` | No | Current state of the overload protection simulation. |

***

### listClusterOverloadSimulations

`overloadProtectionSimulation.listClusterOverloadSimulations`

Return All Overload Protection Simulations: returns all overload protection simulations for one cluster (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.overloadProtectionSimulation.listClusterOverloadSimulations({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster on which the overload protection simulations are running. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   cancelRequestedAt?: string | null,
>   clusterName?: string | null,
>   durationSeconds?: number | null,
>   expiresAt?: string | null,
>   groupId?: string | null,
>   requestDate?: string | null,
>   simulationId?: string | null,
>   state?: string | null
> }[] | null
> ```

***

## Performance Advisor

### disableManagedSlowMs

`performanceAdvisor.disableManagedSlowMs`

Disable Managed Slow Operation Threshold: disables the slow operation threshold that MongoDB Cloud calculated for the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.performanceAdvisor.disableManagedSlowMs({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### enableManagedSlowMs

`performanceAdvisor.enableManagedSlowMs`

Enable Managed Slow Operation Threshold: enables MongoDB Cloud to use its slow operation threshold for the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.performanceAdvisor.enableManagedSlowMs({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getManagedSlowMs

`performanceAdvisor.getManagedSlowMs`

Return Managed Slow Operation Threshold Status: get whether the Managed Slow MS feature is enabled

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.performanceAdvisor.getManagedSlowMs({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output:** `boolean`

***

### listClusterSuggestedIndexes

`performanceAdvisor.listClusterSuggestedIndexes`

Return All Suggested Indexes: returns the indexes that the Performance Advisor suggests

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.performanceAdvisor.listClusterSuggestedIndexes({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `processIds` | `string[]` | No | Process IDs from which to retrieve suggested indexes. A `processId` is a 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. To include multiple `processIds`, pass the parameter multiple times delimited with an ampersand (`&`) between each `processId`. |
| `namespaces` | `string[]` | No | 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. |
| `since` | `number` | No | 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 **until** parameter, the endpoint returns data covering from the **since** value and the current time. - If you specify neither the **since** nor the **until** parameters, the endpoint returns data from the previous 24 hours. |
| `until` | `number` | No | Date and time up until 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 specify the **until** parameter, you must specify the **since** parameter. - If you specify neither the **since** nor the **until** parameters, the endpoint returns data from the previous 24 hours. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `content` | `object \| null` | No | Response that contains Performance Advisor suggested indexes and query shapes. |
| `links` | `object[] \| null` | No | 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. |
| `locations` | `string[] \| null` | No | URLs of resources created by this request. |
| `status` | `number \| null` | No | HTTP status code returned with this response. |

> [accordion] content full type
>
> ```ts theme={null}
> {
>   message?: string | null,
>   scale?: {
>     docsUrl?: string | null | null,
>     minimumTier?: string | null,
>     scaleUrl?: string | null
>   } | null,
>   shapes?: {
>     avgMs?: number | null,
>     count?: number | null,
>     id?: string | null,
>     inefficiencyScore?: number | null,
>     namespace?: string | null,
>     operations?: {
>       predicates?: {
>       }[] | null,
>       raw?: string | null | null,
>       stats?: {
>         ms?: number | null,
>         nReturned?: number | null,
>         nScanned?: number | null,
>         ts?: number | null
>       } | null
>     }[] | null
>   }[] | null,
>   suggestedIndexes?: {
>     avgObjSize?: number | null,
>     collation?: {
>     } | null,
>     id?: string | null,
>     impact?: string[] | null,
>     index?: Record<string, number>[] | null,
>     namespace?: string | null,
>     weight?: number | null
>   }[] | null
> } | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### listDropIndexSuggestions

`performanceAdvisor.listDropIndexSuggestions`

Return All Suggested Indexes to Drop: returns the indexes that the Performance Advisor suggests to drop

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.performanceAdvisor.listDropIndexSuggestions({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `content` | `object \| null` | No | Response that contains Performance Advisor drop index suggestions. |
| `links` | `object[] \| null` | No | 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. |
| `locations` | `string[] \| null` | No | URLs of resources created by this request. |
| `status` | `number \| null` | No | HTTP status code returned with this response. |

> [accordion] content full type
>
> ```ts theme={null}
> {
>   hiddenIndexes?: {
>     accessCount?: number | null,
>     collation?: {
>     } | null,
>     index?: {
>     }[] | null,
>     name?: string | null,
>     namespace?: string | null,
>     shards?: string[] | null,
>     since?: string | null,
>     sizeBytes?: number | null
>   }[] | null,
>   message?: string | null,
>   redundantIndexes?: {
>     accessCount?: number | null,
>     collation?: {
>     } | null,
>     index?: {
>     }[] | null,
>     name?: string | null,
>     namespace?: string | null,
>     shards?: string[] | null,
>     since?: string | null,
>     sizeBytes?: number | null
>   }[] | null,
>   scale?: {
>     docsUrl?: string | null | null,
>     minimumTier?: string | null,
>     scaleUrl?: string | null
>   } | null,
>   unusedIndexes?: {
>     accessCount?: number | null,
>     collation?: {
>     } | null,
>     index?: {
>     }[] | null,
>     name?: string | null,
>     namespace?: string | null,
>     shards?: string[] | null,
>     since?: string | null,
>     sizeBytes?: number | null
>   }[] | null
> } | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### listPerformanceAdvisorNamespaces

`performanceAdvisor.listPerformanceAdvisorNamespaces`

Return All Namespaces for One Host: returns up to 20 namespaces for collections experiencing slow queries on the specified host

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.performanceAdvisor.listPerformanceAdvisorNamespaces({ groupId: '5f43e7f0a1b2c3d4e5f60718', processId: 'cluster0-shard-00-00.abcde.mongodb.net:27017' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `duration` | `number` | No | 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. |
| `processId` | `string` | Yes | 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. |
| `since` | `number` | No | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `namespaces` | `object[] \| null` | No | List that contains each combination of database, collection, and type on the specified host. |

> [accordion] namespaces full type
>
> ```ts theme={null}
> {
>   namespace?: string | null,
>   type?: string | null
> }[] | null
> ```

***

### listSchemaAdvice

`performanceAdvisor.listSchemaAdvice`

Return Schema Advice: returns the schema suggestions that the Performance Advisor detects

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.performanceAdvisor.listSchemaAdvice({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `content` | `object \| null` | No | Response that contains Performance Advisor schema suggestions. |
| `links` | `object[] \| null` | No | 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. |
| `locations` | `string[] \| null` | No | URLs of resources created by this request. |
| `status` | `number \| null` | No | HTTP status code returned with this response. |

> [accordion] content full type
>
> ```ts theme={null}
> {
>   message?: string | null,
>   recommendations?: {
>     affectedNamespaces?: {
>       namespace?: string | null | null,
>       triggers?: {
>         description?: string | null,
>         triggerType?: string | null
>       }[] | null
>     }[] | null,
>     description?: string | null,
>     recommendation?: string | null
>   }[] | null,
>   scale?: {
>     docsUrl?: string | null | null,
>     minimumTier?: string | null,
>     scaleUrl?: string | null
>   } | null
> } | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### listSlowQueryLogs

`performanceAdvisor.listSlowQueryLogs`

Return Slow Queries: returns log lines for slow queries that the Performance Advisor and Query Profiler identified

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.performanceAdvisor.listSlowQueryLogs({ groupId: '5f43e7f0a1b2c3d4e5f60718', processId: 'cluster0-shard-00-00.abcde.mongodb.net:27017' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `duration` | `number` | No | 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. |
| `namespaces` | `string[]` | No | 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. |
| `nLogs` | `number` | No | Maximum number of lines from the log to return. |
| `processId` | `string` | Yes | 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. |
| `since` | `number` | No | 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. |
| `includeMetrics` | `boolean` | No | Whether or not to include metrics extracted from the slow query log as separate fields. |
| `includeReplicaState` | `boolean` | No | Whether or not to include the replica state of the host when the slow query log was generated as a separate field. |
| `includeOpType` | `boolean` | No | Whether or not to include the operation type (read/write/command) extracted from the slow query log as a separate field. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `slowQueries` | `object[] \| null` | No | List of operations that the Performance Advisor detected that took longer to execute than a specified threshold. |

> [accordion] slowQueries full type
>
> ```ts theme={null}
> {
>   line?: string | null,
>   metrics?: {
>     docsExamined?: number | null,
>     docsExaminedReturnedRatio?: number | null,
>     docsReturned?: number | null,
>     fromUserConnection?: boolean | null,
>     hasAutoEmbedding?: boolean | null,
>     hasIndexCoverage?: boolean | null,
>     hasRerank?: boolean | null,
>     hasSort?: boolean | null,
>     keysExamined?: number | null,
>     keysExaminedReturnedRatio?: number | null,
>     numYields?: number | null,
>     operationExecutionTime?: number | null,
>     responseLength?: number | null,
>     tokensUsed?: number | null
>   } | null,
>   namespace?: string | null,
>   opType?: string | null,
>   replicaState?: string | null
> }[] | null
> ```

***

### listSuggestedIndexes

`performanceAdvisor.listSuggestedIndexes`

Return All Suggested Indexes: returns the indexes that the Performance Advisor suggests (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.performanceAdvisor.listSuggestedIndexes({ groupId: '5f43e7f0a1b2c3d4e5f60718', processId: 'cluster0-shard-00-00.abcde.mongodb.net:27017' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `duration` | `number` | No | 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. |
| `namespaces` | `string[]` | No | 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. |
| `nExamples` | `number` | No | Maximum number of example queries that benefit from the suggested index. |
| `nIndexes` | `number` | No | Number that indicates the maximum indexes to suggest. |
| `processId` | `string` | Yes | 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. |
| `since` | `number` | No | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `message` | `string \| null` | No | Explanation of Performance Advisor availability limitations on the current tier. |
| `scale` | `object \| null` | No | Information on scaling the cluster to a tier that supports the requested feature. Present only when the feature is unavailable on the cluster's current tier. |
| `shapes` | `object[] \| null` | No | List of query predicates, sorts, and projections that the Performance Advisor suggests. |
| `suggestedIndexes` | `object[] \| null` | No | List that contains the documents with information about the indexes that the Performance Advisor suggests. |

> [accordion] scale full type
>
> ```ts theme={null}
> {
>   docsUrl?: string | null | null,
>   minimumTier?: string | null,
>   scaleUrl?: string | null
> } | null
> ```

> [accordion] shapes full type
>
> ```ts theme={null}
> {
>   avgMs?: number | null,
>   count?: number | null,
>   id?: string | null,
>   inefficiencyScore?: number | null,
>   namespace?: string | null,
>   operations?: {
>     predicates?: {
>     }[] | null,
>     raw?: string | null | null,
>     stats?: {
>       ms?: number | null,
>       nReturned?: number | null,
>       nScanned?: number | null,
>       ts?: number | null
>     } | null
>   }[] | null
> }[] | null
> ```

> [accordion] suggestedIndexes full type
>
> ```ts theme={null}
> {
>   avgObjSize?: number | null,
>   collation?: {
>   } | null,
>   id?: string | null,
>   impact?: string[] | null,
>   index?: Record<string, number>[] | null,
>   namespace?: string | null,
>   weight?: number | null
> }[] | null
> ```

***

## Private Endpoint Services

### createPrivateEndpoint

`privateEndpointServices.createPrivateEndpoint`

Create One Private Endpoint for One Provider: creates one private endpoint for the specified cloud service provider

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.privateEndpointServices.createPrivateEndpoint({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	cloudProvider: 'AWS',
	endpointServiceId: '5f43e7f0a1b2c3d4e5f60718',
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `cloudProvider` | `AWS \| AZURE \| GCP` | Yes | Cloud service provider that manages this private endpoint. |
| `endpointServiceId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the private endpoint service for which you want to create a private endpoint. |
| `body` | `object` | Yes | — |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   cloudProvider?: AWS | AZURE | GCP
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cloudProvider` | `string \| null` | No | Cloud service provider that serves the requested endpoint. |
| `deleteRequested` | `boolean \| null` | No | Flag that indicates whether MongoDB Cloud received a request to remove the specified private endpoint from the private endpoint service. |
| `errorMessage` | `string \| null` | No | Error message returned when requesting private connection resource. The resource returns `null` if the request succeeded. |
| `regionName` | `string \| null` | No | Region name of the private endpoint. |

***

### createPrivateEndpointService

`privateEndpointServices.createPrivateEndpointService`

Create One Private Endpoint Service for One Provider: creates one private endpoint service for the specified cloud service provider

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.privateEndpointServices.createPrivateEndpointService({ groupId: '5f43e7f0a1b2c3d4e5f60718', providerName: 'AWS', region: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `portMappingEnabled` | `boolean` | No | Flag that indicates whether this endpoint service uses PSC port-mapping. This is only applicable for GCP Private Endpoint Services. |
| `providerName` | `AWS \| AZURE \| GCP` | Yes | Human-readable label that identifies the cloud service provider for which you want to create the private endpoint service. |
| `region` | `string` | Yes | 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/). |
| `supportedRemoteRegions` | `string[] \| null` | No | List of regions that the endpoint service supports. Native cross region support is implemented for AWS only. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cloudProvider` | `string \| null` | No | Cloud service provider that serves the requested endpoint service. |
| `errorMessage` | `string \| null` | No | Error message returned when requesting private connection resource. The resource returns `null` if the request succeeded. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the Private Endpoint Service. |
| `regionName` | `string \| null` | No | Cloud provider region that manages this Private Endpoint Service. |
| `status` | `string \| null` | No | State of the Private Endpoint Service connection when MongoDB Cloud received this request. |

***

### deletePrivateEndpoint

`privateEndpointServices.deletePrivateEndpoint`

Remove One Private Endpoint for One Provider: removes one private endpoint from the specified project and private endpoint service, as managed by the specified cloud service provider

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.privateEndpointServices.deletePrivateEndpoint({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	cloudProvider: 'AWS',
	endpointId: 'vpce-0123456789abcdef0',
	endpointServiceId: '5f43e7f0a1b2c3d4e5f60718',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `cloudProvider` | `AWS \| AZURE \| GCP` | Yes | Cloud service provider that manages this private endpoint. |
| `endpointId` | `string` | Yes | 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. |
| `endpointServiceId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the private endpoint service from which you want to delete a private endpoint. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deletePrivateEndpointService

`privateEndpointServices.deletePrivateEndpointService`

Remove One Private Endpoint Service for One Provider: removes one private endpoint service from the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.privateEndpointServices.deletePrivateEndpointService({ groupId: '5f43e7f0a1b2c3d4e5f60718', cloudProvider: 'AWS', endpointServiceId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `cloudProvider` | `AWS \| AZURE \| GCP` | Yes | Cloud service provider that manages this private endpoint service. |
| `endpointServiceId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the private endpoint service that you want to delete. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getPrivateEndpoint

`privateEndpointServices.getPrivateEndpoint`

Return One Private Endpoint for One Provider: returns the connection state of the specified private endpoint

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.privateEndpointServices.getPrivateEndpoint({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	cloudProvider: 'AWS',
	endpointId: 'vpce-0123456789abcdef0',
	endpointServiceId: '5f43e7f0a1b2c3d4e5f60718',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `cloudProvider` | `AWS \| AZURE \| GCP` | Yes | Cloud service provider that manages this private endpoint. |
| `endpointId` | `string` | Yes | 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. |
| `endpointServiceId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the private endpoint service for which you want to return a private endpoint. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cloudProvider` | `string \| null` | No | Cloud service provider that serves the requested endpoint. |
| `deleteRequested` | `boolean \| null` | No | Flag that indicates whether MongoDB Cloud received a request to remove the specified private endpoint from the private endpoint service. |
| `errorMessage` | `string \| null` | No | Error message returned when requesting private connection resource. The resource returns `null` if the request succeeded. |
| `regionName` | `string \| null` | No | Region name of the private endpoint. |

***

### getPrivateEndpointService

`privateEndpointServices.getPrivateEndpointService`

Return One Private Endpoint Service for One Provider: returns the name, interfaces, and state of the specified private endpoint service from one project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.privateEndpointServices.getPrivateEndpointService({ groupId: '5f43e7f0a1b2c3d4e5f60718', cloudProvider: 'AWS', endpointServiceId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `cloudProvider` | `AWS \| AZURE \| GCP` | Yes | Cloud service provider that manages this private endpoint service. |
| `endpointServiceId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the private endpoint service that you want to return. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cloudProvider` | `string \| null` | No | Cloud service provider that serves the requested endpoint service. |
| `errorMessage` | `string \| null` | No | Error message returned when requesting private connection resource. The resource returns `null` if the request succeeded. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the Private Endpoint Service. |
| `regionName` | `string \| null` | No | Cloud provider region that manages this Private Endpoint Service. |
| `status` | `string \| null` | No | State of the Private Endpoint Service connection when MongoDB Cloud received this request. |

***

### getRegionalEndpointMode

`privateEndpointServices.getRegionalEndpointMode`

Return Regionalized Private Endpoint Status: checks whether each region in the specified cloud service provider can create multiple private endpoints per region

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.privateEndpointServices.getRegionalEndpointMode({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `enabled` | `boolean \| null` | No | 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 strin |

***

### listPrivateEndpointService

`privateEndpointServices.listPrivateEndpointService`

Return All Private Endpoint Services for One Provider: returns the name, interfaces, and state of all private endpoint services for the specified cloud service provider

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.privateEndpointServices.listPrivateEndpointService({ groupId: '5f43e7f0a1b2c3d4e5f60718', cloudProvider: 'AWS' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `cloudProvider` | `AWS \| AZURE \| GCP` | Yes | Cloud service provider that manages this private endpoint service. |

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   errorMessage?: string | null,
>   id?: string | null,
>   regionName?: string | null,
>   status?: string | null
> }[]
> ```

***

### toggleRegionalEndpointMode

`privateEndpointServices.toggleRegionalEndpointMode`

Toggle Regionalized Private Endpoint Status: enables or disables the ability to create multiple private endpoints per region in all cloud service providers in one project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.privateEndpointServices.toggleRegionalEndpointMode({ groupId: '5f43e7f0a1b2c3d4e5f60718', enabled: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `enabled` | `boolean` | Yes | 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 strin |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `enabled` | `boolean \| null` | No | 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 strin |

***

### updatePrivateEndpointService

`privateEndpointServices.updatePrivateEndpointService`

Update One Private Endpoint Service for One Provider: updates the specified private endpoint service for the project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.privateEndpointServices.updatePrivateEndpointService({ groupId: '5f43e7f0a1b2c3d4e5f60718', endpointServiceId: '5f43e7f0a1b2c3d4e5f60718', cloudProvider: 'AWS' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `endpointServiceId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the private endpoint service that you want to update. |
| `cloudProvider` | `AWS` | Yes | Human-readable label that identifies the cloud service provider for the private endpoint service which you want to update. |
| `supportedRemoteRegions` | `string[] \| null` | No | List of regions that the endpoint service supports. Native cross region support is implemented for AWS only. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cloudProvider` | `string \| null` | No | Cloud service provider that serves the requested endpoint service. |
| `errorMessage` | `string \| null` | No | Error message returned when requesting private connection resource. The resource returns `null` if the request succeeded. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the Private Endpoint Service. |
| `regionName` | `string \| null` | No | Cloud provider region that manages this Private Endpoint Service. |
| `status` | `string \| null` | No | State of the Private Endpoint Service connection when MongoDB Cloud received this request. |

***

## Programmatic Api Keys

### addGroupApiKey

`programmaticApiKeys.addGroupApiKey`

Assign One Organization API Key to One Project: assigns the specified organization API key to the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.programmaticApiKeys.addGroupApiKey({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	apiUserId: '5f43e7f0a1b2c3d4e5f60718',
	body: [{}],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `apiUserId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies this organization API key that you want to assign to one project. |
| `body` | `object[]` | Yes | Explanatory text that describes this API key, the list of roles to grant this API key, or both. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   roles?: string[]
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### createGroupApiKey

`programmaticApiKeys.createGroupApiKey`

Create and Assign One Organization API Key to One Project: creates and assigns the specified organization API key to the specified project

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.programmaticApiKeys.createGroupApiKey({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	desc: 'example',
	roles: ['example'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `desc` | `string` | Yes | Purpose or explanation provided when someone created this project API key. |
| `roles` | `string[]` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `desc` | `string \| null` | No | Purpose or explanation provided when someone created this organization API key. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this organization API key assigned to this project. |
| `links` | `object[] \| null` | No | 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. |
| `privateKey` | `string \| null` | No | Redacted private key returned for this organization API key. This key displays unredacted when first created. |
| `publicKey` | `string \| null` | No | Public API key value set for the specified organization API key. |
| `roles` | `object[] \| null` | No | 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. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] roles full type
>
> ```ts theme={null}
> {
>   groupId?: string | null,
>   orgId?: string | null,
>   roleName?: string | null
> }[] | null
> ```

***

### createOrgAccessEntry

`programmaticApiKeys.createOrgAccessEntry`

Create One Access List Entry for One Organization API Key: creates the access list entries for the specified organization API key (paged with pageNum / itemsPerPage)

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.programmaticApiKeys.createOrgAccessEntry({
	orgId: '5f43e7f0a1b2c3d4e5f60718',
	apiUserId: '5f43e7f0a1b2c3d4e5f60718',
	body: [{}],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `orgId` | `string` | Yes | 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. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `apiUserId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies this organization API key for which you want to create a new access list entry. |
| `body` | `object[]` | Yes | — |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   cidrBlock?: string,
>   ipAddress?: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   cidrBlock?: string | null,
>   count?: number | null,
>   created?: string | null,
>   ipAddress?: string | null,
>   lastUsed?: string | null,
>   lastUsedAddress?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null
> }[] | null
> ```

***

### createOrgApiKey

`programmaticApiKeys.createOrgApiKey`

Create One Organization API Key: creates one API key for the specified organization

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.programmaticApiKeys.createOrgApiKey({
	orgId: '5f43e7f0a1b2c3d4e5f60718',
	desc: 'example',
	roles: ['ORG_OWNER'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `desc` | `string` | Yes | Purpose or explanation provided when someone created this organization API key. |
| `roles` | `(ORG_OWNER \| ORG_MEMBER \| ORG_GROUP_CREATOR \| ORG_BILLING_ADMIN \| ORG_BILLING_READ_ONLY \| ORG_STREAM_PROCESSING_ADMIN \| ORG_READ_ONLY \| null)[]` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `desc` | `string \| null` | No | Purpose or explanation provided when someone created this organization API key. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this organization API key assigned to this project. |
| `links` | `object[] \| null` | No | 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. |
| `privateKey` | `string \| null` | No | Redacted private key returned for this organization API key. This key displays unredacted when first created. |
| `publicKey` | `string \| null` | No | Public API key value set for the specified organization API key. |
| `roles` | `object[] \| null` | No | 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. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] roles full type
>
> ```ts theme={null}
> {
>   groupId?: string | null,
>   orgId?: string | null,
>   roleName?: string | null
> }[] | null
> ```

***

### deleteAccessEntry

`programmaticApiKeys.deleteAccessEntry`

Remove One Access List Entry for One Organization API Key: removes the specified access list entry from the specified organization API key

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.programmaticApiKeys.deleteAccessEntry({ orgId: '5f43e7f0a1b2c3d4e5f60718', apiUserId: '5f43e7f0a1b2c3d4e5f60718', ipAddress: '203.0.113.10' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `apiUserId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies this organization API key for which you want to remove access list entries. |
| `ipAddress` | `string` | Yes | 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 /. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteOrgApiKey

`programmaticApiKeys.deleteOrgApiKey`

Remove One Organization API Key: removes one organization API key from the specified organization

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.programmaticApiKeys.deleteOrgApiKey({ orgId: '5f43e7f0a1b2c3d4e5f60718', apiUserId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `apiUserId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies this organization API key. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getOrgAccessEntry

`programmaticApiKeys.getOrgAccessEntry`

Return One Access List Entry for One Organization API Key: returns one access list entry for the specified organization API key

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.programmaticApiKeys.getOrgAccessEntry({ orgId: '5f43e7f0a1b2c3d4e5f60718', ipAddress: '203.0.113.10', apiUserId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `ipAddress` | `string` | Yes | 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 /. |
| `apiUserId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies this organization API key for which you want to return access list entries. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `cidrBlock` | `string \| null` | No | Range of IP addresses in Classless Inter-Domain Routing (CIDR) notation in the access list for the API key. |
| `count` | `number \| null` | No | Total number of requests that have originated from the Internet Protocol (IP) address given as the value of the `lastUsedAddress` parameter. |
| `created` | `string \| null` | No | 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. |
| `ipAddress` | `string \| null` | No | Network address in the access list for the API key. |
| `lastUsed` | `string \| null` | No | 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. |
| `lastUsedAddress` | `string \| null` | No | 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. |
| `links` | `object[] \| null` | No | 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. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getOrgApiKey

`programmaticApiKeys.getOrgApiKey`

Return One Organization API Key: returns one organization API key

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.programmaticApiKeys.getOrgApiKey({ orgId: '5f43e7f0a1b2c3d4e5f60718', apiUserId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `apiUserId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies this organization API key that you want to update. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `desc` | `string \| null` | No | Purpose or explanation provided when someone created this organization API key. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this organization API key assigned to this project. |
| `links` | `object[] \| null` | No | 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. |
| `privateKey` | `string \| null` | No | Redacted private key returned for this organization API key. This key displays unredacted when first created. |
| `publicKey` | `string \| null` | No | Public API key value set for the specified organization API key. |
| `roles` | `object[] \| null` | No | 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. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] roles full type
>
> ```ts theme={null}
> {
>   groupId?: string | null,
>   orgId?: string | null,
>   roleName?: string | null
> }[] | null
> ```

***

### listGroupApiKeys

`programmaticApiKeys.listGroupApiKeys`

Return All Organization API Keys Assigned to One Project: returns all organization API keys that you assigned to the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.programmaticApiKeys.listGroupApiKeys({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   desc?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   privateKey?: string | null,
>   publicKey?: string | null,
>   roles?: {
>     groupId?: string | null,
>     orgId?: string | null,
>     roleName?: string | null
>   }[] | null
> }[] | null
> ```

***

### listOrgAccessEntries

`programmaticApiKeys.listOrgAccessEntries`

Return All Access List Entries for One Organization API Key: returns all access list entries that you configured for the specified organization API key (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.programmaticApiKeys.listOrgAccessEntries({ orgId: '5f43e7f0a1b2c3d4e5f60718', apiUserId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `orgId` | `string` | Yes | 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. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `apiUserId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies this organization API key for which you want to return access list entries. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   cidrBlock?: string | null,
>   count?: number | null,
>   created?: string | null,
>   ipAddress?: string | null,
>   lastUsed?: string | null,
>   lastUsedAddress?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null
> }[] | null
> ```

***

### listOrgApiKeys

`programmaticApiKeys.listOrgApiKeys`

Return All Organization API Keys: returns all organization API keys for the specified organization (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.programmaticApiKeys.listOrgApiKeys({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `orgId` | `string` | Yes | 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. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   desc?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   privateKey?: string | null,
>   publicKey?: string | null,
>   roles?: {
>     groupId?: string | null,
>     orgId?: string | null,
>     roleName?: string | null
>   }[] | null
> }[] | null
> ```

***

### removeGroupApiKey

`programmaticApiKeys.removeGroupApiKey`

Unassign One Organization API Key from One Project: removes one organization API key from the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.programmaticApiKeys.removeGroupApiKey({ groupId: '5f43e7f0a1b2c3d4e5f60718', apiUserId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `apiUserId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies this organization API key that you want to unassign from one project. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### updateApiKeyRoles

`programmaticApiKeys.updateApiKeyRoles`

Update Organization API Key Roles for One Project: updates the roles of the organization API key that you specify for the project that you specify (paged with pageNum / itemsPerPage)

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.programmaticApiKeys.updateApiKeyRoles({ groupId: '5f43e7f0a1b2c3d4e5f60718', apiUserId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `apiUserId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies this organization API key that you want to unassign from one project. |
| `desc` | `string` | No | Purpose or explanation provided when someone creates this project API key. |
| `roles` | `string[]` | No | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `desc` | `string \| null` | No | Purpose or explanation provided when someone created this organization API key. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this organization API key assigned to this project. |
| `links` | `object[] \| null` | No | 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. |
| `privateKey` | `string \| null` | No | Redacted private key returned for this organization API key. This key displays unredacted when first created. |
| `publicKey` | `string \| null` | No | Public API key value set for the specified organization API key. |
| `roles` | `object[] \| null` | No | 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. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] roles full type
>
> ```ts theme={null}
> {
>   groupId?: string | null,
>   orgId?: string | null,
>   roleName?: string | null
> }[] | null
> ```

***

### updateOrgApiKey

`programmaticApiKeys.updateOrgApiKey`

Update One Organization API Key: updates one organization API key in the specified organization

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.programmaticApiKeys.updateOrgApiKey({ orgId: '5f43e7f0a1b2c3d4e5f60718', apiUserId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `apiUserId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies this organization API key you want to update. |
| `desc` | `string` | No | Purpose or explanation provided when someone creates this organization API key. |
| `roles` | `(ORG_OWNER \| ORG_MEMBER \| ORG_GROUP_CREATOR \| ORG_BILLING_ADMIN \| ORG_BILLING_READ_ONLY \| ORG_STREAM_PROCESSING_ADMIN \| ORG_READ_ONLY \| null)[]` | No | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `desc` | `string \| null` | No | Purpose or explanation provided when someone created this organization API key. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this organization API key assigned to this project. |
| `links` | `object[] \| null` | No | 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. |
| `privateKey` | `string \| null` | No | Redacted private key returned for this organization API key. This key displays unredacted when first created. |
| `publicKey` | `string \| null` | No | Public API key value set for the specified organization API key. |
| `roles` | `object[] \| null` | No | 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. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] roles full type
>
> ```ts theme={null}
> {
>   groupId?: string | null,
>   orgId?: string | null,
>   roleName?: string | null
> }[] | null
> ```

***

## Project Ip Access List

### createAccessListEntry

`projectIpAccessList.createAccessListEntry`

Add Entries to Project IP Access List: adds one or more access list entries to the specified project (paged with pageNum / itemsPerPage)

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.projectIpAccessList.createAccessListEntry({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	body: [{ cidrBlock: '203.0.113.0/24', comment: 'Office' }],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `body` | `object[]` | Yes | — |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   awsSecurityGroup?: string,
>   cidrBlock?: string,
>   comment?: string,
>   deleteAfterDate?: string,
>   ipAddress?: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   awsSecurityGroup?: string | null,
>   cidrBlock?: string | null,
>   comment?: string | null,
>   deleteAfterDate?: string | null,
>   groupId?: string | null,
>   ipAddress?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null
> }[] | null
> ```

***

### deleteAccessListEntry

`projectIpAccessList.deleteAccessListEntry`

Remove One Entry from One Project IP Access List: removes one access list entry from the specified project's IP access list

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.projectIpAccessList.deleteAccessListEntry({ groupId: '5f43e7f0a1b2c3d4e5f60718', entryValue: '203.0.113.0/24' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `entryValue` | `string` | Yes | 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 t |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getAccessListEntry

`projectIpAccessList.getAccessListEntry`

Return One Project IP Access List Entry: returns one access list entry from the specified project's IP access list

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.projectIpAccessList.getAccessListEntry({ groupId: '5f43e7f0a1b2c3d4e5f60718', entryValue: '203.0.113.0/24' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `entryValue` | `string` | Yes | 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`). |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `awsSecurityGroup` | `string \| null` | No | 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` | `string \| null` | No | 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` | `string \| null` | No | Remark that explains the purpose or scope of this IP access list entry. |
| `deleteAfterDate` | `string \| null` | No | 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. |
| `groupId` | `string \| null` | No | 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. |
| `ipAddress` | `string \| null` | No | 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` | `object[] \| null` | No | 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. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getAccessListStatus

`projectIpAccessList.getAccessListStatus`

Return Status of One Project IP Access List Entry: returns the status of one project IP access list entry

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.projectIpAccessList.getAccessListStatus({ groupId: '5f43e7f0a1b2c3d4e5f60718', entryValue: '203.0.113.0/24' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `entryValue` | `string` | Yes | Network address or cloud provider security construct that identifies which project access list entry to be verified. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `STATUS` | `string \| null` | No | 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. |

***

### listAccessListEntries

`projectIpAccessList.listAccessListEntries`

Return All Project IP Access List Entries: returns all access list entries from the specified project's IP access list (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.projectIpAccessList.listAccessListEntries({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   awsSecurityGroup?: string | null,
>   cidrBlock?: string | null,
>   comment?: string | null,
>   deleteAfterDate?: string | null,
>   groupId?: string | null,
>   ipAddress?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null
> }[] | null
> ```

***

## Projects

### createGroup

`projects.createGroup`

Create One Project: creates one project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.projects.createGroup({ name: 'Cluster0', orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `projectOwnerId` | `string` | No | 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. |
| `name` | `string` | Yes | Human-readable label that identifies the project included in the MongoDB Cloud organization. |
| `orgId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud organization to which the project belongs. |
| `regionUsageRestrictions` | `COMMERCIAL_FEDRAMP_REGIONS_ONLY \| GOV_REGIONS_ONLY` | No | 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. |
| `tags` | `object[]` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the project. |
| `withDefaultAlertsSettings` | `boolean` | No | Flag that indicates whether to create the project with default alert settings. |

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key: string,
>   value: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clusterCount` | `number \| null` | No | Quantity of MongoDB Cloud clusters deployed in this project. |
| `created` | `string \| null` | No | Date and time when MongoDB Cloud created this project. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud project. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable label that identifies the project included in the MongoDB Cloud organization. |
| `orgId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud organization to which the project belongs. |
| `regionUsageRestrictions` | `string \| null` | No | 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. |
| `tags` | `object[] \| null` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the project. |
| `withDefaultAlertsSettings` | `boolean \| null` | No | Flag that indicates whether to create the project with default alert settings. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

***

### deleteGroup

`projects.deleteGroup`

Remove One Project: removes the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.projects.deleteGroup({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteGroupLimit

`projects.deleteGroupLimit`

Remove One Project Limit: removes the specified project limit

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.projects.deleteGroupLimit({ limitName: 'atlas.project.security.databaseAccess.users', groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `limitName` | `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` | Yes | 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 AWS PrivateLink addressable target nodes per region in this project. For sharded clusters using optimized (load-balanced) connection strings, `currentUsage` doesn't grow with the number of \` |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getGroup

`projects.getGroup`

Return One Project: returns details about the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.projects.getGroup({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clusterCount` | `number \| null` | No | Quantity of MongoDB Cloud clusters deployed in this project. |
| `created` | `string \| null` | No | Date and time when MongoDB Cloud created this project. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud project. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable label that identifies the project included in the MongoDB Cloud organization. |
| `orgId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud organization to which the project belongs. |
| `regionUsageRestrictions` | `string \| null` | No | 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. |
| `tags` | `object[] \| null` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the project. |
| `withDefaultAlertsSettings` | `boolean \| null` | No | Flag that indicates whether to create the project with default alert settings. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

***

### getGroupByName

`projects.getGroupByName`

Return One Project by Name: returns details about the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.projects.getGroupByName({ groupName: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupName` | `string` | Yes | Human-readable label that identifies this project. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clusterCount` | `number \| null` | No | Quantity of MongoDB Cloud clusters deployed in this project. |
| `created` | `string \| null` | No | Date and time when MongoDB Cloud created this project. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud project. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable label that identifies the project included in the MongoDB Cloud organization. |
| `orgId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud organization to which the project belongs. |
| `regionUsageRestrictions` | `string \| null` | No | 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. |
| `tags` | `object[] \| null` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the project. |
| `withDefaultAlertsSettings` | `boolean \| null` | No | Flag that indicates whether to create the project with default alert settings. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

***

### getGroupIpAddresses

`projects.getGroupIpAddresses`

Return All IP Addresses for One Project: returns all IP addresses for this project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.projects.getGroupIpAddresses({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud project. |
| `services` | `object \| null` | No | List of IP addresses in a project categorized by services. |

> [accordion] services full type
>
> ```ts theme={null}
> {
>   clusters?: {
>     clusterName?: string | null,
>     futureInbound?: string[] | null,
>     futureOutbound?: string[] | null,
>     inbound?: string[] | null,
>     outbound?: string[] | null
>   }[] | null
> } | null
> ```

***

### getGroupLimit

`projects.getGroupLimit`

Return One Limit for One Project: returns the specified limit for the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.projects.getGroupLimit({ limitName: 'atlas.project.security.databaseAccess.users', groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `limitName` | `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` | Yes | 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 AWS PrivateLink addressable target nodes per region in this project. For sharded clusters using optimized (load-balanced) connection strings, `currentUsage` doesn't grow with the number of \` |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `currentUsage` | `number \| null` | No | Amount that indicates the current usage of the limit. |
| `defaultLimit` | `number \| null` | No | Default value of the limit. |
| `maximumLimit` | `number \| null` | No | Maximum value of the limit. |
| `name` | `string \| null` | No | Human-readable label that identifies the user-managed limit to modify. |
| `value` | `number \| null` | No | Amount to set the limit to. |

***

### getGroupSettings

`projects.getGroupSettings`

Return Project Settings: returns details about the specified project's settings

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.projects.getGroupSettings({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `isAtlasHomePageAiAssistantEnabled` | `boolean \| null` | No | Flag that indicates whether the MongoDB Assistant on the Atlas Home Page is enabled for the specified project. |
| `isClusterAiAssistantEnabled` | `boolean \| null` | No | Flag that indicates whether the AI Cluster Assistant is enabled for the specified project. |
| `isCollectDatabaseSpecificsStatisticsEnabled` | `boolean \| null` | No | Flag that indicates whether to collect database-specific metrics for the specified project. |
| `isDataExplorerEnabled` | `boolean \| null` | No | Flag that indicates whether to enable the Data Explorer for the specified project. |
| `isDataExplorerGenAIFeaturesEnabled` | `boolean \| null` | No | 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. |
| `isDataExplorerGenAISampleDocumentPassingEnabled` | `boolean \| null` | No | 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. |
| `isDataValidationEnabled` | `boolean \| null` | No | Flag that indicates whether data validation is enabled for all clusters in the specified project. |
| `isExtendedStorageSizesEnabled` | `boolean \| null` | No | Flag that indicates whether to enable extended storage sizes for the specified project. |
| `isNativeRerankingEnabled` | `boolean \| null` | No | Flag that indicates whether to enable Native Reranking with Voyage AI models in the Aggregation Pipeline for the specified project. |
| `isPerformanceAdvisorEnabled` | `boolean \| null` | No | Flag that indicates whether to enable the Performance Advisor and Profiler for the specified project. |
| `isRealtimePerformancePanelEnabled` | `boolean \| null` | No | Flag that indicates whether to enable the Real Time Performance Panel for the specified project. |
| `isSchemaAdvisorEnabled` | `boolean \| null` | No | Flag that indicates whether to enable the Schema Advisor for the specified project. |

***

### getMongoDbVersions

`projects.getMongoDbVersions`

Return All Available MongoDB LTS Versions for Clusters in One Project: returns the MongoDB Long Term Support Major Versions available to new clusters in this project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.projects.getMongoDbVersions({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `cloudProvider` | `AWS \| AZURE \| GCP \| TENANT` | No | Filter results to only one cloud provider. |
| `instanceSize` | `string` | No | Filter results to only one instance size. |
| `defaultStatus` | `DEFAULT` | No | Filter results to only the default values per tier. This value must be DEFAULT. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   defaultStatus?: string | null,
>   instanceSize?: string | string | string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   version?: string | null
> }[] | null
> ```

***

### listGroupLimits

`projects.listGroupLimits`

Return All Limits for One Project: returns all the limits for the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.projects.listGroupLimits({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   currentUsage?: number | null,
>   defaultLimit?: number | null,
>   maximumLimit?: number | null,
>   name?: string | null,
>   value?: number | null
> }[]
> ```

***

### listGroups

`projects.listGroups`

Return All Projects: returns details about all projects (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.projects.listGroups({ itemsPerPage: 20 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   clusterCount?: number | null,
>   created?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   name?: string | null,
>   orgId?: string | null,
>   regionUsageRestrictions?: string | null,
>   tags?: {
>     key?: string | null,
>     value?: string | null
>   }[] | null,
>   withDefaultAlertsSettings?: boolean | null
> }[] | null
> ```

***

### migrateGroup

`projects.migrateGroup`

Migrate One Project to Another Organization: migrates a project from its current organization to another organization

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.projects.migrateGroup({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `destinationOrgId` | `string` | No | Unique 24-hexadecimal digit string that identifies the organization to move the specified project to. |
| `destinationOrgPrivateApiKey` | `string` | No | Unique string that identifies the private part of the API Key used to verify access to the destination organization. This parameter is required only when you authenticate with Programmatic API Keys. |
| `destinationOrgPublicApiKey` | `string` | No | Unique string that identifies the public part of the API Key used to verify access to the destination organization. This parameter is required only when you authenticate with Programmatic API Keys. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clusterCount` | `number \| null` | No | Quantity of MongoDB Cloud clusters deployed in this project. |
| `created` | `string \| null` | No | Date and time when MongoDB Cloud created this project. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud project. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable label that identifies the project included in the MongoDB Cloud organization. |
| `orgId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud organization to which the project belongs. |
| `regionUsageRestrictions` | `string \| null` | No | 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. |
| `tags` | `object[] \| null` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the project. |
| `withDefaultAlertsSettings` | `boolean \| null` | No | Flag that indicates whether to create the project with default alert settings. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

***

### setGroupLimit

`projects.setGroupLimit`

Set One Project Limit: sets the specified project limit

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.projects.setGroupLimit({ limitName: 'atlas.project.security.databaseAccess.users', groupId: '5f43e7f0a1b2c3d4e5f60718', value: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `limitName` | `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` | Yes | 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 AWS PrivateLink addressable target nodes per region in this project. For sharded clusters using optimized (load-balanced) connection strings, `currentUsage` doesn't grow with the number of \` |
| `groupId` | `string` | Yes | 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. |
| `value` | `number` | Yes | Amount to set the limit to. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `currentUsage` | `number \| null` | No | Amount that indicates the current usage of the limit. |
| `defaultLimit` | `number \| null` | No | Default value of the limit. |
| `maximumLimit` | `number \| null` | No | Maximum value of the limit. |
| `name` | `string \| null` | No | Human-readable label that identifies the user-managed limit to modify. |
| `value` | `number \| null` | No | Amount to set the limit to. |

***

### updateGroup

`projects.updateGroup`

Update One Project: updates the human-readable label that identifies the specified project, or the tags associated with the project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.projects.updateGroup({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `name` | `string` | No | Human-readable label that identifies the project included in the MongoDB Cloud organization. |
| `tags` | `object[]` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the project. |
| `withDefaultAlertsSettings` | `boolean` | No | Flag that indicates whether the project can automatically create default alerts. |

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key: string,
>   value: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clusterCount` | `number \| null` | No | Quantity of MongoDB Cloud clusters deployed in this project. |
| `created` | `string \| null` | No | Date and time when MongoDB Cloud created this project. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud project. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable label that identifies the project included in the MongoDB Cloud organization. |
| `orgId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud organization to which the project belongs. |
| `regionUsageRestrictions` | `string \| null` | No | 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. |
| `tags` | `object[] \| null` | No | List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the project. |
| `withDefaultAlertsSettings` | `boolean \| null` | No | Flag that indicates whether to create the project with default alert settings. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] tags full type
>
> ```ts theme={null}
> {
>   key?: string | null,
>   value?: string | null
> }[] | null
> ```

***

### updateGroupSettings

`projects.updateGroupSettings`

Update Project Settings: updates the settings of the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.projects.updateGroupSettings({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `isAtlasHomePageAiAssistantEnabled` | `boolean` | No | Flag that indicates whether the MongoDB Assistant on the Atlas Home Page is enabled for the specified project. |
| `isClusterAiAssistantEnabled` | `boolean` | No | Flag that indicates whether the AI Cluster Assistant is enabled for the specified project. |
| `isCollectDatabaseSpecificsStatisticsEnabled` | `boolean` | No | Flag that indicates whether to collect database-specific metrics for the specified project. |
| `isDataExplorerEnabled` | `boolean` | No | Flag that indicates whether to enable the Data Explorer for the specified project. |
| `isDataExplorerGenAIFeaturesEnabled` | `boolean` | No | 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. |
| `isDataExplorerGenAISampleDocumentPassingEnabled` | `boolean` | No | 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. |
| `isDataValidationEnabled` | `boolean` | No | Flag that indicates whether data validation is enabled for all clusters in the specified project. |
| `isExtendedStorageSizesEnabled` | `boolean` | No | Flag that indicates whether to enable extended storage sizes for the specified project. |
| `isNativeRerankingEnabled` | `boolean` | No | Flag that indicates whether to enable Native Reranking with Voyage AI models in the Aggregation Pipeline for the specified project. |
| `isPerformanceAdvisorEnabled` | `boolean` | No | Flag that indicates whether to enable the Performance Advisor and Profiler for the specified project. |
| `isRealtimePerformancePanelEnabled` | `boolean` | No | Flag that indicates whether to enable the Real Time Performance Panel for the specified project. |
| `isSchemaAdvisorEnabled` | `boolean` | No | Flag that indicates whether to enable the Schema Advisor for the specified project. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `isAtlasHomePageAiAssistantEnabled` | `boolean \| null` | No | Flag that indicates whether the MongoDB Assistant on the Atlas Home Page is enabled for the specified project. |
| `isClusterAiAssistantEnabled` | `boolean \| null` | No | Flag that indicates whether the AI Cluster Assistant is enabled for the specified project. |
| `isCollectDatabaseSpecificsStatisticsEnabled` | `boolean \| null` | No | Flag that indicates whether to collect database-specific metrics for the specified project. |
| `isDataExplorerEnabled` | `boolean \| null` | No | Flag that indicates whether to enable the Data Explorer for the specified project. |
| `isDataExplorerGenAIFeaturesEnabled` | `boolean \| null` | No | 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. |
| `isDataExplorerGenAISampleDocumentPassingEnabled` | `boolean \| null` | No | 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. |
| `isDataValidationEnabled` | `boolean \| null` | No | Flag that indicates whether data validation is enabled for all clusters in the specified project. |
| `isExtendedStorageSizesEnabled` | `boolean \| null` | No | Flag that indicates whether to enable extended storage sizes for the specified project. |
| `isNativeRerankingEnabled` | `boolean \| null` | No | Flag that indicates whether to enable Native Reranking with Voyage AI models in the Aggregation Pipeline for the specified project. |
| `isPerformanceAdvisorEnabled` | `boolean \| null` | No | Flag that indicates whether to enable the Performance Advisor and Profiler for the specified project. |
| `isRealtimePerformancePanelEnabled` | `boolean \| null` | No | Flag that indicates whether to enable the Real Time Performance Panel for the specified project. |
| `isSchemaAdvisorEnabled` | `boolean \| null` | No | Flag that indicates whether to enable the Schema Advisor for the specified project. |

***

## Push Based Log Export

### createGroupLogIntegration

`pushBasedLogExport.createGroupLogIntegration`

Create One Log Integration: creates a new log integration configuration identified by a unique ID

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.pushBasedLogExport.createGroupLogIntegration({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	body: {
		logTypes: ['MONGOD'],
		type: 'S3_LOG_EXPORT',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `body` | `object` | Yes | Request schema for creating or updating a log integration. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   logTypes: (MONGOD | MONGOS | MONGOD_AUDIT | MONGOS_AUDIT | EVENTS)[],
>   type: S3_LOG_EXPORT | DATADOG_LOG_EXPORT | GCS_LOG_EXPORT | OTEL_LOG_EXPORT | SPLUNK_LOG_EXPORT | AZURE_LOG_EXPORT
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-character hexadecimal digit string that identifies the log integration configuration. |
| `logTypes` | `string[] \| null` | No | Array of log types exported by this integration. |
| `type` | `string \| null` | No | Type of log integration. Identifies which service will receive the exported logs. This value cannot be modified after the integration is created. |

***

### createOrgLogIntegration

`pushBasedLogExport.createOrgLogIntegration`

Create One Organization Log Integration: creates a new organization-level log integration configuration identified by a unique ID

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.pushBasedLogExport.createOrgLogIntegration({
	orgId: '5f43e7f0a1b2c3d4e5f60718',
	body: {
		logTypes: ['EVENTS'],
		type: 'OTEL_LOG_EXPORT',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `body` | `object` | Yes | Request schema for creating an organization-level log integration. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   logTypes: EVENTS[],
>   type: OTEL_LOG_EXPORT
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-character hexadecimal digit string that identifies the log integration configuration. |
| `logTypes` | `string[] \| null` | No | Array of log types exported by this integration. |
| `type` | `string \| null` | No | Type of log integration. Identifies which service will receive the exported events. This value cannot be modified after the integration is created. |

***

### deleteGroupLogIntegration

`pushBasedLogExport.deleteGroupLogIntegration`

Remove One Log Integration: removes the configuration for one log integration identified by its unique ID

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.pushBasedLogExport.deleteGroupLogIntegration({ groupId: '5f43e7f0a1b2c3d4e5f60718', id: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `id` | `string` | Yes | Unique identifier of the log integration configuration. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteOrgLogIntegration

`pushBasedLogExport.deleteOrgLogIntegration`

Remove One Organization Log Integration: removes one organization-level log integration configuration identified by its unique ID

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.pushBasedLogExport.deleteOrgLogIntegration({ orgId: '5f43e7f0a1b2c3d4e5f60718', logIntegrationId: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `logIntegrationId` | `string` | Yes | Unique identifier of the log integration configuration. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getGroupLogIntegration

`pushBasedLogExport.getGroupLogIntegration`

Return One Log Integration: returns the configuration for one log integration identified by its unique ID

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.pushBasedLogExport.getGroupLogIntegration({ groupId: '5f43e7f0a1b2c3d4e5f60718', id: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `id` | `string` | Yes | Unique identifier of the log integration configuration. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-character hexadecimal digit string that identifies the log integration configuration. |
| `logTypes` | `string[] \| null` | No | Array of log types exported by this integration. |
| `type` | `string \| null` | No | Type of log integration. Identifies which service will receive the exported logs. This value cannot be modified after the integration is created. |

***

### getOrgLogIntegration

`pushBasedLogExport.getOrgLogIntegration`

Return One Organization Log Integration: returns the configuration for one organization-level log integration identified by its unique ID

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.pushBasedLogExport.getOrgLogIntegration({ orgId: '5f43e7f0a1b2c3d4e5f60718', logIntegrationId: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `logIntegrationId` | `string` | Yes | Unique identifier of the log integration configuration. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-character hexadecimal digit string that identifies the log integration configuration. |
| `logTypes` | `string[] \| null` | No | Array of log types exported by this integration. |
| `type` | `string \| null` | No | Type of log integration. Identifies which service will receive the exported events. This value cannot be modified after the integration is created. |

***

### listGroupLogIntegrations

`pushBasedLogExport.listGroupLogIntegrations`

Return All Active Log Integrations: returns all log integration configurations for the project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.pushBasedLogExport.listGroupLogIntegrations({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `integrationType` | `string` | No | Optional filter by integration type (e.g., `S3_LOG_EXPORT`). |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   logTypes?: string[] | null,
>   type?: string | null
> }[] | null
> ```

***

### listOrgLogIntegrations

`pushBasedLogExport.listOrgLogIntegrations`

Return All Organization Log Integrations: returns all log integration configurations for the organization (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.pushBasedLogExport.listOrgLogIntegrations({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   logTypes?: string[] | null,
>   type?: string | null
> }[] | null
> ```

***

### updateGroupLogIntegration

`pushBasedLogExport.updateGroupLogIntegration`

Update One Log Integration: updates the configuration for one log integration identified by its unique ID

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.pushBasedLogExport.updateGroupLogIntegration({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	id: 'example',
	body: {
		logTypes: ['MONGOD'],
		type: 'S3_LOG_EXPORT',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `id` | `string` | Yes | Unique identifier of the log integration configuration. |
| `body` | `object` | Yes | Request schema for creating or updating a log integration. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   logTypes: (MONGOD | MONGOS | MONGOD_AUDIT | MONGOS_AUDIT | EVENTS)[],
>   type: S3_LOG_EXPORT | DATADOG_LOG_EXPORT | GCS_LOG_EXPORT | OTEL_LOG_EXPORT | SPLUNK_LOG_EXPORT | AZURE_LOG_EXPORT
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-character hexadecimal digit string that identifies the log integration configuration. |
| `logTypes` | `string[] \| null` | No | Array of log types exported by this integration. |
| `type` | `string \| null` | No | Type of log integration. Identifies which service will receive the exported logs. This value cannot be modified after the integration is created. |

***

### updateOrgLogIntegration

`pushBasedLogExport.updateOrgLogIntegration`

Update One Organization Log Integration: updates one organization-level log integration configuration identified by its unique ID

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.pushBasedLogExport.updateOrgLogIntegration({
	orgId: '5f43e7f0a1b2c3d4e5f60718',
	logIntegrationId: 'example',
	body: {
		logTypes: ['EVENTS'],
		type: 'OTEL_LOG_EXPORT',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `logIntegrationId` | `string` | Yes | Unique identifier of the log integration configuration. |
| `body` | `object` | Yes | Request schema for updating an organization-level log integration. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   logTypes: EVENTS[],
>   type: OTEL_LOG_EXPORT
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-character hexadecimal digit string that identifies the log integration configuration. |
| `logTypes` | `string[] \| null` | No | Array of log types exported by this integration. |
| `type` | `string \| null` | No | Type of log integration. Identifies which service will receive the exported events. This value cannot be modified after the integration is created. |

***

## Query Sampling

### createClusterQuerySampling

`querySampling.createClusterQuerySampling`

Create Query Sampling for One Namespace: starts query sampling on one namespace of the specified cluster

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.querySampling.createClusterQuerySampling({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', namespace: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `namespace` | `string` | Yes | Human-readable label that identifies the namespace (`<database>.<collection>`) on which to sample queries. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `active` | `boolean \| null` | No | Flag that indicates whether query sampling is observably running on the namespace. May still be `false` in the response to a successful create request; it becomes `true` asynchronously once the cluster applies the sampling configuration. |
| `namespace` | `string \| null` | No | Human-readable label that identifies the namespace (`<database>.<collection>`) on which queries are sampled. |
| `sampledReadsBytes` | `number \| null \| null` | No | Total size in bytes of the read operations sampled on the namespace. |
| `sampledReadsCount` | `number \| null \| null` | No | Number of read operations sampled on the namespace. |
| `sampledWritesBytes` | `number \| null \| null` | No | Total size in bytes of the write operations sampled on the namespace. |
| `sampledWritesCount` | `number \| null \| null` | No | Number of write operations sampled on the namespace. |
| `samplesPerSecond` | `number \| null \| null` | No | Maximum number of queries sampled per second on the namespace. MongoDB Cloud sets this rate. |
| `startTime` | `string \| null \| null` | No | Date and time when query sampling started on the namespace. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |

***

### deleteClusterQuerySampling

`querySampling.deleteClusterQuerySampling`

Remove Query Sampling from One Namespace: stops query sampling on one namespace of the specified cluster

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.querySampling.deleteClusterQuerySampling({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', namespace: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `namespace` | `string` | Yes | Human-readable label that identifies the namespace (`<database>.<collection>`) on which queries are sampled. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getClusterQuerySampling

`querySampling.getClusterQuerySampling`

Return Query Sampling State for One Namespace: returns the query sampling state of one namespace of the specified cluster, including counters for the operations sampled so far

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.querySampling.getClusterQuerySampling({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', namespace: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `namespace` | `string` | Yes | Human-readable label that identifies the namespace (`<database>.<collection>`) on which queries are sampled. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `active` | `boolean \| null` | No | Flag that indicates whether query sampling is observably running on the namespace. May still be `false` in the response to a successful create request; it becomes `true` asynchronously once the cluster applies the sampling configuration. |
| `namespace` | `string \| null` | No | Human-readable label that identifies the namespace (`<database>.<collection>`) on which queries are sampled. |
| `sampledReadsBytes` | `number \| null \| null` | No | Total size in bytes of the read operations sampled on the namespace. |
| `sampledReadsCount` | `number \| null \| null` | No | Number of read operations sampled on the namespace. |
| `sampledWritesBytes` | `number \| null \| null` | No | Total size in bytes of the write operations sampled on the namespace. |
| `sampledWritesCount` | `number \| null \| null` | No | Number of write operations sampled on the namespace. |
| `samplesPerSecond` | `number \| null \| null` | No | Maximum number of queries sampled per second on the namespace. MongoDB Cloud sets this rate. |
| `startTime` | `string \| null \| null` | No | Date and time when query sampling started on the namespace. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |

***

## Query Shape Insights

### getClusterQueryShape

`queryShapeInsights.getClusterQueryShape`

Return One Query Shape: returns the details for a single query shape

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.queryShapeInsights.getClusterQueryShape({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', queryShapeHash: '5f43e7f0a1b2c3d4e5f607185f43e7f0a1b2c3d4e5f607185f43e7f0a1b2c3d4' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `queryShapeHash` | `string` | Yes | A SHA256 hash of a query shape, output by MongoDB commands like `$queryStats` and `$explain` or slow query logs. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `command` | `string \| null` | No | The MongoDB command type issued for a query shape. The INSERT, UPDATE, and DELETE commands appear only for clusters running MongoDB 9.0 or later. |
| `namespace` | `string \| null` | No | Human-readable label that identifies the namespace on the specified host. The resource expresses this parameter value as `<database>.<collection>`. |
| `queryShape` | `string \| null` | No | A query shape is a set of specifications that group similar queries together. Specifications can include filters, sorts, projections, aggregation pipeline stages, a namespace, and others. Queries that have similar specifications have the same query shape. This field may be null if the user lacks PII view access. |
| `queryShapeHash` | `string \| null` | No | A hexadecimal string that represents the hash of a MongoDB query shape. |
| `status` | `string \| null` | No | The rejection status of a query shape. Use REJECTED to prevent the query shape from executing on the cluster, or UNREJECTED to allow it to execute. |

***

### getQueryShapeDetails

`queryShapeInsights.getQueryShapeDetails`

Return Query Shape Details: returns the metadata and statistics summary for a given query shape hash

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.queryShapeInsights.getQueryShapeDetails({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', queryShapeHash: '5f43e7f0a1b2c3d4e5f607185f43e7f0a1b2c3d4e5f607185f43e7f0a1b2c3d4' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `since` | `number` | No | Date and time from which to retrieve query shape statistics. 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 **until** parameter, the endpoint returns data covering from the **since** value and the current time. - If you specify neither the **since** nor the **until** parameters, the endpoint returns data from the previous 24 hours. |
| `until` | `number` | No | Date and time up until which to retrieve query shape statistics. 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 specify the **until** parameter, you must specify the **since** parameter. - If you specify neither the **since** nor the **until** parameters, the endpoint returns data from the previous 24 hours. |
| `processIds` | `string[]` | No | Process IDs from which to retrieve query shape statistics. A `processId` is a 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. To include multiple `processIds`, pass the parameter multiple times delimited with an ampersand (`&`) between each `processId`. |
| `queryShapeHash` | `string` | Yes | A SHA256 hash of a query shape, output by MongoDB commands like `$queryStats` and `$explain` or slow query logs. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `firstSeen` | `object \| null` | No | Metadata about when a query shape was seen. |
| `lastSeen` | `object \| null` | No | Metadata about when a query shape was seen. |
| `queryStats` | `object \| null` | No | A summary of execution statistics for a given query shape. |
| `queryStatsCollection` | `object \| null` | No | How `queryStats` entries were collected on this cluster's processes. Reflects the collection mode of the cluster's processes regardless of any host or process type filters in the request. Omitted when the collection mode cannot be determined. Sample-based collection requires MongoDB 9.0 or later but may not be enabled on every such cluster; this reflects the mode in effect on the cluster. |

> [accordion] firstSeen full type
>
> ```ts theme={null}
> {
>   applicationName?: string | null,
>   driverName?: string | null,
>   driverVersion?: string | null,
>   timestamp?: number | null
> } | null
> ```

> [accordion] lastSeen full type
>
> ```ts theme={null}
> {
>   applicationName?: string | null,
>   driverName?: string | null,
>   driverVersion?: string | null,
>   timestamp?: number | null
> } | null
> ```

> [accordion] queryStats full type
>
> ```ts theme={null}
> {
>   avgTimeToResponseMicros?: number | null,
>   avgWorkingMillis?: number | null,
>   bytesRead?: number | null,
>   command?: string | null,
>   cpuTime?: number | null | null,
>   docsExamined?: number | null,
>   docsExaminedRatio?: number | null,
>   docsReturned?: number | null,
>   execCount?: number | null,
>   keysDeleted?: number | null | null,
>   keysExamined?: number | null,
>   keysExaminedRatio?: number | null,
>   keysInserted?: number | null | null,
>   lastExecMicros?: number | null,
>   nDeleted?: number | null | null,
>   nInserted?: number | null | null,
>   nMatched?: number | null | null,
>   nModified?: number | null | null,
>   nUpserted?: number | null | null,
>   namespace?: string | null,
>   p50ExecMicros?: number | null,
>   p90ExecMicros?: number | null,
>   p99ExecMicros?: number | null,
>   queryShape?: string | null,
>   queryShapeHash?: string | null,
>   systemQuery?: boolean | null,
>   totalTimeToResponseMicros?: number | null,
>   totalWorkingMillis?: number | null
> } | null
> ```

> [accordion] queryStatsCollection full type
>
> ```ts theme={null}
> {
>   mode?: string | null
> } | null
> ```

***

### listClusterQueryShapes

`queryShapeInsights.listClusterQueryShapes`

Return All Query Shapes: returns a list of query shapes for one cluster (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.queryShapeInsights.listClusterQueryShapes({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `status` | `REJECTED` | No | The status of query shapes to retrieve. Only REJECTED status is supported. If omitted, defaults to REJECTED. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   command?: string | null,
>   namespace?: string | null,
>   queryShape?: string | null,
>   queryShapeHash?: string | null,
>   status?: string | null
> }[] | null
> ```

***

### listQueryShapeSummaries

`queryShapeInsights.listQueryShapeSummaries`

Return Query Statistic Summaries: returns a list of query shape statistics summaries for a given cluster

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.queryShapeInsights.listQueryShapeSummaries({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `since` | `number` | No | Date and time from which to retrieve query shape statistics. 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 **until** parameter, the endpoint returns data covering from the **since** value and the current time. - If you specify neither the **since** nor the **until** parameters, the endpoint returns data from the previous 24 hours. |
| `until` | `number` | No | Date and time up until which to retrieve query shape statistics. 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 specify the **until** parameter, you must specify the **since** parameter. - If you specify neither the **since** nor the **until** parameters, the endpoint returns data from the previous 24 hours. |
| `processIds` | `string[]` | No | Process IDs from which to retrieve query shape statistics. A `processId` is a 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. To include multiple `processId`, pass the parameter multiple times delimited with an ampersand (`&`) between each `processId`. |
| `namespaces` | `string[]` | No | Namespaces from which to retrieve query shape statistics. 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. |
| `commands` | `(find \| distinct \| aggregate \| count \| insert \| update \| delete)[]` | No | Retrieve query shape statistics matching specified MongoDB commands. To include multiple commands, pass the parameter multiple times delimited with an ampersand (`&`) between each command. The currently supported parameters are: find, distinct, aggregate, count, insert, update, and delete. The insert, update, and delete commands return results only for clusters running MongoDB 9.0 or later with write query shape statistics enabled for the project. Omit this parameter to return results for all su |
| `nSummaries` | `number` | No | Maximum number of query statistic summaries to return. |
| `series` | `(TOTAL_EXECUTION_TIME \| AVG_EXECUTION_TIME \| EXECUTION_COUNT \| KEYS_EXAMINED \| DOCS_EXAMINED \| DOCS_RETURNED \| TOTAL_TIME_TO_RESPONSE \| AVG_TIME_TO_RESPONSE \| BYTES_READ \| CPU_TIME \| KEYS_EXAMINED_RETURNED \| DOCS_EXAMINED_RETURNED \| LAST_EXECUTION_TIME \| P50_EXECUTION_TIME \| P90_EXECUTION_TIME \| P99_EXECUTION_TIME \| DOCS_MATCHED \| DOCS_MODIFIED \| DOCS_UPSERTED \| DOCS_DELETED \| DOCS_INSERTED \| KEYS_INSERTED \| KEYS_DELETED)[]` | No | Query shape statistics data series to retrieve. A series represents a specific metric about query execution. To include multiple series, pass the parameter multiple times delimited with an ampersand (`&`) between each series. Omit this parameter to return results for all available series. The `P50_EXECUTION_TIME`, `P90_EXECUTION_TIME`, and `P99_EXECUTION_TIME` series are deprecated as the values they report may be inaccurate. They will be removed in a future release. |
| `queryShapeHashes` | `string[]` | No | A list of SHA256 hashes of desired query shapes, output by MongoDB commands like `$queryStats` and \$explain or slow query logs. To include multiple series, pass the parameter multiple times delimited with an ampersand (`&`) between each series. Omit this parameter to return results for all available series. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `message` | `string \| null` | No | Explanation of query shape insights availability limitations on the current tier. |
| `queryStatsCollection` | `object \| null` | No | How `queryStats` entries were collected on this cluster's processes. Reflects the collection mode of the cluster's processes regardless of any host or process type filters in the request. Omitted when the collection mode cannot be determined. Sample-based collection requires MongoDB 9.0 or later but may not be enabled on every such cluster; this reflects the mode in effect on the cluster. |
| `scale` | `object \| null` | No | Information on scaling the cluster to a tier that supports the requested feature. Present only when the feature is unavailable on the cluster's current tier. |
| `summaries` | `object[] \| null` | No | List of query shape statistic summaries from Query Shape Insights. |

> [accordion] queryStatsCollection full type
>
> ```ts theme={null}
> {
>   mode?: string | null
> } | null
> ```

> [accordion] scale full type
>
> ```ts theme={null}
> {
>   docsUrl?: string | null | null,
>   minimumTier?: string | null,
>   scaleUrl?: string | null
> } | null
> ```

> [accordion] summaries full type
>
> ```ts theme={null}
> {
>   avgTimeToResponseMicros?: number | null,
>   avgWorkingMillis?: number | null,
>   bytesRead?: number | null,
>   command?: string | null,
>   cpuTime?: number | null | null,
>   docsExamined?: number | null,
>   docsExaminedRatio?: number | null,
>   docsReturned?: number | null,
>   execCount?: number | null,
>   keysDeleted?: number | null | null,
>   keysExamined?: number | null,
>   keysExaminedRatio?: number | null,
>   keysInserted?: number | null | null,
>   lastExecMicros?: number | null,
>   nDeleted?: number | null | null,
>   nInserted?: number | null | null,
>   nMatched?: number | null | null,
>   nModified?: number | null | null,
>   nUpserted?: number | null | null,
>   namespace?: string | null,
>   p50ExecMicros?: number | null,
>   p90ExecMicros?: number | null,
>   p99ExecMicros?: number | null,
>   queryShape?: string | null,
>   queryShapeHash?: string | null,
>   systemQuery?: boolean | null,
>   totalTimeToResponseMicros?: number | null,
>   totalWorkingMillis?: number | null
> }[] | null
> ```

***

### updateClusterQueryShape

`queryShapeInsights.updateClusterQueryShape`

Update Query Shape Rejection Status: updates the rejection status of a query shape

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.queryShapeInsights.updateClusterQueryShape({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	queryShapeHash: '5f43e7f0a1b2c3d4e5f607185f43e7f0a1b2c3d4e5f607185f43e7f0a1b2c3d4',
	status: 'REJECTED',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `queryShapeHash` | `string` | Yes | A SHA256 hash of a query shape, output by MongoDB commands like `$queryStats` and `$explain` or slow query logs. |
| `status` | `REJECTED \| UNREJECTED` | Yes | The rejection status of a query shape. Use REJECTED to prevent the query shape from executing on the cluster, or UNREJECTED to allow it to execute. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `command` | `string \| null` | No | The MongoDB command type issued for a query shape. The INSERT, UPDATE, and DELETE commands appear only for clusters running MongoDB 9.0 or later. |
| `namespace` | `string \| null` | No | Human-readable label that identifies the namespace on the specified host. The resource expresses this parameter value as `<database>.<collection>`. |
| `queryShape` | `string \| null` | No | A query shape is a set of specifications that group similar queries together. Specifications can include filters, sorts, projections, aggregation pipeline stages, a namespace, and others. Queries that have similar specifications have the same query shape. This field may be null if the user lacks PII view access. |
| `queryShapeHash` | `string \| null` | No | A hexadecimal string that represents the hash of a MongoDB query shape. |
| `status` | `string \| null` | No | The rejection status of a query shape. Use REJECTED to prevent the query shape from executing on the cluster, or UNREJECTED to allow it to execute. |

***

## Rate Limiting

### getRateLimit

`rateLimiting.getRateLimit`

Return One Rate Limit: get one rate limit endpoint set

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.rateLimiting.getRateLimit({ endpointSetId: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `endpointSetId` | `string` | Yes | The ID of the rate limit endpoint set. |
| `groupId` | `string` | No | Unique 24-hexadecimal digit string that identifies the Atlas Project to request rate limits for. When this parameter is provided, the limits returned are applicable to the specified project. The requesting user must have the Project Read Only role for the specified project. |
| `orgId` | `string` | No | Unique 24-hexadecimal digit string that identifies the Atlas Organization to request rate limits for. When this parameter is provided, the limits returned are applicable to the specified organization. The requesting user must have the Organization Read Only role for the specified organization. |
| `userId` | `string` | No | A string that identifies the Atlas user to request rate limits for. The ID can for example be the Service Account Client ID or the API Public Key. When this parameter is provided, the limits returned are applicable to the specified user. The requesting user must be the same as the specified user. |
| `ipAddress` | `string` | No | An IP address to request rate limits for. When this parameter is provided, the limits returned are applicable to the specified IP address. The requesting user must have the same IP address as the one provided in the request. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `capacity` | `object \| null` | No | The rate limit capacity for the endpoint set. |
| `endpointSetId` | `string \| null` | No | The ID of the endpoint set. |
| `endpointSetName` | `string \| null` | No | The endpoint set name. |
| `endpoints` | `object[] \| null` | No | A list of endpoints associated with the specified endpoint set. |
| `refillDurationSeconds` | `object \| null` | No | The rate limit refill duration for the endpoint set. |
| `refillRate` | `object \| null` | No | The rate limit refill rate for the endpoint set. |
| `scope` | `string \| null` | No | The scope of the endpoint set. |

> [accordion] capacity full type
>
> ```ts theme={null}
> {
>   defaultValue?: number | null | null,
>   value?: number | null
> } | null
> ```

> [accordion] endpoints full type
>
> ```ts theme={null}
> {
>   method?: string | null,
>   path?: string | null
> }[] | null
> ```

> [accordion] refillDurationSeconds full type
>
> ```ts theme={null}
> {
>   defaultValue?: number | null | null,
>   value?: number | null
> } | null
> ```

> [accordion] refillRate full type
>
> ```ts theme={null}
> {
>   defaultValue?: number | null | null,
>   value?: number | null
> } | null
> ```

***

### listRateLimits

`rateLimiting.listRateLimits`

Return All Rate Limits: get all rate limits for all v2 Atlas Administration API endpoint sets (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.rateLimiting.listRateLimits({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `groupId` | `string` | No | Unique 24-hexadecimal digit string that identifies the Atlas Project to request rate limits for. When this parameter is provided, only group scoped endpoint sets are returned and the limits returned are applicable to the specified project. The requesting user must have the Project Read Only role for the specified project. |
| `orgId` | `string` | No | Unique 24-hexadecimal digit string that identifies the Atlas Organization to request rate limits for. When this parameter is provided, only organization scoped endpoint sets are returned and the limits returned are applicable to the specified organization. The requesting user must have the Organization Read Only role for the specified organization. |
| `userId` | `string` | No | A string that identifies the Atlas user to request rate limits for. The ID can for example be the Service Account Client ID or the API Public Key. When this parameter is provided, only user scoped endpoint sets are returned and the limits returned are applicable to the specified user. The requesting user must be the same as the specified user. |
| `ipAddress` | `string` | No | An IP address to request rate limits for. When this parameter is provided, only IP scoped endpoint sets are returned and the limits returned are applicable to the specified IP address. The requesting user must have the same IP address as the one provided in the request. |
| `name` | `string \| string[]` | No | Filters by the endpoint set name, such as `Rate Limits Inspection`. Pass one or a list (sent as repeated `name=` keys), as plain text: the plugin URL-encodes it. |
| `endpointPath` | `string \| string[]` | No | Filters by the endpoint path, such as `/api/atlas/v2/clusters`. Pass one or a list (sent as repeated `endpointPath=` keys), as plain text: the plugin URL-encodes it. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   capacity?: {
>     defaultValue?: number | null | null,
>     value?: number | null
>   } | null,
>   endpointSetId?: string | null,
>   endpointSetName?: string | null,
>   endpoints?: {
>     method?: string | null,
>     path?: string | null
>   }[] | null,
>   refillDurationSeconds?: {
>     defaultValue?: number | null | null,
>     value?: number | null
>   } | null,
>   refillRate?: {
>     defaultValue?: number | null | null,
>     value?: number | null
>   } | null,
>   scope?: string | null
> }[] | null
> ```

***

## Remote Mcp Configurations

### createGroupMcpConfig

`remoteMcpConfigurations.createGroupMcpConfig`

Create One MCP Configuration for One Project: creates an MCP configuration for the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.remoteMcpConfigurations.createGroupMcpConfig({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	mcpConfigName: 'example',
	roles: ['example'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `ipAccessList` | `object[]` | No | List of IP access list entries that define allowed source addresses for this MCP configuration. |
| `mcpConfigName` | `string` | Yes | Human-readable name that identifies this MCP configuration. |
| `roles` | `string[]` | Yes | List of project roles to assign to this MCP configuration. |

> [accordion] ipAccessList full type
>
> ```ts theme={null}
> {
>   cidrBlock?: string | null,
>   ipAddress?: string | null
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clientId` | `string \| null` | No | Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP. |
| `egressClientId` | `string \| null` | No | Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas. |
| `ipAccessList` | `object[] \| null` | No | List of IP access list entries that define allowed source addresses for this MCP configuration. |
| `mcpConfigId` | `string \| null` | No | Unique identifier that identifies this MCP configuration. |
| `mcpConfigName` | `string \| null \| null` | No | Human-readable name that identifies this MCP configuration. |
| `roles` | `string[] \| null` | No | List of project roles associated with this MCP configuration. |

> [accordion] ipAccessList full type
>
> ```ts theme={null}
> {
>   cidrBlock?: string | null | null,
>   createdAt?: string | null,
>   ipAddress?: string | null | null,
>   lastUsedAddress?: string | null | null,
>   lastUsedAt?: string | null | null,
>   requestCount?: number | null
> }[] | null
> ```

***

### createGroupMcpSecret

`remoteMcpConfigurations.createGroupMcpSecret`

Create One Secret for One Project MCP Configuration: creates a new secret on the ingress service account of the specified project-level MCP configuration

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.remoteMcpConfigurations.createGroupMcpSecret({ groupId: '5f43e7f0a1b2c3d4e5f60718', mcpConfigId: '5f43e7f0a1b2c3d4e5f60718', secretExpiresAfterHours: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `mcpConfigId` | `string` | Yes | Unique identifier of the MCP configuration. |
| `secretExpiresAfterHours` | `number` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdAt` | `string \| null` | No | The date that the secret was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `expiresAt` | `string \| null` | No | The date for the expiration of the secret. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the secret. |
| `lastUsedAt` | `string \| null \| null` | No | The last time the secret was used. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `maskedSecretValue` | `string \| null` | No | The masked Service Account secret. |
| `secret` | `string \| null` | No | The secret for the Service Account. It will be returned only the first time after creation. |

***

### createOrgMcpConfig

`remoteMcpConfigurations.createOrgMcpConfig`

Create One MCP Configuration for One Organization: creates an MCP configuration for the specified organization

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.remoteMcpConfigurations.createOrgMcpConfig({
	orgId: '5f43e7f0a1b2c3d4e5f60718',
	mcpConfigName: 'example',
	roles: ['ORG_MEMBER'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `ipAccessList` | `object[]` | No | List of IP access list entries that define allowed source addresses for this MCP configuration. |
| `mcpConfigName` | `string` | Yes | Human-readable name that identifies this MCP configuration. |
| `roles` | `(ORG_MEMBER \| ORG_READ_ONLY \| ORG_BILLING_ADMIN \| ORG_BILLING_READ_ONLY \| ORG_STREAM_PROCESSING_ADMIN \| ORG_GROUP_CREATOR \| ORG_OWNER)[]` | Yes | List of organization roles to assign to this MCP configuration. |

> [accordion] ipAccessList full type
>
> ```ts theme={null}
> {
>   cidrBlock?: string | null,
>   ipAddress?: string | null
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clientId` | `string \| null` | No | Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP. |
| `egressClientId` | `string \| null` | No | Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas. |
| `ipAccessList` | `object[] \| null` | No | List of IP access list entries that define allowed source addresses for this MCP configuration. |
| `mcpConfigId` | `string \| null` | No | Unique identifier that identifies this MCP configuration. |
| `mcpConfigName` | `string \| null \| null` | No | Human-readable name that identifies this MCP configuration. |
| `roles` | `string[] \| null` | No | List of organization roles associated with this MCP configuration. |

> [accordion] ipAccessList full type
>
> ```ts theme={null}
> {
>   cidrBlock?: string | null | null,
>   createdAt?: string | null,
>   ipAddress?: string | null | null,
>   lastUsedAddress?: string | null | null,
>   lastUsedAt?: string | null | null,
>   requestCount?: number | null
> }[] | null
> ```

***

### createOrgMcpSecret

`remoteMcpConfigurations.createOrgMcpSecret`

Create One Secret for One Organization MCP Configuration: creates a new secret on the ingress service account of the specified organization-level MCP configuration

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.remoteMcpConfigurations.createOrgMcpSecret({ orgId: '5f43e7f0a1b2c3d4e5f60718', mcpConfigId: '5f43e7f0a1b2c3d4e5f60718', secretExpiresAfterHours: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `mcpConfigId` | `string` | Yes | Unique identifier of the MCP configuration. |
| `secretExpiresAfterHours` | `number` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdAt` | `string \| null` | No | The date that the secret was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `expiresAt` | `string \| null` | No | The date for the expiration of the secret. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the secret. |
| `lastUsedAt` | `string \| null \| null` | No | The last time the secret was used. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `maskedSecretValue` | `string \| null` | No | The masked Service Account secret. |
| `secret` | `string \| null` | No | The secret for the Service Account. It will be returned only the first time after creation. |

***

### deleteGroupMcpConfig

`remoteMcpConfigurations.deleteGroupMcpConfig`

Delete One MCP Configuration for One Project: deletes the MCP configuration with the specified ID for the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.remoteMcpConfigurations.deleteGroupMcpConfig({ groupId: '5f43e7f0a1b2c3d4e5f60718', mcpConfigId: '3f2b8c1e-5c1e-4d8a-9f43-2b6e1c0a9d17' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `mcpConfigId` | `string` | Yes | Unique identifier of the MCP configuration to delete. |
| `cascading` | `boolean` | No | Flag that indicates whether to delete the MCP configuration even if it has active secrets. If false and active secrets exist, the request returns an error. Defaults to false. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteGroupMcpSecret

`remoteMcpConfigurations.deleteGroupMcpSecret`

Delete One Secret for One Project MCP Configuration: deletes the specified secret from the ingress service account of the specified project-level MCP configuration

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.remoteMcpConfigurations.deleteGroupMcpSecret({ groupId: '5f43e7f0a1b2c3d4e5f60718', mcpConfigId: '5f43e7f0a1b2c3d4e5f60718', secretId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `mcpConfigId` | `string` | Yes | Unique identifier of the MCP configuration. |
| `secretId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the secret. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteOrgMcpConfig

`remoteMcpConfigurations.deleteOrgMcpConfig`

Delete One MCP Configuration for One Organization: deletes the MCP configuration with the specified ID for the specified organization

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.remoteMcpConfigurations.deleteOrgMcpConfig({ orgId: '5f43e7f0a1b2c3d4e5f60718', mcpConfigId: '3f2b8c1e-5c1e-4d8a-9f43-2b6e1c0a9d17' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `mcpConfigId` | `string` | Yes | Unique identifier of the MCP configuration to delete. |
| `cascading` | `boolean` | No | Flag that indicates whether to delete the MCP configuration even if it has active secrets. If false and active secrets exist, the request returns an error. Defaults to false. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteOrgMcpSecret

`remoteMcpConfigurations.deleteOrgMcpSecret`

Delete One Secret for One Organization MCP Configuration: deletes the specified secret from the ingress service account of the specified organization-level MCP configuration

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.remoteMcpConfigurations.deleteOrgMcpSecret({ orgId: '5f43e7f0a1b2c3d4e5f60718', mcpConfigId: '5f43e7f0a1b2c3d4e5f60718', secretId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `mcpConfigId` | `string` | Yes | Unique identifier of the MCP configuration. |
| `secretId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the secret. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getGroupMcpConfig

`remoteMcpConfigurations.getGroupMcpConfig`

Return One MCP Configuration for One Project: returns the MCP configuration with the specified ID for the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.remoteMcpConfigurations.getGroupMcpConfig({ groupId: '5f43e7f0a1b2c3d4e5f60718', mcpConfigId: '3f2b8c1e-5c1e-4d8a-9f43-2b6e1c0a9d17' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `mcpConfigId` | `string` | Yes | Unique identifier of the MCP configuration. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clientId` | `string \| null` | No | Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP. |
| `egressClientId` | `string \| null` | No | Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas. |
| `ipAccessList` | `object[] \| null` | No | List of IP access list entries that define allowed source addresses for this MCP configuration. |
| `mcpConfigId` | `string \| null` | No | Unique identifier that identifies this MCP configuration. |
| `mcpConfigName` | `string \| null \| null` | No | Human-readable name that identifies this MCP configuration. |
| `roles` | `string[] \| null` | No | List of project roles associated with this MCP configuration. |

> [accordion] ipAccessList full type
>
> ```ts theme={null}
> {
>   cidrBlock?: string | null | null,
>   createdAt?: string | null,
>   ipAddress?: string | null | null,
>   lastUsedAddress?: string | null | null,
>   lastUsedAt?: string | null | null,
>   requestCount?: number | null
> }[] | null
> ```

***

### getGroupMcpSecret

`remoteMcpConfigurations.getGroupMcpSecret`

Return One Secret for One Project MCP Configuration: returns metadata for the specified secret on the ingress service account of a project-level MCP configuration

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.remoteMcpConfigurations.getGroupMcpSecret({ groupId: '5f43e7f0a1b2c3d4e5f60718', mcpConfigId: '5f43e7f0a1b2c3d4e5f60718', secretId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `mcpConfigId` | `string` | Yes | Unique identifier of the MCP configuration. |
| `secretId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the secret. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdAt` | `string \| null` | No | The date that the secret was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `expiresAt` | `string \| null` | No | The date for the expiration of the secret. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the secret. |
| `lastUsedAt` | `string \| null \| null` | No | The last time the secret was used. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `maskedSecretValue` | `string \| null` | No | The masked Service Account secret. |
| `secret` | `string \| null` | No | The secret for the Service Account. It will be returned only the first time after creation. |

***

### getOrgMcpConfig

`remoteMcpConfigurations.getOrgMcpConfig`

Return One MCP Configuration for One Organization: returns the MCP configuration with the specified ID for the specified organization

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.remoteMcpConfigurations.getOrgMcpConfig({ orgId: '5f43e7f0a1b2c3d4e5f60718', mcpConfigId: '3f2b8c1e-5c1e-4d8a-9f43-2b6e1c0a9d17' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `mcpConfigId` | `string` | Yes | Unique identifier of the MCP configuration. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clientId` | `string \| null` | No | Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP. |
| `egressClientId` | `string \| null` | No | Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas. |
| `ipAccessList` | `object[] \| null` | No | List of IP access list entries that define allowed source addresses for this MCP configuration. |
| `mcpConfigId` | `string \| null` | No | Unique identifier that identifies this MCP configuration. |
| `mcpConfigName` | `string \| null \| null` | No | Human-readable name that identifies this MCP configuration. |
| `roles` | `string[] \| null` | No | List of organization roles associated with this MCP configuration. |

> [accordion] ipAccessList full type
>
> ```ts theme={null}
> {
>   cidrBlock?: string | null | null,
>   createdAt?: string | null,
>   ipAddress?: string | null | null,
>   lastUsedAddress?: string | null | null,
>   lastUsedAt?: string | null | null,
>   requestCount?: number | null
> }[] | null
> ```

***

### getOrgMcpSecret

`remoteMcpConfigurations.getOrgMcpSecret`

Return One Secret for One Organization MCP Configuration: returns metadata for the specified secret on the ingress service account of an organization-level MCP configuration

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.remoteMcpConfigurations.getOrgMcpSecret({ orgId: '5f43e7f0a1b2c3d4e5f60718', mcpConfigId: '5f43e7f0a1b2c3d4e5f60718', secretId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `mcpConfigId` | `string` | Yes | Unique identifier of the MCP configuration. |
| `secretId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the secret. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdAt` | `string \| null` | No | The date that the secret was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `expiresAt` | `string \| null` | No | The date for the expiration of the secret. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the secret. |
| `lastUsedAt` | `string \| null \| null` | No | The last time the secret was used. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `maskedSecretValue` | `string \| null` | No | The masked Service Account secret. |
| `secret` | `string \| null` | No | The secret for the Service Account. It will be returned only the first time after creation. |

***

### listGroupMcpConfigs

`remoteMcpConfigurations.listGroupMcpConfigs`

Return All MCP Configurations for One Project: returns all MCP configurations associated with the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.remoteMcpConfigurations.listGroupMcpConfigs({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   clientId?: string | null,
>   egressClientId?: string | null,
>   ipAccessList?: {
>     cidrBlock?: string | null | null,
>     createdAt?: string | null,
>     ipAddress?: string | null | null,
>     lastUsedAddress?: string | null | null,
>     lastUsedAt?: string | null | null,
>     requestCount?: number | null
>   }[] | null,
>   mcpConfigId?: string | null,
>   mcpConfigName?: string | null | null,
>   roles?: string[] | null
> }[] | null
> ```

***

### listGroupMcpSecrets

`remoteMcpConfigurations.listGroupMcpSecrets`

Return All Secrets for One Project MCP Configuration: returns metadata for all secrets on the ingress service account of the specified project-level MCP configuration (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.remoteMcpConfigurations.listGroupMcpSecrets({ groupId: '5f43e7f0a1b2c3d4e5f60718', mcpConfigId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `groupId` | `string` | Yes | 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. |
| `mcpConfigId` | `string` | Yes | Unique identifier of the MCP configuration. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   createdAt?: string | null,
>   expiresAt?: string | null,
>   id?: string | null,
>   lastUsedAt?: string | null | null,
>   maskedSecretValue?: string | null,
>   secret?: string | null
> }[] | null
> ```

***

### listOrgMcpConfigs

`remoteMcpConfigurations.listOrgMcpConfigs`

Return All MCP Configurations for One Organization: returns all MCP configurations associated with the specified organization (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.remoteMcpConfigurations.listOrgMcpConfigs({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `orgId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   clientId?: string | null,
>   egressClientId?: string | null,
>   ipAccessList?: {
>     cidrBlock?: string | null | null,
>     createdAt?: string | null,
>     ipAddress?: string | null | null,
>     lastUsedAddress?: string | null | null,
>     lastUsedAt?: string | null | null,
>     requestCount?: number | null
>   }[] | null,
>   mcpConfigId?: string | null,
>   mcpConfigName?: string | null | null,
>   roles?: string[] | null
> }[] | null
> ```

***

### listOrgMcpSecrets

`remoteMcpConfigurations.listOrgMcpSecrets`

Return All Secrets for One Organization MCP Configuration: returns metadata for all secrets on the ingress service account of the specified organization-level MCP configuration (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.remoteMcpConfigurations.listOrgMcpSecrets({ orgId: '5f43e7f0a1b2c3d4e5f60718', mcpConfigId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `orgId` | `string` | Yes | 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. |
| `mcpConfigId` | `string` | Yes | Unique identifier of the MCP configuration. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   createdAt?: string | null,
>   expiresAt?: string | null,
>   id?: string | null,
>   lastUsedAt?: string | null | null,
>   maskedSecretValue?: string | null,
>   secret?: string | null
> }[] | null
> ```

***

### updateGroupMcpConfig

`remoteMcpConfigurations.updateGroupMcpConfig`

Update One MCP Configuration for One Project: updates the specified MCP configuration for the project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.remoteMcpConfigurations.updateGroupMcpConfig({ groupId: '5f43e7f0a1b2c3d4e5f60718', mcpConfigId: '3f2b8c1e-5c1e-4d8a-9f43-2b6e1c0a9d17' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `mcpConfigId` | `string` | Yes | Unique identifier of the MCP configuration to update. |
| `ipAccessList` | `object[]` | No | List of IP access list entries that define allowed source addresses for this MCP configuration. If provided, replaces the existing IP access list. |
| `mcpConfigName` | `string \| null` | No | Updated human-readable name for this MCP configuration. |
| `roles` | `string[]` | No | List of project roles associated with this MCP configuration. If provided, replaces the existing list of roles. |

> [accordion] ipAccessList full type
>
> ```ts theme={null}
> {
>   cidrBlock?: string | null,
>   ipAddress?: string | null
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clientId` | `string \| null` | No | Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP. |
| `egressClientId` | `string \| null` | No | Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas. |
| `ipAccessList` | `object[] \| null` | No | List of IP access list entries that define allowed source addresses for this MCP configuration. |
| `mcpConfigId` | `string \| null` | No | Unique identifier that identifies this MCP configuration. |
| `mcpConfigName` | `string \| null \| null` | No | Human-readable name that identifies this MCP configuration. |
| `roles` | `string[] \| null` | No | List of project roles associated with this MCP configuration. |

> [accordion] ipAccessList full type
>
> ```ts theme={null}
> {
>   cidrBlock?: string | null | null,
>   createdAt?: string | null,
>   ipAddress?: string | null | null,
>   lastUsedAddress?: string | null | null,
>   lastUsedAt?: string | null | null,
>   requestCount?: number | null
> }[] | null
> ```

***

### updateOrgMcpConfig

`remoteMcpConfigurations.updateOrgMcpConfig`

Update One MCP Configuration for One Organization: updates the specified MCP configuration for the organization

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.remoteMcpConfigurations.updateOrgMcpConfig({ orgId: '5f43e7f0a1b2c3d4e5f60718', mcpConfigId: '3f2b8c1e-5c1e-4d8a-9f43-2b6e1c0a9d17' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `mcpConfigId` | `string` | Yes | Unique identifier of the MCP configuration to update. |
| `ipAccessList` | `object[]` | No | List of IP access list entries that define allowed source addresses for this MCP configuration. If provided, replaces the existing IP access list. |
| `mcpConfigName` | `string \| null` | No | Updated human-readable name for this MCP configuration. |
| `roles` | `(ORG_MEMBER \| ORG_READ_ONLY \| ORG_BILLING_ADMIN \| ORG_BILLING_READ_ONLY \| ORG_STREAM_PROCESSING_ADMIN \| ORG_GROUP_CREATOR \| ORG_OWNER \| null)[]` | No | List of organization roles associated with this MCP configuration. If provided, replaces the existing list of roles. |

> [accordion] ipAccessList full type
>
> ```ts theme={null}
> {
>   cidrBlock?: string | null,
>   ipAddress?: string | null
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clientId` | `string \| null` | No | Unique identifier for the Service Account client associated with this MCP configuration. Use this Service Account to connect to the Atlas Remote MCP. |
| `egressClientId` | `string \| null` | No | Unique identifier for the egress Service Account client associated with this MCP configuration. This Service Account is managed by MongoDB Atlas. |
| `ipAccessList` | `object[] \| null` | No | List of IP access list entries that define allowed source addresses for this MCP configuration. |
| `mcpConfigId` | `string \| null` | No | Unique identifier that identifies this MCP configuration. |
| `mcpConfigName` | `string \| null \| null` | No | Human-readable name that identifies this MCP configuration. |
| `roles` | `string[] \| null` | No | List of organization roles associated with this MCP configuration. |

> [accordion] ipAccessList full type
>
> ```ts theme={null}
> {
>   cidrBlock?: string | null | null,
>   createdAt?: string | null,
>   ipAddress?: string | null | null,
>   lastUsedAddress?: string | null | null,
>   lastUsedAt?: string | null | null,
>   requestCount?: number | null
> }[] | null
> ```

***

## Resource Policies

### createOrgResourcePolicy

`resourcePolicies.createOrgResourcePolicy`

Create One Atlas Resource Policy: create one Atlas Resource Policy for an organization

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.resourcePolicies.createOrgResourcePolicy({
	orgId: '5f43e7f0a1b2c3d4e5f60718',
	name: 'Cluster0',
	policies: [{ body: 'example' }],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `description` | `string \| null` | No | Description of the atlas resource policy. |
| `name` | `string` | Yes | Human-readable label that describes the atlas resource policy. |
| `policies` | `object[]` | Yes | List of policies that make up the atlas resource policy. |

> [accordion] policies full type
>
> ```ts theme={null}
> {
>   body: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdByUser` | `object \| null` | No | The user that last updated the atlas resource policy. |
| `createdDate` | `string \| null` | No | Date and time in UTC when the atlas resource policy was created. |
| `description` | `string \| null` | No | Description of the atlas resource policy. |
| `id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the atlas resource policy. |
| `lastUpdatedByUser` | `object \| null` | No | The user that last updated the atlas resource policy. |
| `lastUpdatedDate` | `string \| null` | No | Date and time in UTC when the atlas resource policy was last updated. |
| `name` | `string \| null` | No | Human-readable label that describes the atlas resource policy. |
| `orgId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the organization the atlas resource policy belongs to. |
| `policies` | `object[] \| null` | No | List of policies that make up the atlas resource policy. |
| `version` | `string \| null` | No | A string that identifies the version of the atlas resource policy. |

> [accordion] createdByUser full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   name?: string | null
> } | null
> ```

> [accordion] lastUpdatedByUser full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   name?: string | null
> } | null
> ```

> [accordion] policies full type
>
> ```ts theme={null}
> {
>   body?: string | null,
>   id?: string | null
> }[] | null
> ```

***

### deleteOrgResourcePolicy

`resourcePolicies.deleteOrgResourcePolicy`

Delete One Atlas Resource Policy: delete one Atlas Resource Policy for an organization

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.resourcePolicies.deleteOrgResourcePolicy({ orgId: '5f43e7f0a1b2c3d4e5f60718', resourcePolicyId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `resourcePolicyId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies an atlas resource policy. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getNonCompliantResources

`resourcePolicies.getNonCompliantResources`

Return All Non-Compliant Resources: return all non-compliant resources for an organization

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.resourcePolicies.getNonCompliantResources({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   orgId?: string | null,
>   resourceId?: string | null,
>   resourceName?: string | null,
>   resourcePoliciesCausingNonCompliance?: {
>     policiesCausingNonCompliance?: {
>       policyId?: string | null
>     }[] | null,
>     resourcePolicyId?: string | null,
>     resourcePolicyName?: string | null
>   }[] | null,
>   resourceType?: string | null
> }[]
> ```

***

### getOrgResourcePolicy

`resourcePolicies.getOrgResourcePolicy`

Return One Atlas Resource Policy: return one Atlas Resource Policy for an organization

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.resourcePolicies.getOrgResourcePolicy({ orgId: '5f43e7f0a1b2c3d4e5f60718', resourcePolicyId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `resourcePolicyId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies an atlas resource policy. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdByUser` | `object \| null` | No | The user that last updated the atlas resource policy. |
| `createdDate` | `string \| null` | No | Date and time in UTC when the atlas resource policy was created. |
| `description` | `string \| null` | No | Description of the atlas resource policy. |
| `id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the atlas resource policy. |
| `lastUpdatedByUser` | `object \| null` | No | The user that last updated the atlas resource policy. |
| `lastUpdatedDate` | `string \| null` | No | Date and time in UTC when the atlas resource policy was last updated. |
| `name` | `string \| null` | No | Human-readable label that describes the atlas resource policy. |
| `orgId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the organization the atlas resource policy belongs to. |
| `policies` | `object[] \| null` | No | List of policies that make up the atlas resource policy. |
| `version` | `string \| null` | No | A string that identifies the version of the atlas resource policy. |

> [accordion] createdByUser full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   name?: string | null
> } | null
> ```

> [accordion] lastUpdatedByUser full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   name?: string | null
> } | null
> ```

> [accordion] policies full type
>
> ```ts theme={null}
> {
>   body?: string | null,
>   id?: string | null
> }[] | null
> ```

***

### listOrgResourcePolicies

`resourcePolicies.listOrgResourcePolicies`

Return All Atlas Resource Policies: return all Atlas Resource Policies for the organization

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.resourcePolicies.listOrgResourcePolicies({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   createdByUser?: {
>     id?: string | null,
>     name?: string | null
>   } | null,
>   createdDate?: string | null,
>   description?: string | null,
>   id?: string | null,
>   lastUpdatedByUser?: {
>     id?: string | null,
>     name?: string | null
>   } | null,
>   lastUpdatedDate?: string | null,
>   name?: string | null,
>   orgId?: string | null,
>   policies?: {
>     body?: string | null,
>     id?: string | null
>   }[] | null,
>   version?: string | null
> }[]
> ```

***

### updateOrgResourcePolicy

`resourcePolicies.updateOrgResourcePolicy`

Update One Atlas Resource Policy: update one Atlas Resource Policy for an organization

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.resourcePolicies.updateOrgResourcePolicy({ orgId: '5f43e7f0a1b2c3d4e5f60718', resourcePolicyId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `resourcePolicyId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies an atlas resource policy. |
| `description` | `string \| null` | No | Description of the atlas resource policy. |
| `name` | `string \| null` | No | Human-readable label that describes the atlas resource policy. |
| `policies` | `object[]` | No | List of policies that make up the atlas resource policy. |

> [accordion] policies full type
>
> ```ts theme={null}
> {
>   body: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdByUser` | `object \| null` | No | The user that last updated the atlas resource policy. |
| `createdDate` | `string \| null` | No | Date and time in UTC when the atlas resource policy was created. |
| `description` | `string \| null` | No | Description of the atlas resource policy. |
| `id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the atlas resource policy. |
| `lastUpdatedByUser` | `object \| null` | No | The user that last updated the atlas resource policy. |
| `lastUpdatedDate` | `string \| null` | No | Date and time in UTC when the atlas resource policy was last updated. |
| `name` | `string \| null` | No | Human-readable label that describes the atlas resource policy. |
| `orgId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the organization the atlas resource policy belongs to. |
| `policies` | `object[] \| null` | No | List of policies that make up the atlas resource policy. |
| `version` | `string \| null` | No | A string that identifies the version of the atlas resource policy. |

> [accordion] createdByUser full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   name?: string | null
> } | null
> ```

> [accordion] lastUpdatedByUser full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   name?: string | null
> } | null
> ```

> [accordion] policies full type
>
> ```ts theme={null}
> {
>   body?: string | null,
>   id?: string | null
> }[] | null
> ```

***

### validateResourcePolicies

`resourcePolicies.validateResourcePolicies`

Validate One Atlas Resource Policy: validate one Atlas Resource Policy for an organization

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.resourcePolicies.validateResourcePolicies({
	orgId: '5f43e7f0a1b2c3d4e5f60718',
	name: 'Cluster0',
	policies: [{ body: 'example' }],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `description` | `string \| null` | No | Description of the atlas resource policy. |
| `name` | `string` | Yes | Human-readable label that describes the atlas resource policy. |
| `policies` | `object[]` | Yes | List of policies that make up the atlas resource policy. |

> [accordion] policies full type
>
> ```ts theme={null}
> {
>   body: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdByUser` | `object \| null` | No | The user that last updated the atlas resource policy. |
| `createdDate` | `string \| null` | No | Date and time in UTC when the atlas resource policy was created. |
| `description` | `string \| null` | No | Description of the atlas resource policy. |
| `id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the atlas resource policy. |
| `lastUpdatedByUser` | `object \| null` | No | The user that last updated the atlas resource policy. |
| `lastUpdatedDate` | `string \| null` | No | Date and time in UTC when the atlas resource policy was last updated. |
| `name` | `string \| null` | No | Human-readable label that describes the atlas resource policy. |
| `orgId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the organization the atlas resource policy belongs to. |
| `policies` | `object[] \| null` | No | List of policies that make up the atlas resource policy. |
| `version` | `string \| null` | No | A string that identifies the version of the atlas resource policy. |

> [accordion] createdByUser full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   name?: string | null
> } | null
> ```

> [accordion] lastUpdatedByUser full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   name?: string | null
> } | null
> ```

> [accordion] policies full type
>
> ```ts theme={null}
> {
>   body?: string | null,
>   id?: string | null
> }[] | null
> ```

***

## Rolling Index

### createRollingIndex

`rollingIndex.createRollingIndex`

Create One Rolling Index: creates an index on the cluster identified by its name in a rolling manner

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.rollingIndex.createRollingIndex({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	collection: 'example',
	db: 'example',
	keys: [{}],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster on which MongoDB Cloud creates an index. |
| `collation` | `object` | No | One or more settings that specify language-specific rules to compare strings within this index. |
| `collection` | `string` | Yes | Human-readable label of the collection for which MongoDB Cloud creates an index. |
| `db` | `string` | Yes | Human-readable label of the database that holds the collection on which MongoDB Cloud creates an index. |
| `keys` | `Record<string, string>[]` | Yes | List that contains one or more objects that describe the parameters that you want to index. |
| `options` | `object` | No | One or more settings that determine how the MongoDB Cloud creates this MongoDB index. |

> [accordion] collation full type
>
> ```ts theme={null}
> {
>   alternate?: non-ignorable | shifted,
>   backwards?: boolean,
>   caseFirst?: lower | off | upper,
>   caseLevel?: boolean,
>   locale: 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,
>   maxVariable?: punct | space,
>   normalization?: boolean,
>   numericOrdering?: boolean,
>   strength?: number
> }
> ```

> [accordion] options full type
>
> ```ts theme={null}
> {
>   2dsphereIndexVersion?: number,
>   background?: boolean,
>   bits?: number,
>   bucketSize?: number,
>   columnstoreProjection?: Record<string, number>,
>   default_language?: string,
>   expireAfterSeconds?: number,
>   hidden?: boolean,
>   language_override?: string,
>   max?: number,
>   min?: number,
>   name?: string,
>   partialFilterExpression?: Record<string, {
>   }>,
>   sparse?: boolean,
>   storageEngine?: Record<string, {
>   }>,
>   textIndexVersion?: number,
>   weights?: Record<string, {
>   }>
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

## Root

### getSystemStatus

`root.getSystemStatus`

Return the Status of This MongoDB Application: this resource returns information about the MongoDB application along with API key meta data

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.root.getSystemStatus({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `apiKey` | `object \| null` | No | Details contained in one API key. |
| `appName` | `string \| null` | No | Human-readable label that identifies the service from which you requested this response. |
| `build` | `string \| null` | No | Unique 40-hexadecimal digit hash that identifies the latest git commit merged for this application. |
| `ipAddress` | `string \| null` | No | IPv4 or IPv6 address from which you requested this response. Use this value to confirm which address IP access lists evaluate for your requests. |
| `links` | `object[] \| null` | No | 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. |
| `throttling` | `boolean \| null` | No | Flag that indicates whether someone enabled throttling on this service. |
| `user` | `object \| null` | No | Details about the MongoDB Cloud user that this request is authenticated as. |

> [accordion] apiKey full type
>
> ```ts theme={null}
> {
>   accessList?: {
>     cidrBlock?: string | null | null,
>     ipAddress?: string | null | null
>   }[] | null,
>   id?: string | null,
>   publicKey?: string | null,
>   roles?: {
>     groupId?: string | null,
>     orgId?: string | null,
>     roleName?: string | null
>   }[] | null
> } | null | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] user full type
>
> ```ts theme={null}
> {
>   username?: string | null
> } | null | null
> ```

***

### listControlPlaneAddresses

`root.listControlPlaneAddresses`

Return All Control Plane IP Addresses: returns all control plane IP addresses

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.root.listControlPlaneAddresses({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `gateways` | `object[] \| null` | No | List of gateways, each representing a group of service-specific IP addresses that customers can add to their allow lists independently. Includes the Atlas Gateway (data plane) group when present. |
| `inbound` | `object \| null` | No | List of inbound IP addresses to the Atlas control plane, categorized by cloud provider. If your application allows outbound HTTP requests only to specific IP addresses, you must allow access to the following IP addresses so that your API requests can reach the Atlas control plane. |
| `outbound` | `object \| null` | No | List of outbound IP addresses from the Atlas control plane, categorized by cloud provider. If your network allows inbound HTTP requests only from specific IP addresses, you must allow access from the following IP addresses so that Atlas can communicate with your webhooks and KMS. |

> [accordion] gateways full type
>
> ```ts theme={null}
> {
>   ips?: {
>     inbound?: {
>       aws?: Record<string, string[]> | null,
>       azure?: Record<string, string[]> | null,
>       gcp?: Record<string, string[]> | null
>     } | null,
>     outbound?: {
>       aws?: Record<string, string[]> | null,
>       azure?: Record<string, string[]> | null,
>       gcp?: Record<string, string[]> | null
>     } | null
>   } | null,
>   name?: string | null
> }[] | null
> ```

> [accordion] inbound full type
>
> ```ts theme={null}
> {
>   aws?: Record<string, string[]> | null,
>   azure?: Record<string, string[]> | null,
>   gcp?: Record<string, string[]> | null
> } | null
> ```

> [accordion] outbound full type
>
> ```ts theme={null}
> {
>   aws?: Record<string, string[]> | null,
>   azure?: Record<string, string[]> | null,
>   gcp?: Record<string, string[]> | null
> } | null
> ```

***

## Service Accounts

### createAccessList

`serviceAccounts.createAccessList`

Add Access List Entries for One Project Service Account: add Access List Entries for the specified Service Account for the project (paged with pageNum / itemsPerPage)

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.createAccessList({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clientId: 'mdb_sa_id_5f43e7f0a1b2c3d4e5f60718',
	body: [{}],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `groupId` | `string` | Yes | 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. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `clientId` | `string` | Yes | The Client ID of the Service Account. |
| `body` | `object[]` | Yes | — |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   cidrBlock?: string | null,
>   ipAddress?: string | null
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   cidrBlock?: string | null | null,
>   createdAt?: string | null,
>   ipAddress?: string | null | null,
>   lastUsedAddress?: string | null | null,
>   lastUsedAt?: string | null | null,
>   requestCount?: number | null
> }[] | null
> ```

***

### createGroupSecret

`serviceAccounts.createGroupSecret`

Create One Project Service Account Secret: create a secret for the specified Service Account in the specified Project

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.createGroupSecret({ groupId: '5f43e7f0a1b2c3d4e5f60718', clientId: 'mdb_sa_id_5f43e7f0a1b2c3d4e5f60718', secretExpiresAfterHours: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clientId` | `string` | Yes | The Client ID of the Service Account. |
| `secretExpiresAfterHours` | `number` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdAt` | `string \| null` | No | The date that the secret was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `expiresAt` | `string \| null` | No | The date for the expiration of the secret. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the secret. |
| `lastUsedAt` | `string \| null \| null` | No | The last time the secret was used. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `maskedSecretValue` | `string \| null` | No | The masked Service Account secret. |
| `secret` | `string \| null` | No | The secret for the Service Account. It will be returned only the first time after creation. |

***

### createGroupServiceAccount

`serviceAccounts.createGroupServiceAccount`

Create One Project Service Account: creates one Service Account for the specified Project

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.createGroupServiceAccount({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	description: 'example',
	name: 'Cluster0',
	roles: ['example'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `description` | `string` | Yes | Human readable description for the Service Account. |
| `name` | `string` | Yes | Human-readable name for the Service Account. The name is modifiable and does not have to be unique. |
| `roles` | `string[]` | Yes | A list of project-level roles for the Service Account. |
| `secretExpiresAfterHours` | `number \| null` | No | 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. Required unless `withoutInitialSecret` is true. |
| `withoutInitialSecret` | `boolean` | No | If true, creates the Service Account without generating an initial secret. `secretExpiresAfterHours` must not be set when this is true. Defaults to false, which preserves existing behavior: a secret is generated and returned in the response. Use the `CreateGroupServiceAccountSecret` endpoint to add a secret later. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clientId` | `string \| null` | No | The Client ID of the Service Account. |
| `createdAt` | `string \| null` | No | The date that the Service Account was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `description` | `string \| null` | No | Human readable description for the Service Account. |
| `name` | `string \| null` | No | Human-readable name for the Service Account. |
| `roles` | `string[] \| null` | No | A list of Project roles associated with the Service Account. |
| `secrets` | `object[] \| null` | No | A list of secrets associated with the specified Service Account. |
| `systemManaged` | `boolean \| null` | No | Indicates whether the Service Account is system managed. |

> [accordion] secrets full type
>
> ```ts theme={null}
> {
>   createdAt?: string | null,
>   expiresAt?: string | null,
>   id?: string | null,
>   lastUsedAt?: string | null | null,
>   maskedSecretValue?: string | null,
>   secret?: string | null
> }[] | null
> ```

***

### createOrgAccessList

`serviceAccounts.createOrgAccessList`

Add Access List Entries for One Organization Service Account: add Access List Entries for the specified Service Account for the organization (paged with pageNum / itemsPerPage)

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.createOrgAccessList({
	orgId: '5f43e7f0a1b2c3d4e5f60718',
	clientId: 'mdb_sa_id_5f43e7f0a1b2c3d4e5f60718',
	body: [{}],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `orgId` | `string` | Yes | 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. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `clientId` | `string` | Yes | The Client ID of the Service Account. |
| `body` | `object[]` | Yes | — |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   cidrBlock?: string | null,
>   ipAddress?: string | null
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   cidrBlock?: string | null | null,
>   createdAt?: string | null,
>   ipAddress?: string | null | null,
>   lastUsedAddress?: string | null | null,
>   lastUsedAt?: string | null | null,
>   requestCount?: number | null
> }[] | null
> ```

***

### createOrgSecret

`serviceAccounts.createOrgSecret`

Create One Organization Service Account Secret: create a secret for the specified Service Account

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.createOrgSecret({ orgId: '5f43e7f0a1b2c3d4e5f60718', clientId: 'mdb_sa_id_5f43e7f0a1b2c3d4e5f60718', secretExpiresAfterHours: 1 });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `clientId` | `string` | Yes | The Client ID of the Service Account. |
| `secretExpiresAfterHours` | `number` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdAt` | `string \| null` | No | The date that the secret was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `expiresAt` | `string \| null` | No | The date for the expiration of the secret. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the secret. |
| `lastUsedAt` | `string \| null \| null` | No | The last time the secret was used. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `maskedSecretValue` | `string \| null` | No | The masked Service Account secret. |
| `secret` | `string \| null` | No | The secret for the Service Account. It will be returned only the first time after creation. |

***

### createOrgServiceAccount

`serviceAccounts.createOrgServiceAccount`

Create One Organization Service Account: creates one Service Account for the specified Organization

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.createOrgServiceAccount({
	orgId: '5f43e7f0a1b2c3d4e5f60718',
	description: 'example',
	name: 'Cluster0',
	roles: ['ORG_MEMBER'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `description` | `string` | Yes | Human readable description for the Service Account. |
| `name` | `string` | Yes | Human-readable name for the Service Account. The name is modifiable and does not have to be unique. |
| `roles` | `(ORG_MEMBER \| ORG_READ_ONLY \| ORG_BILLING_ADMIN \| ORG_BILLING_READ_ONLY \| ORG_STREAM_PROCESSING_ADMIN \| ORG_GROUP_CREATOR \| ORG_OWNER)[]` | Yes | A list of organization-level roles for the Service Account. |
| `secretExpiresAfterHours` | `number \| null` | No | 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. Required unless `withoutInitialSecret` is true. |
| `withoutInitialSecret` | `boolean` | No | If true, creates the Service Account without generating an initial secret. `secretExpiresAfterHours` must not be set when this is true. Defaults to false, which preserves existing behavior: a secret is generated and returned in the response. Use the `CreateOrgServiceAccountSecret` endpoint to add a secret later. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clientId` | `string \| null` | No | The Client ID of the Service Account. |
| `createdAt` | `string \| null` | No | The date that the Service Account was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `description` | `string \| null` | No | Human readable description for the Service Account. |
| `name` | `string \| null` | No | Human-readable name for the Service Account. |
| `roles` | `string[] \| null` | No | A list of Organization roles associated with the Service Account. |
| `secrets` | `object[] \| null` | No | A list of secrets associated with the specified Service Account. |
| `systemManaged` | `boolean \| null` | No | Indicates whether the Service Account is system managed. |

> [accordion] secrets full type
>
> ```ts theme={null}
> {
>   createdAt?: string | null,
>   expiresAt?: string | null,
>   id?: string | null,
>   lastUsedAt?: string | null | null,
>   maskedSecretValue?: string | null,
>   secret?: string | null
> }[] | null
> ```

***

### deleteGroupAccessEntry

`serviceAccounts.deleteGroupAccessEntry`

Remove One Access List Entry from One Project Service Account: removes the specified access list entry from the specified Service Account for the project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.deleteGroupAccessEntry({ groupId: '5f43e7f0a1b2c3d4e5f60718', clientId: 'mdb_sa_id_5f43e7f0a1b2c3d4e5f60718', ipAddress: '203.0.113.10' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clientId` | `string` | Yes | The Client ID of the Service Account. |
| `ipAddress` | `string` | Yes | One IP address or multiple IP addresses represented as one CIDR block. When specifying a CIDR block with a subnet mask, such as 192.0.2.0/24, use the URL-encoded value %2F for the forward slash /. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteGroupSecret

`serviceAccounts.deleteGroupSecret`

Delete One Project Service Account Secret: deletes the specified Service Account secret

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.deleteGroupSecret({ clientId: 'mdb_sa_id_5f43e7f0a1b2c3d4e5f60718', secretId: 'example', groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `clientId` | `string` | Yes | The Client ID of the Service Account. |
| `secretId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the secret. |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteGroupServiceAccount

`serviceAccounts.deleteGroupServiceAccount`

Remove One Project Service Account: removes the specified Service Account from the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.deleteGroupServiceAccount({ clientId: 'mdb_sa_id_5f43e7f0a1b2c3d4e5f60718', groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `clientId` | `string` | Yes | The Client ID of the Service Account. |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteOrgAccessEntry

`serviceAccounts.deleteOrgAccessEntry`

Remove One Access List Entry from One Organization Service Account: removes the specified access list entry from the specified Service Account for the organization

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.deleteOrgAccessEntry({ orgId: '5f43e7f0a1b2c3d4e5f60718', clientId: 'mdb_sa_id_5f43e7f0a1b2c3d4e5f60718', ipAddress: '203.0.113.10' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `clientId` | `string` | Yes | The Client ID of the Service Account. |
| `ipAddress` | `string` | Yes | One IP address or multiple IP addresses represented as one CIDR block. When specifying a CIDR block with a subnet mask, such as 192.0.2.0/24, use the URL-encoded value %2F for the forward slash /. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteOrgSecret

`serviceAccounts.deleteOrgSecret`

Delete One Organization Service Account Secret: deletes the specified Service Account secret

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.deleteOrgSecret({ clientId: 'mdb_sa_id_5f43e7f0a1b2c3d4e5f60718', secretId: 'example', orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `clientId` | `string` | Yes | The Client ID of the Service Account. |
| `secretId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the secret. |
| `orgId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteOrgServiceAccount

`serviceAccounts.deleteOrgServiceAccount`

Delete One Organization Service Account: deletes the specified Service Account

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.deleteOrgServiceAccount({ clientId: 'mdb_sa_id_5f43e7f0a1b2c3d4e5f60718', orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `clientId` | `string` | Yes | The Client ID of the Service Account. |
| `orgId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getGroupServiceAccount

`serviceAccounts.getGroupServiceAccount`

Return One Project Service Account: returns one Service Account in the specified Project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.getGroupServiceAccount({ groupId: '5f43e7f0a1b2c3d4e5f60718', clientId: 'mdb_sa_id_5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clientId` | `string` | Yes | The Client ID of the Service Account. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clientId` | `string \| null` | No | The Client ID of the Service Account. |
| `createdAt` | `string \| null` | No | The date that the Service Account was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `description` | `string \| null` | No | Human readable description for the Service Account. |
| `name` | `string \| null` | No | Human-readable name for the Service Account. |
| `roles` | `string[] \| null` | No | A list of Project roles associated with the Service Account. |
| `secrets` | `object[] \| null` | No | A list of secrets associated with the specified Service Account. |
| `systemManaged` | `boolean \| null` | No | Indicates whether the Service Account is system managed. |

> [accordion] secrets full type
>
> ```ts theme={null}
> {
>   createdAt?: string | null,
>   expiresAt?: string | null,
>   id?: string | null,
>   lastUsedAt?: string | null | null,
>   maskedSecretValue?: string | null,
>   secret?: string | null
> }[] | null
> ```

***

### getOrgServiceAccount

`serviceAccounts.getOrgServiceAccount`

Return One Organization Service Account: returns the specified Service Account

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.getOrgServiceAccount({ orgId: '5f43e7f0a1b2c3d4e5f60718', clientId: 'mdb_sa_id_5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `clientId` | `string` | Yes | The Client ID of the Service Account. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clientId` | `string \| null` | No | The Client ID of the Service Account. |
| `createdAt` | `string \| null` | No | The date that the Service Account was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `description` | `string \| null` | No | Human readable description for the Service Account. |
| `name` | `string \| null` | No | Human-readable name for the Service Account. |
| `roles` | `string[] \| null` | No | A list of Organization roles associated with the Service Account. |
| `secrets` | `object[] \| null` | No | A list of secrets associated with the specified Service Account. |
| `systemManaged` | `boolean \| null` | No | Indicates whether the Service Account is system managed. |

> [accordion] secrets full type
>
> ```ts theme={null}
> {
>   createdAt?: string | null,
>   expiresAt?: string | null,
>   id?: string | null,
>   lastUsedAt?: string | null | null,
>   maskedSecretValue?: string | null,
>   secret?: string | null
> }[] | null
> ```

***

### getServiceAccountGroups

`serviceAccounts.getServiceAccountGroups`

Return All Service Account Project Assignments: returns a list of all projects the specified Service Account is a part of (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.getServiceAccountGroups({ orgId: '5f43e7f0a1b2c3d4e5f60718', clientId: 'mdb_sa_id_5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `clientId` | `string` | Yes | The Client ID of the Service Account. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   groupId?: string | null,
>   roles?: string[] | null
> }[] | null
> ```

***

### inviteGroupServiceAccount

`serviceAccounts.inviteGroupServiceAccount`

Assign One Service Account to One Project: assigns the specified Service Account to the specified Project

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.inviteGroupServiceAccount({
	clientId: 'mdb_sa_id_5f43e7f0a1b2c3d4e5f60718',
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	roles: ['example'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `clientId` | `string` | Yes | The Client ID of the Service Account. |
| `groupId` | `string` | Yes | 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. |
| `roles` | `string[]` | Yes | The Project permissions for the Service Account in the specified Project. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clientId` | `string \| null` | No | The Client ID of the Service Account. |
| `createdAt` | `string \| null` | No | The date that the Service Account was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `description` | `string \| null` | No | Human readable description for the Service Account. |
| `name` | `string \| null` | No | Human-readable name for the Service Account. |
| `roles` | `string[] \| null` | No | A list of Project roles associated with the Service Account. |
| `secrets` | `object[] \| null` | No | A list of secrets associated with the specified Service Account. |
| `systemManaged` | `boolean \| null` | No | Indicates whether the Service Account is system managed. |

> [accordion] secrets full type
>
> ```ts theme={null}
> {
>   createdAt?: string | null,
>   expiresAt?: string | null,
>   id?: string | null,
>   lastUsedAt?: string | null | null,
>   maskedSecretValue?: string | null,
>   secret?: string | null
> }[] | null
> ```

***

### listAccessList

`serviceAccounts.listAccessList`

Return All Access List Entries for One Project Service Account: returns all access list entries that you configured for the specified Service Account for the project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.listAccessList({ groupId: '5f43e7f0a1b2c3d4e5f60718', clientId: 'mdb_sa_id_5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `groupId` | `string` | Yes | 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. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `clientId` | `string` | Yes | The Client ID of the Service Account. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   cidrBlock?: string | null | null,
>   createdAt?: string | null,
>   ipAddress?: string | null | null,
>   lastUsedAddress?: string | null | null,
>   lastUsedAt?: string | null | null,
>   requestCount?: number | null
> }[] | null
> ```

***

### listGroupServiceAccounts

`serviceAccounts.listGroupServiceAccounts`

Return All Project Service Accounts: returns all Service Accounts for the specified Project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.listGroupServiceAccounts({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `includeSystemManaged` | `boolean` | No | Flag that indicates whether system-managed Service Accounts (such as those used for MCP ingress/egress integrations) are included in the response. When false, only user-managed Service Accounts are returned. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   clientId?: string | null,
>   createdAt?: string | null,
>   description?: string | null,
>   name?: string | null,
>   roles?: string[] | null,
>   secrets?: {
>     createdAt?: string | null,
>     expiresAt?: string | null,
>     id?: string | null,
>     lastUsedAt?: string | null | null,
>     maskedSecretValue?: string | null,
>     secret?: string | null
>   }[] | null,
>   systemManaged?: boolean | null
> }[] | null
> ```

***

### listOrgAccessList

`serviceAccounts.listOrgAccessList`

Return All Access List Entries for One Organization Service Account: returns all access list entries that you configured for the specified Service Account for the organization (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.listOrgAccessList({ orgId: '5f43e7f0a1b2c3d4e5f60718', clientId: 'mdb_sa_id_5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `orgId` | `string` | Yes | 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. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `clientId` | `string` | Yes | The Client ID of the Service Account. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   cidrBlock?: string | null | null,
>   createdAt?: string | null,
>   ipAddress?: string | null | null,
>   lastUsedAddress?: string | null | null,
>   lastUsedAt?: string | null | null,
>   requestCount?: number | null
> }[] | null
> ```

***

### listOrgServiceAccounts

`serviceAccounts.listOrgServiceAccounts`

Return All Organization Service Accounts: returns all Service Accounts for the specified Organization (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.listOrgServiceAccounts({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `includeSystemManaged` | `boolean` | No | Flag that indicates whether system-managed Service Accounts (such as those used for MCP ingress/egress integrations) are included in the response. When false, only user-managed Service Accounts are returned. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   clientId?: string | null,
>   createdAt?: string | null,
>   description?: string | null,
>   name?: string | null,
>   roles?: string[] | null,
>   secrets?: {
>     createdAt?: string | null,
>     expiresAt?: string | null,
>     id?: string | null,
>     lastUsedAt?: string | null | null,
>     maskedSecretValue?: string | null,
>     secret?: string | null
>   }[] | null,
>   systemManaged?: boolean | null
> }[] | null
> ```

***

### updateGroupServiceAccount

`serviceAccounts.updateGroupServiceAccount`

Update One Project Service Account: updates one Service Account in the specified Project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.updateGroupServiceAccount({ clientId: 'mdb_sa_id_5f43e7f0a1b2c3d4e5f60718', groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `clientId` | `string` | Yes | The Client ID of the Service Account. |
| `groupId` | `string` | Yes | 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. |
| `description` | `string \| null` | No | Human readable description for the Service Account. |
| `name` | `string \| null` | No | Human-readable name for the Service Account. The name is modifiable and does not have to be unique. |
| `roles` | `string[]` | No | A list of Project roles associated with the Service Account. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clientId` | `string \| null` | No | The Client ID of the Service Account. |
| `createdAt` | `string \| null` | No | The date that the Service Account was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `description` | `string \| null` | No | Human readable description for the Service Account. |
| `name` | `string \| null` | No | Human-readable name for the Service Account. |
| `roles` | `string[] \| null` | No | A list of Project roles associated with the Service Account. |
| `secrets` | `object[] \| null` | No | A list of secrets associated with the specified Service Account. |
| `systemManaged` | `boolean \| null` | No | Indicates whether the Service Account is system managed. |

> [accordion] secrets full type
>
> ```ts theme={null}
> {
>   createdAt?: string | null,
>   expiresAt?: string | null,
>   id?: string | null,
>   lastUsedAt?: string | null | null,
>   maskedSecretValue?: string | null,
>   secret?: string | null
> }[] | null
> ```

***

### updateOrgServiceAccount

`serviceAccounts.updateOrgServiceAccount`

Update One Organization Service Account: updates the specified Service Account in the specified Organization

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.serviceAccounts.updateOrgServiceAccount({ clientId: 'mdb_sa_id_5f43e7f0a1b2c3d4e5f60718', orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `clientId` | `string` | Yes | The Client ID of the Service Account. |
| `orgId` | `string` | Yes | 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. |
| `description` | `string \| null` | No | Human readable description for the Service Account. |
| `name` | `string \| null` | No | Human-readable name for the Service Account. The name is modifiable and does not have to be unique. |
| `roles` | `(ORG_MEMBER \| ORG_READ_ONLY \| ORG_BILLING_ADMIN \| ORG_BILLING_READ_ONLY \| ORG_STREAM_PROCESSING_ADMIN \| ORG_GROUP_CREATOR \| ORG_OWNER)[]` | No | A list of organization-level roles for the Service Account. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clientId` | `string \| null` | No | The Client ID of the Service Account. |
| `createdAt` | `string \| null` | No | The date that the Service Account was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `description` | `string \| null` | No | Human readable description for the Service Account. |
| `name` | `string \| null` | No | Human-readable name for the Service Account. |
| `roles` | `string[] \| null` | No | A list of Organization roles associated with the Service Account. |
| `secrets` | `object[] \| null` | No | A list of secrets associated with the specified Service Account. |
| `systemManaged` | `boolean \| null` | No | Indicates whether the Service Account is system managed. |

> [accordion] secrets full type
>
> ```ts theme={null}
> {
>   createdAt?: string | null,
>   expiresAt?: string | null,
>   id?: string | null,
>   lastUsedAt?: string | null | null,
>   maskedSecretValue?: string | null,
>   secret?: string | null
> }[] | null
> ```

***

## Sharding Insights

### getClusterShardingInsights

`shardingInsights.getClusterShardingInsights`

Return Sharding Insights for One Cluster: returns the cluster-level sharding state of one sharded cluster: the number of shards, the balancer state, the availability of the config servers, and the configured balancing window

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.shardingInsights.getClusterShardingInsights({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `balancerState` | `string \| null` | No | State of the cluster balancer. `BALANCING` means a balancer round is in progress. `IDLE` means the balancer is enabled and no round is in progress. `DISABLED` means the balancer is turned off. `FAILED_TO_DETERMINE` means the balancer state could not be resolved. |
| `balancingWindow` | `object \| null` | No | Balancing window configured on the sharded cluster. When configured, the balancer moves data only during the daily interval between `startTime` and `endTime`. |
| `configServerStatus` | `string \| null` | No | Availability of the cluster's config servers. `AVAILABLE` means at least one config server reported recently. `UNAVAILABLE` means config servers exist but none has reported recently. `FAILED_TO_DETERMINE` means availability could not be resolved. |
| `totalShards` | `number \| null` | No | Number of shards in the cluster. |

> [accordion] balancingWindow full type
>
> ```ts theme={null}
> {
>   endTime?: string | null | null,
>   startTime?: string | null | null,
>   status?: string | null
> } | null
> ```

***

### getClusterShardMetric

`shardingInsights.getClusterShardMetric`

Return One Shard in One Cluster: returns the size, load and open alerts of one shard in one sharded cluster

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.shardingInsights.getClusterShardMetric({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', replicaSetName: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `replicaSetName` | `string` | Yes | Name of the replica set that identifies the shard. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `alerts` | `object[] \| null` | No | Alerts open on this shard's nodes, sorted by creation date with the most recently created first. MongoDB Cloud returns this property when you request a single shard, and returns at most 100 alerts. |
| `cacheThroughput` | `object \| null` | No | Bytes per second that the shard moved in and out of the cache over the last hour. |
| `cpuUtilization` | `object \| null` | No | CPU utilization of the shard's nodes over the last hour, as a percentage. |
| `dataSizeBytes` | `number \| null` | No | Total size of the user data stored on this shard. The resource expresses this value in bytes. |
| `rangeDeleterTasks` | `number \| null` | No | Average number of range deletion tasks queued across the shard's nodes, measured at the time of the request. |
| `readLatencyMicroseconds` | `number \| null` | No | Average latency of the read operations this shard served over the last hour, in microseconds. |
| `readOperationsPerSecond` | `object \| null` | No | Operations per second that the shard served over the last hour. |
| `replicaSetName` | `string \| null` | No | Name of the shard's replica set. This is the name that identifies the same shard on the processes, alerts, events, and backup resources. |
| `shardedCollections` | `number \| null` | No | Number of sharded collections with data on this shard. |
| `warnings` | `string[] \| null` | No | Conditions that MongoDB Cloud observed on this shard relative to the rest of the cluster. `HOTSPOT` means this shard's average CPU utilization is more than twice the average across all shards of the cluster. This is a cluster-scoped comparison, so its value depends on how loaded the other shards are and not only on this shard. |
| `writeOperationsPerSecond` | `object \| null` | No | Operations per second that the shard served over the last hour. |

> [accordion] alerts full type
>
> ```ts theme={null}
> {
>   message?: string | null,
>   severity?: string | null
> }[] | null
> ```

> [accordion] cacheThroughput full type
>
> ```ts theme={null}
> {
>   readIntoBytesPerSecond?: number | null,
>   writtenFromBytesPerSecond?: number | null
> } | null
> ```

> [accordion] cpuUtilization full type
>
> ```ts theme={null}
> {
>   averagePercent?: number | null,
>   maximumPercent?: number | null
> } | null
> ```

> [accordion] readOperationsPerSecond full type
>
> ```ts theme={null}
> {
>   average?: number | null,
>   maximum?: number | null
> } | null
> ```

> [accordion] writeOperationsPerSecond full type
>
> ```ts theme={null}
> {
>   average?: number | null,
>   maximum?: number | null
> } | null
> ```

***

### getShardMetricMeasurements

`shardingInsights.getShardMetricMeasurements`

Return Measurements for One Shard: returns time series of the requested measurements for one shard of the specified sharded cluster

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.shardingInsights.getShardMetricMeasurements({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', replicaSetName: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `replicaSetName` | `string` | Yes | Human-readable label that identifies the shard, as the replica set name of its members. |
| `m` | `(SYSTEM_CPU \| SYSTEM_MEMORY \| SYSTEM_NETWORK \| DISK_IOPS \| DISK_LATENCY \| DISK_THROUGHPUT \| DISK_SPACE \| CONNECTIONS \| OPCOUNTERS \| QUEUES \| REPLICATION_LAG)[]` | No | One or more measurements to return. If omitted, the resource returns all measurements. To specify multiple values for `m`, repeat the `m` parameter for each value. |
| `granularity` | `PT30S \| PT1M \| PT3M \| PT15M \| PT1H \| PT3H` | No | Interval between consecutive data points, in ISO 8601 duration format. If omitted, MongoDB Cloud chooses the resolution from the width of the window. |
| `period` | `string` | No | 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**. |
| `start` | `string` | No | 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**. |
| `end` | `string` | No | 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**. |
| `nodeType` | `ALL \| PRIMARIES \| SECONDARIES` | No | Members of the shard whose readings are averaged into the shard's series. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clusterName` | `string \| null` | No | Human-readable label that identifies the cluster. |
| `end` | `string \| null` | No | Date and time at which the window ends. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `granularity` | `string \| null` | No | Interval between consecutive data points, in ISO 8601 duration format. Either the requested `granularity` or, when none was requested, the resolution MongoDB Cloud chose for the width of the window. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the project. |
| `measurements` | `object[] \| null` | No | One time series per requested measurement, in the order of the measurement names. A measurement MongoDB Cloud has no readings for is still listed, with `null` data point values. |
| `replicaSetName` | `string \| null` | No | Human-readable label that identifies the shard, as the replica set name of its members. |
| `start` | `string \| null` | No | Date and time of the first data point. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |

> [accordion] measurements full type
>
> ```ts theme={null}
> {
>   dataPoints?: {
>     timestamp?: string | null,
>     value?: number | null | null
>   }[] | null,
>   name?: string | null,
>   units?: string | null
> }[] | null
> ```

***

### listClusterShardMetrics

`shardingInsights.listClusterShardMetrics`

Return All Shards in One Cluster: returns the size and load of every shard in one sharded cluster (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.shardingInsights.listClusterShardMetrics({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   alerts?: {
>     message?: string | null,
>     severity?: string | null
>   }[] | null,
>   cacheThroughput?: {
>     readIntoBytesPerSecond?: number | null,
>     writtenFromBytesPerSecond?: number | null
>   } | null,
>   cpuUtilization?: {
>     averagePercent?: number | null,
>     maximumPercent?: number | null
>   } | null,
>   dataSizeBytes?: number | null,
>   rangeDeleterTasks?: number | null,
>   readLatencyMicroseconds?: number | null,
>   readOperationsPerSecond?: {
>     average?: number | null,
>     maximum?: number | null
>   } | null,
>   replicaSetName?: string | null,
>   shardedCollections?: number | null,
>   warnings?: string[] | null,
>   writeOperationsPerSecond?: {
>     average?: number | null,
>     maximum?: number | null
>   } | null
> }[] | null
> ```

***

### listShardMetricMeasurements

`shardingInsights.listShardMetricMeasurements`

Return Measurements for All Shards of One Cluster: returns time series of the requested measurements for every shard of the specified sharded cluster, one series per shard and measurement

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.shardingInsights.listShardMetricMeasurements({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |
| `m` | `(SYSTEM_CPU \| SYSTEM_MEMORY \| SYSTEM_NETWORK \| DISK_IOPS \| DISK_LATENCY \| DISK_THROUGHPUT \| DISK_SPACE \| CONNECTIONS \| OPCOUNTERS \| QUEUES \| REPLICATION_LAG)[]` | No | One or more measurements to return. If omitted, the resource returns all measurements. To specify multiple values for `m`, repeat the `m` parameter for each value. |
| `granularity` | `PT30S \| PT1M \| PT3M \| PT15M \| PT1H \| PT3H` | No | Interval between consecutive data points, in ISO 8601 duration format. If omitted, MongoDB Cloud chooses the resolution from the width of the window. |
| `period` | `string` | No | 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**. |
| `start` | `string` | No | 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**. |
| `end` | `string` | No | 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**. |
| `nodeType` | `ALL \| PRIMARIES \| SECONDARIES` | No | Members of each shard whose readings are averaged into the shard's series. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `clusterName` | `string \| null` | No | Human-readable label that identifies the cluster. |
| `end` | `string \| null` | No | Date and time at which the window ends. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `granularity` | `string \| null` | No | Interval between consecutive data points, in ISO 8601 duration format. Either the requested `granularity` or, when none was requested, the resolution MongoDB Cloud chose for the width of the window. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies the project. |
| `measurements` | `object[] \| null` | No | One time series per requested measurement on each shard of the cluster, ordered by measurement and then by `replicaSetName`. A shard that MongoDB Cloud has no readings for is still listed, with `null` data point values. |
| `start` | `string \| null` | No | Date and time of the first data point. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |

> [accordion] measurements full type
>
> ```ts theme={null}
> {
>   dataPoints?: {
>     timestamp?: string | null,
>     value?: number | null | null
>   }[] | null,
>   name?: string | null,
>   replicaSetName?: string | null,
>   units?: string | null
> }[] | null
> ```

***

## Sharding Recommendations

### getClusterShardingRecommendations

`shardingRecommendations.getClusterShardingRecommendations`

Return Sharding Recommendations for One Cluster: returns the active Sharding Advisor recommendations for one cluster

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.shardingRecommendations.getClusterShardingRecommendations({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `recommendations` | `object[] \| null` | No | Sharding recommendations for the cluster. Each recommendation identifies the recommendation type that produced it in its `type` property. |

> [accordion] recommendations full type
>
> ```ts theme={null}
> {
>   triggers?: {
>     name?: string | null,
>     target?: string | null,
>     targetType?: string | null,
>     unit?: string | null,
>     value?: number | null
>   }[] | null,
>   type?: string | null
> }[] | null
> ```

***

## Shard Key Analyzer

### createShardKeyAnalysis

`shardKeyAnalyzer.createShardKeyAnalysis`

Create One Shard Key Analysis for One Cluster: analyzes how well one candidate shard key would distribute one collection across the shards of the specified cluster

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.shardKeyAnalyzer.createShardKeyAnalysis({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	clusterName: 'Cluster0',
	namespace: 'example',
	shardKey: [{}],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster that contains the collection to analyze. |
| `includeKeyCharacteristics` | `boolean` | No | Flag that indicates whether to return the cardinality, frequency and monotonicity of the candidate shard key. |
| `includeReadWriteDistribution` | `boolean` | No | Flag that indicates whether to return how reads and writes would be routed across shards under the candidate shard key. This requires query sampling to have collected operations for the namespace. |
| `namespace` | `string` | Yes | Combination of the database and collection to analyze, written as `<database>.<collection>`. |
| `shardKey` | `Record<string, string>[]` | Yes | Candidate shard key, given as one object per shard key field in the order the fields form the key. Field order is significant: `[{"a": "1"}, {"b": "1"}]` and `[{"b": "1"}, {"a": "1"}]` are different shard keys. At most one field may be `hashed`. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getAnalysisOperation

`shardKeyAnalyzer.getAnalysisOperation`

Return One Shard Key Analysis Operation for One Cluster: returns the progress of one shard key analysis for the specified cluster

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.shardKeyAnalyzer.getAnalysisOperation({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', operationId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster with the shard key analysis operation you want to return. |
| `operationId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the shard key analysis operation to return. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `createdAt` | `string \| null` | No | Date and time when MongoDB Cloud accepted this operation (ISO 8601 format in UTC). |
| `error` | `object \| null` | No | Details of the failure that ended the shard key analysis operation. |
| `expiresAt` | `string \| null` | No | Date and time when MongoDB Cloud stops returning this operation (ISO 8601 format in UTC). Reads after this time return an HTTP 404 status. This value derives from `updatedAt`, so it advances with each state change while the operation is running and settles only once the operation is terminal. |
| `operationId` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this operation. When the operation succeeds, the analysis it created carries the same identifier. |
| `operationType` | `string \| null` | No | Kind of change the operation makes. Submitting a shard key analysis creates an analysis resource, so the operation type is always `CREATE`. |
| `resultHref` | `string \| null` | No | URI of the analysis this operation created. MongoDB Cloud returns this parameter only when `status` is `SUCCEEDED`. |
| `retryAfterSeconds` | `number \| null` | No | Number of seconds to wait before polling this operation again. MongoDB Cloud returns this parameter only while `status` is not terminal. |
| `status` | `string \| null` | No | State of the shard key analysis operation. `PENDING` and `IN_PROGRESS` are non-terminal; `SUCCEEDED`, `FAILED`, `CANCELED` and `SUPERSEDED` are terminal. MongoDB Cloud currently reports only `PENDING`, `SUCCEEDED` and `FAILED`. The remaining values are reserved and may be reported in the future without a new resource version. |
| `updatedAt` | `string \| null` | No | Date and time when this operation last changed state (ISO 8601 format in UTC). Once the operation is terminal, this is when it finished. |

> [accordion] error full type
>
> ```ts theme={null}
> {
>   code?: string | null,
>   message?: string | null,
>   retryStrategy?: string | null,
>   retryable?: boolean | null
> } | null
> ```

***

### getShardKeyAnalysis

`shardKeyAnalyzer.getShardKeyAnalysis`

Return One Shard Key Analysis for One Cluster: returns one completed shard key analysis for the specified cluster

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.shardKeyAnalyzer.getShardKeyAnalysis({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0', analysisId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster with the shard key analysis you want to return. |
| `analysisId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the shard key analysis to return. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `avgDocSizeBytes` | `number \| null` | No | Average size of one document in the collection, in bytes. |
| `correlationCoefficient` | `number \| null` | No | Correlation between the candidate shard key and the order in which documents were inserted, from `-1` to `1`. Values near `1` or `-1` indicate a monotonically changing key, which directs all inserts to one shard. This parameter is absent when the shard key has no supporting index or the collection is clustered, in which case MongoDB Cloud does not compute it. |
| `createdAt` | `string \| null` | No | Date and time when this shard key analysis was requested (ISO 8601 format in UTC). This is when the analysis was submitted, not when it completed; the completion time is the `updatedAt` of the operation that produced it. |
| `expiresAt` | `string \| null` | No | Date and time when MongoDB Cloud stops returning this shard key analysis (ISO 8601 format in UTC). Reads after this time return an HTTP 404 status. |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this shard key analysis. This is the same identifier as the `operationId` of the operation that produced it. |
| `isUnique` | `boolean \| null` | No | Flag that indicates whether the index supporting the candidate shard key enforces a uniqueness constraint. |
| `monotonicity` | `string \| null` | No | Whether the shard key value increases or decreases with the order in which documents were inserted. A monotonically changing shard key directs all inserts to one shard. `UNKNOWN` indicates that MongoDB Cloud could not determine monotonicity, which happens when the shard key has no supporting index or the collection is clustered. |
| `mostCommonValues` | `object[] \| null` | No | Shard key values that occur most frequently in the sampled documents, with how often each occurs. MongoDB Cloud returns this parameter only to callers that can read the collection's data, because it carries values out of the collection rather than statistics about them. |
| `namespace` | `string \| null` | No | Combination of the database and collection that was analyzed, written as `<database>.<collection>`. |
| `note` | `string \| null` | No | Guidance from MongoDB on how to interpret the metrics in this analysis. This parameter is absent when the analysis carries no guidance. |
| `numDistinctValues` | `number \| null` | No | Number of distinct values that the candidate shard key takes across the sampled documents. A value close to `numDocsSampled` indicates high cardinality, which distributes documents well. |
| `numDocsSampled` | `number \| null` | No | Number of documents that MongoDB Cloud sampled to compute these metrics. |
| `numDocsTotal` | `number \| null` | No | Number of documents in the collection. |
| `numOrphanDocs` | `number \| null` | No | Number of orphaned documents in the collection. This parameter is absent for collections that have none. |
| `percentageOfMultiShardReads` | `number \| null` | No | Percentage of sampled reads that the candidate shard key would route to more than one shard but not to every shard. |
| `percentageOfMultiShardWrites` | `number \| null` | No | Percentage of sampled writes that the candidate shard key would route to more than one shard but not to every shard. |
| `percentageOfScatterGatherReads` | `number \| null` | No | Percentage of sampled reads that the candidate shard key would broadcast to every shard. Lower is better. |
| `percentageOfScatterGatherWrites` | `number \| null` | No | Percentage of sampled writes that the candidate shard key would broadcast to every shard. Lower is better. |
| `percentageOfSingleShardReads` | `number \| null` | No | Percentage of sampled reads that the candidate shard key would route to exactly one shard. Higher is better. |
| `percentageOfSingleShardWrites` | `number \| null` | No | Percentage of sampled writes that the candidate shard key would route to exactly one shard. Higher is better. |
| `rawOutput` | `string \| null` | No | Unmodified result of the `analyzeShardKey` command, as a JSON string. Its content tracks the MongoDB server version of the analyzed cluster rather than the version of this resource, so members outside the parameters above may appear or change without a new resource version. Do not parse it as a stable contract. `mostCommonValues` is removed from it for callers that cannot read the collection's data. This parameter is absent if MongoDB Cloud could not serialize the command result, which costs the |
| `readSampleSize` | `object \| null` | No | Number of sampled read operations that MongoDB Cloud used to compute the read distribution, broken down by the command that issued them. |
| `shardKey` | `Record<string, string>[] \| null` | No | Candidate shard key that was analyzed, given as one object per shard key field in the order the fields form the key. This parameter is absent when MongoDB Cloud has no shard key recorded for the analysis. |
| `writeSampleSize` | `object \| null` | No | Number of sampled write operations that MongoDB Cloud used to compute the write distribution, broken down by the command that issued them. |

> [accordion] mostCommonValues full type
>
> ```ts theme={null}
> {
>   frequency?: number | null,
>   truncated?: boolean | null,
>   value?: Record<string, {
>   }> | null
> }[] | null
> ```

> [accordion] readSampleSize full type
>
> ```ts theme={null}
> {
>   aggregate?: number | null,
>   count?: number | null,
>   distinct?: number | null,
>   find?: number | null,
>   total?: number | null
> } | null
> ```

> [accordion] writeSampleSize full type
>
> ```ts theme={null}
> {
>   delete?: number | null,
>   findAndModify?: number | null,
>   total?: number | null,
>   update?: number | null
> } | null
> ```

***

### listAnalysisOperations

`shardKeyAnalyzer.listAnalysisOperations`

Return All Shard Key Analysis Operations for One Cluster: returns every shard key analysis attempt for the specified cluster, newest first, including attempts that are still running and attempts that failed (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.shardKeyAnalyzer.listAnalysisOperations({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster with the shard key analysis operations you want to return. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   createdAt?: string | null,
>   error?: {
>     code?: string | null,
>     message?: string | null,
>     retryStrategy?: string | null,
>     retryable?: boolean | null
>   } | null,
>   expiresAt?: string | null,
>   operationId?: string | null,
>   operationType?: string | null,
>   resultHref?: string | null,
>   retryAfterSeconds?: number | null,
>   status?: string | null,
>   updatedAt?: string | null
> }[] | null
> ```

***

### listShardKeyAnalyses

`shardKeyAnalyzer.listShardKeyAnalyses`

Return All Shard Key Analyses for One Cluster: returns all completed shard key analyses for the specified cluster, newest first (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.shardKeyAnalyzer.listShardKeyAnalyses({ groupId: '5f43e7f0a1b2c3d4e5f60718', clusterName: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `clusterName` | `string` | Yes | Human-readable label that identifies the cluster with the shard key analyses you want to return. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   avgDocSizeBytes?: number | null,
>   correlationCoefficient?: number | null,
>   createdAt?: string | null,
>   expiresAt?: string | null,
>   id?: string | null,
>   isUnique?: boolean | null,
>   monotonicity?: string | null,
>   mostCommonValues?: {
>     frequency?: number | null,
>     truncated?: boolean | null,
>     value?: Record<string, {
>     }> | null
>   }[] | null,
>   namespace?: string | null,
>   note?: string | null,
>   numDistinctValues?: number | null,
>   numDocsSampled?: number | null,
>   numDocsTotal?: number | null,
>   numOrphanDocs?: number | null,
>   percentageOfMultiShardReads?: number | null,
>   percentageOfMultiShardWrites?: number | null,
>   percentageOfScatterGatherReads?: number | null,
>   percentageOfScatterGatherWrites?: number | null,
>   percentageOfSingleShardReads?: number | null,
>   percentageOfSingleShardWrites?: number | null,
>   rawOutput?: string | null,
>   readSampleSize?: {
>     aggregate?: number | null,
>     count?: number | null,
>     distinct?: number | null,
>     find?: number | null,
>     total?: number | null
>   } | null,
>   shardKey?: Record<string, string>[] | null,
>   writeSampleSize?: {
>     delete?: number | null,
>     findAndModify?: number | null,
>     total?: number | null,
>     update?: number | null
>   } | null
> }[] | null
> ```

***

## Streams

### acceptVpcPeeringConnection

`streams.acceptVpcPeeringConnection`

Accept One Incoming VPC Peering Connection: requests the acceptance of an incoming VPC Peering connection

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.streams.acceptVpcPeeringConnection({ groupId: '5f43e7f0a1b2c3d4e5f60718', id: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `id` | `string` | Yes | The VPC Peering Connection id. |
| `requesterAccountId` | `string` | No | The AWS requester account ID. |
| `requesterVpcId` | `string` | No | The AWS requester VPC ID. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### createFailoverConnection

`streams.createFailoverConnection`

Create One Failover Stream Connection: creates one failover connection for a stream workspace in the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.streams.createFailoverConnection({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	tenantName: 'example-tenant',
	connectionName: 'example',
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace. |
| `connectionName` | `string` | Yes | Label that identifies the stream connection name. |
| `body` | `object` | Yes | Settings that define a failover connection to an external data store. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   name?: string,
>   region?: string,
>   type?: Kafka | Cluster
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique identifier of the connection. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable label that identifies the stream connection. |
| `region` | `string \| null` | No | Connection region. |
| `state` | `string \| null` | No | Connection state. |
| `type` | `string \| null` | No | Connection type. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### createPrivateLinkConnection

`streams.createPrivateLinkConnection`

Create One Private Link Connection: creates one Private Link in the specified project

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.streams.createPrivateLinkConnection({ groupId: '5f43e7f0a1b2c3d4e5f60718', provider: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `arn` | `string` | No | Amazon Resource Name (ARN). Required for AWS Provider and MSK vendor. |
| `authenticationScheme` | `TLS \| SASL_SCRAM \| IAM` | No | Authentication mechanism to use with this private networking connection. |
| `azureResourceIds` | `string[]` | No | Azure Resource IDs of each availability zone for the Azure Confluent cluster. |
| `dnsDomain` | `string` | No | The domain hostname. Required for the following provider and vendor combinations: - AWS provider with CONFLUENT vendor. - AZURE provider with EVENTHUB or CONFLUENT vendor. |
| `dnsSubDomain` | `string[]` | No | Sub-Domain name of Confluent cluster. These are typically your availability zones. Required for AWS Provider and CONFLUENT vendor, if your AWS CONFLUENT cluster doesn't use subdomains, you must set this to the empty array \[]. |
| `gcpConnectionIds` | `string[]` | No | List of GCP Private Service Connect connection IDs. |
| `gcpServiceAttachmentUris` | `string[]` | No | Service Attachment URIs of each availability zone for the GCP Confluent cluster. |
| `provider` | `string` | Yes | Cloud provider where the private endpoint's target resource is deployed. Valid values are AWS, AZURE, and GCP. |
| `region` | `string` | No | The region of the Provider’s cluster. See [AWS](https://www.mongodb.com/docs/atlas/reference/amazon-aws/#stream-processing-workspaces), [AZURE](https://www.mongodb.com/docs/atlas/reference/microsoft-azure/#stream-processing-workspaces), and [GCP](https://www.mongodb.com/docs/atlas/reference/google-gcp/#stream-processing-workspaces) supported regions. |
| `serviceEndpointId` | `string` | No | For AZURE EVENTHUB, this is the [namespace endpoint ID](https://learn.microsoft.com/en-us/rest/api/eventhub/namespaces/get). For AWS CONFLUENT cluster, this is the [VPC Endpoint service name](https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html). |
| `vendor` | `string` | No | Vendor that manages the cloud service. The list of supported vendor values is: - AWS -- `MSK` for AWS MSK Kafka clusters -- `CONFLUENT` for Confluent Kafka clusters on AWS -- `KINESIS` for AWS Kinesis Data Streams -- `S3` for AWS S3 -- `LAMBDA` for AWS Lambda - Azure -- `EVENTHUB` for Azure EventHub. -- `CONFLUENT` for Confluent Kafka clusters on Azure -- `AZURE_BLOB_STORAGE` for Azure Blob Storage - GCP -- `CONFLUENT` for Confluent Kafka clusters on GCP -- `PUBSUB` for Google Cloud Pub/Sub \*\*NO |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | The ID of the Private Link connection. |
| `arn` | `string \| null` | No | Amazon Resource Name (ARN). Required for AWS Provider and MSK vendor. |
| `authenticationScheme` | `string \| null` | No | Authentication mechanism to use with this private networking connection. |
| `azureResourceIds` | `string[] \| null` | No | Azure Resource IDs of each availability zone for the Azure Confluent cluster. |
| `dnsDomain` | `string \| null` | No | The domain hostname. Required for the following provider and vendor combinations: - AWS provider with CONFLUENT vendor. - AZURE provider with EVENTHUB or CONFLUENT vendor. |
| `dnsSubDomain` | `string[] \| null` | No | Sub-Domain name of Confluent cluster. These are typically your availability zones. Required for AWS Provider and CONFLUENT vendor, if your AWS CONFLUENT cluster doesn't use subdomains, you must set this to the empty array \[]. |
| `errorMessage` | `string \| null` | No | Error message if the state is FAILED. |
| `gcpConnectionIds` | `string[] \| null` | No | List of GCP Private Service Connect connection IDs. |
| `gcpServiceAttachmentUris` | `string[] \| null` | No | Service Attachment URIs of each availability zone for the GCP Confluent cluster. |
| `interfaceEndpointId` | `string \| null` | No | Interface endpoint ID that is created from the service endpoint ID provided. |
| `interfaceEndpointName` | `string \| null` | No | Interface endpoint name that is created from the service endpoint ID provided. |
| `links` | `object[] \| null` | No | 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. |
| `provider` | `string \| null` | No | Cloud provider where the private endpoint's target resource is deployed. Valid values are AWS, AZURE, and GCP. |
| `providerAccountId` | `string \| null` | No | Account ID from the cloud provider. |
| `region` | `string \| null` | No | The region of the Provider’s cluster. See [AWS](https://www.mongodb.com/docs/atlas/reference/amazon-aws/#stream-processing-workspaces), [AZURE](https://www.mongodb.com/docs/atlas/reference/microsoft-azure/#stream-processing-workspaces), and [GCP](https://www.mongodb.com/docs/atlas/reference/google-gcp/#stream-processing-workspaces) supported regions. |
| `serviceEndpointId` | `string \| null` | No | For AZURE EVENTHUB, this is the [namespace endpoint ID](https://learn.microsoft.com/en-us/rest/api/eventhub/namespaces/get). For AWS CONFLUENT cluster, this is the [VPC Endpoint service name](https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html). |
| `state` | `string \| null` | No | State the connection is in. |
| `vendor` | `string \| null` | No | Vendor that manages the cloud service. The list of supported vendor values is: - AWS -- `MSK` for AWS MSK Kafka clusters -- `CONFLUENT` for Confluent Kafka clusters on AWS -- `KINESIS` for AWS Kinesis Data Streams -- `S3` for AWS S3 -- `LAMBDA` for AWS Lambda - Azure -- `EVENTHUB` for Azure EventHub. -- `CONFLUENT` for Confluent Kafka clusters on Azure -- `AZURE_BLOB_STORAGE` for Azure Blob Storage - GCP -- `CONFLUENT` for Confluent Kafka clusters on GCP -- `PUBSUB` for Google Cloud Pub/Sub \*\*NO |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### createStreamConnection

`streams.createStreamConnection`

Create One Stream Connection: creates one connection for a stream workspace in the specified project

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.streams.createStreamConnection({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	tenantName: 'example-tenant',
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace. |
| `body` | `object` | Yes | Settings that define a connection to an external data store. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   name?: string,
>   region?: string,
>   type?: Kafka | Cluster | Sample | Https | AzureBlobStorage | AWSLambda | AWSKinesisDataStreams | SchemaRegistry | GCPPubSub | DataCatalog
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `errorMessage` | `string \| null` | No | Connection error message. |
| `id` | `string \| null` | No | Unique identifier of the connection. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable label that identifies the stream connection. For the Sample type, this is the name of the sample source. |
| `region` | `string \| null` | No | Connection region. |
| `state` | `string \| null` | No | Connection state. |
| `type` | `string \| null` | No | Connection type. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### createStreamProcessor

`streams.createStreamProcessor`

Create One Stream Processor: create one Stream Processor within the specified stream workspace

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.streams.createStreamProcessor({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	tenantName: 'example-tenant',
	name: 'Cluster0',
	pipeline: [{}],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace. |
| `failoverEnabled` | `boolean` | No | Flag that enables or disables failover for the stream processor. |
| `name` | `string` | Yes | Human-readable name of the stream processor. |
| `options` | `object` | No | Optional configuration for the stream processor. |
| `pipeline` | `object[]` | Yes | Stream aggregation pipeline you want to apply to your streaming data. |
| `tier` | `SP50 \| SP30 \| SP10 \| SP5 \| SP2` | No | Baseline processing tier requested by the user. |

> [accordion] options full type
>
> ```ts theme={null}
> {
>   autoscaling?: {
>     enabled?: boolean | null,
>     maxTier?: SP50 | SP30 | SP10 | SP5 | SP2 | null,
>     minTier?: SP50 | SP30 | SP10 | SP5 | SP2 | null
>   } | null,
>   dlq?: {
>     coll?: string,
>     connectionName?: string,
>     db?: string
>   }
> }
> ```

> [accordion] pipeline full type
>
> ```ts theme={null}
> Record<string, {
> }>[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the stream processor. |
| `effectiveTier` | `string \| null` | No | Tier the stream processor is currently running on. The server sets this value from `tier` on create and on every start or restart, may move it within \[`minTier`, `maxTier`] while autoscaling is enabled, and restores it to `tier` when autoscaling is disabled. Patching `tier` does not change it directly; the new tier takes effect at the next start or restart. |
| `failoverEnabled` | `boolean \| null` | No | Flag that enables or disables failover for the stream processor. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable name of the stream processor. |
| `options` | `object \| null` | No | Optional configuration for the stream processor. |
| `pipeline` | `object[] \| null` | No | Stream aggregation pipeline you want to apply to your streaming data. |
| `tier` | `string \| null` | No | Baseline tier of the stream processor. The processor starts or restarts on this tier; `effectiveTier` reports the tier it is currently running. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] options full type
>
> ```ts theme={null}
> {
>   autoscaling?: {
>     enabled?: boolean | null | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     maxTier?: string | null | null,
>     minTier?: string | null | null
>   } | null | null,
>   dlq?: {
>     coll?: string | null,
>     connectionName?: string | null,
>     db?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null
>   } | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null
> } | null
> ```

> [accordion] pipeline full type
>
> ```ts theme={null}
> Record<string, {
> }>[] | null
> ```

***

### createStreamWorkspace

`streams.createStreamWorkspace`

Create One Stream Workspace: creates one stream workspace in the specified project

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.streams.createStreamWorkspace({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `dataProcessRegion` | `object` | No | Information about the cloud provider region in which MongoDB Cloud processes the stream. |
| `failoverRegions` | `object[]` | No | List of failover regions configured for the stream workspace. |
| `name` | `string` | No | Label that identifies the stream workspace. |
| `sampleConnections` | `object` | No | Sample connections to add to SPI. |
| `streamConfig` | `object \| null` | No | Configuration options for an Atlas Stream Processing Workspace. |

> [accordion] dataProcessRegion full type
>
> ```ts theme={null}
> {
>   cloudProvider: AWS | GCP | AZURE | TENANT | SERVERLESS,
>   region: SYDNEY_AUS | MUMBAI_IND | FRANKFURT_DEU | DUBLIN_IRL | LONDON_GBR | VIRGINIA_USA | OHIO_USA | OREGON_USA | SAOPAULO_BRA | MONTREAL_CAN | TOKYO_JPN | SINGAPORE_SGP | PARIS_FRA | SEOUL_KOR | eastus | westus | eastus2 | westeurope | brazilsouth | australiaeast | northeurope | eastasia | southeastasia | US_CENTRAL1 | EUROPE_WEST1 | US_EAST4 | US_WEST1 | ASIA_SOUTH1
> }
> ```

> [accordion] failoverRegions full type
>
> ```ts theme={null}
> {
>   cloudProvider: AWS | GCP | AZURE | TENANT | SERVERLESS,
>   region: SYDNEY_AUS | MUMBAI_IND | FRANKFURT_DEU | DUBLIN_IRL | LONDON_GBR | VIRGINIA_USA | OHIO_USA | OREGON_USA | SAOPAULO_BRA | MONTREAL_CAN | TOKYO_JPN | SINGAPORE_SGP | PARIS_FRA | SEOUL_KOR | eastus | westus | eastus2 | westeurope | brazilsouth | australiaeast | northeurope | eastasia | southeastasia | US_CENTRAL1 | EUROPE_WEST1 | US_EAST4 | US_WEST1 | ASIA_SOUTH1
> }[]
> ```

> [accordion] sampleConnections full type
>
> ```ts theme={null}
> {
>   solar?: boolean
> }
> ```

> [accordion] streamConfig full type
>
> ```ts theme={null}
> {
>   maxTierSize?: SP50 | SP30 | SP10 | SP5 | SP2,
>   tier?: SP50 | SP30 | SP10 | SP5 | SP2
> } | null
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `connections` | `object[] \| null` | No | List of connections configured in the stream workspace. |
| `dataProcessRegion` | `object \| null` | No | Information about the cloud provider region in which MongoDB Cloud processes the stream. |
| `failoverRegions` | `object[] \| null` | No | List of failover regions configured for the stream workspace. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `hostnames` | `string[] \| null` | No | List that contains the hostnames assigned to the stream workspace. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Label that identifies the stream workspace. |
| `sampleConnections` | `object \| null` | No | Sample connections to add to SPI. |
| `streamConfig` | `object \| null` | No | Configuration options for an Atlas Stream Processing Workspace. |

> [accordion] connections full type
>
> ```ts theme={null}
> {
>   errorMessage?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   name?: string | null,
>   region?: string | null,
>   state?: string | null,
>   type?: string | null
> }[] | null
> ```

> [accordion] dataProcessRegion full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   region?: string | string | string | null
> } | null
> ```

> [accordion] failoverRegions full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   region?: string | string | string | null
> }[] | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] sampleConnections full type
>
> ```ts theme={null}
> {
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   solar?: boolean | null
> } | null
> ```

> [accordion] streamConfig full type
>
> ```ts theme={null}
> {
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   maxTierSize?: string | null,
>   tier?: string | null
> } | null | null
> ```

***

### createWorkspacePrivateEndpoint

`streams.createWorkspacePrivateEndpoint`

Create One Workspace Private Endpoint for Atlas Stream Processing: registers one VPC endpoint for Atlas Stream Processing in the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.streams.createWorkspacePrivateEndpoint({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	customerDnsName: 'example',
	id: 'example',
	region: 'example',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `customerDnsName` | `string` | Yes | DNS name of your VPC endpoint. |
| `id` | `string` | Yes | Unique identifier of your VPC endpoint. |
| `region` | `string` | Yes | Human-readable label identifying the region of your VPC endpoint. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deletePrivateLinkConnection

`streams.deletePrivateLinkConnection`

Delete One Private Link Connection: deletes one Private Link in the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.streams.deletePrivateLinkConnection({ groupId: '5f43e7f0a1b2c3d4e5f60718', connectionId: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `connectionId` | `string` | Yes | Unique ID that identifies the Private Link connection. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteStreamConnection

`streams.deleteStreamConnection`

Delete One Stream Connection: delete one connection of the specified stream workspace

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.streams.deleteStreamConnection({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant', connectionName: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace. |
| `connectionName` | `string` | Yes | Label that identifies the stream connection. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteStreamFailoverConnection

`streams.deleteStreamFailoverConnection`

Delete One Stream Failover Connection: delete one failover connection of the specified stream workspace

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.streams.deleteStreamFailoverConnection({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	tenantName: 'example-tenant',
	connectionName: 'example',
	failoverConnectionId: 'example',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace. |
| `connectionName` | `string` | Yes | Label that identifies the stream connection. |
| `failoverConnectionId` | `string` | Yes | Label that identifies the stream failover connection id. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteStreamProcessor

`streams.deleteStreamProcessor`

Delete One Stream Processor: delete a Stream Processor within the specified stream workspace

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.streams.deleteStreamProcessor({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant', processorName: 'example-processor' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace. |
| `processorName` | `string` | Yes | Label that identifies the stream processor. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteStreamWorkspace

`streams.deleteStreamWorkspace`

Delete One Stream Workspace: delete one stream workspace in the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.streams.deleteStreamWorkspace({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace to delete. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteVpcPeeringConnection

`streams.deleteVpcPeeringConnection`

Delete One VPC Peering Connection: deletes an incoming VPC Peering connection

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.streams.deleteVpcPeeringConnection({ groupId: '5f43e7f0a1b2c3d4e5f60718', id: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `id` | `string` | Yes | The VPC Peering Connection id. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### deleteWorkspacePrivateEndpoint

`streams.deleteWorkspacePrivateEndpoint`

Remove One Workspace Private Endpoint for Atlas Stream Processing: removes one private endpoint registered for Atlas Stream Processing in the specified project

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.streams.deleteWorkspacePrivateEndpoint({ groupId: '5f43e7f0a1b2c3d4e5f60718', endpointId: 'vpce-0123456789abcdef0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `endpointId` | `string` | Yes | Unique identifier of your VPC endpoint. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### downloadAuditLogs

`streams.downloadAuditLogs`

Download Audit Logs for One Atlas Stream Processing Workspace: downloads the audit logs for the specified Atlas Streams Processing workspace or stream processor (returned as a file)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.streams.downloadAuditLogs({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `endDate` | `number` | No | 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. |
| `startDate` | `number` | No | 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. |
| `spName` | `string` | No | Name of the stream processor to download logs for. An empty string will download logs for all stream processors in the workspace. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `contentBase64` | `string` | No | The file, base64-encoded. Missing when the file came back as text or contentOmitted is set. |
| `text` | `string` | No | The file as text, in place of contentBase64, when it is a text file (CSV, JSON, Markdown, XML and the like) in UTF-8. |
| `contentType` | `string` | Yes | Media type of the file, for example application/pdf. |
| `byteLength` | `number` | Yes | Size of the file in bytes. |
| `filename` | `string` | No | The file name, when known. |
| `contentOmitted` | `not_requested \| over_limit` | No | Set when the content was left out: the caller did not ask for it, or the file was over the limit. |
| `fileId` | `string` | No | Where the host saved the file. Over the limit it comes in place of the content; a host that keeps every file sets it beside the content too. On Corsair it is a Files id (fil\_…): pass it to another app wherever that app takes a file URL, or read a text file or PDF with files.read\_text. |

***

### downloadOperationalLogs

`streams.downloadOperationalLogs`

Download Operational Logs for One Atlas Stream Processing Workspace: downloads the operational logs for the specified Atlas Streams Processing workspace or stream processor (returned as a file)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.streams.downloadOperationalLogs({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `endDate` | `number` | No | 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. |
| `startDate` | `number` | No | 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. |
| `spName` | `string` | No | Name of the stream processor to download logs for. An empty string will download logs for all stream processors in the workspace. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `contentBase64` | `string` | No | The file, base64-encoded. Missing when the file came back as text or contentOmitted is set. |
| `text` | `string` | No | The file as text, in place of contentBase64, when it is a text file (CSV, JSON, Markdown, XML and the like) in UTF-8. |
| `contentType` | `string` | Yes | Media type of the file, for example application/pdf. |
| `byteLength` | `number` | Yes | Size of the file in bytes. |
| `filename` | `string` | No | The file name, when known. |
| `contentOmitted` | `not_requested \| over_limit` | No | Set when the content was left out: the caller did not ask for it, or the file was over the limit. |
| `fileId` | `string` | No | Where the host saved the file. Over the limit it comes in place of the content; a host that keeps every file sets it beside the content too. On Corsair it is a Files id (fil\_…): pass it to another app wherever that app takes a file URL, or read a text file or PDF with files.read\_text. |

***

### getAccountDetails

`streams.getAccountDetails`

Return Account ID and VPC ID for One Project and Region: returns the Account ID, and the VPC ID for the group and region specified

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.streams.getAccountDetails({ groupId: '5f43e7f0a1b2c3d4e5f60718', cloudProvider: 'AWS', regionName: 'US_EAST_1' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `cloudProvider` | `string` | Yes | One of "aws", "azure" or "gcp". |
| `regionName` | `string` | Yes | The cloud provider specific region name, i.e. "US\_EAST\_1" for cloud provider "aws". |

**Output:** `object`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   awsAccountId?: string | null,
>   cidrBlock?: string | null,
>   cloudProvider?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   vpcId?: string | null
> } | {
>   azureSubscriptionId?: string | null,
>   cidrBlock?: string | null,
>   cloudProvider?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   virtualNetworkName?: string | null
> } | {
>   cidrBlock?: string | null,
>   cloudProvider?: string | null,
>   gcpProjectId?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   vpcNetworkName?: string | null
> }
> ```

***

### getPrivateLinkConnection

`streams.getPrivateLinkConnection`

Return One Private Link Connection: returns the details of one Private Link connection within the project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.streams.getPrivateLinkConnection({ groupId: '5f43e7f0a1b2c3d4e5f60718', connectionId: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `connectionId` | `string` | Yes | Unique ID that identifies the Private Link connection. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | The ID of the Private Link connection. |
| `arn` | `string \| null` | No | Amazon Resource Name (ARN). Required for AWS Provider and MSK vendor. |
| `authenticationScheme` | `string \| null` | No | Authentication mechanism to use with this private networking connection. |
| `azureResourceIds` | `string[] \| null` | No | Azure Resource IDs of each availability zone for the Azure Confluent cluster. |
| `dnsDomain` | `string \| null` | No | The domain hostname. Required for the following provider and vendor combinations: - AWS provider with CONFLUENT vendor. - AZURE provider with EVENTHUB or CONFLUENT vendor. |
| `dnsSubDomain` | `string[] \| null` | No | Sub-Domain name of Confluent cluster. These are typically your availability zones. Required for AWS Provider and CONFLUENT vendor, if your AWS CONFLUENT cluster doesn't use subdomains, you must set this to the empty array \[]. |
| `errorMessage` | `string \| null` | No | Error message if the state is FAILED. |
| `gcpConnectionIds` | `string[] \| null` | No | List of GCP Private Service Connect connection IDs. |
| `gcpServiceAttachmentUris` | `string[] \| null` | No | Service Attachment URIs of each availability zone for the GCP Confluent cluster. |
| `interfaceEndpointId` | `string \| null` | No | Interface endpoint ID that is created from the service endpoint ID provided. |
| `interfaceEndpointName` | `string \| null` | No | Interface endpoint name that is created from the service endpoint ID provided. |
| `links` | `object[] \| null` | No | 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. |
| `provider` | `string \| null` | No | Cloud provider where the private endpoint's target resource is deployed. Valid values are AWS, AZURE, and GCP. |
| `providerAccountId` | `string \| null` | No | Account ID from the cloud provider. |
| `region` | `string \| null` | No | The region of the Provider’s cluster. See [AWS](https://www.mongodb.com/docs/atlas/reference/amazon-aws/#stream-processing-workspaces), [AZURE](https://www.mongodb.com/docs/atlas/reference/microsoft-azure/#stream-processing-workspaces), and [GCP](https://www.mongodb.com/docs/atlas/reference/google-gcp/#stream-processing-workspaces) supported regions. |
| `serviceEndpointId` | `string \| null` | No | For AZURE EVENTHUB, this is the [namespace endpoint ID](https://learn.microsoft.com/en-us/rest/api/eventhub/namespaces/get). For AWS CONFLUENT cluster, this is the [VPC Endpoint service name](https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html). |
| `state` | `string \| null` | No | State the connection is in. |
| `vendor` | `string \| null` | No | Vendor that manages the cloud service. The list of supported vendor values is: - AWS -- `MSK` for AWS MSK Kafka clusters -- `CONFLUENT` for Confluent Kafka clusters on AWS -- `KINESIS` for AWS Kinesis Data Streams -- `S3` for AWS S3 -- `LAMBDA` for AWS Lambda - Azure -- `EVENTHUB` for Azure EventHub. -- `CONFLUENT` for Confluent Kafka clusters on Azure -- `AZURE_BLOB_STORAGE` for Azure Blob Storage - GCP -- `CONFLUENT` for Confluent Kafka clusters on GCP -- `PUBSUB` for Google Cloud Pub/Sub \*\*NO |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getStreamConnection

`streams.getStreamConnection`

Return One Stream Connection: returns the details of one stream connection within the specified stream workspace

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.streams.getStreamConnection({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant', connectionName: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace to return. |
| `connectionName` | `string` | Yes | Label that identifies the stream connection to return. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `errorMessage` | `string \| null` | No | Connection error message. |
| `id` | `string \| null` | No | Unique identifier of the connection. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable label that identifies the stream connection. For the Sample type, this is the name of the sample source. |
| `region` | `string \| null` | No | Connection region. |
| `state` | `string \| null` | No | Connection state. |
| `type` | `string \| null` | No | Connection type. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getStreamFailoverConnection

`streams.getStreamFailoverConnection`

Return One Stream Failover Connection: get one failover connection of the specified stream workspace

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.streams.getStreamFailoverConnection({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	tenantName: 'example-tenant',
	connectionName: 'example',
	failoverConnectionId: 'example',
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace. |
| `connectionName` | `string` | Yes | Label that identifies the stream connection. |
| `failoverConnectionId` | `string` | Yes | Label that identifies the stream failover connection id. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique identifier of the connection. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable label that identifies the stream connection. |
| `region` | `string \| null` | No | Connection region. |
| `state` | `string \| null` | No | Connection state. |
| `type` | `string \| null` | No | Connection type. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getStreamProcessor

`streams.getStreamProcessor`

Return One Stream Processor: get one Stream Processor within the specified stream workspace

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.streams.getStreamProcessor({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant', processorName: 'example-processor' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace. |
| `processorName` | `string` | Yes | Label that identifies the stream processor. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the stream processor. |
| `effectiveTier` | `string \| null` | No | Tier the stream processor is currently running on. The server sets this value from `tier` on create and on every start or restart, may move it within \[`minTier`, `maxTier`] while autoscaling is enabled, and restores it to `tier` when autoscaling is disabled. Patching `tier` does not change it directly; the new tier takes effect at the next start or restart. |
| `eligibleForFailover` | `boolean \| null` | No | Flag that indicates whether the stream processor is eligible for failover. |
| `failoverEnabled` | `boolean \| null` | No | Flag that enables or disables failover for the stream processor. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable name of the stream processor. |
| `options` | `object \| null` | No | Optional configuration for the stream processor. |
| `pipeline` | `object[] \| null` | No | Stream aggregation pipeline you want to apply to your streaming data. |
| `state` | `string \| null` | No | The state of the stream processor. Commonly occurring states are 'CREATED', 'STARTED', 'STOPPED' and 'FAILED'. |
| `stats` | `object \| null` | No | The stats associated with the stream processor. |
| `tier` | `string \| null` | No | Baseline tier of the stream processor. The processor starts or restarts on this tier; `effectiveTier` reports the tier it is currently running. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] options full type
>
> ```ts theme={null}
> {
>   autoscaling?: {
>     enabled?: boolean | null | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     maxTier?: string | null | null,
>     minTier?: string | null | null
>   } | null | null,
>   dlq?: {
>     coll?: string | null,
>     connectionName?: string | null,
>     db?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null
>   } | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null
> } | null
> ```

> [accordion] pipeline full type
>
> ```ts theme={null}
> Record<string, {
> }>[] | null
> ```

> [accordion] stats full type
>
> ```ts theme={null}
> Record<string, {
> }> | null
> ```

***

### getStreamProcessors

`streams.getStreamProcessors`

Return All Stream Processors in One Stream Workspace: returns all Stream Processors within the specified stream workspace, including information on which processors are failover-eligible (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.streams.getStreamProcessors({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   _id?: string | null,
>   effectiveTier?: string | null,
>   eligibleForFailover?: boolean | null,
>   failoverEnabled?: boolean | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   name?: string | null,
>   options?: {
>     autoscaling?: {
>       enabled?: boolean | null | null,
>       links?: {
>         href?: string | null,
>         rel?: string | null
>       }[] | null,
>       maxTier?: string | null | null,
>       minTier?: string | null | null
>     } | null | null,
>     dlq?: {
>       coll?: string | null,
>       connectionName?: string | null,
>       db?: string | null,
>       links?: {
>         href?: string | null,
>         rel?: string | null
>       }[] | null
>     } | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null
>   } | null,
>   pipeline?: Record<string, {
>   }>[] | null,
>   state?: string | null,
>   stats?: Record<string, {
>   }> | null,
>   tier?: string | null
> }[] | null
> ```

***

### getStreamWorkspace

`streams.getStreamWorkspace`

Return One Stream Workspace: returns the details of one stream workspace within the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.streams.getStreamWorkspace({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace to return. |
| `includeConnections` | `boolean` | No | Flag to indicate whether connections information should be included in the stream workspace. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `connections` | `object[] \| null` | No | List of connections configured in the stream workspace. |
| `dataProcessRegion` | `object \| null` | No | Information about the cloud provider region in which MongoDB Cloud processes the stream. |
| `failoverRegions` | `object[] \| null` | No | List of failover regions configured for the stream workspace. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `hostnames` | `string[] \| null` | No | List that contains the hostnames assigned to the stream workspace. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Label that identifies the stream workspace. |
| `sampleConnections` | `object \| null` | No | Sample connections to add to SPI. |
| `streamConfig` | `object \| null` | No | Configuration options for an Atlas Stream Processing Workspace. |

> [accordion] connections full type
>
> ```ts theme={null}
> {
>   errorMessage?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   name?: string | null,
>   region?: string | null,
>   state?: string | null,
>   type?: string | null
> }[] | null
> ```

> [accordion] dataProcessRegion full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   region?: string | string | string | null
> } | null
> ```

> [accordion] failoverRegions full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   region?: string | string | string | null
> }[] | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] sampleConnections full type
>
> ```ts theme={null}
> {
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   solar?: boolean | null
> } | null
> ```

> [accordion] streamConfig full type
>
> ```ts theme={null}
> {
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   maxTierSize?: string | null,
>   tier?: string | null
> } | null | null
> ```

***

### getWorkspacePrivateEndpoint

`streams.getWorkspacePrivateEndpoint`

Return One Workspace Private Endpoint for Atlas Stream Processing: returns one private endpoint registered for Atlas Stream Processing in the specified project

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.streams.getWorkspacePrivateEndpoint({ groupId: '5f43e7f0a1b2c3d4e5f60718', endpointId: 'vpce-0123456789abcdef0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `endpointId` | `string` | Yes | Unique identifier of your VPC endpoint. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `customerDnsName` | `string \| null` | No | DNS name of your VPC endpoint. |
| `endpointServiceName` | `string \| null` | No | Name of the Atlas endpoint service your VPC endpoint connects to. Absent when no endpoint service is configured for the endpoint's region. |
| `id` | `string \| null` | No | Unique identifier of your VPC endpoint. |
| `provider` | `string \| null` | No | Cloud provider hosting the VPC endpoint. |
| `region` | `string \| null` | No | Human-readable label identifying the region of your VPC endpoint. |
| `status` | `string \| null` | No | Status of the endpoint registration. |

***

### listActivePeeringConnections

`streams.listActivePeeringConnections`

Return All Active Incoming VPC Peering Connections: returns a list of active incoming VPC Peering Connections (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.streams.listActivePeeringConnections({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   _id?: string | null,
>   accepterAccountId?: string | null,
>   accepterCidr?: string | null,
>   accepterVpcId?: string | null,
>   cloudStatus?: string | null,
>   expirationTime?: string | null,
>   groupId?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   localStatus?: string | null,
>   name?: string | null,
>   requesterAccountId?: string | null,
>   requesterCidr?: string | null,
>   requesterVpcId?: string | null,
>   statusMessage?: string | null
> }[] | null
> ```

***

### listFailoverConnections

`streams.listFailoverConnections`

Return All Stream Failover Connections: returns all failover connections for the specified connection in a stream workspace (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.streams.listFailoverConnections({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant', connectionName: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace. |
| `connectionName` | `string` | Yes | Label that identifies the stream connection. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   name?: string | null,
>   region?: string | null,
>   state?: string | null,
>   type?: string | null
> }[] | null
> ```

***

### listPrivateLinkConnections

`streams.listPrivateLinkConnections`

Return All Private Link Connections: returns all Private Link connections for the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.streams.listPrivateLinkConnections({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   _id?: string | null,
>   arn?: string | null,
>   authenticationScheme?: string | null,
>   azureResourceIds?: string[] | null,
>   dnsDomain?: string | null,
>   dnsSubDomain?: string[] | null,
>   errorMessage?: string | null,
>   gcpConnectionIds?: string[] | null,
>   gcpServiceAttachmentUris?: string[] | null,
>   interfaceEndpointId?: string | null,
>   interfaceEndpointName?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   provider?: string | null,
>   providerAccountId?: string | null,
>   region?: string | null,
>   serviceEndpointId?: string | null,
>   state?: string | null,
>   vendor?: string | null
> }[] | null
> ```

***

### listStreamConnections

`streams.listStreamConnections`

Return All Connections of the Stream Workspaces: returns all connections of the stream workspace for the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.streams.listStreamConnections({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   errorMessage?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   name?: string | null,
>   region?: string | null,
>   state?: string | null,
>   type?: string | null
> }[] | null
> ```

***

### listStreamWorkspaces

`streams.listStreamWorkspaces`

Return All Stream Workspaces in One Project: returns all stream workspaces for the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.streams.listStreamWorkspaces({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   _id?: string | null,
>   connections?: {
>     errorMessage?: string | null,
>     id?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     name?: string | null,
>     region?: string | null,
>     state?: string | null,
>     type?: string | null
>   }[] | null,
>   dataProcessRegion?: {
>     cloudProvider?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     region?: string | string | string | null
>   } | null,
>   failoverRegions?: {
>     cloudProvider?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     region?: string | string | string | null
>   }[] | null,
>   groupId?: string | null,
>   hostnames?: string[] | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   name?: string | null,
>   sampleConnections?: {
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     solar?: boolean | null
>   } | null,
>   streamConfig?: {
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     maxTierSize?: string | null,
>     tier?: string | null
>   } | null | null
> }[] | null
> ```

***

### listVpcPeeringConnections

`streams.listVpcPeeringConnections`

Return All VPC Peering Connections: returns a list of incoming VPC Peering Connections (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.streams.listVpcPeeringConnections({ requesterAccountId: 'example', groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `requesterAccountId` | `string` | Yes | The Account ID of the VPC Peering connection/s. |
| `groupId` | `string` | Yes | 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. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   _id?: string | null,
>   accepterAccountId?: string | null,
>   accepterCidr?: string | null,
>   accepterVpcId?: string | null,
>   cloudStatus?: string | null,
>   expirationTime?: string | null,
>   groupId?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   localStatus?: string | null,
>   name?: string | null,
>   requesterAccountId?: string | null,
>   requesterCidr?: string | null,
>   requesterVpcId?: string | null,
>   statusMessage?: string | null
> }[] | null
> ```

***

### listWorkspacePrivateEndpoints

`streams.listWorkspacePrivateEndpoints`

Return All Workspace Private Endpoints for Atlas Stream Processing: returns all private endpoints registered for Atlas Stream Processing in the specified project (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.streams.listWorkspacePrivateEndpoints({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   customerDnsName?: string | null,
>   endpointServiceName?: string | null,
>   id?: string | null,
>   provider?: string | null,
>   region?: string | null,
>   status?: string | null
> }[] | null
> ```

***

### rejectVpcPeeringConnection

`streams.rejectVpcPeeringConnection`

Reject One Incoming VPC Peering Connection: requests the rejection of an incoming VPC Peering connection

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.streams.rejectVpcPeeringConnection({ groupId: '5f43e7f0a1b2c3d4e5f60718', id: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `id` | `string` | Yes | The VPC Peering Connection id. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### startStreamProcessor

`streams.startStreamProcessor`

Start One Stream Processor: start a Stream Processor within the specified stream workspace

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.streams.startStreamProcessor({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant', processorName: 'example-processor' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace. |
| `processorName` | `string` | Yes | Label that identifies the stream processor. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### startStreamProcessorWith

`streams.startStreamProcessorWith`

Start One Stream Processor With Options: start a Stream Processor within the specified stream workspace

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.streams.startStreamProcessorWith({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant', processorName: 'example-processor' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace. |
| `processorName` | `string` | Yes | Label that identifies the stream processor. |
| `autoscaling` | `object \| null` | No | Autoscaling configuration for a stream processor. |
| `failover` | `object` | No | Failover options for starting a stream processor. |
| `resumeFromCheckpoint` | `boolean` | No | When true or not specified, the stream processor resumes from its last checkpoint. When false, the stream processor starts fresh. |
| `startAtOperationTime` | `string` | No | The operation time after which the change stream source should begin reporting. This parameter expresses its value in the ISO 8601 timestamp format in UTC. |
| `tier` | `SP50 \| SP30 \| SP10 \| SP5 \| SP2` | No | Baseline processing tier requested by the user. |

> [accordion] autoscaling full type
>
> ```ts theme={null}
> {
>   enabled?: boolean | null,
>   maxTier?: SP50 | SP30 | SP10 | SP5 | SP2 | null,
>   minTier?: SP50 | SP30 | SP10 | SP5 | SP2 | null
> } | null
> ```

> [accordion] failover full type
>
> ```ts theme={null}
> {
>   clearCheckpoint?: boolean,
>   dryRun?: boolean,
>   mode?: GRACEFUL | FORCED,
>   region: string
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### stopStreamProcessor

`streams.stopStreamProcessor`

Stop One Stream Processor: stop a Stream Processor within the specified stream workspace

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.streams.stopStreamProcessor({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant', processorName: 'example-processor' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace. |
| `processorName` | `string` | Yes | Label that identifies the stream processor. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### updatePrivateLinkConnection

`streams.updatePrivateLinkConnection`

Update One Private Link Connection: updates one Private Link connection in the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.streams.updatePrivateLinkConnection({ groupId: '5f43e7f0a1b2c3d4e5f60718', connectionId: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `connectionId` | `string` | Yes | Unique ID that identifies the Private Link connection. |
| `dnsDomain` | `string` | No | The domain hostname for the AWS Confluent Serverless Private Link connection. Allowed only when no domain is currently set, or when the connection is in `IDLE` state. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | The ID of the Private Link connection. |
| `arn` | `string \| null` | No | Amazon Resource Name (ARN). Required for AWS Provider and MSK vendor. |
| `authenticationScheme` | `string \| null` | No | Authentication mechanism to use with this private networking connection. |
| `azureResourceIds` | `string[] \| null` | No | Azure Resource IDs of each availability zone for the Azure Confluent cluster. |
| `dnsDomain` | `string \| null` | No | The domain hostname. Required for the following provider and vendor combinations: - AWS provider with CONFLUENT vendor. - AZURE provider with EVENTHUB or CONFLUENT vendor. |
| `dnsSubDomain` | `string[] \| null` | No | Sub-Domain name of Confluent cluster. These are typically your availability zones. Required for AWS Provider and CONFLUENT vendor, if your AWS CONFLUENT cluster doesn't use subdomains, you must set this to the empty array \[]. |
| `errorMessage` | `string \| null` | No | Error message if the state is FAILED. |
| `gcpConnectionIds` | `string[] \| null` | No | List of GCP Private Service Connect connection IDs. |
| `gcpServiceAttachmentUris` | `string[] \| null` | No | Service Attachment URIs of each availability zone for the GCP Confluent cluster. |
| `interfaceEndpointId` | `string \| null` | No | Interface endpoint ID that is created from the service endpoint ID provided. |
| `interfaceEndpointName` | `string \| null` | No | Interface endpoint name that is created from the service endpoint ID provided. |
| `links` | `object[] \| null` | No | 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. |
| `provider` | `string \| null` | No | Cloud provider where the private endpoint's target resource is deployed. Valid values are AWS, AZURE, and GCP. |
| `providerAccountId` | `string \| null` | No | Account ID from the cloud provider. |
| `region` | `string \| null` | No | The region of the Provider’s cluster. See [AWS](https://www.mongodb.com/docs/atlas/reference/amazon-aws/#stream-processing-workspaces), [AZURE](https://www.mongodb.com/docs/atlas/reference/microsoft-azure/#stream-processing-workspaces), and [GCP](https://www.mongodb.com/docs/atlas/reference/google-gcp/#stream-processing-workspaces) supported regions. |
| `serviceEndpointId` | `string \| null` | No | For AZURE EVENTHUB, this is the [namespace endpoint ID](https://learn.microsoft.com/en-us/rest/api/eventhub/namespaces/get). For AWS CONFLUENT cluster, this is the [VPC Endpoint service name](https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html). |
| `state` | `string \| null` | No | State the connection is in. |
| `vendor` | `string \| null` | No | Vendor that manages the cloud service. The list of supported vendor values is: - AWS -- `MSK` for AWS MSK Kafka clusters -- `CONFLUENT` for Confluent Kafka clusters on AWS -- `KINESIS` for AWS Kinesis Data Streams -- `S3` for AWS S3 -- `LAMBDA` for AWS Lambda - Azure -- `EVENTHUB` for Azure EventHub. -- `CONFLUENT` for Confluent Kafka clusters on Azure -- `AZURE_BLOB_STORAGE` for Azure Blob Storage - GCP -- `CONFLUENT` for Confluent Kafka clusters on GCP -- `PUBSUB` for Google Cloud Pub/Sub \*\*NO |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### updateStreamConnection

`streams.updateStreamConnection`

Update One Stream Connection: update one connection for the specified stream workspace in the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.streams.updateStreamConnection({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	tenantName: 'example-tenant',
	connectionName: 'example',
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace. |
| `connectionName` | `string` | Yes | Label that identifies the stream connection. |
| `body` | `object` | Yes | Settings that define a connection to an external data store. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   name?: string,
>   region?: string,
>   type?: Kafka | Cluster | Sample | Https | AzureBlobStorage | AWSLambda | AWSKinesisDataStreams | SchemaRegistry | GCPPubSub | DataCatalog
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `errorMessage` | `string \| null` | No | Connection error message. |
| `id` | `string \| null` | No | Unique identifier of the connection. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable label that identifies the stream connection. For the Sample type, this is the name of the sample source. |
| `region` | `string \| null` | No | Connection region. |
| `state` | `string \| null` | No | Connection state. |
| `type` | `string \| null` | No | Connection type. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### updateStreamFailoverConnection

`streams.updateStreamFailoverConnection`

Update One Stream Failover Connection: update one failover connection of the specified stream workspace

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.streams.updateStreamFailoverConnection({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	tenantName: 'example-tenant',
	connectionName: 'example',
	failoverConnectionId: 'example',
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace. |
| `connectionName` | `string` | Yes | Label that identifies the stream connection. |
| `failoverConnectionId` | `string` | Yes | Label that identifies the stream failover connection id. |
| `body` | `object` | Yes | Settings that define a failover connection to an external data store. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   name?: string,
>   region?: string,
>   type?: Kafka | Cluster
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique identifier of the connection. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable label that identifies the stream connection. |
| `region` | `string \| null` | No | Connection region. |
| `state` | `string \| null` | No | Connection state. |
| `type` | `string \| null` | No | Connection type. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### updateStreamProcessor

`streams.updateStreamProcessor`

Update One Stream Processor: modify one existing Stream Processor within the specified stream workspace

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.streams.updateStreamProcessor({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant', processorName: 'example-processor' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace. |
| `processorName` | `string` | Yes | Label that identifies the stream processor. |
| `failoverEnabled` | `boolean` | No | Flag that enables or disables failover for the stream processor. |
| `name` | `string` | No | New name for the stream processor. |
| `options` | `object` | No | Additional options for modifying a stream processor. |
| `pipeline` | `object[]` | No | New pipeline for the stream processor. |
| `tier` | `SP50 \| SP30 \| SP10 \| SP5 \| SP2` | No | Baseline processing tier requested by the user. |

> [accordion] options full type
>
> ```ts theme={null}
> {
>   autoscaling?: {
>     enabled?: boolean | null,
>     maxTier?: SP50 | SP30 | SP10 | SP5 | SP2 | null,
>     minTier?: SP50 | SP30 | SP10 | SP5 | SP2 | null
>   } | null,
>   dlq?: {
>     coll?: string,
>     connectionName?: string,
>     db?: string
>   },
>   resumeFromCheckpoint?: boolean
> }
> ```

> [accordion] pipeline full type
>
> ```ts theme={null}
> Record<string, {
> }>[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the stream processor. |
| `effectiveTier` | `string \| null` | No | Tier the stream processor is currently running on. The server sets this value from `tier` on create and on every start or restart, may move it within \[`minTier`, `maxTier`] while autoscaling is enabled, and restores it to `tier` when autoscaling is disabled. Patching `tier` does not change it directly; the new tier takes effect at the next start or restart. |
| `eligibleForFailover` | `boolean \| null` | No | Flag that indicates whether the stream processor is eligible for failover. |
| `failoverEnabled` | `boolean \| null` | No | Flag that enables or disables failover for the stream processor. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable name of the stream processor. |
| `options` | `object \| null` | No | Optional configuration for the stream processor. |
| `pipeline` | `object[] \| null` | No | Stream aggregation pipeline you want to apply to your streaming data. |
| `state` | `string \| null` | No | The state of the stream processor. Commonly occurring states are 'CREATED', 'STARTED', 'STOPPED' and 'FAILED'. |
| `stats` | `object \| null` | No | The stats associated with the stream processor. |
| `tier` | `string \| null` | No | Baseline tier of the stream processor. The processor starts or restarts on this tier; `effectiveTier` reports the tier it is currently running. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] options full type
>
> ```ts theme={null}
> {
>   autoscaling?: {
>     enabled?: boolean | null | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null,
>     maxTier?: string | null | null,
>     minTier?: string | null | null
>   } | null | null,
>   dlq?: {
>     coll?: string | null,
>     connectionName?: string | null,
>     db?: string | null,
>     links?: {
>       href?: string | null,
>       rel?: string | null
>     }[] | null
>   } | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null
> } | null
> ```

> [accordion] pipeline full type
>
> ```ts theme={null}
> Record<string, {
> }>[] | null
> ```

> [accordion] stats full type
>
> ```ts theme={null}
> Record<string, {
> }> | null
> ```

***

### updateStreamWorkspace

`streams.updateStreamWorkspace`

Update One Stream Workspace: update one stream workspace in the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.streams.updateStreamWorkspace({ groupId: '5f43e7f0a1b2c3d4e5f60718', tenantName: 'example-tenant' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `tenantName` | `string` | Yes | Label that identifies the stream workspace to update. |
| `cloudProvider` | `AWS \| GCP \| AZURE \| TENANT \| SERVERLESS` | No | Human-readable label that identifies the cloud provider. |
| `failoverRegions` | `object[]` | No | Failover regions for the stream workspace. |
| `processorStatus` | `object` | No | Desired status change to apply to a tenant's stream processors. |
| `region` | `SYDNEY_AUS \| MUMBAI_IND \| FRANKFURT_DEU \| DUBLIN_IRL \| LONDON_GBR \| VIRGINIA_USA \| OHIO_USA \| OREGON_USA \| SAOPAULO_BRA \| MONTREAL_CAN \| TOKYO_JPN \| SINGAPORE_SGP \| PARIS_FRA \| SEOUL_KOR \| eastus \| westus \| eastus2 \| westeurope \| brazilsouth \| australiaeast \| northeurope \| eastasia \| southeastasia \| US_CENTRAL1 \| EUROPE_WEST1 \| US_EAST4 \| US_WEST1 \| ASIA_SOUTH1` | No | Name of the cloud provider region hosting Atlas Stream Processing. |
| `streamConfig` | `object \| null` | No | Configuration options for an Atlas Stream Processing Workspace. |

> [accordion] failoverRegions full type
>
> ```ts theme={null}
> {
>   cloudProvider: AWS | GCP | AZURE | TENANT | SERVERLESS,
>   region: SYDNEY_AUS | MUMBAI_IND | FRANKFURT_DEU | DUBLIN_IRL | LONDON_GBR | VIRGINIA_USA | OHIO_USA | OREGON_USA | SAOPAULO_BRA | MONTREAL_CAN | TOKYO_JPN | SINGAPORE_SGP | PARIS_FRA | SEOUL_KOR | eastus | westus | eastus2 | westeurope | brazilsouth | australiaeast | northeurope | eastasia | southeastasia | US_CENTRAL1 | EUROPE_WEST1 | US_EAST4 | US_WEST1 | ASIA_SOUTH1
> }[]
> ```

> [accordion] processorStatus full type
>
> ```ts theme={null}
> {
>   mode?: GRACEFUL | FORCED | null,
>   region?: string | null,
>   status: STARTED | STOPPED | FAILED_OVER
> }
> ```

> [accordion] streamConfig full type
>
> ```ts theme={null}
> {
>   maxTierSize?: SP50 | SP30 | SP10 | SP5 | SP2,
>   tier?: SP50 | SP30 | SP10 | SP5 | SP2
> } | null
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `connections` | `object[] \| null` | No | List of connections configured in the stream workspace. |
| `dataProcessRegion` | `object \| null` | No | Information about the cloud provider region in which MongoDB Cloud processes the stream. |
| `failoverRegions` | `object[] \| null` | No | List of failover regions configured for the stream workspace. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `hostnames` | `string[] \| null` | No | List that contains the hostnames assigned to the stream workspace. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Label that identifies the stream workspace. |
| `sampleConnections` | `object \| null` | No | Sample connections to add to SPI. |
| `streamConfig` | `object \| null` | No | Configuration options for an Atlas Stream Processing Workspace. |

> [accordion] connections full type
>
> ```ts theme={null}
> {
>   errorMessage?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   name?: string | null,
>   region?: string | null,
>   state?: string | null,
>   type?: string | null
> }[] | null
> ```

> [accordion] dataProcessRegion full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   region?: string | string | string | null
> } | null
> ```

> [accordion] failoverRegions full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   region?: string | string | string | null
> }[] | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] sampleConnections full type
>
> ```ts theme={null}
> {
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   solar?: boolean | null
> } | null
> ```

> [accordion] streamConfig full type
>
> ```ts theme={null}
> {
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   maxTierSize?: string | null,
>   tier?: string | null
> } | null | null
> ```

***

### withStreamSampleConnections

`streams.withStreamSampleConnections`

Create One Stream Workspace with Sample Connections: creates one stream workspace in the specified project with sample connections

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.streams.withStreamSampleConnections({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `body` | `object` | Yes | — |

> [accordion] body full type
>
> ```ts theme={null}
> {
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `_id` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `connections` | `object[] \| null` | No | List of connections configured in the stream workspace. |
| `dataProcessRegion` | `object \| null` | No | Information about the cloud provider region in which MongoDB Cloud processes the stream. |
| `failoverRegions` | `object[] \| null` | No | List of failover regions configured for the stream workspace. |
| `groupId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the project. |
| `hostnames` | `string[] \| null` | No | List that contains the hostnames assigned to the stream workspace. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Label that identifies the stream workspace. |
| `sampleConnections` | `object \| null` | No | Sample connections to add to SPI. |
| `streamConfig` | `object \| null` | No | Configuration options for an Atlas Stream Processing Workspace. |

> [accordion] connections full type
>
> ```ts theme={null}
> {
>   errorMessage?: string | null,
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   name?: string | null,
>   region?: string | null,
>   state?: string | null,
>   type?: string | null
> }[] | null
> ```

> [accordion] dataProcessRegion full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   region?: string | string | string | null
> } | null
> ```

> [accordion] failoverRegions full type
>
> ```ts theme={null}
> {
>   cloudProvider?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   region?: string | string | string | null
> }[] | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] sampleConnections full type
>
> ```ts theme={null}
> {
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   solar?: boolean | null
> } | null
> ```

> [accordion] streamConfig full type
>
> ```ts theme={null}
> {
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   maxTierSize?: string | null,
>   tier?: string | null
> } | null | null
> ```

***

## Teams

### addGroupTeams

`teams.addGroupTeams`

Add Multiple Teams to One Project: adds multiple teams to the specified project

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.teams.addGroupTeams({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	body: [{
		roleNames: ['readAnyDatabase'],
		teamId: '5f43e7f0a1b2c3d4e5f60718',
	}],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `body` | `object[]` | Yes | — |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   roleNames: string[],
>   teamId: string
> }[]
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   roleNames?: string[] | null,
>   teamId?: string | null
> }[] | null
> ```

***

### createOrgTeam

`teams.createOrgTeam`

Create One Team in One Organization: creates one team in the specified organization

**Risk:** `destructive`

```ts theme={null}
await corsair.mongodbatlas.api.teams.createOrgTeam({
	orgId: '5f43e7f0a1b2c3d4e5f60718',
	name: 'Cluster0',
	usernames: ['app-user'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `name` | `string` | Yes | Human-readable label that identifies the team. |
| `usernames` | `string[]` | Yes | List that contains the MongoDB Cloud users in this team. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this team. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable label that identifies the team. |
| `usernames` | `string[] \| null` | No | List that contains the MongoDB Cloud users in this team. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### deleteOrgTeam

`teams.deleteOrgTeam`

Remove One Team from One Organization: removes one team specified using its unique 24-hexadecimal digit identifier from the organization specified using its unique 24-hexadecimal digit identifier

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.teams.deleteOrgTeam({ orgId: '5f43e7f0a1b2c3d4e5f60718', teamId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `teamId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the team that you want to delete. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getGroupTeam

`teams.getGroupTeam`

Return One Team in One Project: returns one team to which the authenticated user has access in the project specified using its unique 24-hexadecimal digit identifier

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.teams.getGroupTeam({ groupId: '5f43e7f0a1b2c3d4e5f60718', teamId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `teamId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the team for which you want to get. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `roleNames` | `string[] \| null` | No | One or more project-level roles to assign to the team. |
| `teamId` | `string \| null` | No | Unique 24-hexadecimal character string that identifies the team. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getOrgTeam

`teams.getOrgTeam`

Return One Team by ID: returns one team that you identified using its unique 24-hexadecimal digit ID

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.teams.getOrgTeam({ orgId: '5f43e7f0a1b2c3d4e5f60718', teamId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `teamId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the team whose information you want to return. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this team. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable label that identifies the team. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### getTeamByName

`teams.getTeamByName`

Return One Team by Name: returns one team that you identified using its human-readable name

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.teams.getTeamByName({ orgId: '5f43e7f0a1b2c3d4e5f60718', teamName: 'example' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `teamName` | `string` | Yes | Name of the team whose information you want to return. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this team. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable label that identifies the team. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### listGroupTeams

`teams.listGroupTeams`

Return All Teams in One Project: returns all teams to which the authenticated user has access in the project specified using its unique 24-hexadecimal digit identifier (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.teams.listGroupTeams({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   roleNames?: string[] | null,
>   teamId?: string | null
> }[] | null
> ```

***

### listOrgTeams

`teams.listOrgTeams`

Return All Teams in One Organization: returns all teams that belong to the specified organization (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.teams.listOrgTeams({ orgId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `orgId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   name?: string | null
> }[] | null
> ```

***

### removeGroupTeam

`teams.removeGroupTeam`

Remove One Team from One Project: removes one team specified using its unique 24-hexadecimal digit identifier from the project specified using its unique 24-hexadecimal digit identifier

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.teams.removeGroupTeam({ groupId: '5f43e7f0a1b2c3d4e5f60718', teamId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `teamId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the team that you want to remove from the specified project. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### renameOrgTeam

`teams.renameOrgTeam`

Rename One Team: renames one team in the specified organization

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.teams.renameOrgTeam({ orgId: '5f43e7f0a1b2c3d4e5f60718', teamId: '5f43e7f0a1b2c3d4e5f60718', name: 'Cluster0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `orgId` | `string` | Yes | 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. |
| `teamId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the team that you want to rename. |
| `name` | `string` | Yes | Human-readable label that identifies the team. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null` | No | Unique 24-hexadecimal digit string that identifies this team. |
| `links` | `object[] \| null` | No | 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. |
| `name` | `string \| null` | No | Human-readable label that identifies the team. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### updateGroupTeam

`teams.updateGroupTeam`

Update Team Roles in One Project: updates the project roles assigned to the specified team

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.teams.updateGroupTeam({
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	teamId: '5f43e7f0a1b2c3d4e5f60718',
	roleNames: ['readAnyDatabase'],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `teamId` | `string` | Yes | Unique 24-hexadecimal digit string that identifies the team for which you want to update roles. |
| `roleNames` | `string[]` | Yes | One or more project-level roles to assign to the team. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   roleNames?: string[] | null,
>   teamId?: string | null
> }[] | null
> ```

***

## Third Party Integrations

### createGroupIntegration

`thirdPartyIntegrations.createGroupIntegration`

Create One Third-Party Service Integration: adds the settings for configuring one third-party service integration (paged with pageNum / itemsPerPage)

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.thirdPartyIntegrations.createGroupIntegration({
	integrationType: 'PAGER_DUTY',
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `integrationType` | `PAGER_DUTY \| SLACK \| DATADOG \| NEW_RELIC \| OPS_GENIE \| VICTOR_OPS \| WEBHOOK \| HIP_CHAT \| PROMETHEUS \| MICROSOFT_TEAMS` | Yes | Human-readable label that identifies the service which you want to integrate with MongoDB Cloud. |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `body` | `object` | Yes | Collection of settings that describe third-party integrations. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   type?: PAGER_DUTY | SLACK | DATADOG | NEW_RELIC | OPS_GENIE | VICTOR_OPS | WEBHOOK | HIP_CHAT | PROMETHEUS | MICROSOFT_TEAMS
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   id?: string | null | null,
>   type?: string | null
> }[] | null
> ```

***

### deleteGroupIntegration

`thirdPartyIntegrations.deleteGroupIntegration`

Remove One Third-Party Service Integration: removes the settings that permit configuring one third-party service integration

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.thirdPartyIntegrations.deleteGroupIntegration({ integrationType: 'PAGER_DUTY', groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `integrationType` | `PAGER_DUTY \| SLACK \| DATADOG \| NEW_RELIC \| OPS_GENIE \| VICTOR_OPS \| WEBHOOK \| HIP_CHAT \| PROMETHEUS \| MICROSOFT_TEAMS` | Yes | Human-readable label that identifies the service which you want to integrate with MongoDB Cloud. |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `true` | Yes | MongoDBAtlas accepted the call; it answered with no body (or an empty object). |

***

### getGroupIntegration

`thirdPartyIntegrations.getGroupIntegration`

Return One Third-Party Service Integration: returns the settings for configuring integration with one third-party service

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.thirdPartyIntegrations.getGroupIntegration({ groupId: '5f43e7f0a1b2c3d4e5f60718', integrationType: 'PAGER_DUTY' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `integrationType` | `PAGER_DUTY \| SLACK \| DATADOG \| NEW_RELIC \| OPS_GENIE \| VICTOR_OPS \| WEBHOOK \| HIP_CHAT \| PROMETHEUS \| MICROSOFT_TEAMS` | Yes | Human-readable label that identifies the service which you want to integrate with MongoDB Cloud. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string \| null \| null` | No | Integration id. |
| `type` | `string \| null` | No | Integration type. |

***

### listGroupIntegrations

`thirdPartyIntegrations.listGroupIntegrations`

Return All Active Third-Party Service Integrations: returns the settings that permit integrations with all configured third-party services (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.thirdPartyIntegrations.listGroupIntegrations({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   id?: string | null | null,
>   type?: string | null
> }[] | null
> ```

***

### updateGroupIntegration

`thirdPartyIntegrations.updateGroupIntegration`

Update One Third-Party Service Integration: updates the settings for configuring integration with one third-party service (paged with pageNum / itemsPerPage)

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.thirdPartyIntegrations.updateGroupIntegration({
	integrationType: 'PAGER_DUTY',
	groupId: '5f43e7f0a1b2c3d4e5f60718',
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `integrationType` | `PAGER_DUTY \| SLACK \| DATADOG \| NEW_RELIC \| OPS_GENIE \| VICTOR_OPS \| WEBHOOK \| HIP_CHAT \| PROMETHEUS \| MICROSOFT_TEAMS` | Yes | Human-readable label that identifies the service which you want to integrate with MongoDB Cloud. |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `body` | `object` | Yes | Collection of settings that describe third-party integrations. |

> [accordion] body full type
>
> ```ts theme={null}
> {
>   id?: string | null,
>   type?: PAGER_DUTY | SLACK | DATADOG | NEW_RELIC | OPS_GENIE | VICTOR_OPS | WEBHOOK | HIP_CHAT | PROMETHEUS | MICROSOFT_TEAMS
> }
> ```

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   id?: string | null | null,
>   type?: string | null
> }[] | null
> ```

***

## X509Authentication

### createDatabaseUserCert

`x509Authentication.createDatabaseUserCert`

Create One X.509 Certificate for One Database User: generates one X.509 certificate for the specified MongoDB user

**Risk:** `write`

```ts theme={null}
await corsair.mongodbatlas.api.x509Authentication.createDatabaseUserCert({ groupId: '5f43e7f0a1b2c3d4e5f60718', username: 'app-user' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `username` | `string` | Yes | Human-readable label that represents the MongoDB database user account for whom to create a certificate. |
| `monthsUntilExpiration` | `number` | No | Number of months that the certificate remains valid until it expires. |

**Output:** `string`

***

### disableSecurityCustomerX509

`x509Authentication.disableSecurityCustomerX509`

Disable Customer-Managed X.509: clears the customer-managed X.509 settings on a project, including the uploaded Certificate Authority, which disables self-managed X.509

**Risk:** `destructive` · **Irreversible**

```ts theme={null}
await corsair.mongodbatlas.api.x509Authentication.disableSecurityCustomerX509({ groupId: '5f43e7f0a1b2c3d4e5f60718' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `customerX509` | `object \| null` | No | Settings to configure TLS Certificates for database users. |
| `ldap` | `object \| null` | No | Lightweight Directory Access Protocol (LDAP) over Transport Layer Security (TLS) configuration details that apply to the specified project. |
| `links` | `object[] \| null` | No | 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. |

> [accordion] customerX509 full type
>
> ```ts theme={null}
> {
>   cas?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null
> } | null
> ```

> [accordion] ldap full type
>
> ```ts theme={null}
> {
>   authenticationEnabled?: boolean | null,
>   authorizationEnabled?: boolean | null,
>   authzQueryTemplate?: string | null,
>   bindPassword?: string | null,
>   bindUsername?: string | null,
>   caCertificate?: string | null,
>   hostname?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   port?: number | null,
>   userToDNMapping?: {
>     ldapQuery?: string | null,
>     match?: string | null,
>     substitution?: string | null
>   }[] | null
> } | null
> ```

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

***

### listDatabaseUserCerts

`x509Authentication.listDatabaseUserCerts`

Return All X.509 Certificates Assigned to One Database User: returns all unexpired X.509 certificates for the specified MongoDB user (paged with pageNum / itemsPerPage)

**Risk:** `read`

```ts theme={null}
await corsair.mongodbatlas.api.x509Authentication.listDatabaseUserCerts({ groupId: '5f43e7f0a1b2c3d4e5f60718', username: 'app-user' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `groupId` | `string` | Yes | 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. |
| `includeCount` | `boolean` | No | Flag that indicates whether MongoDB Cloud calculates the total number of items for the response. When set to `false`, MongoDB Cloud may skip an additional count operation. The response may still include `totalCount` when the count is available without additional calculation. |
| `itemsPerPage` | `number` | No | Number of items that the response returns per page. |
| `pageNum` | `number` | No | Number of the page that displays the current set of the total objects that the response returns. |
| `username` | `string` | Yes | Human-readable label that represents the MongoDB database user account whose certificates you want to return. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `links` | `object[] \| null` | No | 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. |
| `results` | `object[] \| null` | No | List of returned documents that MongoDB Cloud provides when completing this request. |
| `totalCount` | `number \| null` | No | Total number of documents available. When `includeCount` is set to `false`, MongoDB Cloud may omit this value or return it when the count is available without additional calculation. The total number is an estimate and may not be exact. |

> [accordion] links full type
>
> ```ts theme={null}
> {
>   href?: string | null,
>   rel?: string | null
> }[] | null
> ```

> [accordion] results full type
>
> ```ts theme={null}
> {
>   _id?: number | null,
>   createdAt?: string | null,
>   groupId?: string | null,
>   links?: {
>     href?: string | null,
>     rel?: string | null
>   }[] | null,
>   monthsUntilExpiration?: number | null,
>   notAfter?: string | null,
>   subject?: string | null
> }[] | null
> ```

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.