public sealed class Instance : IMessage<Instance>, IEquatable<Instance>, IDeepCloneable<Instance>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Memorystore for Memcache v1beta2 API class Instance.
A Memorystore for Memcached instance
Implements
IMessage<Instance>, IEquatable<Instance>, IDeepCloneable<Instance>, IBufferMessage, IMessageNamespace
Google.Cloud.Memcache.V1Beta2Assembly
Google.Cloud.Memcache.V1Beta2.dll
Constructors
Instance()
public Instance()
Instance(Instance)
public Instance(Instance other)
Name | Description |
other | Instance |
Properties
AuthorizedNetwork
public string AuthorizedNetwork { get; set; }
The full name of the Google Compute Engine
network to which the
instance is connected. If left unspecified, the default
network
will be used.
Type | Description |
String |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The time the instance was created.
Type | Description |
Timestamp |
DiscoveryEndpoint
public string DiscoveryEndpoint { get; set; }
Output only. Endpoint for the Discovery API.
Type | Description |
String |
DisplayName
public string DisplayName { get; set; }
User provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters.
Type | Description |
String |
InstanceMessages
public RepeatedField<Instance.Types.InstanceMessage> InstanceMessages { get; }
List of messages that describe the current state of the Memcached instance.
Type | Description |
RepeatedField<Instance.Types.InstanceMessage> |
InstanceName
public InstanceName InstanceName { get; set; }
InstanceName-typed view over the Name resource name property.
Type | Description |
InstanceName |
Labels
public MapField<string, string> Labels { get; }
Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
Type | Description |
MapField<String, String> |
MaintenancePolicy
public MaintenancePolicy MaintenancePolicy { get; set; }
The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.
Type | Description |
MaintenancePolicy |
MaintenanceSchedule
public MaintenanceSchedule MaintenanceSchedule { get; set; }
Output only. Published maintenance schedule.
Type | Description |
MaintenanceSchedule |
MemcacheFullVersion
public string MemcacheFullVersion { get; set; }
Output only. The full version of memcached server running on this instance. System automatically determines the full memcached version for an instance based on the input MemcacheVersion. The full version format will be "memcached-1.5.16".
Type | Description |
String |
MemcacheNodes
public RepeatedField<Instance.Types.Node> MemcacheNodes { get; }
Output only. List of Memcached nodes. Refer to [Node][google.cloud.memcache.v1beta2.Instance.Node] message for more details.
Type | Description |
RepeatedField<Instance.Types.Node> |
MemcacheVersion
public MemcacheVersion MemcacheVersion { get; set; }
The major version of Memcached software.
If not provided, latest supported version will be used. Currently the
latest supported major version is MEMCACHE_1_5
.
The minor version will be automatically determined by our system based on
the latest supported minor version.
Type | Description |
MemcacheVersion |
Name
public string Name { get; set; }
Required. Unique name of the resource in this scope including project and
location using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
Note: Memcached instances are managed and addressed at the regional level
so location_id
here refers to a Google Cloud region; however, users may
choose which zones Memcached nodes should be provisioned in within an
instance. Refer to [zones][google.cloud.memcache.v1beta2.Instance.zones] field for more details.
Type | Description |
String |
NodeConfig
public Instance.Types.NodeConfig NodeConfig { get; set; }
Required. Configuration for Memcached nodes.
Type | Description |
Instance.Types.NodeConfig |
NodeCount
public int NodeCount { get; set; }
Required. Number of nodes in the Memcached instance.
Type | Description |
Int32 |
Parameters
public MemcacheParameters Parameters { get; set; }
User defined parameters to apply to the memcached process on each node.
Type | Description |
MemcacheParameters |
State
public Instance.Types.State State { get; set; }
Output only. The state of this Memcached instance.
Type | Description |
Instance.Types.State |
UpdateAvailable
public bool UpdateAvailable { get; set; }
Output only. Returns true if there is an update waiting to be applied
Type | Description |
Boolean |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The time the instance was updated.
Type | Description |
Timestamp |
Zones
public RepeatedField<string> Zones { get; }
Zones in which Memcached nodes should be provisioned. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.
Type | Description |
RepeatedField<String> |