Add-​Azure​RM​Gallery​Item

Adds the gallery item package.

Syntax

Add-AzureRMGalleryItem
   -GalleryItemUri <String>
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [-PipelineVariable <String>]
   [<CommonParameters>]

Description

The Add-AzureRMGalleryItem cmdlet adds the gallery item package. Typically a .azpkg file is uploaded to a publicly accessible blob container and its URI is provided as the GallelryItemUri parameter.

Examples

Example 1: Upload and register a gallery package with the gallery service

Add-AzureRMGalleryItem -GalleryItemUri "http://127.0.0.1:10000/devstoreaccount1/sqlrpgallery/Microsoft.SqlDatabase.0.1.0.azpkg"

This example uploads and registers the gallery package that is at the URI specified by the GalleryItemUri parameter.

Required Parameters

-GalleryItemUri

Specifies the http/https URI of the publicly accessible blob that contains the .azpkg file and is accessible to the gallery service.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-InformationAction

Specifies how this cmdlet responds to an information event.

Type:ActionPreference
Aliases:infa
Parameter Sets:SilentlyContinue, Stop, Continue, Inquire
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies a variable that is used for storing an informational message.

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PipelineVariable

Specifies a variable that stores the value of the current pipeline element.

Type:String
Aliases:pv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.Azure.AzureOperationResponse