{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GET JSON Schema for ALL loadBalancers loadBalancingRules",
"type": "object",
"definitions": {
"resourceRef": {
"type": "object",
"additionalProperties": false,
"properties": {
"resourceRef": {
"type": "string"
}
},
"required": [
"resourceRef"
]
},
"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}$"
},
"protocol": {
"enum": [ "Tcp", "Udp", "Http", "Https", "GRE", "ESP", "All" ]
},
"loadDistribution": {
"enum": [ "Default", "SourceIP", "SourceIPProtocol" ]
},
"provisioningState": {
"enum": [ "Succeeded", "Updating", "Deleting", "Failed" ]
}
},
"properties": {
"value": {
"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"
},
"frontendIPConfigurations": {
"type": "array",
"items": {
"$ref": "#/definitions/resourceRef"
}
},
"protocol": {
"$ref": "#/definitions/protocol"
},
"frontendPort": {
"type": "integer"
},
"backendPort": {
"type": "integer"
},
"enableFloatingIP": {
"type": "boolean"
},
"idleTimeoutInMinutes": {
"type": "integer"
},
"backendAddressPool": {
"$ref": "#/definitions/resourceRef"
},
"loadDistribution": {
"$ref": "#/definitions/loadDistribution"
}
},
"required": [
"provisioningState",
"frontendIPConfigurations",
"protocol",
"frontendPort"
]
}
},
"required": [
"resourceRef",
"resourceId",
"etag",
"instanceId",
"properties"
]
}
},
"nextLink": {
"type": "string",
"format": "uri",
"default": ""
}
},
"required": [ "nextLink" ]
}