{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GET JSON Schema for virtualSwitchManager configuration",
"type": "object",
"definitions": {
"provisioningState": {
"enum": [ "Succeeded", "Updating", "Deleting", "Failed" ]
}
},
"properties": {
"resourceId": {
"type": "string"
},
"etag": {
"type": "string"
},
"properties": {
"type": "object",
"properties": {
"provisioningState": {
"$ref": "#/definitions/provisioningState"
},
"numInterfacesHavingQos": {
"type": "integer"
},
"portDefaultState": {
"type": "string",
"enum": [ "default", "BlockTraffic", "AllowTraffic"]
},
"qosSettings": {
"type": "object",
"properties": {
"reservationMode": {
"enum": [ "Absolute", "Weight" ],
"default": "Weight"
},
"linkSpeedPercentage": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"defaultReservation": {
"type": "integer"
},
"enableHardwareLimits": {
"type": "boolean"
},
"enableHardwareReservations": {
"type": "boolean"
},
"enableSoftwareReservations": {
"type": "integer"
}
}
}
},
"required": [
"qosSettings"
]
}
},
"required": [
"properties"
]
}