-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
{Compute}
az snapshot
: Migrate commands (#642)
- Loading branch information
Showing
19 changed files
with
2,238 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# [Command] _snapshot grant-access_ | ||
|
||
Grant read access to a snapshot. | ||
|
||
## Versions | ||
|
||
### [2017-03-30](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NuYXBzaG90cy97fS9iZWdpbmdldGFjY2Vzcw==/2017-03-30.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/snapshots/{}/begingetaccess 2017-03-30 --> | ||
|
||
#### examples | ||
|
||
- Grant read access to a snapshot. | ||
```bash | ||
snapshot grant-access --duration-in-seconds 3600 --name MySnapshot --resource-group MyResourceGroup | ||
``` | ||
|
||
- Grant read access to a snapshot with specifying the file format. | ||
```bash | ||
snapshot grant-access --duration-in-seconds 3600 --name MySnapshot --resource-group MyResourceGroup --file-format VHDX | ||
``` | ||
|
||
### [2019-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NuYXBzaG90cy97fS9iZWdpbmdldGFjY2Vzcw==/2019-07-01.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/snapshots/{}/begingetaccess 2019-07-01 --> | ||
|
||
#### examples | ||
|
||
- Grant read access to a snapshot. | ||
```bash | ||
snapshot grant-access --duration-in-seconds 3600 --name MySnapshot --resource-group MyResourceGroup | ||
``` | ||
|
||
- Grant read access to a snapshot with specifying the file format. | ||
```bash | ||
snapshot grant-access --duration-in-seconds 3600 --name MySnapshot --resource-group MyResourceGroup --file-format VHDX | ||
``` | ||
|
||
### [2023-10-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NuYXBzaG90cy97fS9iZWdpbmdldGFjY2Vzcw==/2023-10-02.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/snapshots/{}/begingetaccess 2023-10-02 --> | ||
|
||
#### examples | ||
|
||
- Grant read access to a snapshot. | ||
```bash | ||
snapshot grant-access --duration-in-seconds 3600 --name MySnapshot --resource-group MyResourceGroup | ||
``` | ||
|
||
- Grant read access to a snapshot with specifying the file format. | ||
```bash | ||
snapshot grant-access --duration-in-seconds 3600 --name MySnapshot --resource-group MyResourceGroup --file-format VHDX | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...yY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3NuYXBzaG90cy97fQ==/2017-03-30.json
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.