GetCluster
mongodbatlas..Cluster describes a Cluster. The. The data source requires your Project ID.
NOTE: Groups and projects are synonymous terms. You may find group_id in the official documentation.
IMPORTANT:
• Changes to cluster configurations can affect costs. Before making changes, please see Billing.
• If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Using GetCluster
function getCluster(args: GetClusterArgs, opts?: InvokeOptions): Promise<GetClusterResult>function get_cluster(name=None, project_id=None, opts=None)func LookupCluster(ctx *Context, args *LookupClusterArgs, opts ...InvokeOption) (*LookupClusterResult, error)Note: This function is named
LookupClusterin the Go SDK.
public static class GetCluster {
public static Task<GetClusterResult> InvokeAsync(GetClusterArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- name str
Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed.
- project_
id str The unique ID for the project to create the database user.
GetCluster Result
The following output properties are available:
- Auto
Scaling boolDisk Gb Enabled Indicates whether disk auto-scaling is enabled.
- Backing
Provider stringName Indicates Cloud service provider on which the server for a multi-tenant cluster is provisioned.
- Backup
Enabled bool Legacy Option, Indicates whether Atlas continuous backups are enabled for the cluster.
- Bi
Connector GetCluster Bi Connector Indicates BI Connector for Atlas configuration on this cluster. BI Connector for Atlas is only available for M10+ clusters. See BI Connector below for more details.
- Cluster
Type string Indicates the type of the cluster that you want to modify. You cannot convert a sharded cluster deployment to a replica set deployment.
- Connection
Strings GetCluster Connection Strings Set of connection strings that your applications use to connect to this cluster. More info in Connection-strings. Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see Connection String Options. NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster. -
connection_strings.standard- Public mongodb:// connection string for this cluster. -connection_strings.standard_srv- Public mongodb+srv:// connection string for this cluster. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS. Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don’t need to append the seed list or change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn’t, use connectionStrings.standard. -connection_strings.aws_private_link- Private-endpoint-aware mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a AWS PrivateLink connection to this cluster. -connection_strings.aws_private_link_srv- Private-endpoint-aware mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a AWS PrivateLink connection to this cluster. Use this URI format if your driver supports it. If it doesn’t, use connectionStrings.awsPrivateLink. -connection_strings.private- Network-peering-endpoint-aware mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster. -connection_strings.private_srv- Network-peering-endpoint-aware mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.- Disk
Size doubleGb Indicates the size in gigabytes of the server’s root volume (AWS/GCP Only).
- Encryption
At stringRest Provider Indicates whether Encryption at Rest is enabled or disabled.
- Id string
The provider-assigned unique ID for this managed resource.
- Labels
List<Get
Cluster Label> - Mongo
Db stringMajor Version Indicates the version of the cluster to deploy.
- Mongo
Db stringVersion Version of MongoDB the cluster runs, in
major-version.minor-versionformat.- Mongo
Uri string Base connection string for the cluster. Atlas only displays this field after the cluster is operational, not while it builds the cluster.
- Mongo
Uri stringUpdated Lists when the connection string was last updated. The connection string changes, for example, if you change a replica set to a sharded cluster.
- Mongo
Uri stringWith Options Describes connection string for connecting to the Atlas cluster. Includes the replicaSet, ssl, and authSource query parameters in the connection string with values appropriate for the cluster.
- Name string
The name of the current plugin
- Num
Shards int Number of shards to deploy in the specified zone.
- Paused bool
Flag that indicates whether the cluster is paused or not.
- Pit
Enabled bool Flag that indicates if the cluster uses Point-in-Time backups.
- Project
Id string - Provider
Backup boolEnabled Flag indicating if the cluster uses Cloud Provider Snapshots for backups.
- Provider
Disk intIops Indicates the maximum input/output operations per second (IOPS) the system can perform. The possible values depend on the selected providerSettings.instanceSizeName and diskSizeGB.
- Provider
Disk stringType Name Describes Azure disk type of the server’s root volume (Azure Only).
- Provider
Encrypt boolEbs Volume Indicates whether the Amazon EBS encryption is enabled. This feature encrypts the server’s root volume for both data at rest within the volume and data moving between the volume and the instance.
- Provider
Instance stringSize Name Atlas provides different instance sizes, each with a default storage capacity and RAM size.
- Provider
Name string Indicates the cloud service provider on which the servers are provisioned.
- Provider
Region stringName Indicates Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases. Requires the Atlas Region name, see the reference list for AWS, GCP, Azure.
- Provider
Volume stringType Indicates the type of the volume. The possible values are:
STANDARDandPROVISIONED.- Replication
Factor int Number of replica set members. Each member keeps a copy of your databases, providing high availability and data redundancy. The possible values are 3, 5, or 7. The default value is 3.
- Replication
Specs List<GetCluster Replication Spec> Configuration for cluster regions. See Replication Spec below for more details.
- Snapshot
Backup List<GetPolicies Cluster Snapshot Backup Policy> current snapshot schedule and retention settings for the cluster.
- Srv
Address string Connection string for connecting to the Atlas cluster. The +srv modifier forces the connection to use TLS/SSL. See the mongoURI for additional options.
- State
Name string Indicates the current state of the cluster. The possible states are: - IDLE - CREATING - UPDATING - DELETING - DELETED - REPAIRING
- Auto
Scaling boolDisk Gb Enabled Indicates whether disk auto-scaling is enabled.
- Backing
Provider stringName Indicates Cloud service provider on which the server for a multi-tenant cluster is provisioned.
- Backup
Enabled bool Legacy Option, Indicates whether Atlas continuous backups are enabled for the cluster.
- Bi
Connector GetCluster Bi Connector Indicates BI Connector for Atlas configuration on this cluster. BI Connector for Atlas is only available for M10+ clusters. See BI Connector below for more details.
- Cluster
Type string Indicates the type of the cluster that you want to modify. You cannot convert a sharded cluster deployment to a replica set deployment.
- Connection
Strings GetCluster Connection Strings Set of connection strings that your applications use to connect to this cluster. More info in Connection-strings. Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see Connection String Options. NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster. -
connection_strings.standard- Public mongodb:// connection string for this cluster. -connection_strings.standard_srv- Public mongodb+srv:// connection string for this cluster. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS. Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don’t need to append the seed list or change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn’t, use connectionStrings.standard. -connection_strings.aws_private_link- Private-endpoint-aware mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a AWS PrivateLink connection to this cluster. -connection_strings.aws_private_link_srv- Private-endpoint-aware mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a AWS PrivateLink connection to this cluster. Use this URI format if your driver supports it. If it doesn’t, use connectionStrings.awsPrivateLink. -connection_strings.private- Network-peering-endpoint-aware mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster. -connection_strings.private_srv- Network-peering-endpoint-aware mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.- Disk
Size float64Gb Indicates the size in gigabytes of the server’s root volume (AWS/GCP Only).
- Encryption
At stringRest Provider Indicates whether Encryption at Rest is enabled or disabled.
- Id string
The provider-assigned unique ID for this managed resource.
- Labels
[]Get
Cluster Label - Mongo
Db stringMajor Version Indicates the version of the cluster to deploy.
- Mongo
Db stringVersion Version of MongoDB the cluster runs, in
major-version.minor-versionformat.- Mongo
Uri string Base connection string for the cluster. Atlas only displays this field after the cluster is operational, not while it builds the cluster.
- Mongo
Uri stringUpdated Lists when the connection string was last updated. The connection string changes, for example, if you change a replica set to a sharded cluster.
- Mongo
Uri stringWith Options Describes connection string for connecting to the Atlas cluster. Includes the replicaSet, ssl, and authSource query parameters in the connection string with values appropriate for the cluster.
- Name string
The name of the current plugin
- Num
Shards int Number of shards to deploy in the specified zone.
- Paused bool
Flag that indicates whether the cluster is paused or not.
- Pit
Enabled bool Flag that indicates if the cluster uses Point-in-Time backups.
- Project
Id string - Provider
Backup boolEnabled Flag indicating if the cluster uses Cloud Provider Snapshots for backups.
- Provider
Disk intIops Indicates the maximum input/output operations per second (IOPS) the system can perform. The possible values depend on the selected providerSettings.instanceSizeName and diskSizeGB.
- Provider
Disk stringType Name Describes Azure disk type of the server’s root volume (Azure Only).
- Provider
Encrypt boolEbs Volume Indicates whether the Amazon EBS encryption is enabled. This feature encrypts the server’s root volume for both data at rest within the volume and data moving between the volume and the instance.
- Provider
Instance stringSize Name Atlas provides different instance sizes, each with a default storage capacity and RAM size.
- Provider
Name string Indicates the cloud service provider on which the servers are provisioned.
- Provider
Region stringName Indicates Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases. Requires the Atlas Region name, see the reference list for AWS, GCP, Azure.
- Provider
Volume stringType Indicates the type of the volume. The possible values are:
STANDARDandPROVISIONED.- Replication
Factor int Number of replica set members. Each member keeps a copy of your databases, providing high availability and data redundancy. The possible values are 3, 5, or 7. The default value is 3.
- Replication
Specs []GetCluster Replication Spec Configuration for cluster regions. See Replication Spec below for more details.
- Snapshot
Backup []GetPolicies Cluster Snapshot Backup Policy current snapshot schedule and retention settings for the cluster.
- Srv
Address string Connection string for connecting to the Atlas cluster. The +srv modifier forces the connection to use TLS/SSL. See the mongoURI for additional options.
- State
Name string Indicates the current state of the cluster. The possible states are: - IDLE - CREATING - UPDATING - DELETING - DELETED - REPAIRING
- auto
Scaling booleanDisk Gb Enabled Indicates whether disk auto-scaling is enabled.
- backing
Provider stringName Indicates Cloud service provider on which the server for a multi-tenant cluster is provisioned.
- backup
Enabled boolean Legacy Option, Indicates whether Atlas continuous backups are enabled for the cluster.
- bi
Connector GetCluster Bi Connector Indicates BI Connector for Atlas configuration on this cluster. BI Connector for Atlas is only available for M10+ clusters. See BI Connector below for more details.
- cluster
Type string Indicates the type of the cluster that you want to modify. You cannot convert a sharded cluster deployment to a replica set deployment.
- connection
Strings GetCluster Connection Strings Set of connection strings that your applications use to connect to this cluster. More info in Connection-strings. Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see Connection String Options. NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster. -
connection_strings.standard- Public mongodb:// connection string for this cluster. -connection_strings.standard_srv- Public mongodb+srv:// connection string for this cluster. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS. Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don’t need to append the seed list or change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn’t, use connectionStrings.standard. -connection_strings.aws_private_link- Private-endpoint-aware mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a AWS PrivateLink connection to this cluster. -connection_strings.aws_private_link_srv- Private-endpoint-aware mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a AWS PrivateLink connection to this cluster. Use this URI format if your driver supports it. If it doesn’t, use connectionStrings.awsPrivateLink. -connection_strings.private- Network-peering-endpoint-aware mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster. -connection_strings.private_srv- Network-peering-endpoint-aware mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.- disk
Size numberGb Indicates the size in gigabytes of the server’s root volume (AWS/GCP Only).
- encryption
At stringRest Provider Indicates whether Encryption at Rest is enabled or disabled.
- id string
The provider-assigned unique ID for this managed resource.
- labels
Get
Cluster Label[] - mongo
Db stringMajor Version Indicates the version of the cluster to deploy.
- mongo
Db stringVersion Version of MongoDB the cluster runs, in
major-version.minor-versionformat.- mongo
Uri string Base connection string for the cluster. Atlas only displays this field after the cluster is operational, not while it builds the cluster.
- mongo
Uri stringUpdated Lists when the connection string was last updated. The connection string changes, for example, if you change a replica set to a sharded cluster.
- mongo
Uri stringWith Options Describes connection string for connecting to the Atlas cluster. Includes the replicaSet, ssl, and authSource query parameters in the connection string with values appropriate for the cluster.
- name string
The name of the current plugin
- num
Shards number Number of shards to deploy in the specified zone.
- paused boolean
Flag that indicates whether the cluster is paused or not.
- pit
Enabled boolean Flag that indicates if the cluster uses Point-in-Time backups.
- project
Id string - provider
Backup booleanEnabled Flag indicating if the cluster uses Cloud Provider Snapshots for backups.
- provider
Disk numberIops Indicates the maximum input/output operations per second (IOPS) the system can perform. The possible values depend on the selected providerSettings.instanceSizeName and diskSizeGB.
- provider
Disk stringType Name Describes Azure disk type of the server’s root volume (Azure Only).
- provider
Encrypt booleanEbs Volume Indicates whether the Amazon EBS encryption is enabled. This feature encrypts the server’s root volume for both data at rest within the volume and data moving between the volume and the instance.
- provider
Instance stringSize Name Atlas provides different instance sizes, each with a default storage capacity and RAM size.
- provider
Name string Indicates the cloud service provider on which the servers are provisioned.
- provider
Region stringName Indicates Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases. Requires the Atlas Region name, see the reference list for AWS, GCP, Azure.
- provider
Volume stringType Indicates the type of the volume. The possible values are:
STANDARDandPROVISIONED.- replication
Factor number Number of replica set members. Each member keeps a copy of your databases, providing high availability and data redundancy. The possible values are 3, 5, or 7. The default value is 3.
- replication
Specs GetCluster Replication Spec[] Configuration for cluster regions. See Replication Spec below for more details.
- snapshot
Backup GetPolicies Cluster Snapshot Backup Policy[] current snapshot schedule and retention settings for the cluster.
- srv
Address string Connection string for connecting to the Atlas cluster. The +srv modifier forces the connection to use TLS/SSL. See the mongoURI for additional options.
- state
Name string Indicates the current state of the cluster. The possible states are: - IDLE - CREATING - UPDATING - DELETING - DELETED - REPAIRING
- auto_
scaling_ booldisk_ gb_ enabled Indicates whether disk auto-scaling is enabled.
- backing_
provider_ strname Indicates Cloud service provider on which the server for a multi-tenant cluster is provisioned.
- backup_
enabled bool Legacy Option, Indicates whether Atlas continuous backups are enabled for the cluster.
- bi_
connector Dict[GetCluster Bi Connector] Indicates BI Connector for Atlas configuration on this cluster. BI Connector for Atlas is only available for M10+ clusters. See BI Connector below for more details.
- cluster_
type str Indicates the type of the cluster that you want to modify. You cannot convert a sharded cluster deployment to a replica set deployment.
- connection_
strings Dict[GetCluster Connection Strings] Set of connection strings that your applications use to connect to this cluster. More info in Connection-strings. Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see Connection String Options. NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster. -
connection_strings.standard- Public mongodb:// connection string for this cluster. -connection_strings.standard_srv- Public mongodb+srv:// connection string for this cluster. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS. Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don’t need to append the seed list or change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn’t, use connectionStrings.standard. -connection_strings.aws_private_link- Private-endpoint-aware mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a AWS PrivateLink connection to this cluster. -connection_strings.aws_private_link_srv- Private-endpoint-aware mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a AWS PrivateLink connection to this cluster. Use this URI format if your driver supports it. If it doesn’t, use connectionStrings.awsPrivateLink. -connection_strings.private- Network-peering-endpoint-aware mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster. -connection_strings.private_srv- Network-peering-endpoint-aware mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.- disk_
size_ floatgb Indicates the size in gigabytes of the server’s root volume (AWS/GCP Only).
- encryption_
at_ strrest_ provider Indicates whether Encryption at Rest is enabled or disabled.
- id str
The provider-assigned unique ID for this managed resource.
- labels
List[Get
Cluster Label] - mongo_
db_ strmajor_ version Indicates the version of the cluster to deploy.
- mongo_
db_ strversion Version of MongoDB the cluster runs, in
major-version.minor-versionformat.- mongo_
uri str Base connection string for the cluster. Atlas only displays this field after the cluster is operational, not while it builds the cluster.
- mongo_
uri_ strupdated Lists when the connection string was last updated. The connection string changes, for example, if you change a replica set to a sharded cluster.
- mongo_
uri_ strwith_ options Describes connection string for connecting to the Atlas cluster. Includes the replicaSet, ssl, and authSource query parameters in the connection string with values appropriate for the cluster.
- name str
The name of the current plugin
- num_
shards float Number of shards to deploy in the specified zone.
- paused bool
Flag that indicates whether the cluster is paused or not.
- pit_
enabled bool Flag that indicates if the cluster uses Point-in-Time backups.
- project_
id str - provider_
backup_ boolenabled Flag indicating if the cluster uses Cloud Provider Snapshots for backups.
- provider_
disk_ floatiops Indicates the maximum input/output operations per second (IOPS) the system can perform. The possible values depend on the selected providerSettings.instanceSizeName and diskSizeGB.
- provider_
disk_ strtype_ name Describes Azure disk type of the server’s root volume (Azure Only).
- provider_
encrypt_ boolebs_ volume Indicates whether the Amazon EBS encryption is enabled. This feature encrypts the server’s root volume for both data at rest within the volume and data moving between the volume and the instance.
- provider_
instance_ strsize_ name Atlas provides different instance sizes, each with a default storage capacity and RAM size.
- provider_
name str Indicates the cloud service provider on which the servers are provisioned.
- provider_
region_ strname Indicates Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases. Requires the Atlas Region name, see the reference list for AWS, GCP, Azure.
- provider_
volume_ strtype Indicates the type of the volume. The possible values are:
STANDARDandPROVISIONED.- replication_
factor float Number of replica set members. Each member keeps a copy of your databases, providing high availability and data redundancy. The possible values are 3, 5, or 7. The default value is 3.
- replication_
specs List[GetCluster Replication Spec] Configuration for cluster regions. See Replication Spec below for more details.
- snapshot_
backup_ List[Getpolicies Cluster Snapshot Backup Policy] current snapshot schedule and retention settings for the cluster.
- srv_
address str Connection string for connecting to the Atlas cluster. The +srv modifier forces the connection to use TLS/SSL. See the mongoURI for additional options.
- state_
name str Indicates the current state of the cluster. The possible states are: - IDLE - CREATING - UPDATING - DELETING - DELETED - REPAIRING
Supporting Types
GetClusterBiConnector
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Enabled string
Indicates whether or not BI Connector for Atlas is enabled on the cluster.
- Read
Preference string Indicates the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of readPreference and readPreferenceTags options. For details on BI Connector for Atlas read preferences, refer to the BI Connector Read Preferences Table.
- Enabled string
Indicates whether or not BI Connector for Atlas is enabled on the cluster.
- Read
Preference string Indicates the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of readPreference and readPreferenceTags options. For details on BI Connector for Atlas read preferences, refer to the BI Connector Read Preferences Table.
- enabled string
Indicates whether or not BI Connector for Atlas is enabled on the cluster.
- read
Preference string Indicates the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of readPreference and readPreferenceTags options. For details on BI Connector for Atlas read preferences, refer to the BI Connector Read Preferences Table.
- enabled str
Indicates whether or not BI Connector for Atlas is enabled on the cluster.
- read_
preference str Indicates the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of readPreference and readPreferenceTags options. For details on BI Connector for Atlas read preferences, refer to the BI Connector Read Preferences Table.
GetClusterConnectionStrings
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Aws
Private Dictionary<string, object>Link - Aws
Private Dictionary<string, object>Link Srv - Private string
- Private
Srv string - Standard string
- Standard
Srv string
- Aws
Private map[string]interface{}Link - Aws
Private map[string]interface{}Link Srv - Private string
- Private
Srv string - Standard string
- Standard
Srv string
- aws
Private {[key: string]: any}Link - aws
Private {[key: string]: any}Link Srv - private string
- private
Srv string - standard string
- standard
Srv string
- aws
Private Dict[str, Any]Link - aws
Private Dict[str, Any]Link Srv - private str
- private
Srv str - standard str
- standard
Srv str
GetClusterLabel
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetClusterReplicationSpec
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Id string
Unique identifer of the replication document for a zone in a Global Cluster.
- Num
Shards int Number of shards to deploy in the specified zone.
- Regions
Configs List<GetCluster Replication Spec Regions Config Args> Describes the physical location of the region. Each regionsConfig document describes the region’s priority in elections and the number and type of MongoDB nodes Atlas deploys to the region. You must order each regionsConfigs document by regionsConfig.priority, descending. See Region Config below for more details.
- Zone
Name string Indicates the n ame for the zone in a Global Cluster.
- Id string
Unique identifer of the replication document for a zone in a Global Cluster.
- Num
Shards int Number of shards to deploy in the specified zone.
- Regions
Configs []GetCluster Replication Spec Regions Config Describes the physical location of the region. Each regionsConfig document describes the region’s priority in elections and the number and type of MongoDB nodes Atlas deploys to the region. You must order each regionsConfigs document by regionsConfig.priority, descending. See Region Config below for more details.
- Zone
Name string Indicates the n ame for the zone in a Global Cluster.
- id string
Unique identifer of the replication document for a zone in a Global Cluster.
- num
Shards number Number of shards to deploy in the specified zone.
- regions
Configs GetCluster Replication Spec Regions Config[] Describes the physical location of the region. Each regionsConfig document describes the region’s priority in elections and the number and type of MongoDB nodes Atlas deploys to the region. You must order each regionsConfigs document by regionsConfig.priority, descending. See Region Config below for more details.
- zone
Name string Indicates the n ame for the zone in a Global Cluster.
- id str
Unique identifer of the replication document for a zone in a Global Cluster.
- num_
shards float Number of shards to deploy in the specified zone.
- regions
Configs List[GetCluster Replication Spec Regions Config] Describes the physical location of the region. Each regionsConfig document describes the region’s priority in elections and the number and type of MongoDB nodes Atlas deploys to the region. You must order each regionsConfigs document by regionsConfig.priority, descending. See Region Config below for more details.
- zone
Name str Indicates the n ame for the zone in a Global Cluster.
GetClusterReplicationSpecRegionsConfig
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Analytics
Nodes int Indicates the number of analytics nodes for Atlas to deploy to the region. Analytics nodes are useful for handling analytic data such as reporting queries from BI Connector for Atlas. Analytics nodes are read-only, and can never become the primary.
- Electable
Nodes int Number of electable nodes for Atlas to deploy to the region.
- Priority int
Election priority of the region. For regions with only read-only nodes, set this value to 0.
- Read
Only intNodes Number of read-only nodes for Atlas to deploy to the region. Read-only nodes can never become the primary, but can facilitate local-reads. Specify 0 if you do not want any read-only nodes in the region.
- Region
Name string Name for the region specified.
- Analytics
Nodes int Indicates the number of analytics nodes for Atlas to deploy to the region. Analytics nodes are useful for handling analytic data such as reporting queries from BI Connector for Atlas. Analytics nodes are read-only, and can never become the primary.
- Electable
Nodes int Number of electable nodes for Atlas to deploy to the region.
- Priority int
Election priority of the region. For regions with only read-only nodes, set this value to 0.
- Read
Only intNodes Number of read-only nodes for Atlas to deploy to the region. Read-only nodes can never become the primary, but can facilitate local-reads. Specify 0 if you do not want any read-only nodes in the region.
- Region
Name string Name for the region specified.
- analytics
Nodes number Indicates the number of analytics nodes for Atlas to deploy to the region. Analytics nodes are useful for handling analytic data such as reporting queries from BI Connector for Atlas. Analytics nodes are read-only, and can never become the primary.
- electable
Nodes number Number of electable nodes for Atlas to deploy to the region.
- priority number
Election priority of the region. For regions with only read-only nodes, set this value to 0.
- read
Only numberNodes Number of read-only nodes for Atlas to deploy to the region. Read-only nodes can never become the primary, but can facilitate local-reads. Specify 0 if you do not want any read-only nodes in the region.
- region
Name string Name for the region specified.
- analytics
Nodes float Indicates the number of analytics nodes for Atlas to deploy to the region. Analytics nodes are useful for handling analytic data such as reporting queries from BI Connector for Atlas. Analytics nodes are read-only, and can never become the primary.
- electable
Nodes float Number of electable nodes for Atlas to deploy to the region.
- priority float
Election priority of the region. For regions with only read-only nodes, set this value to 0.
- read
Only floatNodes Number of read-only nodes for Atlas to deploy to the region. Read-only nodes can never become the primary, but can facilitate local-reads. Specify 0 if you do not want any read-only nodes in the region.
- region_
name str Name for the region specified.
GetClusterSnapshotBackupPolicy
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetClusterSnapshotBackupPolicyPolicy
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Id string
Unique identifer of the replication document for a zone in a Global Cluster.
- Policy
Items List<GetCluster Snapshot Backup Policy Policy Policy Item Args>
- Id string
Unique identifer of the replication document for a zone in a Global Cluster.
- Policy
Items []GetCluster Snapshot Backup Policy Policy Policy Item
- id string
Unique identifer of the replication document for a zone in a Global Cluster.
- policy
Items GetCluster Snapshot Backup Policy Policy Policy Item[]
- id str
Unique identifer of the replication document for a zone in a Global Cluster.
- policy
Items List[GetCluster Snapshot Backup Policy Policy Policy Item]
GetClusterSnapshotBackupPolicyPolicyPolicyItem
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Frequency
Interval int - Frequency
Type string - Id string
Unique identifer of the replication document for a zone in a Global Cluster.
- Retention
Unit string - Retention
Value int
- Frequency
Interval int - Frequency
Type string - Id string
Unique identifer of the replication document for a zone in a Global Cluster.
- Retention
Unit string - Retention
Value int
- frequency
Interval number - frequency
Type string - id string
Unique identifer of the replication document for a zone in a Global Cluster.
- retention
Unit string - retention
Value number
- frequency
Interval float - frequency
Type str - id str
Unique identifer of the replication document for a zone in a Global Cluster.
- retention
Unit str - retention
Value float
Package Details
- Repository
- https://github.com/pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlasTerraform Provider.