Get-AzNetAppFilesSubvolumeMetadata
Gets metadata details of an Azure NetApp Files (ANF) subvolume.
Syntax
Get-AzNetAppFilesSubvolumeMetadata
-ResourceGroupName <String>
-AccountName <String>
-PoolName <String>
[-VolumeName <String>]
-Name <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetAppFilesSubvolumeMetadata
-Name <String>
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetAppFilesSubvolumeMetadata
-Name <String>
-VolumeObject <PSNetAppFilesVolume>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzNetAppFilesSubvolumeMetadata cmdlet gets metadata details of an ANF Subvolume.
Examples
Example 1
Get-AzNetAppFilesSubvolumeMetadata -ResourceGroupName "MyRG" -AccountName "MyAnfAccount" -PoolName "MyAnfPool" -VolumeName "MyAnfVolume" -Name "MyAnfSubvolume"
ResourceGroupName : myrg
Id : /subscriptions/69a75bda-882e-44d5-8431-63421204132a/resourceGroups/myrg/providers/Microsoft.NetApp/netAppAccounts/myanfaccount/capacityPools/myanfpool/volumes/myanfvolume/subvolumes/myanfsubvolume
Name : myanfaccount/myanfpool/myanfvolume/myanfsubvolume
Type : Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes
Path : /subvolumePath
ParentPath :
Size : 5
BytesUsed : 0
Permissions : 644
CreationTimeStamp : 28/04/2022 15:49:24
AccessedTimeStamp : 28/04/2022 15:49:23
ModifiedTimeStamp : 28/04/2022 15:49:24
ChangedTimeStamp : 28/04/2022 15:49:24
ProvisioningState : Succeeded
The gets details of the MyAnfSubvolume Subvolume metadata.
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 Subvolume
Type: | String |
Aliases: | SubvolumeName |
Position: | Named |
Default value: | None |
Required: | True |
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 Subvolume
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceId
The resource id of the ANF Subvolume
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: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VolumeObject
The volume object containing the Subvolume Metadata to return
Type: | PSNetAppFilesVolume |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Outputs
Related Links
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