ionoscloud.MongoCluster
Explore with Pulumi AI
Create MongoCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MongoCluster(name: string, args: MongoClusterArgs, opts?: CustomResourceOptions);
@overload
def MongoCluster(resource_name: str,
args: MongoClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MongoCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
instances: Optional[float] = None,
mongodb_version: Optional[str] = None,
connections: Optional[MongoClusterConnectionsArgs] = None,
location: Optional[str] = None,
display_name: Optional[str] = None,
maintenance_window: Optional[MongoClusterMaintenanceWindowArgs] = None,
edition: Optional[str] = None,
cores: Optional[float] = None,
backup: Optional[MongoClusterBackupArgs] = None,
mongo_cluster_id: Optional[str] = None,
bi_connector: Optional[MongoClusterBiConnectorArgs] = None,
ram: Optional[float] = None,
shards: Optional[float] = None,
storage_size: Optional[float] = None,
storage_type: Optional[str] = None,
template_id: Optional[str] = None,
timeouts: Optional[MongoClusterTimeoutsArgs] = None,
type: Optional[str] = None)
func NewMongoCluster(ctx *Context, name string, args MongoClusterArgs, opts ...ResourceOption) (*MongoCluster, error)
public MongoCluster(string name, MongoClusterArgs args, CustomResourceOptions? opts = null)
public MongoCluster(String name, MongoClusterArgs args)
public MongoCluster(String name, MongoClusterArgs args, CustomResourceOptions options)
type: ionoscloud:MongoCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MongoClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MongoClusterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MongoClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MongoClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MongoClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var mongoClusterResource = new Ionoscloud.MongoCluster("mongoClusterResource", new()
{
Instances = 0,
MongodbVersion = "string",
Connections = new Ionoscloud.Inputs.MongoClusterConnectionsArgs
{
CidrLists = new[]
{
"string",
},
DatacenterId = "string",
LanId = "string",
},
Location = "string",
DisplayName = "string",
MaintenanceWindow = new Ionoscloud.Inputs.MongoClusterMaintenanceWindowArgs
{
DayOfTheWeek = "string",
Time = "string",
},
Edition = "string",
Cores = 0,
Backup = new Ionoscloud.Inputs.MongoClusterBackupArgs
{
Location = "string",
PointInTimeWindowHours = 0,
SnapshotIntervalHours = 0,
},
MongoClusterId = "string",
BiConnector = new Ionoscloud.Inputs.MongoClusterBiConnectorArgs
{
Enabled = false,
Host = "string",
Port = "string",
},
Ram = 0,
Shards = 0,
StorageSize = 0,
StorageType = "string",
TemplateId = "string",
Timeouts = new Ionoscloud.Inputs.MongoClusterTimeoutsArgs
{
Create = "string",
Default = "string",
Delete = "string",
Update = "string",
},
Type = "string",
});
example, err := ionoscloud.NewMongoCluster(ctx, "mongoClusterResource", &ionoscloud.MongoClusterArgs{
Instances: pulumi.Float64(0),
MongodbVersion: pulumi.String("string"),
Connections: &ionoscloud.MongoClusterConnectionsArgs{
CidrLists: pulumi.StringArray{
pulumi.String("string"),
},
DatacenterId: pulumi.String("string"),
LanId: pulumi.String("string"),
},
Location: pulumi.String("string"),
DisplayName: pulumi.String("string"),
MaintenanceWindow: &ionoscloud.MongoClusterMaintenanceWindowArgs{
DayOfTheWeek: pulumi.String("string"),
Time: pulumi.String("string"),
},
Edition: pulumi.String("string"),
Cores: pulumi.Float64(0),
Backup: &ionoscloud.MongoClusterBackupArgs{
Location: pulumi.String("string"),
PointInTimeWindowHours: pulumi.Float64(0),
SnapshotIntervalHours: pulumi.Float64(0),
},
MongoClusterId: pulumi.String("string"),
BiConnector: &ionoscloud.MongoClusterBiConnectorArgs{
Enabled: pulumi.Bool(false),
Host: pulumi.String("string"),
Port: pulumi.String("string"),
},
Ram: pulumi.Float64(0),
Shards: pulumi.Float64(0),
StorageSize: pulumi.Float64(0),
StorageType: pulumi.String("string"),
TemplateId: pulumi.String("string"),
Timeouts: &ionoscloud.MongoClusterTimeoutsArgs{
Create: pulumi.String("string"),
Default: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
Type: pulumi.String("string"),
})
var mongoClusterResource = new MongoCluster("mongoClusterResource", MongoClusterArgs.builder()
.instances(0)
.mongodbVersion("string")
.connections(MongoClusterConnectionsArgs.builder()
.cidrLists("string")
.datacenterId("string")
.lanId("string")
.build())
.location("string")
.displayName("string")
.maintenanceWindow(MongoClusterMaintenanceWindowArgs.builder()
.dayOfTheWeek("string")
.time("string")
.build())
.edition("string")
.cores(0)
.backup(MongoClusterBackupArgs.builder()
.location("string")
.pointInTimeWindowHours(0)
.snapshotIntervalHours(0)
.build())
.mongoClusterId("string")
.biConnector(MongoClusterBiConnectorArgs.builder()
.enabled(false)
.host("string")
.port("string")
.build())
.ram(0)
.shards(0)
.storageSize(0)
.storageType("string")
.templateId("string")
.timeouts(MongoClusterTimeoutsArgs.builder()
.create("string")
.default_("string")
.delete("string")
.update("string")
.build())
.type("string")
.build());
mongo_cluster_resource = ionoscloud.MongoCluster("mongoClusterResource",
instances=0,
mongodb_version="string",
connections={
"cidr_lists": ["string"],
"datacenter_id": "string",
"lan_id": "string",
},
location="string",
display_name="string",
maintenance_window={
"day_of_the_week": "string",
"time": "string",
},
edition="string",
cores=0,
backup={
"location": "string",
"point_in_time_window_hours": 0,
"snapshot_interval_hours": 0,
},
mongo_cluster_id="string",
bi_connector={
"enabled": False,
"host": "string",
"port": "string",
},
ram=0,
shards=0,
storage_size=0,
storage_type="string",
template_id="string",
timeouts={
"create": "string",
"default": "string",
"delete": "string",
"update": "string",
},
type="string")
const mongoClusterResource = new ionoscloud.MongoCluster("mongoClusterResource", {
instances: 0,
mongodbVersion: "string",
connections: {
cidrLists: ["string"],
datacenterId: "string",
lanId: "string",
},
location: "string",
displayName: "string",
maintenanceWindow: {
dayOfTheWeek: "string",
time: "string",
},
edition: "string",
cores: 0,
backup: {
location: "string",
pointInTimeWindowHours: 0,
snapshotIntervalHours: 0,
},
mongoClusterId: "string",
biConnector: {
enabled: false,
host: "string",
port: "string",
},
ram: 0,
shards: 0,
storageSize: 0,
storageType: "string",
templateId: "string",
timeouts: {
create: "string",
"default": "string",
"delete": "string",
update: "string",
},
type: "string",
});
type: ionoscloud:MongoCluster
properties:
backup:
location: string
pointInTimeWindowHours: 0
snapshotIntervalHours: 0
biConnector:
enabled: false
host: string
port: string
connections:
cidrLists:
- string
datacenterId: string
lanId: string
cores: 0
displayName: string
edition: string
instances: 0
location: string
maintenanceWindow:
dayOfTheWeek: string
time: string
mongoClusterId: string
mongodbVersion: string
ram: 0
shards: 0
storageSize: 0
storageType: string
templateId: string
timeouts:
create: string
default: string
delete: string
update: string
type: string
MongoCluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MongoCluster resource accepts the following input properties:
- Connections
Mongo
Cluster Connections - Details about the network connection for your cluster.
- Display
Name string - The name of your cluster.
- Instances double
- The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
- Location string
- The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
- Mongodb
Version string - The MongoDB version of your cluster. Update forces cluster re-creation.
- Backup
Mongo
Cluster Backup - Backup related properties.
- Bi
Connector MongoCluster Bi Connector - The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
- Cores double
- The number of CPU cores per instance.
- Edition string
- The cluster edition. Must be one of: playground, business, enterprise
- Maintenance
Window MongoCluster Maintenance Window - A weekly 4 hour-long window, during which maintenance might occur
- Mongo
Cluster stringId - Ram double
- The amount of memory per instance in megabytes. Multiple of 1024
- double
- The total number of shards in the cluster.
- Storage
Size double - The amount of storage per instance in megabytes. At least 5120, at most 2097152
- Storage
Type string - The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
- Template
Id string - The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
- Timeouts
Mongo
Cluster Timeouts - Type string
- The cluster type, either
replicaset
orsharded-cluster
- Connections
Mongo
Cluster Connections Args - Details about the network connection for your cluster.
- Display
Name string - The name of your cluster.
- Instances float64
- The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
- Location string
- The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
- Mongodb
Version string - The MongoDB version of your cluster. Update forces cluster re-creation.
- Backup
Mongo
Cluster Backup Args - Backup related properties.
- Bi
Connector MongoCluster Bi Connector Args - The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
- Cores float64
- The number of CPU cores per instance.
- Edition string
- The cluster edition. Must be one of: playground, business, enterprise
- Maintenance
Window MongoCluster Maintenance Window Args - A weekly 4 hour-long window, during which maintenance might occur
- Mongo
Cluster stringId - Ram float64
- The amount of memory per instance in megabytes. Multiple of 1024
- float64
- The total number of shards in the cluster.
- Storage
Size float64 - The amount of storage per instance in megabytes. At least 5120, at most 2097152
- Storage
Type string - The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
- Template
Id string - The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
- Timeouts
Mongo
Cluster Timeouts Args - Type string
- The cluster type, either
replicaset
orsharded-cluster
- connections
Mongo
Cluster Connections - Details about the network connection for your cluster.
- display
Name String - The name of your cluster.
- instances Double
- The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
- location String
- The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
- mongodb
Version String - The MongoDB version of your cluster. Update forces cluster re-creation.
- backup
Mongo
Cluster Backup - Backup related properties.
- bi
Connector MongoCluster Bi Connector - The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
- cores Double
- The number of CPU cores per instance.
- edition String
- The cluster edition. Must be one of: playground, business, enterprise
- maintenance
Window MongoCluster Maintenance Window - A weekly 4 hour-long window, during which maintenance might occur
- mongo
Cluster StringId - ram Double
- The amount of memory per instance in megabytes. Multiple of 1024
- Double
- The total number of shards in the cluster.
- storage
Size Double - The amount of storage per instance in megabytes. At least 5120, at most 2097152
- storage
Type String - The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
- template
Id String - The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
- timeouts
Mongo
Cluster Timeouts - type String
- The cluster type, either
replicaset
orsharded-cluster
- connections
Mongo
Cluster Connections - Details about the network connection for your cluster.
- display
Name string - The name of your cluster.
- instances number
- The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
- location string
- The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
- mongodb
Version string - The MongoDB version of your cluster. Update forces cluster re-creation.
- backup
Mongo
Cluster Backup - Backup related properties.
- bi
Connector MongoCluster Bi Connector - The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
- cores number
- The number of CPU cores per instance.
- edition string
- The cluster edition. Must be one of: playground, business, enterprise
- maintenance
Window MongoCluster Maintenance Window - A weekly 4 hour-long window, during which maintenance might occur
- mongo
Cluster stringId - ram number
- The amount of memory per instance in megabytes. Multiple of 1024
- number
- The total number of shards in the cluster.
- storage
Size number - The amount of storage per instance in megabytes. At least 5120, at most 2097152
- storage
Type string - The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
- template
Id string - The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
- timeouts
Mongo
Cluster Timeouts - type string
- The cluster type, either
replicaset
orsharded-cluster
- connections
Mongo
Cluster Connections Args - Details about the network connection for your cluster.
- display_
name str - The name of your cluster.
- instances float
- The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
- location str
- The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
- mongodb_
version str - The MongoDB version of your cluster. Update forces cluster re-creation.
- backup
Mongo
Cluster Backup Args - Backup related properties.
- bi_
connector MongoCluster Bi Connector Args - The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
- cores float
- The number of CPU cores per instance.
- edition str
- The cluster edition. Must be one of: playground, business, enterprise
- maintenance_
window MongoCluster Maintenance Window Args - A weekly 4 hour-long window, during which maintenance might occur
- mongo_
cluster_ strid - ram float
- The amount of memory per instance in megabytes. Multiple of 1024
- float
- The total number of shards in the cluster.
- storage_
size float - The amount of storage per instance in megabytes. At least 5120, at most 2097152
- storage_
type str - The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
- template_
id str - The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
- timeouts
Mongo
Cluster Timeouts Args - type str
- The cluster type, either
replicaset
orsharded-cluster
- connections Property Map
- Details about the network connection for your cluster.
- display
Name String - The name of your cluster.
- instances Number
- The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
- location String
- The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
- mongodb
Version String - The MongoDB version of your cluster. Update forces cluster re-creation.
- backup Property Map
- Backup related properties.
- bi
Connector Property Map - The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
- cores Number
- The number of CPU cores per instance.
- edition String
- The cluster edition. Must be one of: playground, business, enterprise
- maintenance
Window Property Map - A weekly 4 hour-long window, during which maintenance might occur
- mongo
Cluster StringId - ram Number
- The amount of memory per instance in megabytes. Multiple of 1024
- Number
- The total number of shards in the cluster.
- storage
Size Number - The amount of storage per instance in megabytes. At least 5120, at most 2097152
- storage
Type String - The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
- template
Id String - The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
- timeouts Property Map
- type String
- The cluster type, either
replicaset
orsharded-cluster
Outputs
All input properties are implicitly available as output properties. Additionally, the MongoCluster resource produces the following output properties:
- Connection
String string - The connection string for your cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- Connection
String string - The connection string for your cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- connection
String String - The connection string for your cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- connection
String string - The connection string for your cluster.
- id string
- The provider-assigned unique ID for this managed resource.
- connection_
string str - The connection string for your cluster.
- id str
- The provider-assigned unique ID for this managed resource.
- connection
String String - The connection string for your cluster.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing MongoCluster Resource
Get an existing MongoCluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MongoClusterState, opts?: CustomResourceOptions): MongoCluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
backup: Optional[MongoClusterBackupArgs] = None,
bi_connector: Optional[MongoClusterBiConnectorArgs] = None,
connection_string: Optional[str] = None,
connections: Optional[MongoClusterConnectionsArgs] = None,
cores: Optional[float] = None,
display_name: Optional[str] = None,
edition: Optional[str] = None,
instances: Optional[float] = None,
location: Optional[str] = None,
maintenance_window: Optional[MongoClusterMaintenanceWindowArgs] = None,
mongo_cluster_id: Optional[str] = None,
mongodb_version: Optional[str] = None,
ram: Optional[float] = None,
shards: Optional[float] = None,
storage_size: Optional[float] = None,
storage_type: Optional[str] = None,
template_id: Optional[str] = None,
timeouts: Optional[MongoClusterTimeoutsArgs] = None,
type: Optional[str] = None) -> MongoCluster
func GetMongoCluster(ctx *Context, name string, id IDInput, state *MongoClusterState, opts ...ResourceOption) (*MongoCluster, error)
public static MongoCluster Get(string name, Input<string> id, MongoClusterState? state, CustomResourceOptions? opts = null)
public static MongoCluster get(String name, Output<String> id, MongoClusterState state, CustomResourceOptions options)
resources: _: type: ionoscloud:MongoCluster get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Backup
Mongo
Cluster Backup - Backup related properties.
- Bi
Connector MongoCluster Bi Connector - The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
- Connection
String string - The connection string for your cluster.
- Connections
Mongo
Cluster Connections - Details about the network connection for your cluster.
- Cores double
- The number of CPU cores per instance.
- Display
Name string - The name of your cluster.
- Edition string
- The cluster edition. Must be one of: playground, business, enterprise
- Instances double
- The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
- Location string
- The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
- Maintenance
Window MongoCluster Maintenance Window - A weekly 4 hour-long window, during which maintenance might occur
- Mongo
Cluster stringId - Mongodb
Version string - The MongoDB version of your cluster. Update forces cluster re-creation.
- Ram double
- The amount of memory per instance in megabytes. Multiple of 1024
- Shards double
- The total number of shards in the cluster.
- Storage
Size double - The amount of storage per instance in megabytes. At least 5120, at most 2097152
- Storage
Type string - The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
- Template
Id string - The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
- Timeouts
Mongo
Cluster Timeouts - Type string
- The cluster type, either
replicaset
orsharded-cluster
- Backup
Mongo
Cluster Backup Args - Backup related properties.
- Bi
Connector MongoCluster Bi Connector Args - The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
- Connection
String string - The connection string for your cluster.
- Connections
Mongo
Cluster Connections Args - Details about the network connection for your cluster.
- Cores float64
- The number of CPU cores per instance.
- Display
Name string - The name of your cluster.
- Edition string
- The cluster edition. Must be one of: playground, business, enterprise
- Instances float64
- The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
- Location string
- The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
- Maintenance
Window MongoCluster Maintenance Window Args - A weekly 4 hour-long window, during which maintenance might occur
- Mongo
Cluster stringId - Mongodb
Version string - The MongoDB version of your cluster. Update forces cluster re-creation.
- Ram float64
- The amount of memory per instance in megabytes. Multiple of 1024
- Shards float64
- The total number of shards in the cluster.
- Storage
Size float64 - The amount of storage per instance in megabytes. At least 5120, at most 2097152
- Storage
Type string - The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
- Template
Id string - The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
- Timeouts
Mongo
Cluster Timeouts Args - Type string
- The cluster type, either
replicaset
orsharded-cluster
- backup
Mongo
Cluster Backup - Backup related properties.
- bi
Connector MongoCluster Bi Connector - The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
- connection
String String - The connection string for your cluster.
- connections
Mongo
Cluster Connections - Details about the network connection for your cluster.
- cores Double
- The number of CPU cores per instance.
- display
Name String - The name of your cluster.
- edition String
- The cluster edition. Must be one of: playground, business, enterprise
- instances Double
- The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
- location String
- The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
- maintenance
Window MongoCluster Maintenance Window - A weekly 4 hour-long window, during which maintenance might occur
- mongo
Cluster StringId - mongodb
Version String - The MongoDB version of your cluster. Update forces cluster re-creation.
- ram Double
- The amount of memory per instance in megabytes. Multiple of 1024
- shards Double
- The total number of shards in the cluster.
- storage
Size Double - The amount of storage per instance in megabytes. At least 5120, at most 2097152
- storage
Type String - The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
- template
Id String - The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
- timeouts
Mongo
Cluster Timeouts - type String
- The cluster type, either
replicaset
orsharded-cluster
- backup
Mongo
Cluster Backup - Backup related properties.
- bi
Connector MongoCluster Bi Connector - The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
- connection
String string - The connection string for your cluster.
- connections
Mongo
Cluster Connections - Details about the network connection for your cluster.
- cores number
- The number of CPU cores per instance.
- display
Name string - The name of your cluster.
- edition string
- The cluster edition. Must be one of: playground, business, enterprise
- instances number
- The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
- location string
- The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
- maintenance
Window MongoCluster Maintenance Window - A weekly 4 hour-long window, during which maintenance might occur
- mongo
Cluster stringId - mongodb
Version string - The MongoDB version of your cluster. Update forces cluster re-creation.
- ram number
- The amount of memory per instance in megabytes. Multiple of 1024
- shards number
- The total number of shards in the cluster.
- storage
Size number - The amount of storage per instance in megabytes. At least 5120, at most 2097152
- storage
Type string - The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
- template
Id string - The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
- timeouts
Mongo
Cluster Timeouts - type string
- The cluster type, either
replicaset
orsharded-cluster
- backup
Mongo
Cluster Backup Args - Backup related properties.
- bi_
connector MongoCluster Bi Connector Args - The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
- connection_
string str - The connection string for your cluster.
- connections
Mongo
Cluster Connections Args - Details about the network connection for your cluster.
- cores float
- The number of CPU cores per instance.
- display_
name str - The name of your cluster.
- edition str
- The cluster edition. Must be one of: playground, business, enterprise
- instances float
- The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
- location str
- The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
- maintenance_
window MongoCluster Maintenance Window Args - A weekly 4 hour-long window, during which maintenance might occur
- mongo_
cluster_ strid - mongodb_
version str - The MongoDB version of your cluster. Update forces cluster re-creation.
- ram float
- The amount of memory per instance in megabytes. Multiple of 1024
- shards float
- The total number of shards in the cluster.
- storage_
size float - The amount of storage per instance in megabytes. At least 5120, at most 2097152
- storage_
type str - The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
- template_
id str - The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
- timeouts
Mongo
Cluster Timeouts Args - type str
- The cluster type, either
replicaset
orsharded-cluster
- backup Property Map
- Backup related properties.
- bi
Connector Property Map - The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
- connection
String String - The connection string for your cluster.
- connections Property Map
- Details about the network connection for your cluster.
- cores Number
- The number of CPU cores per instance.
- display
Name String - The name of your cluster.
- edition String
- The cluster edition. Must be one of: playground, business, enterprise
- instances Number
- The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. For enterprise edition at least 3.
- location String
- The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
- maintenance
Window Property Map - A weekly 4 hour-long window, during which maintenance might occur
- mongo
Cluster StringId - mongodb
Version String - The MongoDB version of your cluster. Update forces cluster re-creation.
- ram Number
- The amount of memory per instance in megabytes. Multiple of 1024
- shards Number
- The total number of shards in the cluster.
- storage
Size Number - The amount of storage per instance in megabytes. At least 5120, at most 2097152
- storage
Type String - The storage type. One of : HDD, SSD, SSD Standard, SSD Premium
- template
Id String - The unique ID of the template, which specifies the number of cores, storage size, and memory. You cannot downgrade to a smaller template or minor edition (e.g. from business to playground). To get a list of all templates to confirm the changes use the /templates endpoint.
- timeouts Property Map
- type String
- The cluster type, either
replicaset
orsharded-cluster
Supporting Types
MongoClusterBackup, MongoClusterBackupArgs
- Location string
- The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Examples: de, eu-sounth-2, eu-central-2
- Point
In doubleTime Window Hours - Number of hours in the past for which a point-in-time snapshot can be created.
- Snapshot
Interval doubleHours - Number of hours between snapshots.
- Location string
- The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Examples: de, eu-sounth-2, eu-central-2
- Point
In float64Time Window Hours - Number of hours in the past for which a point-in-time snapshot can be created.
- Snapshot
Interval float64Hours - Number of hours between snapshots.
- location String
- The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Examples: de, eu-sounth-2, eu-central-2
- point
In DoubleTime Window Hours - Number of hours in the past for which a point-in-time snapshot can be created.
- snapshot
Interval DoubleHours - Number of hours between snapshots.
- location string
- The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Examples: de, eu-sounth-2, eu-central-2
- point
In numberTime Window Hours - Number of hours in the past for which a point-in-time snapshot can be created.
- snapshot
Interval numberHours - Number of hours between snapshots.
- location str
- The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Examples: de, eu-sounth-2, eu-central-2
- point_
in_ floattime_ window_ hours - Number of hours in the past for which a point-in-time snapshot can be created.
- snapshot_
interval_ floathours - Number of hours between snapshots.
- location String
- The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Examples: de, eu-sounth-2, eu-central-2
- point
In NumberTime Window Hours - Number of hours in the past for which a point-in-time snapshot can be created.
- snapshot
Interval NumberHours - Number of hours between snapshots.
MongoClusterBiConnector, MongoClusterBiConnectorArgs
MongoClusterConnections, MongoClusterConnectionsArgs
- Cidr
Lists List<string> - The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24]
- Datacenter
Id string - The datacenter to connect your cluster to.
- Lan
Id string - The LAN to connect your cluster to.
- Cidr
Lists []string - The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24]
- Datacenter
Id string - The datacenter to connect your cluster to.
- Lan
Id string - The LAN to connect your cluster to.
- cidr
Lists List<String> - The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24]
- datacenter
Id String - The datacenter to connect your cluster to.
- lan
Id String - The LAN to connect your cluster to.
- cidr
Lists string[] - The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24]
- datacenter
Id string - The datacenter to connect your cluster to.
- lan
Id string - The LAN to connect your cluster to.
- cidr_
lists Sequence[str] - The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24]
- datacenter_
id str - The datacenter to connect your cluster to.
- lan_
id str - The LAN to connect your cluster to.
- cidr
Lists List<String> - The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24]
- datacenter
Id String - The datacenter to connect your cluster to.
- lan
Id String - The LAN to connect your cluster to.
MongoClusterMaintenanceWindow, MongoClusterMaintenanceWindowArgs
- Day
Of stringThe Week - Time string
- Day
Of stringThe Week - Time string
- day
Of StringThe Week - time String
- day
Of stringThe Week - time string
- day_
of_ strthe_ week - time str
- day
Of StringThe Week - time String
MongoClusterTimeouts, MongoClusterTimeoutsArgs
Package Details
- Repository
- ionoscloud ionos-cloud/terraform-provider-ionoscloud
- License
- Notes
- This Pulumi package is based on the
ionoscloud
Terraform Provider.