|
1305 | 1305 | }, |
1306 | 1306 | "CalculateRefundRequest": { |
1307 | 1307 | "type": "object", |
| 1308 | + "description": "Request containing information needed for calculating refund.", |
1308 | 1309 | "properties": { |
1309 | 1310 | "id": { |
1310 | 1311 | "type": "string", |
|
1317 | 1318 | }, |
1318 | 1319 | "RefundRequest": { |
1319 | 1320 | "type": "object", |
| 1321 | + "description": "Request containing information needed for returning reservation.", |
1320 | 1322 | "properties": { |
1321 | 1323 | "properties": { |
1322 | 1324 | "$ref": "#/definitions/RefundRequestProperties" |
|
1325 | 1327 | }, |
1326 | 1328 | "CalculateRefundRequestProperties": { |
1327 | 1329 | "type": "object", |
| 1330 | + "description": "Properties needed for calculate refund including the scope and the reservation to be returned.", |
1328 | 1331 | "properties": { |
1329 | 1332 | "scope": { |
1330 | 1333 | "type": "string", |
|
1337 | 1340 | }, |
1338 | 1341 | "RefundRequestProperties": { |
1339 | 1342 | "type": "object", |
| 1343 | + "description": "Properties needed for refund request including the session id from calculte refund, the scope, the reservation to be returned and the return reason.", |
1340 | 1344 | "properties": { |
1341 | 1345 | "sessionId": { |
1342 | 1346 | "type": "string", |
|
1524 | 1528 | }, |
1525 | 1529 | "Catalog": { |
1526 | 1530 | "type": "object", |
| 1531 | + "description": "Product details of a type of resource.", |
1527 | 1532 | "properties": { |
1528 | 1533 | "resourceType": { |
1529 | 1534 | "type": "string", |
|
1566 | 1571 | "readOnly": true, |
1567 | 1572 | "items": { |
1568 | 1573 | "$ref": "#/definitions/SkuProperty" |
1569 | | - } |
| 1574 | + }, |
| 1575 | + "x-ms-identifiers": [ |
| 1576 | + "name" |
| 1577 | + ] |
1570 | 1578 | }, |
1571 | 1579 | "msrp": { |
1572 | 1580 | "type": "object", |
|
1585 | 1593 | "readOnly": true, |
1586 | 1594 | "items": { |
1587 | 1595 | "$ref": "#/definitions/SkuRestriction" |
1588 | | - } |
| 1596 | + }, |
| 1597 | + "x-ms-identifiers": [] |
1589 | 1598 | }, |
1590 | 1599 | "tier": { |
1591 | 1600 | "type": "string", |
|
1602 | 1611 | "readOnly": true, |
1603 | 1612 | "items": { |
1604 | 1613 | "$ref": "#/definitions/SkuCapability" |
1605 | | - } |
| 1614 | + }, |
| 1615 | + "x-ms-identifiers": [ |
| 1616 | + "name" |
| 1617 | + ] |
1606 | 1618 | } |
1607 | 1619 | } |
1608 | 1620 | }, |
1609 | 1621 | "SkuCapability": { |
1610 | 1622 | "type": "object", |
| 1623 | + "description": "Capability of a sku.", |
1611 | 1624 | "properties": { |
1612 | 1625 | "name": { |
1613 | 1626 | "type": "string", |
|
1621 | 1634 | }, |
1622 | 1635 | "SkuProperty": { |
1623 | 1636 | "type": "object", |
| 1637 | + "description": "Property of a sku.", |
1624 | 1638 | "properties": { |
1625 | 1639 | "name": { |
1626 | 1640 | "type": "string", |
|
1634 | 1648 | }, |
1635 | 1649 | "SkuRestriction": { |
1636 | 1650 | "type": "object", |
| 1651 | + "description": "Restriction of a sku.", |
1637 | 1652 | "properties": { |
1638 | 1653 | "type": { |
1639 | 1654 | "type": "string", |
|
1654 | 1669 | }, |
1655 | 1670 | "ReservationOrderResponse": { |
1656 | 1671 | "type": "object", |
| 1672 | + "description": "Details of a reservation order being returned.", |
1657 | 1673 | "x-ms-azure-resource": true, |
1658 | 1674 | "properties": { |
1659 | 1675 | "etag": { |
|
1755 | 1771 | "type": "array", |
1756 | 1772 | "items": { |
1757 | 1773 | "$ref": "#/definitions/PaymentDetail" |
1758 | | - } |
| 1774 | + }, |
| 1775 | + "x-ms-identifiers": [] |
1759 | 1776 | } |
1760 | 1777 | } |
1761 | 1778 | }, |
1762 | 1779 | "ReservationOrderProperties": { |
1763 | 1780 | "type": "object", |
| 1781 | + "description": "Properties of a reservation order.", |
1764 | 1782 | "properties": { |
1765 | 1783 | "displayName": { |
1766 | 1784 | "type": "string", |
|
1920 | 1938 | "properties": { |
1921 | 1939 | "location": { |
1922 | 1940 | "type": "string", |
1923 | | - "description": "The Azure Region where the reserved resource lives." |
| 1941 | + "description": "The Azure Region where the reserved resource lives.", |
| 1942 | + "x-ms-mutability": [ |
| 1943 | + "create", |
| 1944 | + "read" |
| 1945 | + ] |
1924 | 1946 | }, |
1925 | 1947 | "etag": { |
1926 | 1948 | "type": "integer", |
|
1954 | 1976 | }, |
1955 | 1977 | "AvailableScopeProperties": { |
1956 | 1978 | "type": "object", |
| 1979 | + "description": "The response of available scope api containing scopes and their eligibilities.", |
1957 | 1980 | "properties": { |
1958 | 1981 | "properties": { |
1959 | 1982 | "$ref": "#/definitions/SubscriptionScopeProperties" |
|
1962 | 1985 | }, |
1963 | 1986 | "SubscriptionScopeProperties": { |
1964 | 1987 | "type": "object", |
| 1988 | + "description": "The scopes checked by the available scope api.", |
1965 | 1989 | "properties": { |
1966 | 1990 | "scopes": { |
1967 | 1991 | "type": "array", |
1968 | 1992 | "items": { |
1969 | 1993 | "$ref": "#/definitions/ScopeProperties" |
1970 | | - } |
| 1994 | + }, |
| 1995 | + "x-ms-identifiers": [] |
1971 | 1996 | } |
1972 | 1997 | } |
1973 | 1998 | }, |
1974 | 1999 | "ScopeProperties": { |
1975 | 2000 | "type": "object", |
| 2001 | + "description": "The scope and whether it is valid.", |
1976 | 2002 | "properties": { |
1977 | 2003 | "scope": { |
1978 | 2004 | "type": "string" |
|
2660 | 2686 | "type": "array", |
2661 | 2687 | "items": { |
2662 | 2688 | "$ref": "#/definitions/ReservationUtilizationAggregates" |
2663 | | - } |
| 2689 | + }, |
| 2690 | + "x-ms-identifiers": [] |
2664 | 2691 | } |
2665 | 2692 | } |
2666 | 2693 | } |
|
2953 | 2980 | "location": { |
2954 | 2981 | "type": "string", |
2955 | 2982 | "description": "The Azure Region where the reserved resource lives.", |
2956 | | - "x-ms-mutability": [ "create", "read" ] |
| 2983 | + "x-ms-mutability": [ |
| 2984 | + "create", |
| 2985 | + "read" |
| 2986 | + ] |
2957 | 2987 | }, |
2958 | 2988 | "properties": { |
2959 | 2989 | "x-ms-client-flatten": true, |
|
3098 | 3128 | "type": "array", |
3099 | 3129 | "items": { |
3100 | 3130 | "$ref": "#/definitions/OperationResponse" |
3101 | | - } |
| 3131 | + }, |
| 3132 | + "x-ms-identifiers": [ |
| 3133 | + "name" |
| 3134 | + ] |
3102 | 3135 | }, |
3103 | 3136 | "nextLink": { |
3104 | 3137 | "type": "string", |
|
3375 | 3408 | "type": "array", |
3376 | 3409 | "items": { |
3377 | 3410 | "$ref": "#/definitions/PaymentDetail" |
3378 | | - } |
| 3411 | + }, |
| 3412 | + "x-ms-identifiers": [] |
3379 | 3413 | } |
3380 | 3414 | } |
3381 | 3415 | }, |
|
3531 | 3565 | "description": "Supported version.", |
3532 | 3566 | "required": true, |
3533 | 3567 | "type": "string", |
3534 | | - "x-ms-parameter-location":"client" |
| 3568 | + "x-ms-parameter-location": "client" |
3535 | 3569 | }, |
3536 | 3570 | "ExpandRenewPropertiesParameter": { |
3537 | 3571 | "name": "$expand", |
|
0 commit comments