Get-AzElasticSanVolumeSnapshot
Ottenere uno snapshot del volume.
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>]
Ottenere uno snapshot del volume.
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
Questo comando elenca tutti gli snapshot in un gruppo di volumi.
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
Questo comando ottiene uno snapshot denominato "mysnap1" nel gruppo di volumi "myvolumegroup"
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
Questo comando elenca gli snapshot del volume "myvolume" nel gruppo di volumi "myvolumegroup".
Il parametro DefaultProfile non è funzionale. Usare il parametro SubscriptionId quando disponibile se si esegue il cmdlet su una sottoscrizione diversa.
Tipo: | PSObject |
Alias: | AzureRMContext, AzureCredential |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | False |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
Parametro Identity
Tipo: | IElasticSanIdentity |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | True |
Accettare l'input della pipeline: | True |
Accettare caratteri jolly: | False |
Nome dell'oggetto ElasticSan.
Tipo: | String |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | True |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
Specificare $filter='volumeName eq <volume name>' per filtrare in base al volume.
Tipo: | String |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | False |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
Parametro Identity
Tipo: | IElasticSanIdentity |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | True |
Accettare l'input della pipeline: | True |
Accettare caratteri jolly: | False |
Nome dello snapshot del volume all'interno del gruppo di volumi specificato.
Tipo: | String |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | True |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
Nome del gruppo di risorse. Per il nome non viene fatta distinzione tra maiuscole e minuscole.
Tipo: | String |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | True |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
ID della sottoscrizione di destinazione.
Tipo: | String[] |
Posizione: | Named |
Valore predefinito: | (Get-AzContext).Subscription.Id |
Necessario: | False |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
Parametro Identity
Tipo: | IElasticSanIdentity |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | True |
Accettare l'input della pipeline: | True |
Accettare caratteri jolly: | False |
Nome del volumegroup.
Tipo: | String |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | True |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
Feedback su Azure PowerShell
Azure PowerShell è un progetto di open source. Selezionare un collegamento per fornire feedback: