{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GET JSON Schema for virtualSwitchManager configuration",
"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}$"
},
"resourceMetadata": {
"properties": {
"client": {
"type": "string"
},
"tenantId": {
"type": "string"
},
"groupId": {
"type": "string"
},
"resourceName": {
"type": "string"
},
"originalHref": {
"type": "string"
}
}
},
"provisioningState": {
"enum": [ "Succeeded", "Updating", "Deleting", "Failed" ]
}
},
"properties": {
"resourceRef": {
"type": "string"
},
"resourceId": {
"type": "string"
},
"etag": {
"type": "string"
},
"instanceId": {
"type": "string"
},
"resourceMetadata": {
"$ref": "#/definitions/resourceMetadata"
},
"properties": {
"type": "object",
"properties": {
"provisioningState": {
"$ref": "#/definitions/provisioningState"
},
"numInterfacesHavingQos": {
"type": "integer"
},
"qosSettings": {
"type": "object",
"properties": {
"reservationMode": {
"enum": [ "Absolute", "Weight" ]
},
"linkSpeedPercentage": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"defaultReservation": {
"type": "integer"
},
"enableHardwareLimits": {
"type": "boolean"
},
"enableHardwareReservations": {
"type": "boolean"
},
"enableSoftwareReservations": {
"type": "boolean"
}
}
}
},
"required": [
"provisioningState",
"qosSettings",
"numInterfacesHavingQos"
]
}
},
"required": [
"resourceRef",
"resourceId",
"etag",
"instanceId",
"properties"
]
}