Resource: Instance
An Instance resource is the computing unit that App Engine uses to automatically scale an application.
JSON representation | |
---|---|
{
"name": string,
"id": string,
"appEngineRelease": string,
"availability": enum ( |
Fields | |
---|---|
name |
Full path to the Instance resource in the API. Example: Note: This field is used in responses only. Any value specified here in a request is ignored. |
id |
Relative name of the instance within the version. Example: Note: This field is used in responses only. Any value specified here in a request is ignored. |
appEngineRelease |
App Engine release this instance is running on. Note: This field is used in responses only. Any value specified here in a request is ignored. |
availability |
Availability of the instance. Note: This field is used in responses only. Any value specified here in a request is ignored. |
vmName |
Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment. Note: This field is used in responses only. Any value specified here in a request is ignored. |
vmZoneName |
Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment. Note: This field is used in responses only. Any value specified here in a request is ignored. |
vmId |
Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment. Note: This field is used in responses only. Any value specified here in a request is ignored. |
startTime |
Time that this instance was started. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: Note: This field is used in responses only. Any value specified here in a request is ignored. |
requests |
Number of requests since this instance was started. Note: This field is used in responses only. Any value specified here in a request is ignored. |
errors |
Number of errors since this instance was started. Note: This field is used in responses only. Any value specified here in a request is ignored. |
qps |
Average queries per second (QPS) over the last minute. Note: This field is used in responses only. Any value specified here in a request is ignored. |
averageLatency |
Average latency (ms) over the last minute. Note: This field is used in responses only. Any value specified here in a request is ignored. |
memoryUsage |
Total memory in use (bytes). Note: This field is used in responses only. Any value specified here in a request is ignored. |
vmStatus |
Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment. Note: This field is used in responses only. Any value specified here in a request is ignored. |
vmDebugEnabled |
Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment. Note: This field is used in responses only. Any value specified here in a request is ignored. |
vmIp |
The IP address of this instance. Only applicable for instances in App Engine flexible environment. Note: This field is used in responses only. Any value specified here in a request is ignored. |
Availability
Availability of the instance.
Enums | |
---|---|
UNSPECIFIED |
|
RESIDENT |
|
DYNAMIC |
Methods |
|
---|---|
|
Enables debugging on a VM instance. |
|
Stops a running instance. |
|
Gets instance information. |
|
Lists the instances of a version. |