Get-AzGalleryApplicationVersion
Hämtar information om en galleriprogramversion.
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
Hämtar information om en galleriprogramversion.
Exempel
Exempel 1: Hämta en galleriprogramversion
Get-AzGalleryApplicationVersion -ResourceGroupName $rgName -GalleryName $galleryName -GalleryApplicationName $galleryAppName -Name $versionName
Hämta en galleriprogramversionsresurs med den angivna resursgruppen, galleriet, namnet på galleriprogrammet och versionsnamnet.
Exempel 2: Hämta alla galleriprogramversioner i ett galleriProgram
Get-AzGalleryApplicationVersion -GalleryName $GalleryName -ResourceGroupName $rgName -GalleryApplicationName $galleryAppName
Hämta alla resurser för galleriprogrammets version i den angivna resursgruppen, galleriet och galleriets programnamn.
Parametrar
-DefaultProfile
Parametern DefaultProfile fungerar inte. Använd parametern SubscriptionId när den är tillgänglig om du kör cmdleten mot en annan prenumeration.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Expand
Det expanderingsuttryck som ska tillämpas på åtgärden.
Type: | ReplicationStatusTypes |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-GalleryApplicationName
Namnet på galleriets programdefinition där programversionen finns.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-GalleryName
Namnet på det delade programgalleriet där programdefinitionen finns.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identitetsparameter För att skapa, se AVSNITTET ANTECKNINGAR för INPUTOBJECT-egenskaper och skapa en hash-tabell.
Type: | IComputeIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Namnet på galleriets programversion som ska hämtas.
Type: | String |
Aliases: | GalleryApplicationVersionName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
Namnet på resursgruppen.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
Prenumerationsautentiseringsuppgifter som unikt identifierar Microsoft Azure-prenumeration. Prenumerations-ID:t utgör en del av URI:n för varje tjänstanrop.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |