Skip to content

Commit 2e9f481

Browse files
authored
Merge pull request Azure#92 from Azure/fixgallerybuild
Fix Gallery admin module build failure- Docs is causing this issue
2 parents 30ba2a7 + 8f2c3db commit 2e9f481

File tree

4 files changed

+52
-5
lines changed

4 files changed

+52
-5
lines changed

src/Azs.Gallery.Admin/docs/Get-AzsGalleryItem.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,61 @@ Get a specific gallery item.
3535
## EXAMPLES
3636

3737
### Example 1: Get-AzsGalleryItem
38+
39+
3840
```powershell
3941
PS C:\> Get-AzsGalleryItem -Name TestUbuntu.Test.1.0.0
4042
4143
Name Publisher PublisherDisplayName ItemName ItemDisplayName Version Summary
4244
---- --------- -------------------- -------- --------------- ------- -------
4345
TestUbuntu.Test.1.0.0 TestUbuntu TestUbuntu Test Test.TestUbuntu.1.0.0 1.0.0 Create a simple VM
46+
```
47+
48+
### Example 2: List Gallery Items
49+
```powershell
50+
PS C:\> Get-AzsGalleryItem
51+
52+
Name Publisher PublisherDisplayName ItemName ItemDisplayName
53+
---- --------- -------------------- -------- ---------------
54+
Canonical.UbuntuServer1804LTS-ARM.1.0.3 Canonical Canonical UbuntuServer1804LTS-ARM Ubuntu Server 1...
55+
Microsoft.AddOnRP-WindowsServer.1.1910.3 Microsoft Microsoft AddOnRP-WindowsServer Microsoft Azure...
56+
Microsoft.AdminOffer.6.0.0 Microsoft Microsoft Corporation AdminOffer Offer
57+
Microsoft.AvailabilitySet-ARM.1.0.1 Microsoft Microsoft AvailabilitySet-ARM Availability Set
58+
Microsoft.Connection-ARM.1.2.2 Microsoft Microsoft Connection-ARM Connection
59+
Microsoft.CustomScriptExtension-arm.2.0.10 Microsoft Microsoft Corp. CustomScriptExtension-arm Custom Script E...
60+
Microsoft.DSC-arm.2.0.7 Microsoft Microsoft Corp. DSC-arm PowerShell Desi...
61+
Microsoft.DnsZone-ARM.1.0.1 Microsoft Microsoft DnsZone-ARM DNS zone
62+
Microsoft.Image-ARM.1.0.2 Microsoft Microsoft Image-ARM Image
63+
Microsoft.KeyVault.1.0.14 Microsoft Microsoft KeyVault Key Vault
64+
Microsoft.LoadBalancer-ARM.1.0.2 Microsoft Microsoft LoadBalancer-ARM Load Balancer
65+
Microsoft.LocalNetworkGateway-ARM.1.0.3 Microsoft Microsoft LocalNetworkGateway-ARM Local network g...
66+
Microsoft.ManagedDisk-ARM.1.0.2 Microsoft Microsoft ManagedDisk-ARM Managed Disks
67+
Microsoft.NetworkInterface-ARM.1.0.4 Microsoft Microsoft NetworkInterface-ARM Network interface
68+
Microsoft.NetworkSecurityGroup-ARM.1.0.4 Microsoft Microsoft NetworkSecurityGroup-ARM Network securit...
69+
Microsoft.Offer.6.0.0 Microsoft Microsoft Corporation Offer Offer
70+
Microsoft.Plan.6.0.0 Microsoft Microsoft Corporation Plan Plan
71+
Microsoft.PublicIPAddress-ARM.1.0.2 Microsoft Microsoft PublicIPAddress-ARM Public IP address
72+
Microsoft.PublicIPPool-ARM.1.0.0 Microsoft Microsoft PublicIPPool-ARM Public IP pool
73+
Microsoft.ResourceGroup.6.0.0 Microsoft Microsoft ResourceGroup Resource group
74+
Microsoft.RouteTable-ARM.1.0.2 Microsoft Microsoft RouteTable-ARM Route table
75+
Microsoft.ScaleUnitNode-ARM.1.0.0 Microsoft Microsoft ScaleUnitNode-ARM Scale Unit Node
76+
Microsoft.Snapshot-ARM.1.0.2 Microsoft Microsoft Snapshot-ARM Snapshot
77+
Microsoft.StorageAccount-ARM.101.0.1 Microsoft Microsoft StorageAccount-ARM Storage account
78+
Microsoft.StorageAccount-ARM.1.0.3 Microsoft Microsoft StorageAccount-ARM Storage account...
79+
Microsoft.Template.6.0.0 Microsoft Microsoft Template Template deploy...
80+
Microsoft.TenantSubscription.6.0.0 Microsoft Microsoft Corporation TenantSubscription Subscription
81+
Microsoft.VirtualMachine-ARM.1.0.2 Microsoft Microsoft VirtualMachine-ARM Virtual machine
82+
Microsoft.VirtualNetwork-ARM.1.0.4 Microsoft Microsoft VirtualNetwork-ARM Virtual network
83+
Microsoft.VirtualNetworkGateway-ARM.1.0.3 Microsoft Microsoft VirtualNetworkGateway-ARM Virtual network...
84+
microsoft.antimalware-windows-arm.1.0.0 microsoft Microsoft Corp. antimalware-windows-arm Microsoft Antim...
85+
microsoft.custom-script2-linux-arm.3.0.0 microsoft Microsoft Corp. custom-script2-linux-arm Custom Script F...
86+
microsoft.custom-script-linux-arm.2.0.50 microsoft Microsoft Corp. custom-script-linux-arm Custom Script F...
87+
microsoft.docker-arm.1.1.0 microsoft Microsoft docker-arm Docker
88+
microsoft.vmss.7.1.7 microsoft Microsoft vmss Virtual machine...
4489
4590
```
4691

92+
Lists all the items available in the Azure Stack gallery.
4793

4894
## PARAMETERS
4995

src/Azs.Gallery.Admin/docs/New-AzsGalleryItem.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ TestUbuntu.Test.1.0.0 TestUbuntu TestUbuntu Test Test.TestUbuntu.1
4141

4242
Uploads TestUbuntu.Test.1.0.0 to the gallery.
4343

44-
4544
## PARAMETERS
4645

4746
### -DefaultProfile

src/Azs.Gallery.Admin/docs/Remove-AzsGalleryItem.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,18 @@ Delete a specific gallery item.
3333
```powershell
3434
PS C:\> Remove-AzsGalleryItem -Name TestUbuntu.Test.1.0.0
3535
36-
3736
```
37+
3838
Deletes TestUbuntu.Test.1.0.0 from Azure Stack gallery.
3939

40-
### Example 2: Remove-AzsGalleryItem
40+
### Example 2: Remove-AzsGalleryItem through pipeline
4141
```powershell
4242
PS C:\> Get-AzsGalleryItem -Name TestUbuntu.Test.1.0.0 | Remove-AzsGalleryItem
4343
4444
```
4545

46+
Deletes TestUbuntu.Test.1.0.0 through pipeline.
47+
4648
## PARAMETERS
4749

4850
### -DefaultProfile

src/Azs.Gallery.Admin/examples/Remove-AzsGalleryItem.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
```powershell
33
PS C:\> Remove-AzsGalleryItem -Name TestUbuntu.Test.1.0.0
44
5-
65
```
76
Deletes TestUbuntu.Test.1.0.0 from Azure Stack gallery.
87

9-
### Example 2: Remove-AzsGalleryItem
8+
### Example 2: Remove-AzsGalleryItem through pipeline
109
```powershell
1110
PS C:\> Get-AzsGalleryItem -Name TestUbuntu.Test.1.0.0 | Remove-AzsGalleryItem
1211
1312
```
13+
Deletes TestUbuntu.Test.1.0.0 through pipeline.

0 commit comments

Comments
 (0)