{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GET ALL JSON Schema for Access Control Lists",
"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" ]
},
"detailedInfo": {
"type": "array",
"items": {
"additionalProperties": false,
"properties": {
"status": {
"enum": [ "Success", "Failure" ]
},
"id": {
"$ref": "#/definitions/GUID"
},
"lastUpdatedTime": {
"type": "string"
},
"detailedInfo": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"message": {
"type": "string"
},
"code": {
"type": "string"
}
}
}
}
},
"required": [ "status", "id", "lastUpdatedTime" ]
}
},
"configurationState":
{
"type": "object",
"additionalProperties": false,
"properties": {
"status": {
"enum": [ "Success", "Failure" ]
},
"id": {
"$ref": "#/definitions/GUID"
},
"lastUpdatedTime": {
"type": "string"
},
"virtualNetworkInterfaceErrors": {
"$ref": "#/definitions/detailedInfo"
}
},
"required": [
"status",
"id",
"lastUpdatedTime"
]
},
"AccessControlList": {
"type": "object",
"properties": {
"resourceRef": {
"type": "string"
},
"resourceId": {
"type": "string"
},
"etag": {
"type": "string"
},
"instanceId": {
"$ref": "#/definitions/GUID"
},
"resourceMetadata": {
"$ref": "#/definitions/resourceMetadata"
},
"tags": {
"additionalProperties": { "type": "string" }
},
"properties": {
"type": "object",
"properties": {
"provisioningState": {
"$ref": "#/definitions/provisioningState"
},
"aclRules": {
"type": "array",
"items": {
"type": "object",
"properties": {
"resourceRef": {
"type": "string"
},
"resourceId": {
"type": "string"
},
"resourceMetadata": {
"$ref": "#/definitions/resourceMetadata"
},
"etag": {
"type": "string"
},
"instanceId": {
"$ref": "#/definitions/GUID"
},
"properties": {
"type": "object",
"properties": {
"provisioningState": {
"$ref": "#/definitions/provisioningState"
},
"protocol": {
"enum": [ "All", "TCP", "UDP", "HTTP", "ICMPv4", "ICMPv6" ]
},
"sourcePortRange": {
"type": "string"
},
"destinationPortRange": {
"type": "string"
},
"action": {
"enum": [ "Allow", "Deny" ]
},
"sourceAddressPrefix": {
"type": "string"
},
"destinationAddressPrefix": {
"type": "string"
},
"sourceSecurityTags": {
"type": "object",
"properties": {
"resourceRef": {
"type": "string"
}
},
"required": [
"resourceRef"
]
},
"destinationSecurityTags": {
"type": "object",
"properties": {
"resourceRef": {
"type": "string"
}
},
"required": [
"resourceRef"
]
},
"priority": {
"type": "string",
"pattern": "^[1-9][0-9][0-9]+$"
},
"type": {
"enum": [ "Inbound", "Outbound" ]
},
"logging": {
"enum": [ "Enabled", "Disabled" ]
},
"description": {
"type": "string"
}
},
"required": [
"provisioningState",
"protocol",
"sourcePortRange",
"destinationPortRange",
"action",
"priority",
"type",
"logging"
]
}
},
"required": [
"resourceRef",
"resourceId",
"etag",
"instanceId",
"properties"
]
}
},
"ipConfigurations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"resourceRef": {
"type": "string"
}
},
"required": [
"resourceRef"
]
}
},
"subnets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"resourceRef": {
"type": "string"
}
},
"required": [
"resourceRef"
]
}
},
"securityTags": {
"type": "array",
"items": {
"type": "object",
"properties": {
"resourceRef": {
"type": "string"
}
},
"required": [
"resourceRef"
]
}
},
"configurationState": {
"$ref": "#/definitions/configurationState"
}
},
"required": [
"provisioningState",
"aclRules"
]
}
},
"required": [
"resourceRef",
"resourceId",
"etag",
"instanceId",
"properties"
]
},
"AccessControlListArray": {
"type": "array",
"minItems": 0,
"uniqueItems": true,
"items": { "$ref": "#/definitions/AccessControlList" }
}
},
"properties": {
"value": { "$ref": "#/definitions/AccessControlListArray" },
"nextLink": {
"type": "string",
"format": "uri",
"default": ""
}
},
"required": [ "nextLink" ]
}