public sealed class Instance : IMessage<Instance>, IEquatable<Instance>, IDeepCloneable<Instance>, IBufferMessage, IMessage
Reference documentation and code samples for the App Engine v1 API class Instance.
An Instance resource is the computing unit that App Engine uses to automatically scale an application.
Implements
IMessage<Instance>, IEquatable<Instance>, IDeepCloneable<Instance>, IBufferMessage, IMessageNamespace
Google.Cloud.AppEngine.V1Assembly
Google.Cloud.AppEngine.V1.dll
Constructors
Instance()
public Instance()
Instance(Instance)
public Instance(Instance other)
Parameter | |
---|---|
Name | Description |
other | Instance |
Properties
AppEngineRelease
public string AppEngineRelease { get; set; }
Output only. App Engine release this instance is running on.
Property Value | |
---|---|
Type | Description |
String |
Availability
public Instance.Types.Availability Availability { get; set; }
Output only. Availability of the instance.
Property Value | |
---|---|
Type | Description |
Instance.Types.Availability |
AverageLatency
public int AverageLatency { get; set; }
Output only. Average latency (ms) over the last minute.
Property Value | |
---|---|
Type | Description |
Int32 |
Errors
public int Errors { get; set; }
Output only. Number of errors since this instance was started.
Property Value | |
---|---|
Type | Description |
Int32 |
Id
public string Id { get; set; }
Output only. Relative name of the instance within the version.
Example: instance-1
.
Property Value | |
---|---|
Type | Description |
String |
InstanceName
public InstanceName InstanceName { get; set; }
InstanceName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
InstanceName |
MemoryUsage
public long MemoryUsage { get; set; }
Output only. Total memory in use (bytes).
Property Value | |
---|---|
Type | Description |
Int64 |
Name
public string Name { get; set; }
Output only. Full path to the Instance resource in the API.
Example: apps/myapp/services/default/versions/v1/instances/instance-1
.
Property Value | |
---|---|
Type | Description |
String |
Qps
public float Qps { get; set; }
Output only. Average queries per second (QPS) over the last minute.
Property Value | |
---|---|
Type | Description |
Single |
Requests
public int Requests { get; set; }
Output only. Number of requests since this instance was started.
Property Value | |
---|---|
Type | Description |
Int32 |
StartTime
public Timestamp StartTime { get; set; }
Output only. Time that this instance was started.
@OutputOnly
Property Value | |
---|---|
Type | Description |
Timestamp |
VmDebugEnabled
public bool VmDebugEnabled { get; set; }
Output only. Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment.
Property Value | |
---|---|
Type | Description |
Boolean |
VmId
public string VmId { get; set; }
Output only. Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment.
Property Value | |
---|---|
Type | Description |
String |
VmIp
public string VmIp { get; set; }
Output only. The IP address of this instance. Only applicable for instances in App Engine flexible environment.
Property Value | |
---|---|
Type | Description |
String |
VmLiveness
public Instance.Types.Liveness.Types.LivenessState VmLiveness { get; set; }
Output only. The liveness health check of this instance. Only applicable for instances in App Engine flexible environment.
Property Value | |
---|---|
Type | Description |
Instance.Types.Liveness.Types.LivenessState |
VmName
public string VmName { get; set; }
Output only. Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.
Property Value | |
---|---|
Type | Description |
String |
VmStatus
public string VmStatus { get; set; }
Output only. Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.
Property Value | |
---|---|
Type | Description |
String |
VmZoneName
public string VmZoneName { get; set; }
Output only. Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment.
Property Value | |
---|---|
Type | Description |
String |