你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzNetAppFilesPool
获取 Azure NetApp 文件 (ANF) 池的详细信息。
语法
Get-AzNetAppFilesPool
-ResourceGroupName <String>
-AccountName <String>
[-Name <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetAppFilesPool
[-Name <String>]
-AccountObject <PSNetAppFilesAccount>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetAppFilesPool
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
说明
Get-AzNetAppFilesPool cmdlet 获取 ANF 池的详细信息。
示例
示例 1:获取 ANF 池
Get-AzNetAppFilesPool -ResourceGroupName "MyRG" -AccountName "MyAnfAccount" -Name "MyAnfPool"
Location : westus2
Id : /subscriptions/subsID/resourceGroups/MyRG/providers/Microsoft.NetApp/netAppAccounts/MyAnfAccount/capacityPools/MyAnfPool
Name : MyAnfAccount/MyAnfPool
Type : Microsoft.NetApp/netAppAccounts/capacityPools
Tags :
PoolId : a3a53a09-fd70-37ab-39dc-392a04cba525
Size : 4398046511104
ServiceLevel : Premium
TotalThroughputMibps: 262.144
UtilizedThroughputMibps: 164.221
QosType : Auto
ProvisioningState : Succeeded
此命令从帐户“MyAnfAccount”获取名为 MyAnfPool 的帐户。
参数
-AccountName
ANF 帐户的名称
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-AccountObject
包含要返回的池的帐户对象
类型: | PSNetAppFilesAccount |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-DefaultProfile
用于与 Azure 通信的凭据、帐户、租户和订阅。
类型: | IAzureContextContainer |
别名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Name
ANF 池的名称
类型: | String |
别名: | PoolName |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-ResourceGroupName
ANF 池的资源组
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-ResourceId
ANF 池的资源 ID
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |