Get-AzNetAppFilesSnapshot
Gets details of an Azure NetApp Files (ANF) snapshot.
Syntax
Get-AzNetAppFilesSnapshot
-ResourceGroupName <String>
-AccountName <String>
-PoolName <String>
-VolumeName <String>
[-Name <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetAppFilesSnapshot
[-Name <String>]
-VolumeObject <PSNetAppFilesVolume>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetAppFilesSnapshot
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzNetAppFilesSnapshot cmdlet gets details of an ANF snapshot.
Examples
Example 1: Get an ANF snapshot
Get-AzNetAppFilesSnapshot -ResourceGroupName "MyRG" -AccountName "MyAnfAccount" -PoolName "MyAnfPool" -VolumeName "MyAnfVolume" -Name "MyAnfSnapshot"
ResourceGroupName : MyRG
Location : westus2
Id : /subscriptions/subsId/resourceGroups/MyRG/providers/Microsoft.NetApp/netAppAccounts/MyAnfAccount/capacityPools/MyAnfPool/volumes/MyAnfVolume/snapshots/MyAnfSnapshot
Name : MyAnfAccount/MyAnfPool/MyAnfVolume/MyAnfSnapshot
Type : Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots
Tags :
FileSystemId : 3e2773a7-2a72-d003-0637-1a8b1fa3eaaf
SnapshotId : ca7c4ebd-91cb-0e30-91f5-9154050033df
Created :
ProvisioningState : Succeeded
This command gets the snapshot named MyAnfSnapshot from the volume "MyAnfVolume".
Parameters
-AccountName
The name of the ANF account
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
The name of the ANF snapshot
Type: | String |
Aliases: | SnapshotName |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PoolName
The name of the ANF pool
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The resource group of the ANF volume
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceId
The resource id of the ANF snapshot
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-VolumeName
The name of the ANF volume
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VolumeObject
The volume object containing the snapshot to return
Type: | PSNetAppFilesVolume |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Outputs
Related Links
- New-AzNetAppFilesSnapshot
- Remove-AzNetAppFilesSnapshot
- Get-AzNetAppFilesSnapshotPolicy
- New-AzNetAppFilesSnapshotPolicy
- Update-AzNetAppFilesSnapshotPolicy
- Remove-AzNetAppFilesSnapshotPolicy
- Set-AzNetAppFilesSnapshotPolicy
- Get-AzNetAppFilesVolume
- New-AzNetAppFilesVolume
- Update-AzNetAppFilesVolume
- Remove-AzNetAppFilesVolume
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure PowerShell