Class Table
Complete metadata about a table.
Inherited Members
Namespace: Oci.NosqlService.Models
Assembly: OCI.DotNetSDK.Nosql.dll
Syntax
public class Table
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | Compartment Identifier. |
Remarks
Required
DdlStatement
Declaration
[JsonProperty(PropertyName = "ddlStatement")]
public string DdlStatement { get; set; }
Property Value
Type | Description |
---|---|
string | A DDL statement representing the schema. |
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace":{"bar-key": "value"}} |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier that is immutable. |
Remarks
Required
IsAutoReclaimable
Declaration
[JsonProperty(PropertyName = "isAutoReclaimable")]
public bool? IsAutoReclaimable { get; set; }
Property Value
Type | Description |
---|---|
bool? | True if this table can be reclaimed after an idle period. |
IsMultiRegion
Declaration
[JsonProperty(PropertyName = "isMultiRegion")]
public bool? IsMultiRegion { get; set; }
Property Value
Type | Description |
---|---|
bool? | True if this table is currently a member of a replication set. |
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | A message describing the current state in more detail. |
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Table.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
Table.LifecycleStateEnum? | The state of a table. |
LocalReplicaInitializationInPercent
Declaration
[JsonProperty(PropertyName = "localReplicaInitializationInPercent")]
public int? LocalReplicaInitializationInPercent { get; set; }
Property Value
Type | Description |
---|---|
int? | If this table is in a replication set, this value represents the progress of the initialization of the replica's data. A value of 100 indicates that initialization has completed. |
Name
Declaration
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Human-friendly table name, immutable. |
Replicas
Declaration
[JsonProperty(PropertyName = "replicas")]
public List<Replica> Replicas { get; set; }
Property Value
Type | Description |
---|---|
List<Replica> | An array of Replica listing this table's replicas, if any |
Schema
Declaration
[JsonProperty(PropertyName = "schema")]
public Schema Schema { get; set; }
Property Value
Type | Description |
---|---|
Schema |
SchemaState
Declaration
[JsonProperty(PropertyName = "schemaState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Table.SchemaStateEnum? SchemaState { get; set; }
Property Value
Type | Description |
---|---|
Table.SchemaStateEnum? | The current state of this table's schema. Available states are MUTABLE - The schema can be changed. The table is not eligible for replication. FROZEN - The schema is immutable. The table is eligible for replication. |
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Read-only system tag. These predefined keys are scoped to
namespaces. At present the only supported namespace is
|
TableLimits
Declaration
[JsonProperty(PropertyName = "tableLimits")]
public TableLimits TableLimits { get; set; }
Property Value
Type | Description |
---|---|
TableLimits |
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the the table was created. An RFC3339 formatted datetime string. |
TimeOfExpiration
Declaration
[JsonProperty(PropertyName = "timeOfExpiration")]
public DateTime? TimeOfExpiration { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | If lifecycleState is INACTIVE, indicates when this table will be automatically removed. An RFC3339 formatted datetime string. |
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the the table's metadata was last updated. An RFC3339 formatted datetime string. |