A network instance describes an external client that is using the network.
| JSON representation |
|---|
{ "kind": string, "id": string, "creationTimestamp": string, "name": string, "description": string, "selfLink": string, "selfLinkWithId": string, "type": enum ( |
| Fields | |
|---|---|
kind |
Output only. Type of the resource. Always
for network instances. |
id |
Output only. The unique identifier for the resource. This identifier is defined by the server. |
creationTimestamp |
Output only. Creation timestamp in RFC3339 text format. |
name |
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression |
description |
An optional description of this resource. Provide this property when you create the resource. |
selfLink |
Output only. Server-defined URL for the resource. |
selfLinkWithId |
Output only. Server-defined URL for this resource with the resource id. |
type |
|
networkInterfaces[] |
A list of network interfaces associated with the instance. It contains information about networks the network instance is connected to. |
status |
Output only. Status of the NetworkInstance. It is output only and possible values are RUNNING and ORPHANED. The initial status is RUNNING. Same project NetworkInstances will be deleted with the project when the project is deprovisioned without changing status explicitly. In the XPN usecase, when the network of the NetworkInstance is deleted because of host project deprovision, the status of NetworkInstances using this network will be set to ORPHANED to notify clients watching NetworkInstances to react. |
NetworkInstanceNetworkInterface
Stores information about the network the network instance is connected to.
| JSON representation |
|---|
{ "network": string, "metadata": string, "networkId": integer } |
| Fields | |
|---|---|
network |
|
metadata |
An optional metadata stored for the client. A base64-encoded string. |
networkId |
Output only. The 28 bit ID associated with the network. |