- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- NetworkStatus
- SubnetStatus
- MacsecStatus
- Try it!
Get the diagnostics of a single network resource.
HTTP request
GET https://edgenetwork.googleapis.com/v1/{name=projects/*/locations/*/zones/*/networks/*}:diagnose
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the network resource. |
Request body
The request body must be empty.
Response body
DiagnoseNetworkResponse contains the current status for a specific network.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"updateTime": string,
"result": {
object ( |
Fields | |
---|---|
updateTime |
The time when the network status was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
result |
The network status of a specific network. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
NetworkStatus
NetworkStatus has a list of status for the subnets under the current network.
JSON representation |
---|
{ "subnetStatus": [ { object ( |
Fields | |
---|---|
subnetStatus[] |
A list of status for the subnets under the current network. |
macsecStatusInternalLinks |
The MACsec status of internal links. |
SubnetStatus
SubnetStatus contains detailed and current technical information about this subnet resource.
JSON representation |
---|
{
"name": string,
"macAddress": string,
"linkLayerAddresses": [
{
object ( |
Fields | |
---|---|
name |
The name of CCFE subnet resource. |
macAddress |
BVI MAC address. |
linkLayerAddresses[] |
A list of LinkLayerAddress, describing the ip address and corresponding link-layer address of the neighbors for this subnet. |
MacsecStatus
Denotes the status of MACsec sessions for the links of a zone.
Enums | |
---|---|
MACSEC_STATUS_UNSPECIFIED |
MACsec status not specified, likely due to missing metrics. |
SECURE |
All relevant links have at least one MACsec session up. |
UNSECURE |
At least one relevant link does not have any MACsec sessions up. |