Get-AzureRmGalleryImageVersion
Hämta eller lista galleribildversioner.
Varning
AzureRM PowerShell-modulen är officiellt inaktuell från och med den 29 februari 2024. Användare rekommenderas att migrera från AzureRM till Az PowerShell-modulen för att säkerställa fortsatt support och uppdateringar.
Även om AzureRM-modulen fortfarande kan fungera, underhålls den inte längre eller stöds, vilket gör att användaren kan välja och riskera fortsatt användning. Se våra migreringsresurser för vägledning om övergången till Az-modulen.
Syntax
Get-AzureRmGalleryImageVersion
[-ResourceGroupName] <String>
[-GalleryName] <String>
[-GalleryImageDefinitionName] <String>
[[-Name] <String>]
[-ExpandReplicationStatus]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzureRmGalleryImageVersion
[-ResourceId] <String>
[-ExpandReplicationStatus]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Hämta eller lista galleribildversioner.
Exempel
Exempel 1
PS C:\> Get-AzureRmGalleryImageVersion -ResourceGroupName $rgname -GalleryName $gallery -ImageDefinitionName $image -GalleryImageVersionName $version
Hämta galleriets avbildningsversion.
Parametrar
-DefaultProfile
Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med Azure.
Typ: | IAzureContextContainer |
Aliases: | AzureRmContext, AzureCredential |
Position: | Named |
standardvärde: | None |
Obligatorisk: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ExpandReplicationStatus
Visa replikeringsstatus.
Typ: | SwitchParameter |
Position: | Named |
standardvärde: | None |
Obligatorisk: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-GalleryImageDefinitionName
Namnet på galleribilddefinitionen.
Typ: | String |
Position: | 2 |
standardvärde: | None |
Obligatorisk: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-GalleryName
Galleriets namn.
Typ: | String |
Position: | 1 |
standardvärde: | None |
Obligatorisk: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Namnet på galleribildversionen.
Typ: | String |
Aliases: | GalleryImageVersionName |
Position: | 3 |
standardvärde: | None |
Obligatorisk: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceGroupName
Namnet på resursgruppen.
Typ: | String |
Position: | 0 |
standardvärde: | None |
Obligatorisk: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceId
Resurs-ID:t för galleribildversionen
Typ: | String |
Position: | 0 |
standardvärde: | None |
Obligatorisk: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |