Get-AzGalleryImageVersion
Hämta eller lista galleribildversioner.
Syntax
Get-AzGalleryImageVersion
[-ResourceGroupName] <String>
[-GalleryName] <String>
[-GalleryImageDefinitionName] <String>
[[-Name] <String>]
[-ExpandReplicationStatus]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzGalleryImageVersion
[-GalleryImageDefinitionName] <String>
[[-Name] <String>]
[-ExpandReplicationStatus]
-GalleryUniqueName <String>
[-Scope <String>]
-Location <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzGalleryImageVersion
[-GalleryImageDefinitionName] <String>
[[-Name] <String>]
[-ExpandReplicationStatus]
-GalleryPublicName <String>
-Location <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzGalleryImageVersion
[-ResourceId] <String>
[-ExpandReplicationStatus]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzGalleryImageVersion
[-ExpandReplicationStatus]
[-Location <String>]
[-Community]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Hämta eller lista galleribildversioner.
Exempel
Exempel 1
Get-AzGalleryImageVersion -ResourceGroupName rg1 -GalleryName gallery1 -GalleryImageDefinitionName image1 -GalleryImageVersionName 1.0.0
ResourceGroupName : rg1
PublishingProfile :
TargetRegions[0] :
Name : South Central US
RegionalReplicaCount : 1
TargetRegions[1] :
Name : East US 2
RegionalReplicaCount : 2
TargetRegions[2] :
Name : Central US
RegionalReplicaCount : 1
Source :
ManagedImage :
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/
providers/Microsoft.Compute/images/test1
ReplicaCount : 1
ExcludeFromLatest : False
PublishedDate : 11/14/2018 12:00:00 AM
EndOfLifeDate : 2/18/2025 12:07:00 PM
ProvisioningState : Succeeded
StorageProfile :
OsDiskImage :
SizeInGB : 127
HostCaching : ReadWrite
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/
providers/Microsoft.Compute/galleries/gallery1/images/image1/versions/1.0.0
Name : 1.0.0
Type : Microsoft.Compute/galleries/images/versions
Location : eastus2
Tags : {}
Hämta galleriets avbildningsversion.
Exempel 2
Get-AzGalleryImageVersion -ResourceGroupName rg1 -GalleryName gallery1 -GalleryImageDefinitionName image1 -GalleryImageVersionName 1*
ResourceGroupName : rg1
PublishingProfile :
TargetRegions[0] :
Name : South Central US
RegionalReplicaCount : 1
TargetRegions[1] :
Name : East US 2
RegionalReplicaCount : 2
TargetRegions[2] :
Name : Central US
RegionalReplicaCount : 1
Source :
ManagedImage :
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/
providers/Microsoft.Compute/images/test1
ReplicaCount : 1
ExcludeFromLatest : False
PublishedDate : 11/14/2018 12:00:00 AM
EndOfLifeDate : 2/18/2025 12:07:00 PM
ProvisioningState : Succeeded
StorageProfile :
OsDiskImage :
SizeInGB : 127
HostCaching : ReadWrite
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/
providers/Microsoft.Compute/galleries/gallery1/images/image1/versions/1.0.0
Name : 1.0.0
Type : Microsoft.Compute/galleries/images/versions
Location : eastus2
Tags : {}
ResourceGroupName : rg1
PublishingProfile :
TargetRegions[0] :
Name : South Central US
RegionalReplicaCount : 1
TargetRegions[1] :
Name : East US 2
RegionalReplicaCount : 2
TargetRegions[2] :
Name : Central US
RegionalReplicaCount : 1
Source :
ManagedImage :
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/
providers/Microsoft.Compute/images/test1
ReplicaCount : 1
ExcludeFromLatest : False
PublishedDate : 11/14/2018 12:00:00 AM
EndOfLifeDate : 2/18/2025 12:07:00 PM
ProvisioningState : Succeeded
StorageProfile :
OsDiskImage :
SizeInGB : 127
HostCaching : ReadWrite
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/
providers/Microsoft.Compute/galleries/gallery1/images/image1/versions/1.1.0
Name : 1.1.0
Type : Microsoft.Compute/galleries/images/versions
Location : eastus2
Tags : {}
Hämta galleribildversionerna som börjar med "1".
Exempel 3
Get-AzGalleryImageVersion -ResourceGroupName rg1 -GalleryName gallery1 -GalleryImageDefinitionName image1
ResourceGroupName : rg1
PublishingProfile :
TargetRegions[0] :
Name : South Central US
RegionalReplicaCount : 1
TargetRegions[1] :
Name : East US 2
RegionalReplicaCount : 2
TargetRegions[2] :
Name : Central US
RegionalReplicaCount : 1
Source :
ManagedImage :
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/
providers/Microsoft.Compute/images/test1
ReplicaCount : 1
ExcludeFromLatest : False
PublishedDate : 11/14/2018 12:00:00 AM
EndOfLifeDate : 2/18/2025 12:07:00 PM
ProvisioningState : Succeeded
StorageProfile :
OsDiskImage :
SizeInGB : 127
HostCaching : ReadWrite
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/
providers/Microsoft.Compute/galleries/gallery1/images/image1/versions/1.0.0
Name : 1.0.0
Type : Microsoft.Compute/galleries/images/versions
Location : eastus2
Tags : {}
ResourceGroupName : rg1
PublishingProfile :
TargetRegions[0] :
Name : South Central US
RegionalReplicaCount : 1
TargetRegions[1] :
Name : East US 2
RegionalReplicaCount : 2
TargetRegions[2] :
Name : Central US
RegionalReplicaCount : 1
Source :
ManagedImage :
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/
providers/Microsoft.Compute/images/test1
ReplicaCount : 1
ExcludeFromLatest : False
PublishedDate : 11/14/2018 12:00:00 AM
EndOfLifeDate : 2/18/2025 12:07:00 PM
ProvisioningState : Succeeded
StorageProfile :
OsDiskImage :
SizeInGB : 127
HostCaching : ReadWrite
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/
providers/Microsoft.Compute/galleries/gallery1/images/image1/versions/1.1.0
Name : 1.1.0
Type : Microsoft.Compute/galleries/images/versions
Location : eastus2
Tags : {}
Hämta alla galleribildversioner.
Parametrar
-Community
Visa en lista över communitygallerier.
Typ: | SwitchParameter |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
-DefaultProfile
Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med Azure.
Typ: | IAzureContextContainer |
Alias: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-ExpandReplicationStatus
Visa replikeringsstatus.
Typ: | SwitchParameter |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
-GalleryImageDefinitionName
Namnet på galleribilddefinitionen.
Typ: | String |
Alias: | GalleryImageName |
Position: | 2 |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
-GalleryName
Galleriets namn.
Typ: | String |
Position: | 1 |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
-GalleryPublicName
Det offentliga namnet på det delade bildgalleriet.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
-GalleryUniqueName
Det unika namnet på det delade bildgalleriet.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
-Location
Platsen för det delade bildgalleriet.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
-Name
Namnet på galleribildversionen.
Typ: | String |
Alias: | GalleryImageVersionName |
Position: | 3 |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | True |
-ResourceGroupName
Namnet på resursgruppen.
Typ: | String |
Position: | 0 |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
-ResourceId
Resurs-ID:t för galleribildversionen
Typ: | String |
Position: | 0 |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
-Scope
Anger gallerier som delas till prenumeration eller klientorganisation.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
Indata
Utdata
Azure PowerShell