Skip to content

Commit

Permalink
fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
grizzlytheodore committed Aug 13, 2020
1 parent 7c2bd90 commit 1cf0903
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions src/Compute/Compute/help/Get-AzDiskAccess.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ The **Get-AzDiskAccess** cmdlet gets the properties of Disk Accesses
## EXAMPLES

### Example 1
```powershell
PS C:\> Get-AzDiskAccess -ResourceGroupName 'ResourceGroup01' -Name 'DiskAccess0'
```
PS C:\> Get-AzDiskAccess -ResourceGroupName 'ResourceGroup01' -Name 'DiskAccess01'
PrivateEndpointConnections : {}
ProvisioningState : Succeeded
Expand Down Expand Up @@ -87,7 +87,7 @@ PrivateEndpointConnections : {}
ProvisioningState : Succeeded
TimeCreated : 8/13/2020 7:05:19 PM
Location : northcentralus
Id : /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/ResourceGroup01/providers/Microsoft.Compute/diskAccesses/DiskAccess02
Id : /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/ResourceGroup21/providers/Microsoft.Compute/diskAccesses/DiskAccess02
Name : DiskAccess02
Type : Microsoft.Compute/diskAccesses
Tags : {}
Expand All @@ -96,7 +96,7 @@ PrivateEndpointConnections : {}
ProvisioningState : Succeeded
TimeCreated : 8/13/2020 7:05:19 PM
Location : northcentralus
Id : /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/ResourceGroup01/providers/Microsoft.Compute/diskAccesses/DiskAccess03
Id : /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/ResourceGroup08/providers/Microsoft.Compute/diskAccesses/DiskAccess03
Name : DiskAccess03
Type : Microsoft.Compute/diskAccesses
Tags : {}
Expand Down Expand Up @@ -130,7 +130,7 @@ Tags : {}
This command gets the properties of all disk accesses under the subscription name starting with 'DiskAccessMicrosoft'.

### Example 5
```powershell
```
PS C:\> Get-AzDiskAccess -ResourceId '/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/ResourceGroup01/providers/Microsoft.Compute/diskAccesses/DiskAccess01'
PrivateEndpointConnections : {}
Expand Down
4 changes: 2 additions & 2 deletions src/Compute/Compute/help/New-AzDiskAccess.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ New-AzDiskAccess [-ResourceGroupName] <String> [-Name] <String> [-Location] <Str
```

## DESCRIPTION
The **New-AzDisk** cmdlet creates a Disk Access resource
The **New-AzDiskAccess** cmdlet creates a Disk Access resource

## EXAMPLES

### Example 1
```powershell
```
PS C:\> New-AzDiskAccess -ResourceGroupName "ResourceGroup01" -Name "DiskAccess01" -Location "NorthCentralUS"
```

Expand Down
10 changes: 5 additions & 5 deletions src/Compute/Compute/help/Remove-AzDiskAccess.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,35 +31,35 @@ Remove-AzDiskAccess [-InputObject] <PSDiskAccess> [-AsJob] [-DefaultProfile <IAz
```

## DESCRIPTION
The **Remove-AzDisk** cmdlet removes a disk access resource.
The **Remove-AzDiskAccess** cmdlet removes a disk access resource.

## EXAMPLES

### Example 1
```powershell
```
PS C:\> Remove-AzDiskAccess -ResourceGroupName "ResourceGroup01" -Name "DiskAccess01"
```

This command removes the disk access named "DiskAccess01" in resource group "ResourceGroup01"

### Example 2
```powershell
```
PS C:\> $myDiskAccess = Get-AzDiskAccess -ResourceGroupName "ResourceGroup01" -Name "DiskAccess01"
PS C:\> Remove-AzDiskAccess -ResourceId $myDiskAccess.id
```

This command removes the disk access by Resource ID

### Example 3
```powershell
```
PS C:\> $myDiskAccess = Get-AzDiskAccess -ResourceGroupName "ResourceGroup01" -Name "DiskAccess01"
PS C:\> Remove-AzDiskAccess -InputObject $myDiskAccess
```

This command removes the disk access by InputObject

### Example 4
```powershell
```
PS C:\> Get-AzDiskAccess -ResourceGroupName "ResourceGroup01" -Name "DiskAccess01" | Remove-AzDiskAccess
```

Expand Down

0 comments on commit 1cf0903

Please sign in to comment.