Class DatabaseClusterState
Inherited Members
Namespace: Pulumi.DigitalOcean
Assembly: Pulumi.DigitalOcean.dll
Syntax
public sealed class DatabaseClusterState : ResourceArgs
Constructors
View SourceDatabaseClusterState()
Declaration
public DatabaseClusterState()
Properties
View SourceDatabase
Name of the cluster's default database.
Declaration
public Input<string> Database { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Engine
Database engine used by the cluster (ex. pg for PostreSQL, mysql for MySQL, or redis for Redis).
Declaration
public Input<string> Engine { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
EvictionPolicy
A string specifying the eviction policy for a Redis cluster. Valid values are: noeviction, allkeys_lru, allkeys_random, volatile_lru, volatile_random, or volatile_ttl.
Declaration
public Input<string> EvictionPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Host
Database cluster's hostname.
Declaration
public Input<string> Host { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
MaintenanceWindows
Defines when the automatic maintenance should be performed for the database cluster.
Declaration
public InputList<DatabaseClusterMaintenanceWindowGetArgs> MaintenanceWindows { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<DatabaseClusterMaintenanceWindowGetArgs> |
Name
The name of the database cluster.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NodeCount
Number of nodes that will be included in the cluster.
Declaration
public Input<int> NodeCount { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Password
Password for the cluster's default user.
Declaration
public Input<string> Password { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Port
Network port that the database cluster is listening on.
Declaration
public Input<int> Port { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
PrivateHost
Same as host, but only accessible from resources within the account and in the same region.
Declaration
public Input<string> PrivateHost { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PrivateNetworkUuid
The ID of the VPC where the database cluster will be located.
Declaration
public Input<string> PrivateNetworkUuid { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PrivateUri
Same as uri, but only accessible from resources within the account and in the same region.
Declaration
public Input<string> PrivateUri { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Region
DigitalOcean region where the cluster will reside.
Declaration
public Input<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Size
Database Droplet size associated with the cluster (ex. db-s-1vcpu-1gb).
Declaration
public Input<string> Size { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SqlMode
A comma separated string specifying the SQL modes for a MySQL cluster.
Declaration
public Input<string> SqlMode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A list of tag names to be applied to the database cluster.
Declaration
public InputList<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Uri
The full URI for connecting to the database cluster.
Declaration
public Input<string> Uri { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Urn
The uniform resource name of the database cluster.
Declaration
public Input<string> Urn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
User
Username for the cluster's default user.
Declaration
public Input<string> User { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Version
Engine version used by the cluster (ex. 11 for PostgreSQL 11).
Declaration
public Input<string> Version { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |