{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "PUT JSON Schema for loadbalancers inboundNatRules",
"type": "object",
"definitions": {
"resourceRef": {
"type": "object",
"additionalProperties": false,
"properties": {
"resourceRef": {
"type": "string"
}
},
"required": [
"resourceRef"
]
},
"protocol": {
"enum": [ "Tcp", "Udp", "Http", "Https", "GRE", "ESP", "All" ]
},
"provisioningState": {
"enum": [ "Succeeded", "Updating", "Deleting", "Failed" ]
}
},
"properties": {
"resourceRef": {
"type": "string"
},
"resourceId": {
"type": "string"
},
"instanceId": {
"type": "string"
},
"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"
},
"backendIPConfiguration": {
"$ref": "#/definitions/resourceRef"
}
},
"required": [
"frontendIPConfigurations",
"protocol",
"frontendPort"
]
}
},
"required": [
"properties"
]
}