|
804 | 804 | } |
805 | 805 | } |
806 | 806 | } |
| 807 | + }, |
| 808 | + "/providers/Microsoft.ResourceHealth/emergingIssues": { |
| 809 | + "get": { |
| 810 | + "tags": [ |
| 811 | + "EmergingIssues" |
| 812 | + ], |
| 813 | + "operationId": "EmergingIssues_List", |
| 814 | + "description": "Lists Azure services' emerging issues.", |
| 815 | + "parameters": [ |
| 816 | + { |
| 817 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" |
| 818 | + } |
| 819 | + ], |
| 820 | + "responses": { |
| 821 | + "200": { |
| 822 | + "description": "The body contains a list of azure emerging issues.", |
| 823 | + "schema": { |
| 824 | + "$ref": "#/definitions/emergingIssueListResult" |
| 825 | + } |
| 826 | + }, |
| 827 | + "default": { |
| 828 | + "description": "DefaultErrorResponse", |
| 829 | + "schema": { |
| 830 | + "$ref": "#/definitions/ErrorResponse" |
| 831 | + } |
| 832 | + } |
| 833 | + }, |
| 834 | + "x-ms-examples": { |
| 835 | + "GetEmergingIssues": { |
| 836 | + "$ref": "./examples/EmergingIssues_List.json" |
| 837 | + } |
| 838 | + }, |
| 839 | + "x-ms-pageable": { |
| 840 | + "nextLinkName": "nextLink" |
| 841 | + } |
| 842 | + } |
| 843 | + }, |
| 844 | + "/providers/Microsoft.ResourceHealth/emergingIssues/{issueName}": { |
| 845 | + "get": { |
| 846 | + "tags": [ |
| 847 | + "EmergingIssues" |
| 848 | + ], |
| 849 | + "operationId": "EmergingIssues_Get", |
| 850 | + "description": "Gets Azure services' emerging issues.", |
| 851 | + "parameters": [ |
| 852 | + { |
| 853 | + "$ref": "#/parameters/IssueNameParameter" |
| 854 | + }, |
| 855 | + { |
| 856 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" |
| 857 | + } |
| 858 | + ], |
| 859 | + "responses": { |
| 860 | + "200": { |
| 861 | + "description": "The body contains properties of azure emerging issues, which includes a list of status banner and status active events.", |
| 862 | + "schema": { |
| 863 | + "$ref": "#/definitions/emergingIssuesGetResult" |
| 864 | + } |
| 865 | + }, |
| 866 | + "default": { |
| 867 | + "description": "DefaultErrorResponse", |
| 868 | + "schema": { |
| 869 | + "$ref": "#/definitions/ErrorResponse" |
| 870 | + } |
| 871 | + } |
| 872 | + }, |
| 873 | + "x-ms-examples": { |
| 874 | + "GetEmergingIssues": { |
| 875 | + "$ref": "./examples/EmergingIssues_Get.json" |
| 876 | + } |
| 877 | + } |
| 878 | + } |
807 | 879 | } |
808 | 880 | }, |
809 | 881 | "definitions": { |
|
1666 | 1738 | } |
1667 | 1739 | } |
1668 | 1740 | }, |
| 1741 | + "emergingIssueListResult": { |
| 1742 | + "description": "The list of emerging issues.", |
| 1743 | + "type": "object", |
| 1744 | + "properties": { |
| 1745 | + "value": { |
| 1746 | + "description": "The list of emerging issues.", |
| 1747 | + "type": "array", |
| 1748 | + "items": { |
| 1749 | + "$ref": "#/definitions/emergingIssuesGetResult" |
| 1750 | + } |
| 1751 | + }, |
| 1752 | + "nextLink": { |
| 1753 | + "description": "The link used to get the next page of emerging issues.", |
| 1754 | + "type": "string" |
| 1755 | + } |
| 1756 | + } |
| 1757 | + }, |
| 1758 | + "emergingIssuesGetResult": { |
| 1759 | + "description": "The Get EmergingIssues operation response.", |
| 1760 | + "type": "object", |
| 1761 | + "properties": { |
| 1762 | + "properties": { |
| 1763 | + "$ref": "#/definitions/emergingIssue", |
| 1764 | + "description": "The emerging issue entity properties.", |
| 1765 | + "x-ms-client-flatten": true |
| 1766 | + } |
| 1767 | + }, |
| 1768 | + "allOf": [ |
| 1769 | + { |
| 1770 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" |
| 1771 | + } |
| 1772 | + ] |
| 1773 | + }, |
| 1774 | + "emergingIssue": { |
| 1775 | + "type": "object", |
| 1776 | + "description": "On-going emerging issue from azure status.", |
| 1777 | + "properties": { |
| 1778 | + "refreshTimestamp": { |
| 1779 | + "type": "string", |
| 1780 | + "description": "Timestamp for when last time refreshed for ongoing emerging issue.", |
| 1781 | + "format": "date-time" |
| 1782 | + }, |
| 1783 | + "statusBanners": { |
| 1784 | + "type": "array", |
| 1785 | + "items": { |
| 1786 | + "$ref": "#/definitions/statusBanner" |
| 1787 | + }, |
| 1788 | + "description": "The list of emerging issues of banner type.", |
| 1789 | + "x-ms-identifiers": [] |
| 1790 | + }, |
| 1791 | + "statusActiveEvents": { |
| 1792 | + "type": "array", |
| 1793 | + "items": { |
| 1794 | + "$ref": "#/definitions/statusActiveEvent" |
| 1795 | + }, |
| 1796 | + "description": "The list of emerging issues of active event type.", |
| 1797 | + "x-ms-identifiers": [] |
| 1798 | + } |
| 1799 | + } |
| 1800 | + }, |
| 1801 | + "statusActiveEvent": { |
| 1802 | + "type": "object", |
| 1803 | + "description": "Active event type of emerging issue.", |
| 1804 | + "properties": { |
| 1805 | + "title": { |
| 1806 | + "type": "string", |
| 1807 | + "description": "The active event title." |
| 1808 | + }, |
| 1809 | + "description": { |
| 1810 | + "type": "string", |
| 1811 | + "description": "The details of active event." |
| 1812 | + }, |
| 1813 | + "trackingId": { |
| 1814 | + "type": "string", |
| 1815 | + "description": "The tracking id of this active event." |
| 1816 | + }, |
| 1817 | + "startTime": { |
| 1818 | + "type": "string", |
| 1819 | + "description": "The impact start time on this active event.", |
| 1820 | + "format": "date-time" |
| 1821 | + }, |
| 1822 | + "cloud": { |
| 1823 | + "type": "string", |
| 1824 | + "description": "The cloud type of this active event." |
| 1825 | + }, |
| 1826 | + "severity": { |
| 1827 | + "type": "string", |
| 1828 | + "description": "The severity level of this active event.", |
| 1829 | + "enum": [ |
| 1830 | + "Information", |
| 1831 | + "Warning", |
| 1832 | + "Error" |
| 1833 | + ], |
| 1834 | + "x-ms-enum": { |
| 1835 | + "name": "SeverityValues", |
| 1836 | + "modelAsString": true |
| 1837 | + } |
| 1838 | + }, |
| 1839 | + "stage": { |
| 1840 | + "type": "string", |
| 1841 | + "description": "The stage of this active event.", |
| 1842 | + "enum": [ |
| 1843 | + "Active", |
| 1844 | + "Resolve", |
| 1845 | + "Archived" |
| 1846 | + ], |
| 1847 | + "x-ms-enum": { |
| 1848 | + "name": "StageValues", |
| 1849 | + "modelAsString": true |
| 1850 | + } |
| 1851 | + }, |
| 1852 | + "published": { |
| 1853 | + "type": "boolean", |
| 1854 | + "description": "The boolean value of this active event if published or not." |
| 1855 | + }, |
| 1856 | + "lastModifiedTime": { |
| 1857 | + "type": "string", |
| 1858 | + "description": "The last time modified on this banner.", |
| 1859 | + "format": "date-time" |
| 1860 | + }, |
| 1861 | + "impacts": { |
| 1862 | + "type": "array", |
| 1863 | + "items": { |
| 1864 | + "$ref": "#/definitions/emergingIssueImpact" |
| 1865 | + }, |
| 1866 | + "description": "The list of emerging issues impacts." |
| 1867 | + } |
| 1868 | + } |
| 1869 | + }, |
| 1870 | + "emergingIssueImpact": { |
| 1871 | + "type": "object", |
| 1872 | + "description": "Object of the emerging issue impact on services and regions.", |
| 1873 | + "properties": { |
| 1874 | + "id": { |
| 1875 | + "type": "string", |
| 1876 | + "description": "The impacted service id." |
| 1877 | + }, |
| 1878 | + "name": { |
| 1879 | + "type": "string", |
| 1880 | + "description": "The impacted service name." |
| 1881 | + }, |
| 1882 | + "regions": { |
| 1883 | + "type": "array", |
| 1884 | + "items": { |
| 1885 | + "$ref": "#/definitions/impactedRegion" |
| 1886 | + }, |
| 1887 | + "description": "The list of impacted regions for corresponding emerging issues." |
| 1888 | + } |
| 1889 | + } |
| 1890 | + }, |
1669 | 1891 | "ErrorResponse": { |
1670 | 1892 | "description": "Error details.", |
1671 | 1893 | "type": "object", |
|
0 commit comments