Get-AzGalleryApplicationVersion
Retrieves information about a gallery Application Version.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
Get-AzGalleryApplicationVersion
-GalleryApplicationName <String>
-GalleryName <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzGalleryApplicationVersion
-GalleryApplicationName <String>
-GalleryName <String>
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-Expand <ReplicationStatusTypes>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzGalleryApplicationVersion
-InputObject <IComputeIdentity>
[-Expand <ReplicationStatusTypes>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Retrieves information about a gallery Application Version.
Examples
Example 1: Get a Gallery Application Version
Get-AzGalleryApplicationVersion -ResourceGroupName $rgName -GalleryName $galleryName -GalleryApplicationName $galleryAppName -Name $versionName
Retrieve a Gallery Application Version resource with the provided Resource Group, Gallery, Gallery Application name, and version name.
Example 2: Get all the Gallery Application Versions in a GalleryApplication
Get-AzGalleryApplicationVersion -GalleryName $GalleryName -ResourceGroupName $rgName -GalleryApplicationName $galleryAppName
Retrieve all the Gallery Application Version resources in the provided Resource Group, Gallery, and Gallery Application Name.
Parameters
The credentials, account, tenant, and subscription used for communication with Azure.
| Type: | PSObject |
| Aliases: | AzureRMContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The expand expression to apply on the operation.
| Type: | ReplicationStatusTypes |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The name of the gallery Application Definition in which the Application Version resides.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The name of the Shared Application Gallery in which the Application Definition resides.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
| Type: | IComputeIdentity |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
The name of the gallery Application Version to be retrieved.
| Type: | String |
| Aliases: | GalleryApplicationVersionName |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The name of the resource group.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
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 |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Inputs
Outputs
Notes
ALIASES
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT <IComputeIdentity>: Identity Parameter
[CommandId <String>]: The command id.[GalleryApplicationName <String>]: The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.[GalleryApplicationVersionName <String>]: The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format:<MajorVersion>.<MinorVersion>.<Patch>[GalleryImageName <String>]: The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.[GalleryImageVersionName <String>]: The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format:<MajorVersion>.<MinorVersion>.<Patch>[GalleryName <String>]: The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.[Id <String>]: Resource identity path[InstanceId <String>]: The instance ID of the virtual machine.[Location <String>]: The location upon which run commands is queried.[ResourceGroupName <String>]: The name of the resource group.[RunCommandName <String>]: The name of the virtual machine run command.[SubscriptionId <String>]: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.[VMName <String>]: The name of the virtual machine where the run command should be created or updated.[VMScaleSetName <String>]: The name of the VM scale set.