Skip to content

Commit

Permalink
[SQL][V20180601] Updating LocationCapabilities spec (Azure#12032)
Browse files Browse the repository at this point in the history
* [SQL][V20180601] Updating LocationCapabilities spec

* Fill 2020 versions

* Rollback V2018 changes and bump LocationCapabilities in V4 to 2020-08-01-preview
  • Loading branch information
hotsnr authored Dec 28, 2020
1 parent d6ff6d3 commit bcd4179
Show file tree
Hide file tree
Showing 5 changed files with 1,309 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -969,6 +969,11 @@
"type": "string",
"readOnly": true
},
"zoneRedundant": {
"description": "Whether or not zone redundancy is supported for the maintenance configuration.",
"type": "boolean",
"readOnly": true
},
"status": {
"description": "The status of the capability.",
"enum": [
Expand Down Expand Up @@ -1084,7 +1089,7 @@
"description": "List of supported maintenance configurations",
"type": "array",
"items": {
"$ref": "#/definitions/MaintenanceConfigurationCapability"
"$ref": "#/definitions/ManagedInstanceMaintenanceConfigurationCapability"
},
"readOnly": true
},
Expand Down Expand Up @@ -1221,6 +1226,36 @@
"type": "string"
}
}
},
"ManagedInstanceMaintenanceConfigurationCapability": {
"description": "The maintenance configuration capability",
"type": "object",
"properties": {
"name": {
"description": "Maintenance configuration name",
"type": "string",
"readOnly": true
},
"status": {
"description": "The status of the capability.",
"enum": [
"Visible",
"Available",
"Default",
"Disabled"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "CapabilityStatus",
"modelAsString": false
}
},
"reason": {
"description": "The reason for the capability not being available.",
"type": "string"
}
}
}
},
"parameters": {},
Expand Down
Loading

0 comments on commit bcd4179

Please sign in to comment.