File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 24
24
* Add EncryptionType and DiskEncryptionSetId parameters to the following cmdlets:
25
25
- New-AzDiskUpdateConfig, New-AzSnapshotUpdateConfig
26
26
* Add ColocationStatus parameter to Get-AzProximityPlacementGroup cmdlet.
27
+ * Fix broken example code for 'Revoke-AzSnapshotAccess' and 'Grant-AzSnapshotAccess'
27
28
28
29
## Version 3.3.0
29
30
* Fix Set-AzVMCustomScriptExtension cmdlet for a VM with managed OD disk which does not have OS profile.
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ The **Grant-AzSnapshotAccess** cmdlet grants an access to a snapshot.
25
25
26
26
### Example 1
27
27
```
28
- PS C:\> Grant-AzDiskAccess -ResourceGroupName 'ResourceGroup01' -SnapshotName 'Snapshot01' -Access 'Read' -DurationInSecond 60;
28
+ PS C:\> Grant-AzSnapshotAccess -ResourceGroupName 'ResourceGroup01' -SnapshotName 'Snapshot01' -Access 'Read' -DurationInSecond 60;
29
29
```
30
30
31
31
Grant 'Read' access to the snapshot named 'Snapshot01' in the resource group named 'ResourceGroup01' for 60 seconds.
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ The **Revoke-AzSnapshotAccess** cmdlet revokes an access to a snapshot.
24
24
25
25
### Example 1
26
26
```
27
- PS C:\> Revoke-AzDiskAccess -ResourceGroupName 'ResourceGroup01' -SnapshotName 'Snapshot01'
27
+ PS C:\> Revoke-AzSnapshotAccess -ResourceGroupName 'ResourceGroup01' -SnapshotName 'Snapshot01'
28
28
```
29
29
30
30
Revoke the access to the snapshot named 'Snapshot01' in the resource group named 'ResourceGroup01'
You can’t perform that action at this time.
0 commit comments