Get-AzElasticSanVolumeSnapshot
Birim Anlık Görüntüsü alma.
Sözdizimi
Get-AzElasticSanVolumeSnapshot
-ElasticSanName <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
-VolumeGroupName <String>
[-Filter <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzElasticSanVolumeSnapshot
-ElasticSanName <String>
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
-VolumeGroupName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzElasticSanVolumeSnapshot
-Name <String>
-VolumegroupInputObject <IElasticSanIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzElasticSanVolumeSnapshot
-Name <String>
-VolumeGroupName <String>
-ElasticSanInputObject <IElasticSanIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzElasticSanVolumeSnapshot
-InputObject <IElasticSanIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Birim Anlık Görüntüsü alma.
Örnekler
Örnek 1: Birim grubu altında anlık görüntüleri listeleme
Get-AzElasticSanVolumeSnapshot -ResourceGroupName myresourcegroup -ElasticSanName myelasticsan -VolumeGroupName myvolumegroup
CreationDataSourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.ElasticSan/elasticSans/myelasticsan/volumeGroups/myvolumegroup/volumes/myvolume
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.ElasticSan/elasticSans/myelasticsan/volumeGroups/myvolumegroup/snapshots/mysnap1
Name : mysnap1
ProvisioningState : Succeeded
ResourceGroupName : myresourcegroup
SourceVolumeSizeGiB : 1
SystemDataCreatedAt : 10/7/2023 3:37:01 AM
SystemDataCreatedBy : 00000000-0000-0000-0000-000000000000
SystemDataCreatedByType : Application
SystemDataLastModifiedAt : 10/7/2023 3:37:01 AM
SystemDataLastModifiedBy : 00000000-0000-0000-0000-000000000000
SystemDataLastModifiedByType : Application
Type : Microsoft.ElasticSan/elasticSans/volumeGroups/snapshots
VolumeName : myvolume
CreationDataSourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.ElasticSan/elasticSans/myelasticsan/volumeGroups/myvolumegroup/volumes/myvolume
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.ElasticSan/elasticSans/myelasticsan/volumeGroups/myvolumegroup/snapshots/mysnap2
Name : mysnap2
ProvisioningState : Succeeded
ResourceGroupName : myresourcegroup
SourceVolumeSizeGiB : 1
SystemDataCreatedAt : 10/7/2023 4:06:13 AM
SystemDataCreatedBy : 00000000-0000-0000-0000-000000000000
SystemDataCreatedByType : Application
SystemDataLastModifiedAt : 10/7/2023 4:06:13 AM
SystemDataLastModifiedBy : 00000000-0000-0000-0000-000000000000
SystemDataLastModifiedByType : Application
Type : Microsoft.ElasticSan/elasticSans/volumeGroups/snapshots
VolumeName : myvolume
Bu komut, bir birim grubu altındaki tüm anlık görüntüleri listeler.
Örnek 2: Belirli bir anlık görüntü alma
Get-AzElasticSanVolumeSnapshot -ResourceGroupName myresourcegroup -ElasticSanName myelasticsan -VolumeGroupName myvolumegroup -Name mysnap1
CreationDataSourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.ElasticSan/elasticSans/myelasticsan/volumeGroups/myvolumegroup/volumes/myvolume
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.ElasticSan/elasticSans/myelasticsan/volumeGroups/myvolumegroup/snapshots/mysnap1
Name : mysnap1
ProvisioningState : Succeeded
ResourceGroupName : myresourcegroup
SourceVolumeSizeGiB : 1
SystemDataCreatedAt : 10/7/2023 3:37:01 AM
SystemDataCreatedBy : 00000000-0000-0000-0000-000000000000
SystemDataCreatedByType : Application
SystemDataLastModifiedAt : 10/7/2023 3:37:01 AM
SystemDataLastModifiedBy : 00000000-0000-0000-0000-000000000000
SystemDataLastModifiedByType : Application
Type : Microsoft.ElasticSan/elasticSans/volumeGroups/snapshots
VolumeName : myvolume
Bu komut, "myvolumegroup" birim grubunun altında "mysnap1" adlı bir anlık görüntü alır
Örnek 3: Filtre içeren bir birimin anlık görüntülerini listeleme
Get-AzElasticSanVolumeSnapshot -ResourceGroupName myresourcegroup -ElasticSanName myelasticsan -VolumeGroupName myvolumegroup -Filter 'volumeName eq myvolume'
CreationDataSourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.ElasticSan/elasticSans/myelasticsan/volumeGroups/myvolumegroup/volumes/myvolume
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.ElasticSan/elasticSans/myelasticsan/volumeGroups/myvolumegroup/snapshots/mysnap1
Name : mysnap1
ProvisioningState : Succeeded
ResourceGroupName : myresourcegroup
SourceVolumeSizeGiB : 1
SystemDataCreatedAt : 10/7/2023 3:37:01 AM
SystemDataCreatedBy : 00000000-0000-0000-0000-000000000000
SystemDataCreatedByType : Application
SystemDataLastModifiedAt : 10/7/2023 3:37:01 AM
SystemDataLastModifiedBy : 00000000-0000-0000-0000-000000000000
SystemDataLastModifiedByType : Application
Type : Microsoft.ElasticSan/elasticSans/volumeGroups/snapshots
VolumeName : myvolume
CreationDataSourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.ElasticSan/elasticSans/myelasticsan/volumeGroups/myvolumegroup/volumes/myvolume
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.ElasticSan/elasticSans/myelasticsan/volumeGroups/myvolumegroup/snapshots/mysnap2
Name : mysnap2
ProvisioningState : Succeeded
ResourceGroupName : myresourcegroup
SourceVolumeSizeGiB : 1
SystemDataCreatedAt : 10/7/2023 4:06:13 AM
SystemDataCreatedBy : 00000000-0000-0000-0000-000000000000
SystemDataCreatedByType : Application
SystemDataLastModifiedAt : 10/7/2023 4:06:13 AM
SystemDataLastModifiedBy : 00000000-0000-0000-0000-000000000000
SystemDataLastModifiedByType : Application
Type : Microsoft.ElasticSan/elasticSans/volumeGroups/snapshots
VolumeName : myvolume
Bu komut, "myvolumegroup" birim grubu altında "myvolume" biriminin anlık görüntülerini listeler.
Parametreler
-DefaultProfile
DefaultProfile parametresi işlevsel değil. Cmdlet'i farklı bir abonelikte yürütürken kullanılabilir olduğunda SubscriptionId parametresini kullanın.
Tür: | PSObject |
Diğer adlar: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Gerekli: | False |
İşlem hattı girişini kabul et: | False |
Joker karakterleri kabul et: | False |
-ElasticSanInputObject
Kimlik Parametresi
Tür: | IElasticSanIdentity |
Position: | Named |
Default value: | None |
Gerekli: | True |
İşlem hattı girişini kabul et: | True |
Joker karakterleri kabul et: | False |
-ElasticSanName
ElasticSan'ın adı.
Tür: | String |
Position: | Named |
Default value: | None |
Gerekli: | True |
İşlem hattı girişini kabul et: | False |
Joker karakterleri kabul et: | False |
-Filter
Birime filtre uygulamak için $filter='volumeName eq <volume name>' değerini belirtin.
Tür: | String |
Position: | Named |
Default value: | None |
Gerekli: | False |
İşlem hattı girişini kabul et: | False |
Joker karakterleri kabul et: | False |
-InputObject
Kimlik Parametresi
Tür: | IElasticSanIdentity |
Position: | Named |
Default value: | None |
Gerekli: | True |
İşlem hattı girişini kabul et: | True |
Joker karakterleri kabul et: | False |
-Name
Verilen birim grubu içindeki birim anlık görüntüsünün adı.
Tür: | String |
Position: | Named |
Default value: | None |
Gerekli: | True |
İşlem hattı girişini kabul et: | False |
Joker karakterleri kabul et: | False |
-ResourceGroupName
Kaynak grubunun adı. Ad büyük/küçük harfe duyarsız.
Tür: | String |
Position: | Named |
Default value: | None |
Gerekli: | True |
İşlem hattı girişini kabul et: | False |
Joker karakterleri kabul et: | False |
-SubscriptionId
Hedef aboneliğin kimliği.
Tür: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Gerekli: | False |
İşlem hattı girişini kabul et: | False |
Joker karakterleri kabul et: | False |
-VolumegroupInputObject
Kimlik Parametresi
Tür: | IElasticSanIdentity |
Position: | Named |
Default value: | None |
Gerekli: | True |
İşlem hattı girişini kabul et: | True |
Joker karakterleri kabul et: | False |
-VolumeGroupName
VolumeGroup'un adı.
Tür: | String |
Position: | Named |
Default value: | None |
Gerekli: | True |
İşlem hattı girişini kabul et: | False |
Joker karakterleri kabul et: | False |