Class DatabaseState
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()
Namespace: Pulumi.Gcp.Spanner
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class DatabaseState : ResourceArgs
Constructors
View SourceDatabaseState()
Declaration
public DatabaseState()
Properties
View SourceDdls
An optional list of DDL statements to run inside the newly created database. Statements can create tables, indexes, etc. These statements execute atomically with the creation of the database: if there is an error in any statement, the database is not created.
Declaration
public InputList<string> Ddls { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Instance
The instance to create the database on.
Declaration
public Input<string> Instance { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
A unique identifier for the database, which cannot be changed after the instance is created. Values are of the form [a-z][-a-z0-9]*[a-z0-9].
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
State
An explanation of the status of the database.
Declaration
public Input<string> State { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |