{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GET ALL JSON Schema for subnets v2",
"type": "object",
"definitions": {
"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}$"
},
"provisioningState": {
"enum": [ "Succeeded", "Updating", "Deleting", "Failed" ]
},
"resourceRef": {
"type": "object",
"additionalProperties": false,
"properties": {
"resourceRef": {
"type": "string"
}
},
"required": [
"resourceRef"
]
},
"subnets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"resourceRef": {
"type": "string"
},
"resourceId": {
"type": "string"
},
"etag": {
"type": "string"
},
"instanceId": {
"$ref": "#/definitions/GUID"
},
"properties": {
"type": "object",
"properties": {
"provisioningState": {
"$ref": "#/definitions/provisioningState"
},
"addressPrefix": {
"type": "string"
},
"accessControlList": {
"$ref": "#/definitions/resourceRef"
},
"ipConfigurations": {
"type": "array",
"uniqueItems": true,
"items": { "$ref": "#/definitions/resourceRef" }
},
"routeTable": {
"type": "object",
"properties": {
"resourceRef": {
"type": "string"
}
},
"required": [
"resourceRef"
]
},
"unbilledEgressBytes": {
"type": "integer",
"minimum": 0
},
"billedEgressBytes": {
"type": "integer",
"minimum": 0
},
"encryptionEnabled": {
"type": "boolean",
"default": false
},
"learnedIpAddresses": {
"type": "array",
"uniqueItems": true,
"items": { "$ref": "#/definitions/resourceRef" }
}
},
"required": [
"provisioningState",
"addressPrefix"
]
}
},
"required": [
"resourceRef",
"resourceId",
"etag",
"instanceId",
"properties"
]
}
}
},
"properties": {
"value": { "$ref": "#/definitions/subnets" },
"nextLink": {
"type": "string",
"format": "uri",
"default": ""
}
},
"required": [ "nextLink" ]
}