public sealed class InstanceConfig : IMessage<InstanceConfig>, IEquatable<InstanceConfig>, IDeepCloneable<InstanceConfig>, IBufferMessage, IMessage
A possible configuration for a Cloud Spanner instance. Configurations define the geographic placement of nodes and their replication.
Implements
IMessage<InstanceConfig>, IEquatable<InstanceConfig>, IDeepCloneable<InstanceConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.Admin.Instance.V1Assembly
Google.Cloud.Spanner.Admin.Instance.V1.dll
Constructors
InstanceConfig()
public InstanceConfig()
InstanceConfig(InstanceConfig)
public InstanceConfig(InstanceConfig other)
Parameter | |
---|---|
Name | Description |
other | InstanceConfig |
Properties
DisplayName
public string DisplayName { get; set; }
The name of this instance configuration as it appears in UIs.
Property Value | |
---|---|
Type | Description |
String |
InstanceConfigName
public InstanceConfigName InstanceConfigName { get; set; }
InstanceConfigName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
InstanceConfigName |
LeaderOptions
public RepeatedField<string> LeaderOptions { get; }
Allowed values of the “default_leader” schema option for databases in instances that use this instance configuration.
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |
Name
public string Name { get; set; }
A unique identifier for the instance configuration. Values
are of the form
projects/<project>/instanceConfigs/[a-z][-a-z0-9]*
Property Value | |
---|---|
Type | Description |
String |
Replicas
public RepeatedField<ReplicaInfo> Replicas { get; }
The geographic placement of nodes in this instance configuration and their replication properties.
Property Value | |
---|---|
Type | Description |
RepeatedField<ReplicaInfo> |