|
1668 | 1668 | "nextLinkName": "nextLink" |
1669 | 1669 | } |
1670 | 1670 | } |
| 1671 | + }, |
| 1672 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints/{diskRestorePointName}/beginGetAccess": { |
| 1673 | + "post": { |
| 1674 | + "tags": [ |
| 1675 | + "IncrementalRestorePoints" |
| 1676 | + ], |
| 1677 | + "operationId": "DiskRestorePoint_GrantAccess", |
| 1678 | + "description": "Grants access to a diskRestorePoint.", |
| 1679 | + "parameters": [ |
| 1680 | + { |
| 1681 | + "$ref": "#/parameters/SubscriptionIdParameter" |
| 1682 | + }, |
| 1683 | + { |
| 1684 | + "$ref": "#/parameters/ResourceGroupNameParameter" |
| 1685 | + }, |
| 1686 | + { |
| 1687 | + "$ref": "#/parameters/RestorePointCollectionNameParameter" |
| 1688 | + }, |
| 1689 | + { |
| 1690 | + "$ref": "#/parameters/VmRestorePointNameParameter" |
| 1691 | + }, |
| 1692 | + { |
| 1693 | + "$ref": "#/parameters/DiskRestorePointNameParameter" |
| 1694 | + }, |
| 1695 | + { |
| 1696 | + "$ref": "#/parameters/ApiVersionParameter" |
| 1697 | + }, |
| 1698 | + { |
| 1699 | + "name": "grantAccessData", |
| 1700 | + "in": "body", |
| 1701 | + "required": true, |
| 1702 | + "schema": { |
| 1703 | + "$ref": "#/definitions/GrantAccessData" |
| 1704 | + }, |
| 1705 | + "description": "Access data object supplied in the body of the get disk access operation." |
| 1706 | + } |
| 1707 | + ], |
| 1708 | + "responses": { |
| 1709 | + "200": { |
| 1710 | + "description": "OK", |
| 1711 | + "schema": { |
| 1712 | + "$ref": "#/definitions/AccessUri" |
| 1713 | + } |
| 1714 | + }, |
| 1715 | + "202": { |
| 1716 | + "description": "Accepted" |
| 1717 | + }, |
| 1718 | + "default": { |
| 1719 | + "description": "Error response describing why the operation failed.", |
| 1720 | + "schema": { |
| 1721 | + "$ref": "#/definitions/CloudError" |
| 1722 | + } |
| 1723 | + } |
| 1724 | + }, |
| 1725 | + "x-ms-long-running-operation": true, |
| 1726 | + "x-ms-long-running-operation-options": { |
| 1727 | + "final-state-via": "location" |
| 1728 | + }, |
| 1729 | + "x-ms-examples": { |
| 1730 | + "Grants access to a diskRestorePoint.": { |
| 1731 | + "$ref": "./examples/BeginGetAccessDiskRestorePoint.json" |
| 1732 | + } |
| 1733 | + } |
| 1734 | + } |
| 1735 | + }, |
| 1736 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints/{diskRestorePointName}/endGetAccess": { |
| 1737 | + "post": { |
| 1738 | + "tags": [ |
| 1739 | + "IncrementalRestorePoints" |
| 1740 | + ], |
| 1741 | + "operationId": "DiskRestorePoint_RevokeAccess", |
| 1742 | + "description": "Revokes access to a diskRestorePoint.", |
| 1743 | + "parameters": [ |
| 1744 | + { |
| 1745 | + "$ref": "#/parameters/SubscriptionIdParameter" |
| 1746 | + }, |
| 1747 | + { |
| 1748 | + "$ref": "#/parameters/ResourceGroupNameParameter" |
| 1749 | + }, |
| 1750 | + { |
| 1751 | + "$ref": "#/parameters/RestorePointCollectionNameParameter" |
| 1752 | + }, |
| 1753 | + { |
| 1754 | + "$ref": "#/parameters/VmRestorePointNameParameter" |
| 1755 | + }, |
| 1756 | + { |
| 1757 | + "$ref": "#/parameters/DiskRestorePointNameParameter" |
| 1758 | + }, |
| 1759 | + { |
| 1760 | + "$ref": "#/parameters/ApiVersionParameter" |
| 1761 | + } |
| 1762 | + ], |
| 1763 | + "responses": { |
| 1764 | + "200": { |
| 1765 | + "description": "OK" |
| 1766 | + }, |
| 1767 | + "202": { |
| 1768 | + "description": "Accepted" |
| 1769 | + }, |
| 1770 | + "default": { |
| 1771 | + "description": "Error response describing why the operation failed.", |
| 1772 | + "schema": { |
| 1773 | + "$ref": "#/definitions/CloudError" |
| 1774 | + } |
| 1775 | + } |
| 1776 | + }, |
| 1777 | + "x-ms-long-running-operation": true, |
| 1778 | + "x-ms-long-running-operation-options": { |
| 1779 | + "final-state-via": "location" |
| 1780 | + }, |
| 1781 | + "x-ms-examples": { |
| 1782 | + "Revokes access to a diskRestorePoint.": { |
| 1783 | + "$ref": "./examples/EndGetAccessDiskRestorePoint.json" |
| 1784 | + } |
| 1785 | + } |
| 1786 | + } |
1671 | 1787 | } |
1672 | 1788 | }, |
1673 | 1789 | "definitions": { |
|
0 commit comments