Editar

Compartilhar via


Get-AzGalleryApplication

Retrieves information about a gallery Application Definition.

Syntax

Get-AzGalleryApplication
   -GalleryName <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzGalleryApplication
   -GalleryName <String>
   -Name <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzGalleryApplication
   -InputObject <IComputeIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Retrieves information about a gallery Application Definition.

Examples

Get-AzGalleryApplication -ResourceGroupName $rgName -GalleryName $galleryName -name $galleryAppName

Retrieve a Gallery Application resource with the provided Resource Group, Gallery, and Gallery Application name.

Get-AzGalleryApplication -GalleryName $GalleryName -ResourceGroupName $rgName

Retrieve all the Gallery Application resources in the provided Resource Group and Gallery.

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-GalleryName

The name of the Shared Application Gallery from which the Application Definitions are to be retrieved.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Type:IComputeIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

The name of the gallery Application Definition to be retrieved.

Type:String
Aliases:GalleryApplicationName
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

The name of the resource group.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Type:String[]
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

IComputeIdentity

Outputs

IGalleryApplication