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. The gallery item uri needs to be a http/https uri accessible to the gallery service. Typically .azpkg file is uploaded to a publicly accessible blob container and its uri is provided as the GallelryItemUri parameter

Examples

Example 1:

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

Description

-----------

The example uploads and registers the gallery package with the gallery service

Required Parameters

-GalleryItemUri

The http/https uri containing the .azpkg file. The Uri should be accessible to the gallery service

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

Optional Parameters

-InformationAction

Not SpecifiedThe following values are permitted for this object type.

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

Not Specified

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

Not Specified

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

Outputs

Microsoft.Azure.AzureOperationResponse