public sealed class Instance : IMessage<Instance>, IEquatable<Instance>, IDeepCloneable<Instance>, IBufferMessage, IMessage
Reference documentation and code samples for the Memorystore v1beta API class Instance.
A Memorystore instance.
Namespace
Google.Cloud.Memorystore.V1BetaAssembly
Google.Cloud.Memorystore.V1Beta.dll
Constructors
Instance()
public Instance()
Instance(Instance)
public Instance(Instance other)
Parameter | |
---|---|
Name | Description |
other |
Instance |
Properties
AuthorizationMode
public Instance.Types.AuthorizationMode AuthorizationMode { get; set; }
Optional. Immutable. Authorization mode of the instance.
Property Value | |
---|---|
Type | Description |
InstanceTypesAuthorizationMode |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. Creation timestamp of the instance.
Property Value | |
---|---|
Type | Description |
Timestamp |
DeletionProtectionEnabled
public bool DeletionProtectionEnabled { get; set; }
Optional. If set to true deletion of the instance will fail.
Property Value | |
---|---|
Type | Description |
bool |
DiscoveryEndpoints
public RepeatedField<DiscoveryEndpoint> DiscoveryEndpoints { get; }
Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported.
Property Value | |
---|---|
Type | Description |
RepeatedFieldDiscoveryEndpoint |
Endpoints
public RepeatedField<Instance.Types.InstanceEndpoint> Endpoints { get; }
Optional. Endpoints for the instance.
Property Value | |
---|---|
Type | Description |
RepeatedFieldInstanceTypesInstanceEndpoint |
EngineConfigs
public MapField<string, string> EngineConfigs { get; }
Optional. User-provided engine configurations for the instance.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
EngineVersion
public string EngineVersion { get; set; }
Optional. Immutable. Engine version of the instance.
Property Value | |
---|---|
Type | Description |
string |
HasDeletionProtectionEnabled
public bool HasDeletionProtectionEnabled { get; }
Gets whether the "deletion_protection_enabled" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasReplicaCount
public bool HasReplicaCount { get; }
Gets whether the "replica_count" field is set
Property Value | |
---|---|
Type | Description |
bool |
InstanceName
public InstanceName InstanceName { get; set; }
InstanceName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
InstanceName |
Labels
public MapField<string, string> Labels { get; }
Optional. Labels to represent user-provided metadata.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
Mode
public Instance.Types.Mode Mode { get; set; }
Optional. The mode config for the instance.
Property Value | |
---|---|
Type | Description |
InstanceTypesMode |
Name
public string Name { get; set; }
Identifier. Unique name of the instance. Format: projects/{project}/locations/{location}/instances/{instance}
Property Value | |
---|---|
Type | Description |
string |
NodeConfig
public NodeConfig NodeConfig { get; set; }
Output only. Configuration of individual nodes of the instance.
Property Value | |
---|---|
Type | Description |
NodeConfig |
NodeType
public Instance.Types.NodeType NodeType { get; set; }
Optional. Immutable. Machine type for individual nodes of the instance.
Property Value | |
---|---|
Type | Description |
InstanceTypesNodeType |
PersistenceConfig
public PersistenceConfig PersistenceConfig { get; set; }
Optional. Persistence configuration of the instance.
Property Value | |
---|---|
Type | Description |
PersistenceConfig |
PscAutoConnections
public RepeatedField<PscAutoConnection> PscAutoConnections { get; }
Required. Immutable. User inputs and resource details of the auto-created PSC connections.
Property Value | |
---|---|
Type | Description |
RepeatedFieldPscAutoConnection |
ReplicaCount
public int ReplicaCount { get; set; }
Optional. Number of replica nodes per shard. If omitted the default is 0 replicas.
Property Value | |
---|---|
Type | Description |
int |
ShardCount
public int ShardCount { get; set; }
Optional. Number of shards for the instance.
Property Value | |
---|---|
Type | Description |
int |
State
public Instance.Types.State State { get; set; }
Output only. Current state of the instance.
Property Value | |
---|---|
Type | Description |
InstanceTypesState |
StateInfo
public Instance.Types.StateInfo StateInfo { get; set; }
Output only. Additional information about the state of the instance.
Property Value | |
---|---|
Type | Description |
InstanceTypesStateInfo |
TransitEncryptionMode
public Instance.Types.TransitEncryptionMode TransitEncryptionMode { get; set; }
Optional. Immutable. In-transit encryption mode of the instance.
Property Value | |
---|---|
Type | Description |
InstanceTypesTransitEncryptionMode |
Uid
public string Uid { get; set; }
Output only. System assigned, unique identifier for the instance.
Property Value | |
---|---|
Type | Description |
string |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. Latest update timestamp of the instance.
Property Value | |
---|---|
Type | Description |
Timestamp |
ZoneDistributionConfig
public ZoneDistributionConfig ZoneDistributionConfig { get; set; }
Optional. Immutable. Zone distribution configuration of the instance for node allocation.
Property Value | |
---|---|
Type | Description |
ZoneDistributionConfig |