Skip to content

Commit 215ec62

Browse files
Move Compute to main (#19342)
* Move Compute to main * correct example Co-authored-by: azure-powershell-bot <[email protected]>
1 parent bdfce35 commit 215ec62

33 files changed

+49
-3192
lines changed

src/Compute/Compute.Autorest/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,4 +224,10 @@ directive:
224224
subject: VmssVMRunCommand|VMRunCommand
225225
variant: ^GetViaIdentity1
226226
remove: true
227+
### Remove Get-AzVmRuncommand so I can code it traditionally.
228+
- select: command
229+
where:
230+
subject: VMRunCommand
231+
verb: Get
232+
remove: true
227233
```

src/Compute/Compute.Autorest/docs/Az.Compute.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ Retrieves information about a gallery Application Definition.
1717
### [Get-AzGalleryApplicationVersion](Get-AzGalleryApplicationVersion.md)
1818
Retrieves information about a gallery Application Version.
1919

20-
### [Get-AzVMRunCommand](Get-AzVMRunCommand.md)
21-
Gets specific run command for a subscription in a location.
22-
2320
### [Get-AzVmssVMRunCommand](Get-AzVmssVMRunCommand.md)
2421
The operation to get the VMSS VM run command.
2522

src/Compute/Compute.Autorest/docs/Get-AzVMRunCommand.md

Lines changed: 0 additions & 257 deletions
This file was deleted.

src/Compute/Compute.Autorest/docs/New-AzGalleryApplicationVersion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Create or update a gallery Application Version.
3030
### Example 1: Create a gallery application version.
3131
```powershell
3232
$ctx = New-AzStorageContext -StorageAccountName $storAccName
33-
$SASToken = new-azstorageblobsastoken -Context $ctx -Container $containerName -blob $blobName -Permission r
33+
$SASToken = New-AzStorageBlobSASToken -Context $ctx -Container $containerName -blob $blobName -Permission r
3434
$storAcc = Get-AzStorageAccount -ResourceGroupName $rgName -Name $storAccName
3535
$blob = Get-AzStorageBlob -Container $containerName -Blob $blobName -Context $storAcc.Context
3636
$SASToken = New-AzStorageBlobSASToken -Container $containerName -Blob $blobName -Permission rwd -Context $storAcc.Context

src/Compute/Compute.Autorest/docs/Remove-AzGalleryApplicationVersion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Delete a gallery Application Version.
3232

3333
### Example 1: Remove a Gallery Application Version
3434
```powershell
35-
Remove-AzGalleryApplication -ResourceGroupName $rgNmae -GalleryName $galleryName -GalleryApplicationName $galleryApplicationName -Name $name
35+
Remove-AzGalleryApplicationVersion -ResourceGroupName $rgNmae -GalleryName $galleryName -GalleryApplicationName $galleryApplicationName -Name $name
3636
```
3737

3838
Delete a gallery application version.

src/Compute/Compute.Autorest/docs/Update-AzGalleryApplicationVersion.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ Update a gallery Application Version.
3939
### Example 1: Update Replica Count of Gallery Application Version
4040
```powershell
4141
$ctx = New-AzStorageContext -StorageAccountName $storAccName
42-
$SASToken = new-azstorageblobsastoken -Context $ctx -Container $containerName -blob $blobName -Permission r
42+
$SASToken = New-AzStorageBlobSASToken -Context $ctx -Container $containerName -blob $blobName -Permission r
4343
$storAcc = Get-AzStorageAccount -ResourceGroupName $rgName -Name $storAccName
4444
$blob = Get-AzStorageBlob -Container $containerName -Blob $blobName -Context $storAcc.Context
4545
$SASToken = New-AzStorageBlobSASToken -Container $containerName -Blob $blobName -Permission rwd -Context $storAcc.Context
4646
$SASUri = $blob.ICloudBlob.Uri.AbsoluteUri + "?" +$SASToken
47-
Update-AzGalleryApplicationVersion -ResourceGroupName $rgname -Location EastUS -GalleryName $galleryName -GalleryApplicationName $galleryApplicationName -name "0.1.0" -PackageFileLink $SASUri -ReplicaCount 3
47+
Update-AzGalleryApplicationVersion -ResourceGroupName $rgname -GalleryName $galleryName -GalleryApplicationName $galleryApplicationName -name "0.1.0" -PackageFileLink $SASUri -ReplicaCount 3
4848
```
4949

5050
Updating a Gallery Application Version's replica count.

src/Compute/Compute.Autorest/examples/Get-AzVMRunCommand.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/Compute/Compute.Autorest/examples/New-AzGalleryApplicationVersion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Example 1: Create a gallery application version.
22
```powershell
33
$ctx = New-AzStorageContext -StorageAccountName $storAccName
4-
$SASToken = new-azstorageblobsastoken -Context $ctx -Container $containerName -blob $blobName -Permission r
4+
$SASToken = New-AzStorageBlobSASToken -Context $ctx -Container $containerName -blob $blobName -Permission r
55
$storAcc = Get-AzStorageAccount -ResourceGroupName $rgName -Name $storAccName
66
$blob = Get-AzStorageBlob -Container $containerName -Blob $blobName -Context $storAcc.Context
77
$SASToken = New-AzStorageBlobSASToken -Container $containerName -Blob $blobName -Permission rwd -Context $storAcc.Context

src/Compute/Compute.Autorest/examples/Remove-AzGalleryApplicationVersion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Example 1: Remove a Gallery Application Version
22
```powershell
3-
Remove-AzGalleryApplication -ResourceGroupName $rgNmae -GalleryName $galleryName -GalleryApplicationName $galleryApplicationName -Name $name
3+
Remove-AzGalleryApplicationVersion -ResourceGroupName $rgNmae -GalleryName $galleryName -GalleryApplicationName $galleryApplicationName -Name $name
44
```
55

66
Delete a gallery application version.

src/Compute/Compute.Autorest/examples/Set-AzVMRunCommand.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Set-AzVMRunCommand -ResourceGroupName $rgname -VMName $vmname -RunCommandName 'f
66
```output
77
Location Name Type
88
-------- ---- ----
9-
eastus firstruncommand Microsoft.Compute/virtualMachines/runCommands
9+
eastus firstruncommand2 Microsoft.Compute/virtualMachines/runCommands
1010
```
1111

12-
The Set-AzVMRunCommand cmdlet updates properties for existing run command or adds a new run command to a virtual machine.
12+
The Set-AzVMRunCommand cmdlet updates properties for existing run command or adds a new run command to a virtual machine.

0 commit comments

Comments
 (0)