Class InstanceConfig (3.11.0)

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.

Inheritance

Object > InstanceConfig

Namespace

Google.Cloud.Spanner.Admin.Instance.V1

Assembly

Google.Cloud.Spanner.Admin.Instance.V1.dll

Constructors

InstanceConfig()

public InstanceConfig()

InstanceConfig(InstanceConfig)

public InstanceConfig(InstanceConfig other)
Parameter
NameDescription
otherInstanceConfig

Properties

DisplayName

public string DisplayName { get; set; }

The name of this instance configuration as it appears in UIs.

Property Value
TypeDescription
String

InstanceConfigName

public InstanceConfigName InstanceConfigName { get; set; }

InstanceConfigName-typed view over the Name resource name property.

Property Value
TypeDescription
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
TypeDescription
RepeatedField<String>

Name

public string Name { get; set; }

A unique identifier for the instance configuration. Values are of the form projects/&lt;project>/instanceConfigs/[a-z][-a-z0-9]*

Property Value
TypeDescription
String

Replicas

public RepeatedField<ReplicaInfo> Replicas { get; }

The geographic placement of nodes in this instance configuration and their replication properties.

Property Value
TypeDescription
RepeatedField<ReplicaInfo>