linode.DatabaseMongodb
Provides a Linode Mongo Database resource. This can be used to create, modify, and delete Linode MongoDB Databases. For more information, see the Linode APIv4 docs.
Please keep in mind that Managed Databases can take up to an hour to provision.
updates
The following arguments are supported in the updates
specification block:
day_of_week
- (Required) The day to perform maintenance. (monday
,tuesday
, …)duration
- (Required) The maximum maintenance window time in hours. (1
..3
)frequency
- (Required) Whether maintenance occurs on a weekly or monthly basis. (weekly
,monthly
)hour_of_day
- (Required) The hour to begin maintenance based in UTC time. (0
..23
)week_of_month
- (Optional) The week of the month to perform monthly frequency updates. Required formonthly
frequency updates. (1
..4
)
Example Usage
Creating a simple MongoDB database instance
using System.Collections.Generic;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var foobar = new Linode.DatabaseMongodb("foobar", new()
{
EngineId = "mongodb/4.4.10",
Label = "mydatabase",
Region = "us-southeast",
Type = "g6-nanode-1",
});
});
package main
import (
"github.com/pulumi/pulumi-linode/sdk/v3/go/linode"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := linode.NewDatabaseMongodb(ctx, "foobar", &linode.DatabaseMongodbArgs{
EngineId: pulumi.String("mongodb/4.4.10"),
Label: pulumi.String("mydatabase"),
Region: pulumi.String("us-southeast"),
Type: pulumi.String("g6-nanode-1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.DatabaseMongodb;
import com.pulumi.linode.DatabaseMongodbArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foobar = new DatabaseMongodb("foobar", DatabaseMongodbArgs.builder()
.engineId("mongodb/4.4.10")
.label("mydatabase")
.region("us-southeast")
.type("g6-nanode-1")
.build());
}
}
import pulumi
import pulumi_linode as linode
foobar = linode.DatabaseMongodb("foobar",
engine_id="mongodb/4.4.10",
label="mydatabase",
region="us-southeast",
type="g6-nanode-1")
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const foobar = new linode.DatabaseMongodb("foobar", {
engineId: "mongodb/4.4.10",
label: "mydatabase",
region: "us-southeast",
type: "g6-nanode-1",
});
resources:
foobar:
type: linode:DatabaseMongodb
properties:
engineId: mongodb/4.4.10
label: mydatabase
region: us-southeast
type: g6-nanode-1
Creating a complex MongoDB database instance
using System.Collections.Generic;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var foobar = new Linode.DatabaseMongodb("foobar", new()
{
AllowLists = new[]
{
"0.0.0.0/0",
},
ClusterSize = 3,
CompressionType = "zlib",
Encrypted = true,
EngineId = "mongodb/4.4.10",
Label = "mydatabase",
Region = "us-southeast",
SslConnection = true,
StorageEngine = "wiredtiger",
Type = "g6-nanode-1",
Updates = new Linode.Inputs.DatabaseMongodbUpdatesArgs
{
DayOfWeek = "saturday",
Duration = 1,
Frequency = "monthly",
HourOfDay = 22,
WeekOfMonth = 2,
},
});
});
package main
import (
"github.com/pulumi/pulumi-linode/sdk/v3/go/linode"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := linode.NewDatabaseMongodb(ctx, "foobar", &linode.DatabaseMongodbArgs{
AllowLists: pulumi.StringArray{
pulumi.String("0.0.0.0/0"),
},
ClusterSize: pulumi.Int(3),
CompressionType: pulumi.String("zlib"),
Encrypted: pulumi.Bool(true),
EngineId: pulumi.String("mongodb/4.4.10"),
Label: pulumi.String("mydatabase"),
Region: pulumi.String("us-southeast"),
SslConnection: pulumi.Bool(true),
StorageEngine: pulumi.String("wiredtiger"),
Type: pulumi.String("g6-nanode-1"),
Updates: &DatabaseMongodbUpdatesArgs{
DayOfWeek: pulumi.String("saturday"),
Duration: pulumi.Int(1),
Frequency: pulumi.String("monthly"),
HourOfDay: pulumi.Int(22),
WeekOfMonth: pulumi.Int(2),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.DatabaseMongodb;
import com.pulumi.linode.DatabaseMongodbArgs;
import com.pulumi.linode.inputs.DatabaseMongodbUpdatesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foobar = new DatabaseMongodb("foobar", DatabaseMongodbArgs.builder()
.allowLists("0.0.0.0/0")
.clusterSize(3)
.compressionType("zlib")
.encrypted(true)
.engineId("mongodb/4.4.10")
.label("mydatabase")
.region("us-southeast")
.sslConnection(true)
.storageEngine("wiredtiger")
.type("g6-nanode-1")
.updates(DatabaseMongodbUpdatesArgs.builder()
.dayOfWeek("saturday")
.duration(1)
.frequency("monthly")
.hourOfDay(22)
.weekOfMonth(2)
.build())
.build());
}
}
import pulumi
import pulumi_linode as linode
foobar = linode.DatabaseMongodb("foobar",
allow_lists=["0.0.0.0/0"],
cluster_size=3,
compression_type="zlib",
encrypted=True,
engine_id="mongodb/4.4.10",
label="mydatabase",
region="us-southeast",
ssl_connection=True,
storage_engine="wiredtiger",
type="g6-nanode-1",
updates=linode.DatabaseMongodbUpdatesArgs(
day_of_week="saturday",
duration=1,
frequency="monthly",
hour_of_day=22,
week_of_month=2,
))
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const foobar = new linode.DatabaseMongodb("foobar", {
allowLists: ["0.0.0.0/0"],
clusterSize: 3,
compressionType: "zlib",
encrypted: true,
engineId: "mongodb/4.4.10",
label: "mydatabase",
region: "us-southeast",
sslConnection: true,
storageEngine: "wiredtiger",
type: "g6-nanode-1",
updates: {
dayOfWeek: "saturday",
duration: 1,
frequency: "monthly",
hourOfDay: 22,
weekOfMonth: 2,
},
});
resources:
foobar:
type: linode:DatabaseMongodb
properties:
allowLists:
- 0.0.0.0/0
clusterSize: 3
compressionType: zlib
encrypted: true
engineId: mongodb/4.4.10
label: mydatabase
region: us-southeast
sslConnection: true
storageEngine: wiredtiger
type: g6-nanode-1
updates:
dayOfWeek: saturday
duration: 1
frequency: monthly
hourOfDay: 22
weekOfMonth: 2
Create DatabaseMongodb Resource
new DatabaseMongodb(name: string, args: DatabaseMongodbArgs, opts?: CustomResourceOptions);
@overload
def DatabaseMongodb(resource_name: str,
opts: Optional[ResourceOptions] = None,
allow_lists: Optional[Sequence[str]] = None,
cluster_size: Optional[int] = None,
compression_type: Optional[str] = None,
encrypted: Optional[bool] = None,
engine_id: Optional[str] = None,
label: Optional[str] = None,
region: Optional[str] = None,
ssl_connection: Optional[bool] = None,
storage_engine: Optional[str] = None,
type: Optional[str] = None,
updates: Optional[DatabaseMongodbUpdatesArgs] = None)
@overload
def DatabaseMongodb(resource_name: str,
args: DatabaseMongodbArgs,
opts: Optional[ResourceOptions] = None)
func NewDatabaseMongodb(ctx *Context, name string, args DatabaseMongodbArgs, opts ...ResourceOption) (*DatabaseMongodb, error)
public DatabaseMongodb(string name, DatabaseMongodbArgs args, CustomResourceOptions? opts = null)
public DatabaseMongodb(String name, DatabaseMongodbArgs args)
public DatabaseMongodb(String name, DatabaseMongodbArgs args, CustomResourceOptions options)
type: linode:DatabaseMongodb
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatabaseMongodbArgs
- 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 DatabaseMongodbArgs
- 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 DatabaseMongodbArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatabaseMongodbArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DatabaseMongodbArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DatabaseMongodb Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The DatabaseMongodb resource accepts the following input properties:
- Engine
Id string The Managed Database engine in engine/version format. (e.g.
mongo/4.4.10
)- Label string
A unique, user-defined string referring to the Managed Database.
- Region string
The region to use for the Managed Database.
- Type string
The Linode Instance type used for the nodes of the Managed Database instance.
- Allow
Lists List<string> A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately.- Cluster
Size int The number of Linode Instance nodes deployed to the Managed Database. (default
1
)- Compression
Type string The type of data compression for this Database. (
none
,snappy
,zlib
; defaultnone
)- Encrypted bool
Whether the Managed Databases is encrypted. (default
false
)- Ssl
Connection bool Whether to require SSL credentials to establish a connection to the Managed Database. (default
false
)- Storage
Engine string The type of storage engine for this Database. (
mmapv1
,wiredtiger
; defaultwiredtiger
)- Updates
Database
Mongodb Updates Args Configuration settings for automated patch update maintenance for the Managed Database.
- Engine
Id string The Managed Database engine in engine/version format. (e.g.
mongo/4.4.10
)- Label string
A unique, user-defined string referring to the Managed Database.
- Region string
The region to use for the Managed Database.
- Type string
The Linode Instance type used for the nodes of the Managed Database instance.
- Allow
Lists []string A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately.- Cluster
Size int The number of Linode Instance nodes deployed to the Managed Database. (default
1
)- Compression
Type string The type of data compression for this Database. (
none
,snappy
,zlib
; defaultnone
)- Encrypted bool
Whether the Managed Databases is encrypted. (default
false
)- Ssl
Connection bool Whether to require SSL credentials to establish a connection to the Managed Database. (default
false
)- Storage
Engine string The type of storage engine for this Database. (
mmapv1
,wiredtiger
; defaultwiredtiger
)- Updates
Database
Mongodb Updates Args Configuration settings for automated patch update maintenance for the Managed Database.
- engine
Id String The Managed Database engine in engine/version format. (e.g.
mongo/4.4.10
)- label String
A unique, user-defined string referring to the Managed Database.
- region String
The region to use for the Managed Database.
- type String
The Linode Instance type used for the nodes of the Managed Database instance.
- allow
Lists List<String> A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately.- cluster
Size Integer The number of Linode Instance nodes deployed to the Managed Database. (default
1
)- compression
Type String The type of data compression for this Database. (
none
,snappy
,zlib
; defaultnone
)- encrypted Boolean
Whether the Managed Databases is encrypted. (default
false
)- ssl
Connection Boolean Whether to require SSL credentials to establish a connection to the Managed Database. (default
false
)- storage
Engine String The type of storage engine for this Database. (
mmapv1
,wiredtiger
; defaultwiredtiger
)- updates
Database
Mongodb Updates Args Configuration settings for automated patch update maintenance for the Managed Database.
- engine
Id string The Managed Database engine in engine/version format. (e.g.
mongo/4.4.10
)- label string
A unique, user-defined string referring to the Managed Database.
- region string
The region to use for the Managed Database.
- type string
The Linode Instance type used for the nodes of the Managed Database instance.
- allow
Lists string[] A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately.- cluster
Size number The number of Linode Instance nodes deployed to the Managed Database. (default
1
)- compression
Type string The type of data compression for this Database. (
none
,snappy
,zlib
; defaultnone
)- encrypted boolean
Whether the Managed Databases is encrypted. (default
false
)- ssl
Connection boolean Whether to require SSL credentials to establish a connection to the Managed Database. (default
false
)- storage
Engine string The type of storage engine for this Database. (
mmapv1
,wiredtiger
; defaultwiredtiger
)- updates
Database
Mongodb Updates Args Configuration settings for automated patch update maintenance for the Managed Database.
- engine_
id str The Managed Database engine in engine/version format. (e.g.
mongo/4.4.10
)- label str
A unique, user-defined string referring to the Managed Database.
- region str
The region to use for the Managed Database.
- type str
The Linode Instance type used for the nodes of the Managed Database instance.
- allow_
lists Sequence[str] A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately.- cluster_
size int The number of Linode Instance nodes deployed to the Managed Database. (default
1
)- compression_
type str The type of data compression for this Database. (
none
,snappy
,zlib
; defaultnone
)- encrypted bool
Whether the Managed Databases is encrypted. (default
false
)- ssl_
connection bool Whether to require SSL credentials to establish a connection to the Managed Database. (default
false
)- storage_
engine str The type of storage engine for this Database. (
mmapv1
,wiredtiger
; defaultwiredtiger
)- updates
Database
Mongodb Updates Args Configuration settings for automated patch update maintenance for the Managed Database.
- engine
Id String The Managed Database engine in engine/version format. (e.g.
mongo/4.4.10
)- label String
A unique, user-defined string referring to the Managed Database.
- region String
The region to use for the Managed Database.
- type String
The Linode Instance type used for the nodes of the Managed Database instance.
- allow
Lists List<String> A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately.- cluster
Size Number The number of Linode Instance nodes deployed to the Managed Database. (default
1
)- compression
Type String The type of data compression for this Database. (
none
,snappy
,zlib
; defaultnone
)- encrypted Boolean
Whether the Managed Databases is encrypted. (default
false
)- ssl
Connection Boolean Whether to require SSL credentials to establish a connection to the Managed Database. (default
false
)- storage
Engine String The type of storage engine for this Database. (
mmapv1
,wiredtiger
; defaultwiredtiger
)- updates Property Map
Configuration settings for automated patch update maintenance for the Managed Database.
Outputs
All input properties are implicitly available as output properties. Additionally, the DatabaseMongodb resource produces the following output properties:
- Ca
Cert string The base64-encoded SSL CA certificate for the Managed Database instance.
- Created string
When this Managed Database was created.
- Engine string
The Managed Database engine. (e.g.
mongodb
)- Host
Primary string The primary host for the Managed Database.
- Host
Secondary string The secondary/private network host for the Managed Database.
- Id string
The provider-assigned unique ID for this managed resource.
- Peers List<string>
A set of peer addresses for this Database.
- Port int
The access port for this Managed Database.
- Replica
Set string Label for configuring a MongoDB replica set. Choose the same label on multiple Databases to include them in the same replica set.
- Root
Password string The randomly-generated root password for the Managed Database instance.
- Root
Username string The root username for the Managed Database instance.
- Status string
The operating status of the Managed Database.
- Updated string
When this Managed Database was last updated.
- Version string
The Managed Database engine version. (e.g.
v8.0.26
)
- Ca
Cert string The base64-encoded SSL CA certificate for the Managed Database instance.
- Created string
When this Managed Database was created.
- Engine string
The Managed Database engine. (e.g.
mongodb
)- Host
Primary string The primary host for the Managed Database.
- Host
Secondary string The secondary/private network host for the Managed Database.
- Id string
The provider-assigned unique ID for this managed resource.
- Peers []string
A set of peer addresses for this Database.
- Port int
The access port for this Managed Database.
- Replica
Set string Label for configuring a MongoDB replica set. Choose the same label on multiple Databases to include them in the same replica set.
- Root
Password string The randomly-generated root password for the Managed Database instance.
- Root
Username string The root username for the Managed Database instance.
- Status string
The operating status of the Managed Database.
- Updated string
When this Managed Database was last updated.
- Version string
The Managed Database engine version. (e.g.
v8.0.26
)
- ca
Cert String The base64-encoded SSL CA certificate for the Managed Database instance.
- created String
When this Managed Database was created.
- engine String
The Managed Database engine. (e.g.
mongodb
)- host
Primary String The primary host for the Managed Database.
- host
Secondary String The secondary/private network host for the Managed Database.
- id String
The provider-assigned unique ID for this managed resource.
- peers List<String>
A set of peer addresses for this Database.
- port Integer
The access port for this Managed Database.
- replica
Set String Label for configuring a MongoDB replica set. Choose the same label on multiple Databases to include them in the same replica set.
- root
Password String The randomly-generated root password for the Managed Database instance.
- root
Username String The root username for the Managed Database instance.
- status String
The operating status of the Managed Database.
- updated String
When this Managed Database was last updated.
- version String
The Managed Database engine version. (e.g.
v8.0.26
)
- ca
Cert string The base64-encoded SSL CA certificate for the Managed Database instance.
- created string
When this Managed Database was created.
- engine string
The Managed Database engine. (e.g.
mongodb
)- host
Primary string The primary host for the Managed Database.
- host
Secondary string The secondary/private network host for the Managed Database.
- id string
The provider-assigned unique ID for this managed resource.
- peers string[]
A set of peer addresses for this Database.
- port number
The access port for this Managed Database.
- replica
Set string Label for configuring a MongoDB replica set. Choose the same label on multiple Databases to include them in the same replica set.
- root
Password string The randomly-generated root password for the Managed Database instance.
- root
Username string The root username for the Managed Database instance.
- status string
The operating status of the Managed Database.
- updated string
When this Managed Database was last updated.
- version string
The Managed Database engine version. (e.g.
v8.0.26
)
- ca_
cert str The base64-encoded SSL CA certificate for the Managed Database instance.
- created str
When this Managed Database was created.
- engine str
The Managed Database engine. (e.g.
mongodb
)- host_
primary str The primary host for the Managed Database.
- host_
secondary str The secondary/private network host for the Managed Database.
- id str
The provider-assigned unique ID for this managed resource.
- peers Sequence[str]
A set of peer addresses for this Database.
- port int
The access port for this Managed Database.
- replica_
set str Label for configuring a MongoDB replica set. Choose the same label on multiple Databases to include them in the same replica set.
- root_
password str The randomly-generated root password for the Managed Database instance.
- root_
username str The root username for the Managed Database instance.
- status str
The operating status of the Managed Database.
- updated str
When this Managed Database was last updated.
- version str
The Managed Database engine version. (e.g.
v8.0.26
)
- ca
Cert String The base64-encoded SSL CA certificate for the Managed Database instance.
- created String
When this Managed Database was created.
- engine String
The Managed Database engine. (e.g.
mongodb
)- host
Primary String The primary host for the Managed Database.
- host
Secondary String The secondary/private network host for the Managed Database.
- id String
The provider-assigned unique ID for this managed resource.
- peers List<String>
A set of peer addresses for this Database.
- port Number
The access port for this Managed Database.
- replica
Set String Label for configuring a MongoDB replica set. Choose the same label on multiple Databases to include them in the same replica set.
- root
Password String The randomly-generated root password for the Managed Database instance.
- root
Username String The root username for the Managed Database instance.
- status String
The operating status of the Managed Database.
- updated String
When this Managed Database was last updated.
- version String
The Managed Database engine version. (e.g.
v8.0.26
)
Look up Existing DatabaseMongodb Resource
Get an existing DatabaseMongodb 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?: DatabaseMongodbState, opts?: CustomResourceOptions): DatabaseMongodb
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_lists: Optional[Sequence[str]] = None,
ca_cert: Optional[str] = None,
cluster_size: Optional[int] = None,
compression_type: Optional[str] = None,
created: Optional[str] = None,
encrypted: Optional[bool] = None,
engine: Optional[str] = None,
engine_id: Optional[str] = None,
host_primary: Optional[str] = None,
host_secondary: Optional[str] = None,
label: Optional[str] = None,
peers: Optional[Sequence[str]] = None,
port: Optional[int] = None,
region: Optional[str] = None,
replica_set: Optional[str] = None,
root_password: Optional[str] = None,
root_username: Optional[str] = None,
ssl_connection: Optional[bool] = None,
status: Optional[str] = None,
storage_engine: Optional[str] = None,
type: Optional[str] = None,
updated: Optional[str] = None,
updates: Optional[DatabaseMongodbUpdatesArgs] = None,
version: Optional[str] = None) -> DatabaseMongodb
func GetDatabaseMongodb(ctx *Context, name string, id IDInput, state *DatabaseMongodbState, opts ...ResourceOption) (*DatabaseMongodb, error)
public static DatabaseMongodb Get(string name, Input<string> id, DatabaseMongodbState? state, CustomResourceOptions? opts = null)
public static DatabaseMongodb get(String name, Output<String> id, DatabaseMongodbState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Allow
Lists List<string> A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately.- Ca
Cert string The base64-encoded SSL CA certificate for the Managed Database instance.
- Cluster
Size int The number of Linode Instance nodes deployed to the Managed Database. (default
1
)- Compression
Type string The type of data compression for this Database. (
none
,snappy
,zlib
; defaultnone
)- Created string
When this Managed Database was created.
- Encrypted bool
Whether the Managed Databases is encrypted. (default
false
)- Engine string
The Managed Database engine. (e.g.
mongodb
)- Engine
Id string The Managed Database engine in engine/version format. (e.g.
mongo/4.4.10
)- Host
Primary string The primary host for the Managed Database.
- Host
Secondary string The secondary/private network host for the Managed Database.
- Label string
A unique, user-defined string referring to the Managed Database.
- Peers List<string>
A set of peer addresses for this Database.
- Port int
The access port for this Managed Database.
- Region string
The region to use for the Managed Database.
- Replica
Set string Label for configuring a MongoDB replica set. Choose the same label on multiple Databases to include them in the same replica set.
- Root
Password string The randomly-generated root password for the Managed Database instance.
- Root
Username string The root username for the Managed Database instance.
- Ssl
Connection bool Whether to require SSL credentials to establish a connection to the Managed Database. (default
false
)- Status string
The operating status of the Managed Database.
- Storage
Engine string The type of storage engine for this Database. (
mmapv1
,wiredtiger
; defaultwiredtiger
)- Type string
The Linode Instance type used for the nodes of the Managed Database instance.
- Updated string
When this Managed Database was last updated.
- Updates
Database
Mongodb Updates Args Configuration settings for automated patch update maintenance for the Managed Database.
- Version string
The Managed Database engine version. (e.g.
v8.0.26
)
- Allow
Lists []string A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately.- Ca
Cert string The base64-encoded SSL CA certificate for the Managed Database instance.
- Cluster
Size int The number of Linode Instance nodes deployed to the Managed Database. (default
1
)- Compression
Type string The type of data compression for this Database. (
none
,snappy
,zlib
; defaultnone
)- Created string
When this Managed Database was created.
- Encrypted bool
Whether the Managed Databases is encrypted. (default
false
)- Engine string
The Managed Database engine. (e.g.
mongodb
)- Engine
Id string The Managed Database engine in engine/version format. (e.g.
mongo/4.4.10
)- Host
Primary string The primary host for the Managed Database.
- Host
Secondary string The secondary/private network host for the Managed Database.
- Label string
A unique, user-defined string referring to the Managed Database.
- Peers []string
A set of peer addresses for this Database.
- Port int
The access port for this Managed Database.
- Region string
The region to use for the Managed Database.
- Replica
Set string Label for configuring a MongoDB replica set. Choose the same label on multiple Databases to include them in the same replica set.
- Root
Password string The randomly-generated root password for the Managed Database instance.
- Root
Username string The root username for the Managed Database instance.
- Ssl
Connection bool Whether to require SSL credentials to establish a connection to the Managed Database. (default
false
)- Status string
The operating status of the Managed Database.
- Storage
Engine string The type of storage engine for this Database. (
mmapv1
,wiredtiger
; defaultwiredtiger
)- Type string
The Linode Instance type used for the nodes of the Managed Database instance.
- Updated string
When this Managed Database was last updated.
- Updates
Database
Mongodb Updates Args Configuration settings for automated patch update maintenance for the Managed Database.
- Version string
The Managed Database engine version. (e.g.
v8.0.26
)
- allow
Lists List<String> A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately.- ca
Cert String The base64-encoded SSL CA certificate for the Managed Database instance.
- cluster
Size Integer The number of Linode Instance nodes deployed to the Managed Database. (default
1
)- compression
Type String The type of data compression for this Database. (
none
,snappy
,zlib
; defaultnone
)- created String
When this Managed Database was created.
- encrypted Boolean
Whether the Managed Databases is encrypted. (default
false
)- engine String
The Managed Database engine. (e.g.
mongodb
)- engine
Id String The Managed Database engine in engine/version format. (e.g.
mongo/4.4.10
)- host
Primary String The primary host for the Managed Database.
- host
Secondary String The secondary/private network host for the Managed Database.
- label String
A unique, user-defined string referring to the Managed Database.
- peers List<String>
A set of peer addresses for this Database.
- port Integer
The access port for this Managed Database.
- region String
The region to use for the Managed Database.
- replica
Set String Label for configuring a MongoDB replica set. Choose the same label on multiple Databases to include them in the same replica set.
- root
Password String The randomly-generated root password for the Managed Database instance.
- root
Username String The root username for the Managed Database instance.
- ssl
Connection Boolean Whether to require SSL credentials to establish a connection to the Managed Database. (default
false
)- status String
The operating status of the Managed Database.
- storage
Engine String The type of storage engine for this Database. (
mmapv1
,wiredtiger
; defaultwiredtiger
)- type String
The Linode Instance type used for the nodes of the Managed Database instance.
- updated String
When this Managed Database was last updated.
- updates
Database
Mongodb Updates Args Configuration settings for automated patch update maintenance for the Managed Database.
- version String
The Managed Database engine version. (e.g.
v8.0.26
)
- allow
Lists string[] A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately.- ca
Cert string The base64-encoded SSL CA certificate for the Managed Database instance.
- cluster
Size number The number of Linode Instance nodes deployed to the Managed Database. (default
1
)- compression
Type string The type of data compression for this Database. (
none
,snappy
,zlib
; defaultnone
)- created string
When this Managed Database was created.
- encrypted boolean
Whether the Managed Databases is encrypted. (default
false
)- engine string
The Managed Database engine. (e.g.
mongodb
)- engine
Id string The Managed Database engine in engine/version format. (e.g.
mongo/4.4.10
)- host
Primary string The primary host for the Managed Database.
- host
Secondary string The secondary/private network host for the Managed Database.
- label string
A unique, user-defined string referring to the Managed Database.
- peers string[]
A set of peer addresses for this Database.
- port number
The access port for this Managed Database.
- region string
The region to use for the Managed Database.
- replica
Set string Label for configuring a MongoDB replica set. Choose the same label on multiple Databases to include them in the same replica set.
- root
Password string The randomly-generated root password for the Managed Database instance.
- root
Username string The root username for the Managed Database instance.
- ssl
Connection boolean Whether to require SSL credentials to establish a connection to the Managed Database. (default
false
)- status string
The operating status of the Managed Database.
- storage
Engine string The type of storage engine for this Database. (
mmapv1
,wiredtiger
; defaultwiredtiger
)- type string
The Linode Instance type used for the nodes of the Managed Database instance.
- updated string
When this Managed Database was last updated.
- updates
Database
Mongodb Updates Args Configuration settings for automated patch update maintenance for the Managed Database.
- version string
The Managed Database engine version. (e.g.
v8.0.26
)
- allow_
lists Sequence[str] A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately.- ca_
cert str The base64-encoded SSL CA certificate for the Managed Database instance.
- cluster_
size int The number of Linode Instance nodes deployed to the Managed Database. (default
1
)- compression_
type str The type of data compression for this Database. (
none
,snappy
,zlib
; defaultnone
)- created str
When this Managed Database was created.
- encrypted bool
Whether the Managed Databases is encrypted. (default
false
)- engine str
The Managed Database engine. (e.g.
mongodb
)- engine_
id str The Managed Database engine in engine/version format. (e.g.
mongo/4.4.10
)- host_
primary str The primary host for the Managed Database.
- host_
secondary str The secondary/private network host for the Managed Database.
- label str
A unique, user-defined string referring to the Managed Database.
- peers Sequence[str]
A set of peer addresses for this Database.
- port int
The access port for this Managed Database.
- region str
The region to use for the Managed Database.
- replica_
set str Label for configuring a MongoDB replica set. Choose the same label on multiple Databases to include them in the same replica set.
- root_
password str The randomly-generated root password for the Managed Database instance.
- root_
username str The root username for the Managed Database instance.
- ssl_
connection bool Whether to require SSL credentials to establish a connection to the Managed Database. (default
false
)- status str
The operating status of the Managed Database.
- storage_
engine str The type of storage engine for this Database. (
mmapv1
,wiredtiger
; defaultwiredtiger
)- type str
The Linode Instance type used for the nodes of the Managed Database instance.
- updated str
When this Managed Database was last updated.
- updates
Database
Mongodb Updates Args Configuration settings for automated patch update maintenance for the Managed Database.
- version str
The Managed Database engine version. (e.g.
v8.0.26
)
- allow
Lists List<String> A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately.- ca
Cert String The base64-encoded SSL CA certificate for the Managed Database instance.
- cluster
Size Number The number of Linode Instance nodes deployed to the Managed Database. (default
1
)- compression
Type String The type of data compression for this Database. (
none
,snappy
,zlib
; defaultnone
)- created String
When this Managed Database was created.
- encrypted Boolean
Whether the Managed Databases is encrypted. (default
false
)- engine String
The Managed Database engine. (e.g.
mongodb
)- engine
Id String The Managed Database engine in engine/version format. (e.g.
mongo/4.4.10
)- host
Primary String The primary host for the Managed Database.
- host
Secondary String The secondary/private network host for the Managed Database.
- label String
A unique, user-defined string referring to the Managed Database.
- peers List<String>
A set of peer addresses for this Database.
- port Number
The access port for this Managed Database.
- region String
The region to use for the Managed Database.
- replica
Set String Label for configuring a MongoDB replica set. Choose the same label on multiple Databases to include them in the same replica set.
- root
Password String The randomly-generated root password for the Managed Database instance.
- root
Username String The root username for the Managed Database instance.
- ssl
Connection Boolean Whether to require SSL credentials to establish a connection to the Managed Database. (default
false
)- status String
The operating status of the Managed Database.
- storage
Engine String The type of storage engine for this Database. (
mmapv1
,wiredtiger
; defaultwiredtiger
)- type String
The Linode Instance type used for the nodes of the Managed Database instance.
- updated String
When this Managed Database was last updated.
- updates Property Map
Configuration settings for automated patch update maintenance for the Managed Database.
- version String
The Managed Database engine version. (e.g.
v8.0.26
)
Supporting Types
DatabaseMongodbUpdates
- Day
Of stringWeek - Duration int
- Frequency string
- Hour
Of intDay - Week
Of intMonth
- Day
Of stringWeek - Duration int
- Frequency string
- Hour
Of intDay - Week
Of intMonth
- day
Of StringWeek - duration Integer
- frequency String
- hour
Of IntegerDay - week
Of IntegerMonth
- day
Of stringWeek - duration number
- frequency string
- hour
Of numberDay - week
Of numberMonth
- day_
of_ strweek - duration int
- frequency str
- hour_
of_ intday - week_
of_ intmonth
- day
Of StringWeek - duration Number
- frequency String
- hour
Of NumberDay - week
Of NumberMonth
Import
Linode MongoDB Databases can be imported using the id
, e.g.
$ pulumi import linode:index/databaseMongodb:DatabaseMongodb foobar 1234567
Package Details
- Repository
- Linode pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
linode
Terraform Provider.