Skip to content

Commit 9dbdcf0

Browse files
authored
added properties property for operation object (#22846)
* added properties property for operation object * updated older api version as well * prettier fix * use full description for properties object * remove 'type' * use correct property name
1 parent 0f7b134 commit 9dbdcf0

File tree

2 files changed

+316
-0
lines changed

2 files changed

+316
-0
lines changed

specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-07-01-preview/servicefabricmesh.json

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1634,10 +1634,168 @@
16341634
"nextLink": {
16351635
"type": "string",
16361636
"description": "The URL to use for getting the next set of results."
1637+
},
1638+
"properties": {
1639+
"description": "Properties of the operation",
1640+
"$ref": "#/definitions/AvailableOperationDescriptionProperties"
16371641
}
16381642
},
16391643
"description": "List of operations available at the listed Azure resource provider."
16401644
},
1645+
"AvailableOperationDescriptionProperties": {
1646+
"description": "Properties available for a Microsoft.Web resource provider operation.",
1647+
"type": "object",
1648+
"properties": {
1649+
"serviceSpecification": {
1650+
"$ref": "#/definitions/ServiceSpecification"
1651+
}
1652+
}
1653+
},
1654+
"ServiceSpecification": {
1655+
"description": "Resource metrics service provided by Microsoft.Insights resource provider.",
1656+
"type": "object",
1657+
"properties": {
1658+
"metricSpecifications": {
1659+
"type": "array",
1660+
"items": {
1661+
"$ref": "#/definitions/MetricSpecification"
1662+
},
1663+
"x-ms-identifiers": [
1664+
"name"
1665+
]
1666+
},
1667+
"logSpecifications": {
1668+
"type": "array",
1669+
"items": {
1670+
"$ref": "#/definitions/LogSpecification"
1671+
},
1672+
"x-ms-identifiers": [
1673+
"name"
1674+
]
1675+
}
1676+
}
1677+
},
1678+
"MetricSpecification": {
1679+
"description": "Definition of a single resource metric.",
1680+
"type": "object",
1681+
"properties": {
1682+
"name": {
1683+
"type": "string"
1684+
},
1685+
"displayName": {
1686+
"type": "string"
1687+
},
1688+
"displayDescription": {
1689+
"type": "string"
1690+
},
1691+
"unit": {
1692+
"type": "string"
1693+
},
1694+
"aggregationType": {
1695+
"type": "string"
1696+
},
1697+
"supportsInstanceLevelAggregation": {
1698+
"type": "boolean"
1699+
},
1700+
"enableRegionalMdmAccount": {
1701+
"type": "boolean"
1702+
},
1703+
"sourceMdmAccount": {
1704+
"type": "string"
1705+
},
1706+
"sourceMdmNamespace": {
1707+
"type": "string"
1708+
},
1709+
"metricFilterPattern": {
1710+
"type": "string"
1711+
},
1712+
"fillGapWithZero": {
1713+
"type": "boolean"
1714+
},
1715+
"isInternal": {
1716+
"type": "boolean"
1717+
},
1718+
"dimensions": {
1719+
"type": "array",
1720+
"items": {
1721+
"$ref": "#/definitions/Dimension"
1722+
},
1723+
"x-ms-identifiers": [
1724+
"name"
1725+
]
1726+
},
1727+
"category": {
1728+
"type": "string"
1729+
},
1730+
"availabilities": {
1731+
"type": "array",
1732+
"items": {
1733+
"$ref": "#/definitions/MetricAvailability"
1734+
},
1735+
"x-ms-identifiers": []
1736+
},
1737+
"supportedTimeGrainTypes": {
1738+
"type": "array",
1739+
"items": {
1740+
"type": "string"
1741+
}
1742+
},
1743+
"supportedAggregationTypes": {
1744+
"type": "array",
1745+
"items": {
1746+
"type": "string"
1747+
}
1748+
}
1749+
}
1750+
},
1751+
"Dimension": {
1752+
"description": "Dimension of a resource metric. For e.g. instance specific HTTP requests for a web app, \nwhere instance name is dimension of the metric HTTP request",
1753+
"type": "object",
1754+
"properties": {
1755+
"name": {
1756+
"type": "string"
1757+
},
1758+
"displayName": {
1759+
"type": "string"
1760+
},
1761+
"internalName": {
1762+
"type": "string"
1763+
},
1764+
"toBeExportedForShoebox": {
1765+
"type": "boolean"
1766+
}
1767+
}
1768+
},
1769+
"MetricAvailability": {
1770+
"description": "Retention policy of a resource metric.",
1771+
"type": "object",
1772+
"properties": {
1773+
"timeGrain": {
1774+
"type": "string"
1775+
},
1776+
"blobDuration": {
1777+
"type": "string"
1778+
}
1779+
}
1780+
},
1781+
"LogSpecification": {
1782+
"description": "Log Definition of a single resource metric.",
1783+
"type": "object",
1784+
"properties": {
1785+
"name": {
1786+
"type": "string"
1787+
},
1788+
"displayName": {
1789+
"type": "string"
1790+
},
1791+
"blobDuration": {
1792+
"type": "string"
1793+
},
1794+
"logFilterPattern": {
1795+
"type": "string"
1796+
}
1797+
}
1798+
},
16411799
"AvailableOperationDisplay": {
16421800
"properties": {
16431801
"provider": {

specification/servicefabricmesh/resource-manager/Microsoft.ServiceFabricMesh/preview/2018-09-01-preview/servicefabricmesh.json

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1891,10 +1891,168 @@
18911891
"nextLink": {
18921892
"type": "string",
18931893
"description": "The URL to use for getting the next set of results."
1894+
},
1895+
"properties": {
1896+
"description": "Properties of the operation",
1897+
"$ref": "#/definitions/AvailableOperationDescriptionProperties"
18941898
}
18951899
},
18961900
"description": "List of operations available at the listed Azure resource provider."
18971901
},
1902+
"AvailableOperationDescriptionProperties": {
1903+
"description": "Properties available for a Microsoft.Web resource provider operation.",
1904+
"type": "object",
1905+
"properties": {
1906+
"serviceSpecification": {
1907+
"$ref": "#/definitions/ServiceSpecification"
1908+
}
1909+
}
1910+
},
1911+
"ServiceSpecification": {
1912+
"description": "Resource metrics service provided by Microsoft.Insights resource provider.",
1913+
"type": "object",
1914+
"properties": {
1915+
"metricSpecifications": {
1916+
"type": "array",
1917+
"items": {
1918+
"$ref": "#/definitions/MetricSpecification"
1919+
},
1920+
"x-ms-identifiers": [
1921+
"name"
1922+
]
1923+
},
1924+
"logSpecifications": {
1925+
"type": "array",
1926+
"items": {
1927+
"$ref": "#/definitions/LogSpecification"
1928+
},
1929+
"x-ms-identifiers": [
1930+
"name"
1931+
]
1932+
}
1933+
}
1934+
},
1935+
"MetricSpecification": {
1936+
"description": "Definition of a single resource metric.",
1937+
"type": "object",
1938+
"properties": {
1939+
"name": {
1940+
"type": "string"
1941+
},
1942+
"displayName": {
1943+
"type": "string"
1944+
},
1945+
"displayDescription": {
1946+
"type": "string"
1947+
},
1948+
"unit": {
1949+
"type": "string"
1950+
},
1951+
"aggregationType": {
1952+
"type": "string"
1953+
},
1954+
"supportsInstanceLevelAggregation": {
1955+
"type": "boolean"
1956+
},
1957+
"enableRegionalMdmAccount": {
1958+
"type": "boolean"
1959+
},
1960+
"sourceMdmAccount": {
1961+
"type": "string"
1962+
},
1963+
"sourceMdmNamespace": {
1964+
"type": "string"
1965+
},
1966+
"metricFilterPattern": {
1967+
"type": "string"
1968+
},
1969+
"fillGapWithZero": {
1970+
"type": "boolean"
1971+
},
1972+
"isInternal": {
1973+
"type": "boolean"
1974+
},
1975+
"dimensions": {
1976+
"type": "array",
1977+
"items": {
1978+
"$ref": "#/definitions/Dimension"
1979+
},
1980+
"x-ms-identifiers": [
1981+
"name"
1982+
]
1983+
},
1984+
"category": {
1985+
"type": "string"
1986+
},
1987+
"availabilities": {
1988+
"type": "array",
1989+
"items": {
1990+
"$ref": "#/definitions/MetricAvailability"
1991+
},
1992+
"x-ms-identifiers": []
1993+
},
1994+
"supportedTimeGrainTypes": {
1995+
"type": "array",
1996+
"items": {
1997+
"type": "string"
1998+
}
1999+
},
2000+
"supportedAggregationTypes": {
2001+
"type": "array",
2002+
"items": {
2003+
"type": "string"
2004+
}
2005+
}
2006+
}
2007+
},
2008+
"Dimension": {
2009+
"description": "Dimension of a resource metric. For e.g. instance specific HTTP requests for a web app, \nwhere instance name is dimension of the metric HTTP request",
2010+
"type": "object",
2011+
"properties": {
2012+
"name": {
2013+
"type": "string"
2014+
},
2015+
"displayName": {
2016+
"type": "string"
2017+
},
2018+
"internalName": {
2019+
"type": "string"
2020+
},
2021+
"toBeExportedForShoebox": {
2022+
"type": "boolean"
2023+
}
2024+
}
2025+
},
2026+
"MetricAvailability": {
2027+
"description": "Retention policy of a resource metric.",
2028+
"type": "object",
2029+
"properties": {
2030+
"timeGrain": {
2031+
"type": "string"
2032+
},
2033+
"blobDuration": {
2034+
"type": "string"
2035+
}
2036+
}
2037+
},
2038+
"LogSpecification": {
2039+
"description": "Log Definition of a single resource metric.",
2040+
"type": "object",
2041+
"properties": {
2042+
"name": {
2043+
"type": "string"
2044+
},
2045+
"displayName": {
2046+
"type": "string"
2047+
},
2048+
"blobDuration": {
2049+
"type": "string"
2050+
},
2051+
"logFilterPattern": {
2052+
"type": "string"
2053+
}
2054+
}
2055+
},
18982056
"ProvisionedResourceProperties": {
18992057
"description": "Describes common properties of a provisioned resource.",
19002058
"properties": {

0 commit comments

Comments
 (0)