共用方式為


Set-AzNetAppFilesPool

使用新的數據集更新 Azure NetApp Files (ANF) 容量集區。

語法

Set-AzNetAppFilesPool
   -ResourceGroupName <String>
   -Location <String>
   -AccountName <String>
   -Name <String>
   -PoolSize <Int64>
   -ServiceLevel <String>
   [-QosType <String>]
   [-CoolAccess]
   [-Tag <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzNetAppFilesPool
   -Name <String>
   -PoolSize <Int64>
   -ServiceLevel <String>
   [-QosType <String>]
   [-CoolAccess]
   [-Tag <Hashtable>]
   -AccountObject <PSNetAppFilesAccount>
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-AzNetAppFilesPool
   -Name <String>
   -PoolSize <Int64>
   -ServiceLevel <String>
   [-QosType <String>]
   [-CoolAccess]
   [-Tag <Hashtable>]
   -ResourceId <String>
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Set-AzNetAppFilesPool Cmdlet 會修改 ANF 容量集區。

範例

範例 1

Set-AzNetAppFilesPool -ResourceGroupName "MyRG" -AccountName "MyAnfAccount" -Name "MyAnfPool" -Location "westus2" -PoolSize 4398046511104 -ServiceLevel "Premium" -QosType "Auto"

此命令會更新帳戶 「MyAnfAccount」 內的新 ANF 集區 「MyAnfPool」。。

參數

-AccountName

ANF 帳戶的名稱

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-AccountObject

新集區對象的帳戶

類型:PSNetAppFilesAccount
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-Confirm

在執行 Cmdlet 之前,提示您進行確認。

類型:SwitchParameter
別名:cf
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-CoolAccess

如果已啟用 (true), 集區可以包含已啟用非經常性存取的磁碟區。

類型:SwitchParameter
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-DefaultProfile

用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。

類型:IAzureContextContainer
別名:AzContext, AzureRmContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Location

資源的位置

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-Name

ANF 集區的名稱

類型:String
別名:PoolName
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-PoolSize

ANF 集區的大小

類型:Int64
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-QosType

集區的qos類型。 可能的值包括:'Auto'、'Manual'

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ResourceGroupName

ANF 帳戶的資源群組

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-ResourceId

ANF 帳戶的資源標識碼

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-ServiceLevel

ANF 集區的服務等級。 可能的值為 “Standard”、“Premium”、“Ultra”

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-Tag

代表資源標記的哈希表

類型:Hashtable
別名:Tags
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-WhatIf

顯示 Cmdlet 執行時會發生什麼事。 Cmdlet 未執行。

類型:SwitchParameter
別名:wi
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

輸入

PSNetAppFilesAccount

String

輸出

PSNetAppFilesPool