Class ClusterArgs
Inheritance
System.Object
ClusterArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.Mongodbatlas.dll
Syntax
public sealed class ClusterArgs : ResourceArgs
Constructors
View Source
ClusterArgs()
Declaration
Properties
View Source
AdvancedConfiguration
Declaration
public Input<ClusterAdvancedConfigurationArgs> AdvancedConfiguration { get; set; }
Property Value
View Source
AutoScalingDiskGbEnabled
Specifies whether disk auto-scaling is enabled. The default is true.
- Set to
true to enable disk auto-scaling.
- Set to
false to disable disk auto-scaling.
Declaration
public Input<bool> AutoScalingDiskGbEnabled { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
BackingProviderName
Cloud service provider on which the server for a multi-tenant cluster is provisioned.
Declaration
public Input<string> BackingProviderName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
BackupEnabled
Legacy Option - Set to true to enable Atlas continuous backups for the cluster.
Declaration
public Input<bool> BackupEnabled { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
BiConnector
Specifies 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.
Declaration
public Input<ClusterBiConnectorArgs> BiConnector { get; set; }
Property Value
View Source
ClusterType
Specifies the type of the cluster that you want to modify. You cannot convert a sharded cluster deployment to a replica set deployment.
Declaration
public Input<string> ClusterType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
DiskSizeGb
The size in gigabytes of the server’s root volume. You can add capacity by increasing this number, up to a maximum possible value of 4096 (i.e., 4 TB). This value must be a positive integer.
Declaration
public Input<double> DiskSizeGb { get; set; }
Property Value
| Type |
Description |
| Input<System.Double> |
|
View Source
EncryptionAtRestProvider
Set the Encryption at Rest parameter. Possible values are AWS, GCP, AZURE or NONE. Requires M10 or greater and for backup_enabled to be false or omitted.
Declaration
public Input<string> EncryptionAtRestProvider { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Labels
Array containing key-value pairs that tag and categorize the cluster. Each key and value has a maximum length of 255 characters. You cannot set the key Infrastructure Tool, it is used for internal purposes to track aggregate usage.
Declaration
public InputList<ClusterLabelArgs> Labels { get; set; }
Property Value
View Source
MongoDbMajorVersion
Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: 3.6, 4.0, or 4.2. You must set this value to 4.2 if provider_instance_size_name is either M2 or M5.
Declaration
public Input<string> MongoDbMajorVersion { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Name
Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
NumShards
Number of shards to deploy in the specified zone.
Declaration
public Input<int> NumShards { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
PitEnabled
- Flag that indicates if the cluster uses Point-in-Time backups. If set to true, provider_backup_enabled must also be set to true.
Declaration
public Input<bool> PitEnabled { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
ProjectId
The unique ID for the project to create the database user.
Declaration
public Input<string> ProjectId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ProviderBackupEnabled
Flag indicating if the cluster uses Cloud Provider Snapshots for backups.
Declaration
public Input<bool> ProviderBackupEnabled { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
ProviderDiskIops
The maximum input/output operations per second (IOPS) the system can perform. The possible values depend on the selected providerSettings.instanceSizeName and diskSizeGB.
Declaration
public Input<int> ProviderDiskIops { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
ProviderDiskTypeName
Azure disk type of the server’s root volume. If omitted, Atlas uses the default disk type for the selected providerSettings.instanceSizeName. Example disk types and associated storage sizes: P4 - 32GB, P6 - 64GB, P10 - 128GB, P20 - 512GB, P30 - 1024GB, P40 - 2048GB, P50 - 4095GB. More information and the most update to date disk types/storage sizes can be located at https://docs.atlas.mongodb.com/reference/api/clusters-create-one/.
Declaration
public Input<string> ProviderDiskTypeName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ProviderEncryptEbsVolume
If enabled, the Amazon EBS encryption feature encrypts the server’s root volume for both data at rest within the volume and for data moving between the volume and the instance.
Declaration
public Input<bool> ProviderEncryptEbsVolume { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
ProviderInstanceSizeName
Atlas provides different instance sizes, each with a default storage capacity and RAM size. The instance size you select is used for all the data-bearing servers in your cluster. See Create a Cluster providerSettings.instanceSizeName for valid values and default resources.
Declaration
public Input<string> ProviderInstanceSizeName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ProviderName
Cloud service provider on which the servers are provisioned.
Declaration
public Input<string> ProviderName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ProviderRegionName
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.
Do not specify this field when creating a multi-region cluster using the replicationSpec document or a Global Cluster with the replicationSpecs array.
Declaration
public Input<string> ProviderRegionName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ProviderVolumeType
The type of the volume. The possible values are: STANDARD and PROVISIONED. PROVISIONED required if setting IOPS higher than the default instance IOPS.
Declaration
public Input<string> ProviderVolumeType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ReplicationFactor
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.
Declaration
public Input<int> ReplicationFactor { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
ReplicationSpecs
Configuration for cluster regions. See Replication Spec below for more details.
Declaration
public InputList<ClusterReplicationSpecArgs> ReplicationSpecs { get; set; }
Property Value