{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GET JSON Schema for networkControllerStatistics",
"type": "object",
"definitions": {
"provisioningState": {
"enum": [ "Succeeded", "Failed" ]
},
"GUID": {
"type": "string",
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
}
},
"properties": {
"resourceRef": {
"type": "string"
},
"instanceId": {
"$ref": "#/definitions/GUID"
},
"properties": {
"type": "object",
"properties": {
"provisioningState": {
"$ref": "#/definitions/provisioningState"
},
"healthStatistics": {
"type": "array",
"items": {
"type": "object",
"properties": {
"resourceType": {
"enum": [ "VirtualNetwork", "Gateway", "LoadBalancerMux" ]
},
"totalResourceCount": {
"type": "integer",
"minimum": 0
},
"healthyResourceCount": {
"type": "integer",
"minimum": 0
},
"errorResourceCount": {
"type": "integer",
"minimum": 0
},
"warningResourceCount": {
"type": "integer",
"minimum": 0
},
"healthUnknownCount": {
"type": "integer",
"minimum": 0
}
},
"required": [
"errorResourceCount",
"healthUnknownCount",
"healthyResourceCount",
"resourceType",
"totalResourceCount",
"warningResourceCount"
]
}
},
"usageStatistics": {
"type": "array",
"items": {
"type": "object",
"properties": {
"resourceType": {
"enum": [ "PublicIPUtilization", "BackendIPUtilization", "MacPoolUtilization" ]
},
"totalResourceCount": {
"type": "integer",
"minimum": 0
},
"inUseResourceCount": {
"type": "integer",
"minimum": 0
}
},
"required": [
"inUseResourceCount",
"resourceType",
"totalResourceCount"
]
}
}
},
"required": [
"provisioningState",
"healthStatistics",
"usageStatistics"
]
}
},
"required": [
"resourceRef",
"instanceId",
"properties"
]
}