|
1403 | 1403 | }, |
1404 | 1404 | "storage": { |
1405 | 1405 | "$ref": "#/definitions/Storage", |
| 1406 | + "default": null, |
1406 | 1407 | "description": "Storage properties of a server." |
1407 | 1408 | }, |
1408 | 1409 | "backup": { |
1409 | 1410 | "$ref": "#/definitions/Backup", |
| 1411 | + "default": null, |
1410 | 1412 | "description": "Backup properties of a server." |
1411 | 1413 | }, |
1412 | 1414 | "network": { |
1413 | 1415 | "$ref": "#/definitions/Network", |
| 1416 | + "default": null, |
1414 | 1417 | "description": "Network properties of a server.", |
1415 | 1418 | "x-ms-mutability": [ |
1416 | 1419 | "create", |
|
1419 | 1422 | }, |
1420 | 1423 | "highAvailability": { |
1421 | 1424 | "$ref": "#/definitions/HighAvailability", |
| 1425 | + "default": null, |
1422 | 1426 | "description": "High availability properties of a server." |
1423 | 1427 | }, |
1424 | 1428 | "maintenanceWindow": { |
|
1447 | 1451 | }, |
1448 | 1452 | "availabilityZone": { |
1449 | 1453 | "type": "string", |
| 1454 | + "default": "", |
1450 | 1455 | "description": "availability zone information of the server.", |
1451 | 1456 | "x-ms-mutability": [ |
1452 | 1457 | "create", |
|
1470 | 1475 | "create", |
1471 | 1476 | "update" |
1472 | 1477 | ] |
1473 | | - }, |
1474 | | - "tags": { |
1475 | | - "type": "object", |
1476 | | - "additionalProperties": { |
1477 | | - "type": "string" |
1478 | | - }, |
1479 | | - "description": "Application-specific metadata in the form of key-value pairs." |
1480 | 1478 | } |
1481 | 1479 | }, |
1482 | 1480 | "description": "The properties of a server." |
|
1509 | 1507 | "properties": { |
1510 | 1508 | "administratorLoginPassword": { |
1511 | 1509 | "type": "string", |
| 1510 | + "x-ms-secret": true, |
1512 | 1511 | "format": "password", |
1513 | | - "description": "The password of the administrator login." |
| 1512 | + "description": "The password of the administrator login.", |
| 1513 | + "x-ms-mutability": [ |
| 1514 | + "update" |
| 1515 | + ] |
1514 | 1516 | }, |
1515 | 1517 | "storage": { |
1516 | 1518 | "$ref": "#/definitions/Storage", |
| 1519 | + "default": null, |
1517 | 1520 | "description": "Storage properties of a server." |
1518 | 1521 | }, |
1519 | 1522 | "backup": { |
1520 | 1523 | "$ref": "#/definitions/Backup", |
| 1524 | + "default": null, |
1521 | 1525 | "description": "Backup properties of a server." |
1522 | 1526 | }, |
1523 | 1527 | "highAvailability": { |
1524 | 1528 | "$ref": "#/definitions/HighAvailability", |
| 1529 | + "default": null, |
1525 | 1530 | "description": "High availability properties of a server." |
1526 | 1531 | }, |
1527 | 1532 | "maintenanceWindow": { |
|
1638 | 1643 | }, |
1639 | 1644 | "geoRedundantBackup": { |
1640 | 1645 | "type": "string", |
| 1646 | + "default": "Disabled", |
1641 | 1647 | "description": "A value indicating whether Geo-Redundant backup is enabled on the server.", |
1642 | 1648 | "enum": [ |
1643 | 1649 | "Enabled", |
|
1678 | 1684 | }, |
1679 | 1685 | "delegatedSubnetResourceId": { |
1680 | 1686 | "type": "string", |
| 1687 | + "default": "", |
1681 | 1688 | "description": "delegated subnet arm resource id.", |
1682 | 1689 | "x-ms-mutability": [ |
1683 | 1690 | "create", |
|
1686 | 1693 | }, |
1687 | 1694 | "privateDnsZoneArmResourceId": { |
1688 | 1695 | "type": "string", |
| 1696 | + "default": "", |
1689 | 1697 | "description": "private dns zone arm resource id.", |
1690 | 1698 | "x-ms-mutability": [ |
1691 | 1699 | "create", |
|
1699 | 1707 | "properties": { |
1700 | 1708 | "mode": { |
1701 | 1709 | "type": "string", |
| 1710 | + "default": "Disabled", |
1702 | 1711 | "description": "The HA mode for the server.", |
1703 | 1712 | "enum": [ |
1704 | 1713 | "Disabled", |
|
1728 | 1737 | }, |
1729 | 1738 | "standbyAvailabilityZone": { |
1730 | 1739 | "type": "string", |
| 1740 | + "default": "", |
1731 | 1741 | "description": "availability zone information of the standby." |
1732 | 1742 | } |
1733 | 1743 | }, |
|
1739 | 1749 | "properties": { |
1740 | 1750 | "customWindow": { |
1741 | 1751 | "type": "string", |
| 1752 | + "default": "Disabled", |
1742 | 1753 | "description": "indicates whether custom window is enabled or disabled" |
1743 | 1754 | }, |
1744 | 1755 | "startHour": { |
1745 | 1756 | "type": "integer", |
1746 | 1757 | "format": "int32", |
| 1758 | + "default": 0, |
1747 | 1759 | "description": "start hour for maintenance window" |
1748 | 1760 | }, |
1749 | 1761 | "startMinute": { |
1750 | 1762 | "type": "integer", |
1751 | 1763 | "format": "int32", |
| 1764 | + "default": 0, |
1752 | 1765 | "description": "start minute for maintenance window" |
1753 | 1766 | }, |
1754 | 1767 | "dayOfWeek": { |
1755 | 1768 | "type": "integer", |
1756 | 1769 | "format": "int32", |
| 1770 | + "default": 0, |
1757 | 1771 | "description": "day of week for maintenance window" |
1758 | 1772 | } |
1759 | 1773 | } |
|
1856 | 1870 | "source": { |
1857 | 1871 | "type": "string", |
1858 | 1872 | "description": "Source of the configuration." |
| 1873 | + }, |
| 1874 | + "isDynamicConfig": { |
| 1875 | + "type": "boolean", |
| 1876 | + "readOnly": true, |
| 1877 | + "description": "Configuration dynamic or static." |
| 1878 | + }, |
| 1879 | + "isReadOnly": { |
| 1880 | + "type": "boolean", |
| 1881 | + "readOnly": true, |
| 1882 | + "description": "Configuration read-only or not." |
| 1883 | + }, |
| 1884 | + "isConfigPendingRestart": { |
| 1885 | + "type": "boolean", |
| 1886 | + "readOnly": true, |
| 1887 | + "description": "Configuration is pending restart or not." |
| 1888 | + }, |
| 1889 | + "unit": { |
| 1890 | + "type": "string", |
| 1891 | + "readOnly": true, |
| 1892 | + "description": "Configuration unit." |
| 1893 | + }, |
| 1894 | + "documentationLink": { |
| 1895 | + "type": "string", |
| 1896 | + "readOnly": true, |
| 1897 | + "description": "Configuration documentation link." |
1859 | 1898 | } |
1860 | 1899 | }, |
1861 | 1900 | "description": "The properties of a configuration." |
|
2002 | 2041 | "properties": { |
2003 | 2042 | "message": { |
2004 | 2043 | "type": "string", |
2005 | | - "description": "Error Message." |
| 2044 | + "description": "Error Message.", |
| 2045 | + "readOnly": true |
2006 | 2046 | }, |
2007 | 2047 | "nameAvailable": { |
2008 | 2048 | "type": "boolean", |
2009 | | - "description": "Indicates whether the resource name is available." |
| 2049 | + "description": "Indicates whether the resource name is available.", |
| 2050 | + "readOnly": true |
2010 | 2051 | }, |
2011 | 2052 | "name": { |
2012 | 2053 | "type": "string", |
2013 | | - "description": "name of the PostgreSQL server." |
| 2054 | + "description": "name of the PostgreSQL server.", |
| 2055 | + "readOnly": true |
2014 | 2056 | }, |
2015 | 2057 | "type": { |
2016 | 2058 | "type": "string", |
2017 | | - "description": "type of the server" |
| 2059 | + "description": "type of the server", |
| 2060 | + "readOnly": true |
| 2061 | + }, |
| 2062 | + "reason": { |
| 2063 | + "type": "string", |
| 2064 | + "description": "The name availability reason.", |
| 2065 | + "enum": [ |
| 2066 | + "Invalid", |
| 2067 | + "AlreadyExists" |
| 2068 | + ], |
| 2069 | + "x-ms-enum": { |
| 2070 | + "name": "Reason", |
| 2071 | + "modelAsString": true |
| 2072 | + }, |
| 2073 | + "readOnly": true |
2018 | 2074 | } |
2019 | 2075 | }, |
2020 | 2076 | "description": "Represents a resource name availability." |
|
0 commit comments