az netappfiles volume
Note
此命令群組具有 Azure CLI 和至少一個擴充功能中定義的命令。 安裝每個擴充功能以受益於其擴充功能。 深入了解擴充功能。
管理 Azure NetApp Files (ANF) 磁碟區資源。
產生的 Azure NetApp Files (ANF) 磁碟區建立更新刪除作業。
命令
az netappfiles volume break-file-locks
中斷磁碟區上的所有檔案鎖定。
az netappfiles volume break-file-locks [--account-name]
[--client-ip]
[--confirm --confirm-running-disruptive-operation {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
[--yes]
範例
中斷磁碟區上的所有檔案鎖定
az netappfiles volume break-file-locks -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
若要清除特定用戶端磁碟區上的檔案鎖定。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
中斷檔案鎖定可能是應用程式的干擾性作業,因為如果想要處理,磁碟區上的鎖定將會中斷,設定為 true。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
| 預設值: | True |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿提示確認。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume create
建立或更新磁碟區。
在容量集區內建立指定的磁碟區。
az netappfiles volume create --account-name
--creation-token --file-path
--name --volume-name
--pool-name
--resource-group
[--accept-grow-capacity-pool-for-short-term-clone-split --grow-pool-clone-split {Accepted, Declined}]
[--allowed-clients]
[--avs-data-store {Disabled, Enabled}]
[--backup-id]
[--backup-policy-id]
[--backup-vault-id]
[--ca-retrieval-policy --cool-access-retrieval-policy {Default, Never, OnRead}]
[--ca-tiering-policy --cool-access-tiering-policy {Auto, SnapshotOnly}]
[--capacity-pool-resource-id --pool-resource-id]
[--chown-mode {Restricted, Unrestricted}]
[--cifs {0, 1, f, false, n, no, t, true, y, yes}]
[--cool-access {0, 1, f, false, n, no, t, true, y, yes}]
[--coolness-period]
[--default-group-quota --default-group-quota-in-ki-bs]
[--default-quota-enabled --is-def-quota-enabled --is-default-quota-enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--default-user-quota --default-user-quota-in-ki-bs]
[--delete-base-snapshot {0, 1, f, false, n, no, t, true, y, yes}]
[--enable-subvolumes {Disabled, Enabled}]
[--encryption-key-source {Microsoft.KeyVault, Microsoft.NetApp}]
[--export-policy-rules --rules]
[--external-host-name]
[--external-server-name]
[--external-volume-name]
[--has-root-access {0, 1, f, false, n, no, t, true, y, yes}]
[--is-large-volume {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos-enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5-r {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5-rw {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5i-r {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5i-rw {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5p-r {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5p-rw {0, 1, f, false, n, no, t, true, y, yes}]
[--key-vault-private-endpoint-resource-id --kv-private-endpoint-id]
[--ldap-enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--location]
[--network-features {Basic, Standard}]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--placement-rules]
[--policy-enforced {0, 1, f, false, n, no, t, true, y, yes}]
[--ppg --proximity-placement-group]
[--protocol-types]
[--relocation-requested {0, 1, f, false, n, no, t, true, y, yes}]
[--remote-volume-id --remote-volume-resource-id]
[--remote-volume-region]
[--replication-schedule {_10minutely, daily, hourly}]
[--rule-index]
[--security-style {ntfs, unix}]
[--service-level {Flexible, Premium, Standard, StandardZRS, Ultra}]
[--smb-access-based-enumeration --smb-access-enumeration {Disabled, Enabled}]
[--smb-ca --smb-continuously-available --smb-continuously-avl {0, 1, f, false, n, no, t, true, y, yes}]
[--smb-encryption {0, 1, f, false, n, no, t, true, y, yes}]
[--smb-non-browsable {Disabled, Enabled}]
[--snapshot-dir-visible --snapshot-directory-visible {0, 1, f, false, n, no, t, true, y, yes}]
[--snapshot-id]
[--snapshot-policy-id]
[--subnet --subnet-id]
[--tags]
[--throughput-mibps]
[--unix-permissions]
[--unix-read-only {0, 1, f, false, n, no, t, true, y, yes}]
[--unix-read-write {0, 1, f, false, n, no, t, true, y, yes}]
[--usage-threshold]
[--vnet]
[--volume-spec-name]
[--volume-type]
[--zones]
範例
建立 ANF 磁碟區
az netappfiles volume create -g group --account-name aname --pool-name pname --volume-name vname -l location --service-level "Premium" --usage-threshold 100 --creation-token "unique-token" --protocol-types NFSv3 --vnet myvnet --subnet-id "/subscriptions/mysubsid/resourceGroups/myrg/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/default" --rules '[{"allowed_clients":"0.0.0.0/0","rule_index":"1","unix_read_only":"true","unix_read_write":"false","cifs":"false","nfsv3":"true","nfsv41":"false"}]'
建立已指定區域 (可用性區域) 的 ANF 磁碟區
az netappfiles volume create -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname -l westus2 --service-level premium --usage-threshold 100 --file-path "unique-file-path" --vnet myvnet --subnet mysubnet --protocol-types NFSv3 --zones zone1
使用 CMK 加密建立 ANF 磁碟區
az netappfiles volume create -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname -l westus2 --service-level premium --usage-threshold 100 --file-path "unique-file-path" --vnet myvnet --subnet mysubnet --protocol-types NFSv3 --network-features Standard --protocol-types NFSv4.1 --rule-index 1 --allowed-clients '10.7.0.0/24' --kerberos-enabled false --encryption-key-source Microsoft.KeyVault --kv-private-endpoint-id myPrivateEndpointId
必要參數
NetApp 帳戶的名稱。
磁碟區的唯一檔案路徑。 建立掛接目標時使用。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
磁碟區的名稱。
容量集區的名稱。
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
當自動分割短期複製磁碟區時,如果父集區沒有足夠的空間來容納分割之後的磁碟區,它會自動重設大小,這會導致計費增加。 若要接受容量集區大小自動成長並建立短期複製磁碟區,請將 屬性設定為已接受。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Accepted, Declined |
用戶端輸入規格以逗號分隔字串,其中包含IPv4CIDR、IPv4 主機名和主機名。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
指定磁碟區是否已啟用 Azure VMware 解決方案 (AVS) 資料存放區用途。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | Disabled |
| 接受的值: | Disabled, Enabled |
用來識別備份的資源標識碼。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
備份原則資源標識碼。
| 屬性 | 值 |
|---|---|
| 參數群組: | Backup Arguments |
備份保存庫資源標識碼。
| 屬性 | 值 |
|---|---|
| 參數群組: | Backup Arguments |
CoolAccessRetrievalPolicy 會根據已啟用非經常性存取的磁碟區讀取模式,決定從非經常性存取層到標準記憶體的數據擷取行為。 此欄位的可能值為:預設值 - 資料會從非經常性存取層提取到隨機讀取的標準記憶體。 此原則是預設值。 OnRead - 所有用戶端驅動數據讀取都會從非經常性存取層提取到循序和隨機讀取的標準記憶體。 永不 - 不會從非經常性存取層提取任何用戶端驅動數據到標準記憶體。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Default, Never, OnRead |
CoolAccessTieringPolicy 會決定哪些冷數據區塊會移至非經常性存取層。 此欄位的可能值為:自動 - 將快照集復本和作用中文件系統中的冷用戶數據區塊移至非經常性存取層層。 此原則是預設值。 SnapshotOnly - 將與作用中文件系統沒有關聯的磁碟區快照集用戶數據區塊移至非經常性存取層。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Auto, SnapshotOnly |
集區資源標識碼,用於透過磁碟區群組建立磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
此參數會指定誰有權變更檔案的擁有權。 受限制 - 只有根使用者可以變更檔案的擁有權。 不受限制 - 非根使用者可以變更其擁有的檔案擁有權。 可能的值包括 - 受限制、不受限制。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | Restricted, Unrestricted |
允許 CIFS 通訊協定。 僅針對 CIFS 類型磁碟區啟用。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
指定是否為磁碟區啟用非經常性存取(階層處理)。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | False |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
指定用戶端不會存取資料的天數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
KiB 中磁碟區的預設群組配額。 如果已設定 isDefaultQuotaEnabled,則會套用 4 KiBs 的最小值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | 0 |
指定磁碟區是否啟用預設配額。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | False |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
KiBs 中磁碟區的預設使用者配額。 如果已設定 isDefaultQuotaEnabled,則會套用 4 KiBs 的最小值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | 0 |
如果已啟用 (true),則磁碟區建立的快照集會在磁碟區建立作業完成之後自動刪除。 預設為 False。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
指出磁碟區上是否啟用子捲作業的旗標。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | Disabled |
| 接受的值: | Disabled, Enabled |
用來加密磁碟區中數據的金鑰來源。 如果 NetApp 帳戶具有 encryption.keySource = 'Microsoft.KeyVault',則適用。 可能的值為:『Microsoft.NetApp,Microsoft.KeyVault』。
| 屬性 | 值 |
|---|---|
| 參數群組: | CMK Encryption Arguments |
| 預設值: | Microsoft.NetApp |
| 接受的值: | Microsoft.KeyVault, Microsoft.NetApp |
匯出原則規則支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy Arguments |
ONTAP 主機的路徑。
| 屬性 | 值 |
|---|---|
| 參數群組: | RemotePath Arguments |
ONTAP 主機上的伺服器名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | RemotePath Arguments |
伺服器上的磁碟區名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | RemotePath Arguments |
具有磁碟區的根存取權。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
指定磁碟區是大型磁碟區還是一般磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | False |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
描述磁碟區是否為 KerberosEnabled。 與 Swagger 版本 2020-05-01 或更新版本搭配使用。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | False |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5 只讀存取權。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5 讀取和寫入存取權。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5i Readonly 存取權。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5i 讀取和寫入存取權。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5p 唯讀存取。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5p 讀取和寫入存取權。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
KeyVault 私人端點的資源標識碼。 它必須位於與磁碟區相同的 VNET 中。 只有在 encryptionKeySource = 'Microsoft.KeyVault' 時才適用。
| 屬性 | 值 |
|---|---|
| 參數群組: | CMK Encryption Arguments |
指定指定的NFS磁碟區是否啟用LDAP。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | False |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
未指定資源所在的地理位置,將會使用資源群組的位置。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
可供磁碟區使用的基本網路或標準功能。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | Basic |
| 接受的值: | Basic, Standard |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
特定磁碟區的應用程式特定放置規則支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
強制執行原則。
| 屬性 | 值 |
|---|---|
| 參數群組: | Backup Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
與磁碟區相關聯的鄰近放置群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
一組通訊協定類型、預設的 NFSv3、SMB 通訊協定的 CIFS 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
已要求重新配置此磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | VolumeRelocation Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
遠端磁碟區的資源標識碼。
| 屬性 | 值 |
|---|---|
| 參數群組: | Replication Arguments |
磁碟區復寫另一端的遠端區域。
| 屬性 | 值 |
|---|---|
| 參數群組: | Replication Arguments |
Schedule.
| 屬性 | 值 |
|---|---|
| 參數群組: | Replication Arguments |
| 接受的值: | _10minutely, daily, hourly |
訂單索引。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
磁碟區的安全性樣式預設為 ntfs,預設為雙重通訊協定或 CIFS 通訊協定。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | unix |
| 接受的值: | ntfs, unix |
ServiceLevel.
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | Premium |
| 接受的值: | Flexible, Premium, Standard, StandardZRS, Ultra |
啟用SMB共用的存取型列舉共享屬性。 僅適用於SMB/DualProtocol磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Disabled, Enabled |
為smb磁碟區啟用持續可用的共享屬性。 僅適用於SMB磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | False |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
啟用內部 smb3 資料的加密。 僅適用於SMB/DualProtocol磁碟區。 與 Swagger 版本 2020-08-01 或更新版本搭配使用。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | False |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
啟用SMB共用不可瀏覽的屬性。 僅適用於SMB/DualProtocol磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Disabled, Enabled |
如果啟用 (true), 磁碟區將包含唯讀快照集目錄,可提供每個磁碟區快照集的存取權(預設值為 true)。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | True |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
用來識別快照集的資源標識碼。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
快照集原則 ResourceId。
| 屬性 | 值 |
|---|---|
| 參數群組: | Snapshot Arguments |
委派子網的 Azure 資源 URI。 必須具有委派Microsoft.NetApp/volumes。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | default |
資源標籤。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
MiB/s 中可透過此磁碟區達到的最大輸送量,這隻會接受為手動 qosType 磁碟區的輸入。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
以八進位 4 位數格式接受的 NFS 磁碟區 UNIX 許可權。 第一個數字會選取設定的使用者標識元(4)、設定群組標識碼 (2) 和黏性 (1) 屬性。 第二位數會選取檔案擁有者的許可權:讀取 (4)、寫入 (2) 和執行 (1)。 第三個會選取相同群組中其他用戶的許可權。 群組中其他使用者的第四個。 0755 - 提供擁有者讀取/寫入/執行許可權給群組和其他使用者。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
唯讀存取權。 存在以提供回溯相容性,請改用 --export-policy-rules (--rules)。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
讀取和寫入存取權。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
GiB 中文件系統允許的記憶體配額上限。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | 100 |
vnet 的名稱或資源標識碼。 如果您想要在其他資源群組中使用 vnet,請提供資源識別碼,而不是 vnet 的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
磁碟區規格名稱是磁碟區群組中特定磁碟區的應用程式特定指定或標識元,例如數據、記錄。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
此磁碟區的類型為何。 針對跨區域復寫中的目的地磁碟區,請將類型設定為 DataProtection。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
可用性區域支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume create (netappfiles-preview 擴充功能)
此命令處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
建立或更新磁碟區。
在容量集區內建立指定的磁碟區。
az netappfiles volume create --account-name
--creation-token --file-path
--name --volume-name
--pool-name
--resource-group
--vnet
[--accept-grow-capacity-pool-for-short-term-clone-split --grow-pool-clone-split {Accepted, Declined}]
[--allowed-clients]
[--avs-data-store {Disabled, Enabled}]
[--backup-id]
[--backup-policy-id]
[--backup-vault-id]
[--ca-retrieval-policy --cool-access-retrieval-policy {Default, Never, OnRead}]
[--capacity-pool-resource-id --pool-resource-id]
[--chown-mode {Restricted, Unrestricted}]
[--cifs {0, 1, f, false, n, no, t, true, y, yes}]
[--cool-access {0, 1, f, false, n, no, t, true, y, yes}]
[--coolness-period]
[--default-group-quota --default-group-quota-in-ki-bs]
[--default-quota-enabled --is-def-quota-enabled --is-default-quota-enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--default-user-quota --default-user-quota-in-ki-bs]
[--delete-base-snapshot {0, 1, f, false, n, no, t, true, y, yes}]
[--enable-subvolumes {Disabled, Enabled}]
[--encryption-key-source {Microsoft.KeyVault, Microsoft.NetApp}]
[--endpoint-type {dst, src}]
[--export-policy-rules --rules]
[--has-root-access {0, 1, f, false, n, no, t, true, y, yes}]
[--is-large-volume {0, 1, f, false, n, no, t, true, y, yes}]
[--is-restoring {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos-enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5-r {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5-rw {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5i-r {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5i-rw {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5p-r {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5p-rw {0, 1, f, false, n, no, t, true, y, yes}]
[--key-vault-private-endpoint-resource-id --kv-private-endpoint-id]
[--language {ar, ar.utf-8, c, c.utf-8, cs, cs.utf-8, da, da.utf-8, de, de.utf-8, en, en-us, en-us.utf-8, en.utf-8, es, es.utf-8, fi, fi.utf-8, fr, fr.utf-8, he, he.utf-8, hr, hr.utf-8, hu, hu.utf-8, it, it.utf-8, ja, ja-jp.932, ja-jp.932.utf-8, ja-jp.pck, ja-jp.pck-v2, ja-jp.pck-v2.utf-8, ja-jp.pck.utf-8, ja-v1, ja-v1.utf-8, ja.utf-8, ko, ko.utf-8, nl, nl.utf-8, no, no.utf-8, pl, pl.utf-8, pt, pt.utf-8, ro, ro.utf-8, ru, ru.utf-8, sk, sk.utf-8, sl, sl.utf-8, sv, sv.utf-8, tr, tr.utf-8, utf8mb4, zh, zh-tw, zh-tw.big5, zh-tw.big5.utf-8, zh-tw.utf-8, zh.gbk, zh.gbk.utf-8, zh.utf-8}]
[--ldap-enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--location]
[--network-features {Basic, Standard}]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--placement-rules]
[--policy-enforced {0, 1, f, false, n, no, t, true, y, yes}]
[--ppg --proximity-placement-group]
[--protocol-types]
[--relocation-requested {0, 1, f, false, n, no, t, true, y, yes}]
[--remote-path]
[--remote-volume-id --remote-volume-resource-id]
[--remote-volume-region]
[--replication-schedule {_10minutely, daily, hourly}]
[--rule-index]
[--security-style {ntfs, unix}]
[--service-level {Premium, Standard, StandardZRS, Ultra}]
[--smb-access-based-enumeration --smb-access-enumeration {Disabled, Enabled}]
[--smb-ca --smb-continuously-available --smb-continuously-avl {0, 1, f, false, n, no, t, true, y, yes}]
[--smb-encryption {0, 1, f, false, n, no, t, true, y, yes}]
[--smb-non-browsable {Disabled, Enabled}]
[--snapshot-dir-visible --snapshot-directory-visible {0, 1, f, false, n, no, t, true, y, yes}]
[--snapshot-id]
[--snapshot-policy-id]
[--subnet --subnet-id]
[--tags]
[--throughput-mibps]
[--unix-permissions]
[--unix-read-only {0, 1, f, false, n, no, t, true, y, yes}]
[--unix-read-write {0, 1, f, false, n, no, t, true, y, yes}]
[--usage-threshold]
[--volume-spec-name]
[--volume-type]
[--zones]
範例
建立 ANF 磁碟區
az netappfiles volume create -g group --account-name aname --pool-name pname --volume-name vname -l location --service-level "Premium" --usage-threshold 100 --creation-token "unique-token" --protocol-types NFSv3 --vnet myvnet --subnet-id "/subscriptions/mysubsid/resourceGroups/myrg/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/default" --rules '[{"allowed_clients":"0.0.0.0/0","rule_index":"1","unix_read_only":"true","unix_read_write":"false","cifs":"false","nfsv3":"true","nfsv41":"false"}]'
建立已指定區域 (可用性區域) 的 ANF 磁碟區
az netappfiles volume create -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname -l westus2 --service-level premium --usage-threshold 100 --file-path "unique-file-path" --vnet myvnet --subnet mysubnet --protocol-types NFSv3 --zones zone1
使用 CMK 加密建立 ANF 磁碟區
az netappfiles volume create -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname -l westus2 --service-level premium --usage-threshold 100 --file-path "unique-file-path" --vnet myvnet --subnet mysubnet --protocol-types NFSv3 --network-features Standard --protocol-types NFSv4.1 --rule-index 1 --allowed-clients '10.7.0.0/24' --kerberos-enabled false --encryption-key-source Microsoft.KeyVault --kv-private-endpoint-id myPrivateEndpointId
必要參數
NetApp 帳戶的名稱。
磁碟區的唯一檔案路徑。 建立掛接目標時使用。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
磁碟區的名稱。
容量集區的名稱。
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
vnet 的名稱或資源標識碼。 如果您想要在其他資源群組或訂用帳戶中使用 vnet,請提供資源識別碼,而不是 vnet 的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
當自動分割短期複製磁碟區時,如果父集區沒有足夠的空間來容納分割之後的磁碟區,它會自動重設大小,這會導致計費增加。 若要接受容量集區大小自動成長並建立短期複製磁碟區,請將 屬性設定為已接受。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Accepted, Declined |
用戶端輸入規格以逗號分隔字串,其中包含IPv4CIDR、IPv4 主機名和主機名。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
指定磁碟區是否已啟用 Azure VMware 解決方案 (AVS) 資料存放區用途。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | Disabled |
| 接受的值: | Disabled, Enabled |
用來識別備份的資源標識碼。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
備份原則資源標識碼。
| 屬性 | 值 |
|---|---|
| 參數群組: | Backup Arguments |
備份保存庫資源標識碼。
| 屬性 | 值 |
|---|---|
| 參數群組: | Backup Arguments |
CoolAccessRetrievalPolicy 會根據已啟用非經常性存取的磁碟區讀取模式,決定從非經常性存取層到標準記憶體的數據擷取行為。 此欄位的可能值為:預設值 - 資料會從非經常性存取層提取到隨機讀取的標準記憶體。 此原則是預設值。 OnRead - 所有用戶端驅動數據讀取都會從非經常性存取層提取到循序和隨機讀取的標準記憶體。 永不 - 不會從非經常性存取層提取任何用戶端驅動數據到標準記憶體。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Default, Never, OnRead |
集區資源標識碼,用於透過磁碟區群組建立磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
此參數會指定誰有權變更檔案的擁有權。 受限制 - 只有根使用者可以變更檔案的擁有權。 不受限制 - 非根使用者可以變更其擁有的檔案擁有權。 可能的值包括 - 受限制、不受限制。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | Restricted, Unrestricted |
允許 CIFS 通訊協定。 僅針對 CIFS 類型磁碟區啟用。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
指定是否為磁碟區啟用非經常性存取(階層處理)。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | False |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
指定用戶端不會存取資料的天數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
KiB 中磁碟區的預設群組配額。 如果已設定 isDefaultQuotaEnabled,則會套用 4 KiBs 的最小值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | 0 |
指定磁碟區是否啟用預設配額。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | False |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
KiBs 中磁碟區的預設使用者配額。 如果已設定 isDefaultQuotaEnabled,則會套用 4 KiBs 的最小值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | 0 |
如果已啟用 (true),則磁碟區建立的快照集會在磁碟區建立作業完成之後自動刪除。 預設為 False。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
指出磁碟區上是否啟用子捲作業的旗標。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | Disabled |
| 接受的值: | Disabled, Enabled |
用來加密磁碟區中數據的金鑰來源。 如果 NetApp 帳戶具有 encryption.keySource = 'Microsoft.KeyVault',則適用。 可能的值為:『Microsoft.NetApp,Microsoft.KeyVault』。
| 屬性 | 值 |
|---|---|
| 參數群組: | CMK Encryption Arguments |
| 預設值: | Microsoft.NetApp |
| 接受的值: | Microsoft.KeyVault, Microsoft.NetApp |
指出本機磁碟區是否為磁碟區復寫的來源或目的地。
| 屬性 | 值 |
|---|---|
| 參數群組: | Replication Arguments |
| 接受的值: | dst, src |
匯出原則規則支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy Arguments |
具有磁碟區的根存取權。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
指定磁碟區是大型磁碟區還是一般磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | False |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
Restoring.
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
描述磁碟區是否為 KerberosEnabled。 與 Swagger 版本 2020-05-01 或更新版本搭配使用。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | False |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5 只讀存取權。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5 讀取和寫入存取權。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5i Readonly 存取權。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5i 讀取和寫入存取權。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5p 唯讀存取。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5p 讀取和寫入存取權。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
KeyVault 私人端點的資源標識碼。 它必須位於與磁碟區相同的 VNET 中。 只有在 encryptionKeySource = 'Microsoft.KeyVault' 時才適用。
| 屬性 | 值 |
|---|---|
| 參數群組: | CMK Encryption Arguments |
Language.
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | ar, ar.utf-8, c, c.utf-8, cs, cs.utf-8, da, da.utf-8, de, de.utf-8, en, en-us, en-us.utf-8, en.utf-8, es, es.utf-8, fi, fi.utf-8, fr, fr.utf-8, he, he.utf-8, hr, hr.utf-8, hu, hu.utf-8, it, it.utf-8, ja, ja-jp.932, ja-jp.932.utf-8, ja-jp.pck, ja-jp.pck-v2, ja-jp.pck-v2.utf-8, ja-jp.pck.utf-8, ja-v1, ja-v1.utf-8, ja.utf-8, ko, ko.utf-8, nl, nl.utf-8, no, no.utf-8, pl, pl.utf-8, pt, pt.utf-8, ro, ro.utf-8, ru, ru.utf-8, sk, sk.utf-8, sl, sl.utf-8, sv, sv.utf-8, tr, tr.utf-8, utf8mb4, zh, zh-tw, zh-tw.big5, zh-tw.big5.utf-8, zh-tw.utf-8, zh.gbk, zh.gbk.utf-8, zh.utf-8 |
指定指定的NFS磁碟區是否啟用LDAP。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | False |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
未指定資源所在的地理位置,將會使用資源群組的位置。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
可供磁碟區使用的基本網路或標準功能。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | Basic |
| 接受的值: | Basic, Standard |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
特定磁碟區的應用程式特定放置規則支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
強制執行原則。
| 屬性 | 值 |
|---|---|
| 參數群組: | Backup Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
與磁碟區相關聯的鄰近放置群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
一組通訊協定類型、預設的 NFSv3、SMB 通訊協定的 CIFS 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
已要求重新配置此磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | VolumeRelocation Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
要移轉至 ANF 之磁碟區的完整路徑。 移轉磁碟區需要支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Replication Arguments |
遠端磁碟區的資源標識碼。
| 屬性 | 值 |
|---|---|
| 參數群組: | Replication Arguments |
磁碟區復寫另一端的遠端區域。
| 屬性 | 值 |
|---|---|
| 參數群組: | Replication Arguments |
Schedule.
| 屬性 | 值 |
|---|---|
| 參數群組: | Replication Arguments |
| 接受的值: | _10minutely, daily, hourly |
訂單索引。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
磁碟區的安全性樣式預設為 ntfs,預設為雙重通訊協定或 CIFS 通訊協定。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | unix |
| 接受的值: | ntfs, unix |
ServiceLevel.
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | Premium |
| 接受的值: | Premium, Standard, StandardZRS, Ultra |
啟用SMB共用的存取型列舉共享屬性。 僅適用於SMB/DualProtocol磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Disabled, Enabled |
為smb磁碟區啟用持續可用的共享屬性。 僅適用於SMB磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | False |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
啟用內部 smb3 資料的加密。 僅適用於SMB/DualProtocol磁碟區。 與 Swagger 版本 2020-08-01 或更新版本搭配使用。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | False |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
啟用SMB共用不可瀏覽的屬性。 僅適用於SMB/DualProtocol磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Disabled, Enabled |
如果啟用 (true), 磁碟區將包含唯讀快照集目錄,可提供每個磁碟區快照集的存取權(預設值為 true)。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | True |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
用來識別快照集的資源標識碼。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
快照集原則 ResourceId。
| 屬性 | 值 |
|---|---|
| 參數群組: | Snapshot Arguments |
委派子網的 Azure 資源 URI。 必須具有委派Microsoft.NetApp/volumes。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | default |
資源標籤。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
MiB/s 中可透過此磁碟區達到的最大輸送量,這隻會接受為手動 qosType 磁碟區的輸入。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
以八進位 4 位數格式接受的 NFS 磁碟區 UNIX 許可權。 第一個數字會選取設定的使用者標識元(4)、設定群組標識碼 (2) 和黏性 (1) 屬性。 第二位數會選取檔案擁有者的許可權:讀取 (4)、寫入 (2) 和執行 (1)。 第三個會選取相同群組中其他用戶的許可權。 群組中其他使用者的第四個。 0755 - 提供擁有者讀取/寫入/執行許可權給群組和其他使用者。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
唯讀存取權。 存在以提供回溯相容性,請改用 --export-policy-rules (--rules)。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
讀取和寫入存取權。 存在以提供回溯相容性,請改用 --export-policy-rules --rules。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy backwards compatibility Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
GiB 中文件系統允許的記憶體配額上限。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 預設值: | 100 |
磁碟區規格名稱是磁碟區群組中特定磁碟區的應用程式特定指定或標識元,例如數據、記錄。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
此磁碟區的類型為何。 針對跨區域復寫中的目的地磁碟區,請將類型設定為 DataProtection。 若要建立複製磁碟區,請將類型設定為ShortTermClone。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
可用性區域支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume delete
刪除指定的磁碟區。
az netappfiles volume delete [--account-name]
[--force --force-delete {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
[--yes]
範例
刪除 ANF 磁碟區
az netappfiles volume delete -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
強制刪除磁碟區的選項。 將會清除連線到特定磁碟區的資源。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿提示確認。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume delete (netappfiles-preview 擴充功能)
此命令處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
刪除指定的磁碟區。
az netappfiles volume delete [--account-name]
[--force --force-delete {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
[--yes]
範例
刪除 ANF 磁碟區
az netappfiles volume delete -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
強制刪除磁碟區的選項。 將會清除連線到特定磁碟區的資源。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿提示確認。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume finalize-relocation
完成磁碟區重新配置並清除舊磁碟區。
az netappfiles volume finalize-relocation [--account-name]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
範例
完成磁碟區重新配置並清除舊磁碟區
az netappfiles volume finalize-relocation -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume get-groupid-list-for-ldapuser
傳回特定LDAP使用者的群組標識碼清單。
az netappfiles volume get-groupid-list-for-ldapuser --username
[--account-name]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
範例
取得LDAP使用者 myuser 的群組標識碼清單
az netappfiles volume get-groupid-list-for-ldapuser -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname --username myuser
必要參數
需要用戶名稱,才能擷取使用者所屬的群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume list
列出容量集區內的所有磁碟區。
az netappfiles volume list --account-name
--pool-name
--resource-group
[--max-items]
[--next-token]
範例
列出 ANF 磁碟區的所有子卷
az netappfiles subvolume list -g mygroup --account-name myaccountname --pool-name mypoolname --volume-name myvolumename
必要參數
NetApp 帳戶的名稱。
容量集區的名稱。
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
命令輸出中要傳回的項目總數。 如果可用的專案總數超過指定的值,則會在命令的輸出中提供令牌。 若要繼續分頁,請在後續命令的 --next-token 自變數中提供令牌值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Pagination Arguments |
標記,指定要開始分頁的位置。 這是先前截斷回應中的令牌值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Pagination Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume list (netappfiles-preview 擴充功能)
此命令處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
列出容量集區內的所有磁碟區。
az netappfiles volume list --account-name
--pool-name
--resource-group
[--max-items]
[--next-token]
範例
列出 ANF 磁碟區的所有子卷
az netappfiles subvolume list -g mygroup --account-name myaccountname --pool-name mypoolname --volume-name myvolumename
必要參數
NetApp 帳戶的名稱。
容量集區的名稱。
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
命令輸出中要傳回的項目總數。 如果可用的專案總數超過指定的值,則會在命令的輸出中提供令牌。 若要繼續分頁,請在後續命令的 --next-token 自變數中提供令牌值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Pagination Arguments |
標記,指定要開始分頁的位置。 這是先前截斷回應中的令牌值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Pagination Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume list-quota-report
此命令處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
傳回磁碟區配額的報告。
az netappfiles volume list-quota-report [--account-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
[--volume-name]
範例
ListQuotaReport
az netappfiles volume list-quota-report --resource-group myRG --account-name account1 --pool-name pool1 --volume-name volume1
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume migrate-backup
將磁碟區下的備份移轉至備份保存庫。
az netappfiles volume migrate-backup --backup-vault-id
[--account-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
[--volume-name]
必要參數
備份保存庫的 ResourceId。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume migrate-backup (netappfiles-preview 擴充功能)
此命令處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
將磁碟區下的備份移轉至備份保存庫。
az netappfiles volume migrate-backup --backup-vault-id
[--account-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
[--volume-name]
必要參數
備份保存庫的 ResourceId。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume pool-change
將磁碟區移至另一個集區。
az netappfiles volume pool-change --new-pool-resource-id
[--account-name]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
範例
這會變更磁碟區 myvolname 的集區,從 mypoolname 變更為標識符為 mynewresourceid 的集區
az netappfiles volume pool-change -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname --new-pool-resource-id mynewresourceid
必要參數
要移動磁碟區之集區的資源標識碼。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume populate-availability-zone
此作業會填入磁碟區的可用性區域資訊。
az netappfiles volume populate-availability-zone [--account-name]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
範例
此作業將會填入磁碟區 myvolname 的可用性區域資訊
az netappfiles volume populate-availability-zone -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume relocate
將磁碟區重新放置到新的戳記。
az netappfiles volume relocate [--account-name]
[--creation-token]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
範例
將磁碟區重新放置到新的戳記
az netappfiles volume relocate -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
控制裝入點名稱之磁碟區的新建立令牌。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume reset-cifs-pw
從磁碟區重設 cifs 密碼。
az netappfiles volume reset-cifs-pw [--account-name]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
範例
重設磁碟區的 CIFS 密碼
az netappfiles volume reset-cifs-pw -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume revert
將磁碟區還原為本文中指定的快照集。
az netappfiles volume revert [--account-name]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--snapshot-id]
[--subscription]
範例
將磁碟區還原為其其中一個快照集
az netappfiles volume revert -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname --snapshot-id 9760acf5-4638-11e7-9bdb-020073ca3333
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
快照集的資源標識碼。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume revert-relocation
還原磁碟區重新配置程式、清除新的磁碟區,並開始使用先前現有的磁碟區。
az netappfiles volume revert-relocation [--account-name]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
[--yes]
範例
還原磁碟區重新配置程式、清除新的磁碟區,並使用先前現有的磁碟區開始
az netappfiles volume revert-relocation -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿提示確認。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume show
取得指定磁碟區的詳細數據。
az netappfiles volume show [--account-name]
[--ids]
[--name --volume-name]
[--pool-name]
[--resource-group]
[--subscription]
範例
傳回指定 ANF 磁碟區的屬性
az netappfiles volume show -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume show (netappfiles-preview 擴充功能)
此命令處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
取得指定磁碟區的詳細數據。
az netappfiles volume show [--account-name]
[--ids]
[--name --volume-name]
[--pool-name]
[--resource-group]
[--subscription]
範例
傳回指定 ANF 磁碟區的屬性
az netappfiles volume show -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume splitclonefromparent
將複製磁碟區轉換成獨立磁碟區的分割作業。
az netappfiles volume splitclonefromparent [--account-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
[--volume-name]
範例
Volumes_SplitClone
az netappfiles volume splitclonefromparent --resource-group myRG --account-name account1 --pool-name pool1 --volume-name volume1
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume splitclonefromparent (netappfiles-preview 擴充功能)
此命令處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
將複製磁碟區轉換成獨立磁碟區的分割作業。
az netappfiles volume splitclonefromparent [--account-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
[--volume-name]
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume update
更新容量集區內的指定磁碟區。
az netappfiles volume update [--account-name]
[--add]
[--backup-policy-id]
[--backup-vault-id]
[--ca-retrieval-policy --cool-access-retrieval-policy {Default, Never, OnRead}]
[--ca-tiering-policy --cool-access-tiering-policy {Auto, SnapshotOnly}]
[--capacity-pool-resource-id --pool-resource-id]
[--cool-access {0, 1, f, false, n, no, t, true, y, yes}]
[--coolness-period]
[--default-group-quota --default-group-quota-in-ki-bs]
[--default-quota-enabled --is-def-quota-enabled --is-default-quota-enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--default-user-quota --default-user-quota-in-ki-bs]
[--delete-base-snapshot {0, 1, f, false, n, no, t, true, y, yes}]
[--enable-subvolumes {Disabled, Enabled}]
[--encryption-key-source {Microsoft.KeyVault, Microsoft.NetApp}]
[--export-policy-rules --rules]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--key-vault-private-endpoint-resource-id --kv-private-endpoint-id]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--placement-rules]
[--policy-enforced {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--ppg --proximity-placement-group]
[--protocol-types]
[--relocation-requested {0, 1, f, false, n, no, t, true, y, yes}]
[--remote-volume-id]
[--remote-volume-region]
[--remote-volume-resource-id]
[--remove]
[--replication-schedule {_10minutely, daily, hourly}]
[--resource-group]
[--service-level {Flexible, Premium, Standard, StandardZRS, Ultra}]
[--set]
[--smb-access-based-enumeration --smb-access-enumeration {Disabled, Enabled}]
[--smb-ca --smb-continuously-available --smb-continuously-avl {0, 1, f, false, n, no, t, true, y, yes}]
[--smb-encryption {0, 1, f, false, n, no, t, true, y, yes}]
[--smb-non-browsable {Disabled, Enabled}]
[--snapshot-dir-visible --snapshot-directory-visible {0, 1, f, false, n, no, t, true, y, yes}]
[--snapshot-policy-id]
[--subnet --subnet-id]
[--subscription]
[--tags]
[--throughput-mibps]
[--unix-permissions]
[--usage-threshold]
[--vnet]
[--volume-spec-name]
範例
更新 ANF 磁碟區
az netappfiles volume update -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname --service-level ultra --usage-threshold 100 --tags mytag=specialvol
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
藉由指定路徑和索引鍵值組,將物件加入物件清單。 範例: --add property.listProperty <key=value, string or JSON string>.
| 屬性 | 值 |
|---|---|
| 參數群組: | Generic Update Arguments |
備份原則資源標識碼。
| 屬性 | 值 |
|---|---|
| 參數群組: | Backup Arguments |
備份保存庫資源標識碼。
| 屬性 | 值 |
|---|---|
| 參數群組: | Backup Arguments |
CoolAccessRetrievalPolicy 會根據已啟用非經常性存取的磁碟區讀取模式,決定從非經常性存取層到標準記憶體的數據擷取行為。 此欄位的可能值為:預設值 - 資料會從非經常性存取層提取到隨機讀取的標準記憶體。 此原則是預設值。 OnRead - 所有用戶端驅動數據讀取都會從非經常性存取層提取到循序和隨機讀取的標準記憶體。 永不 - 不會從非經常性存取層提取任何用戶端驅動數據到標準記憶體。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Default, Never, OnRead |
CoolAccessTieringPolicy 會決定哪些冷數據區塊會移至非經常性存取層。 此欄位的可能值為:自動 - 將快照集復本和作用中文件系統中的冷用戶數據區塊移至非經常性存取層層。 此原則是預設值。 SnapshotOnly - 將與作用中文件系統沒有關聯的磁碟區快照集用戶數據區塊移至非經常性存取層。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Auto, SnapshotOnly |
集區資源標識碼,用於透過磁碟區群組建立磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
指定是否為磁碟區啟用非經常性存取(階層處理)。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
指定用戶端不會存取資料的天數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
KiB 中磁碟區的預設群組配額。 如果已設定 isDefaultQuotaEnabled,則會套用 4 KiBs 的最小值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
指定磁碟區是否啟用預設配額。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
KiBs 中磁碟區的預設使用者配額。 如果已設定 isDefaultQuotaEnabled,則會套用 4 KiBs 的最小值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
如果已啟用 (true),則磁碟區建立的快照集會在磁碟區建立作業完成之後自動刪除。 預設為 False。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
指出磁碟區上是否啟用子捲作業的旗標。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Disabled, Enabled |
用來加密磁碟區中數據的金鑰來源。 如果 NetApp 帳戶具有 encryption.keySource = 'Microsoft.KeyVault',則適用。 可能的值為:『Microsoft.NetApp,Microsoft.KeyVault』。
| 屬性 | 值 |
|---|---|
| 參數群組: | CMK Encryption Arguments |
| 接受的值: | Microsoft.KeyVault, Microsoft.NetApp |
匯出原則規則支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy Arguments |
使用 'set' 或 'add' 時,請保留字串常值,而不是嘗試轉換成 JSON。
| 屬性 | 值 |
|---|---|
| 參數群組: | Generic Update Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
KeyVault 私人端點的資源標識碼。 它必須位於與磁碟區相同的 VNET 中。 只有在 encryptionKeySource = 'Microsoft.KeyVault' 時才適用。
| 屬性 | 值 |
|---|---|
| 參數群組: | CMK Encryption Arguments |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
特定磁碟區的應用程式特定放置規則支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
強制執行原則。
| 屬性 | 值 |
|---|---|
| 參數群組: | Backup Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
與磁碟區相關聯的鄰近放置群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
一組通訊協定類型、預設的 NFSv3、SMB 通訊協定的 CIFS 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
已要求重新配置此磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | VolumeRelocation Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
遠端磁碟區的資源標識碼。
| 屬性 | 值 |
|---|---|
| 參數群組: | Replication Arguments |
磁碟區復寫另一端的遠端區域。
| 屬性 | 值 |
|---|---|
| 參數群組: | Replication Arguments |
選項「--remote-volume-resource-id」已被棄用,將於預定於 2026 年 5 月的下一個重大變更版本(2.86.0)中移除。
遠端磁碟區的資源標識碼。
| 屬性 | 值 |
|---|---|
| 參數群組: | Replication Arguments |
從清單中移除屬性或專案。 範例: --remove property.list <indexToRemove> 或 --remove propertyToRemove。
| 屬性 | 值 |
|---|---|
| 參數群組: | Generic Update Arguments |
Schedule.
| 屬性 | 值 |
|---|---|
| 參數群組: | Replication Arguments |
| 接受的值: | _10minutely, daily, hourly |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
ServiceLevel.
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Flexible, Premium, Standard, StandardZRS, Ultra |
指定要設定的屬性路徑和值,以更新物件。 範例: --set property1.property2=<value>.
| 屬性 | 值 |
|---|---|
| 參數群組: | Generic Update Arguments |
啟用SMB共用的存取型列舉共享屬性。 僅適用於SMB/DualProtocol磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Disabled, Enabled |
為smb磁碟區啟用持續可用的共享屬性。 僅適用於SMB磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
啟用內部 smb3 資料的加密。 僅適用於SMB/DualProtocol磁碟區。 與 Swagger 版本 2020-08-01 或更新版本搭配使用。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
啟用SMB共用不可瀏覽的屬性。 僅適用於SMB/DualProtocol磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Disabled, Enabled |
如果啟用 (true), 磁碟區將包含唯讀快照集目錄,可提供每個磁碟區快照集的存取權(預設值為 true)。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
快照集原則 ResourceId。
| 屬性 | 值 |
|---|---|
| 參數群組: | Snapshot Arguments |
委派子網的 Azure 資源 URI。 必須具有委派Microsoft.NetApp/volumes。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源標籤。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
MiB/s 中可透過此磁碟區達到的最大輸送量,這隻會接受為手動 qosType 磁碟區的輸入。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
以八進位 4 位數格式接受的 NFS 磁碟區 UNIX 許可權。 第一個數字會選取設定的使用者標識元(4)、設定群組標識碼 (2) 和黏性 (1) 屬性。 第二位數會選取檔案擁有者的許可權:讀取 (4)、寫入 (2) 和執行 (1)。 第三個會選取相同群組中其他用戶的許可權。 群組中其他使用者的第四個。 0755 - 提供擁有者讀取/寫入/執行許可權給群組和其他使用者。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
GiB 中文件系統允許的記憶體配額上限。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
vnet 的名稱或資源標識碼。 如果您想要在其他資源群組或訂用帳戶中使用 vnet,請提供資源識別碼,而不是 vnet 的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
磁碟區規格名稱是磁碟區群組中特定磁碟區的應用程式特定指定或標識元,例如數據、記錄。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume update (netappfiles-preview 擴充功能)
此命令處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus
更新容量集區內的指定磁碟區。
az netappfiles volume update [--account-name]
[--add]
[--avs-data-store {Disabled, Enabled}]
[--backup-policy-id]
[--backup-vault-id]
[--ca-retrieval-policy --cool-access-retrieval-policy {Default, Never, OnRead}]
[--capacity-pool-resource-id --pool-resource-id]
[--cool-access {0, 1, f, false, n, no, t, true, y, yes}]
[--coolness-period]
[--creation-token]
[--default-group-quota --default-group-quota-in-ki-bs]
[--default-quota-enabled --is-def-quota-enabled --is-default-quota-enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--default-user-quota --default-user-quota-in-ki-bs]
[--delete-base-snapshot {0, 1, f, false, n, no, t, true, y, yes}]
[--enable-subvolumes {Disabled, Enabled}]
[--encryption-key-source {Microsoft.KeyVault, Microsoft.NetApp}]
[--endpoint-type {dst, src}]
[--export-policy-rules --rules]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--is-large-volume {0, 1, f, false, n, no, t, true, y, yes}]
[--is-restoring {0, 1, f, false, n, no, t, true, y, yes}]
[--key-vault-private-endpoint-resource-id --kv-private-endpoint-id]
[--language {ar, ar.utf-8, c, c.utf-8, cs, cs.utf-8, da, da.utf-8, de, de.utf-8, en, en-us, en-us.utf-8, en.utf-8, es, es.utf-8, fi, fi.utf-8, fr, fr.utf-8, he, he.utf-8, hr, hr.utf-8, hu, hu.utf-8, it, it.utf-8, ja, ja-jp.932, ja-jp.932.utf-8, ja-jp.pck, ja-jp.pck-v2, ja-jp.pck-v2.utf-8, ja-jp.pck.utf-8, ja-v1, ja-v1.utf-8, ja.utf-8, ko, ko.utf-8, nl, nl.utf-8, no, no.utf-8, pl, pl.utf-8, pt, pt.utf-8, ro, ro.utf-8, ru, ru.utf-8, sk, sk.utf-8, sl, sl.utf-8, sv, sv.utf-8, tr, tr.utf-8, utf8mb4, zh, zh-tw, zh-tw.big5, zh-tw.big5.utf-8, zh-tw.utf-8, zh.gbk, zh.gbk.utf-8, zh.utf-8}]
[--ldap-enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--name --volume-name]
[--network-features {Basic, Basic_Standard, Standard, Standard_Basic}]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--placement-rules]
[--policy-enforced {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--ppg --proximity-placement-group]
[--protocol-types]
[--relocation-requested {0, 1, f, false, n, no, t, true, y, yes}]
[--remote-volume-region]
[--remove]
[--replication-schedule {_10minutely, daily, hourly}]
[--resource-group]
[--security-style {ntfs, unix}]
[--service-level {Premium, Standard, StandardZRS, Ultra}]
[--set]
[--smb-access-based-enumeration --smb-access-enumeration {Disabled, Enabled}]
[--smb-ca --smb-continuously-available --smb-continuously-avl {0, 1, f, false, n, no, t, true, y, yes}]
[--smb-encryption {0, 1, f, false, n, no, t, true, y, yes}]
[--smb-non-browsable {Disabled, Enabled}]
[--snapshot-dir-visible --snapshot-directory-visible {0, 1, f, false, n, no, t, true, y, yes}]
[--snapshot-policy-id]
[--subnet --subnet-id]
[--subscription]
[--tags]
[--throughput-mibps]
[--unix-permissions]
[--usage-threshold]
[--vnet]
[--volume-spec-name]
[--volume-type]
範例
更新 ANF 磁碟區
az netappfiles volume update -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname --service-level ultra --usage-threshold 100 --tags mytag=specialvol
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
藉由指定路徑和索引鍵值組,將物件加入物件清單。 範例: --add property.listProperty <key=value, string or JSON string>.
| 屬性 | 值 |
|---|---|
| 參數群組: | Generic Update Arguments |
指定磁碟區是否已啟用 Azure VMware 解決方案 (AVS) 資料存放區用途。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Disabled, Enabled |
備份原則資源標識碼。
| 屬性 | 值 |
|---|---|
| 參數群組: | Backup Arguments |
備份保存庫資源標識碼。
| 屬性 | 值 |
|---|---|
| 參數群組: | Backup Arguments |
CoolAccessRetrievalPolicy 會根據已啟用非經常性存取的磁碟區讀取模式,決定從非經常性存取層到標準記憶體的數據擷取行為。 此欄位的可能值為:預設值 - 資料會從非經常性存取層提取到隨機讀取的標準記憶體。 此原則是預設值。 OnRead - 所有用戶端驅動數據讀取都會從非經常性存取層提取到循序和隨機讀取的標準記憶體。 永不 - 不會從非經常性存取層提取任何用戶端驅動數據到標準記憶體。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Default, Never, OnRead |
集區資源標識碼,用於透過磁碟區群組建立磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
指定是否為磁碟區啟用非經常性存取(階層處理)。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
指定用戶端不會存取資料的天數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
磁碟區的唯一檔案路徑。 建立掛接目標時使用。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
KiB 中磁碟區的預設群組配額。 如果已設定 isDefaultQuotaEnabled,則會套用 4 KiBs 的最小值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
指定磁碟區是否啟用預設配額。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
KiBs 中磁碟區的預設使用者配額。 如果已設定 isDefaultQuotaEnabled,則會套用 4 KiBs 的最小值。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
如果已啟用 (true),則磁碟區建立的快照集會在磁碟區建立作業完成之後自動刪除。 預設為 False。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
指出磁碟區上是否啟用子捲作業的旗標。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Disabled, Enabled |
用來加密磁碟區中數據的金鑰來源。 如果 NetApp 帳戶具有 encryption.keySource = 'Microsoft.KeyVault',則適用。 可能的值為:『Microsoft.NetApp,Microsoft.KeyVault』。
| 屬性 | 值 |
|---|---|
| 參數群組: | CMK Encryption Arguments |
| 接受的值: | Microsoft.KeyVault, Microsoft.NetApp |
指出本機磁碟區是否為磁碟區復寫的來源或目的地。
| 屬性 | 值 |
|---|---|
| 參數群組: | Replication Arguments |
| 接受的值: | dst, src |
匯出原則規則支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | ExportPolicy Arguments |
使用 'set' 或 'add' 時,請保留字串常值,而不是嘗試轉換成 JSON。
| 屬性 | 值 |
|---|---|
| 參數群組: | Generic Update Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
指定磁碟區是大型磁碟區還是一般磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
Restoring.
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
KeyVault 私人端點的資源標識碼。 它必須位於與磁碟區相同的 VNET 中。 只有在 encryptionKeySource = 'Microsoft.KeyVault' 時才適用。
| 屬性 | 值 |
|---|---|
| 參數群組: | CMK Encryption Arguments |
Language.
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | ar, ar.utf-8, c, c.utf-8, cs, cs.utf-8, da, da.utf-8, de, de.utf-8, en, en-us, en-us.utf-8, en.utf-8, es, es.utf-8, fi, fi.utf-8, fr, fr.utf-8, he, he.utf-8, hr, hr.utf-8, hu, hu.utf-8, it, it.utf-8, ja, ja-jp.932, ja-jp.932.utf-8, ja-jp.pck, ja-jp.pck-v2, ja-jp.pck-v2.utf-8, ja-jp.pck.utf-8, ja-v1, ja-v1.utf-8, ja.utf-8, ko, ko.utf-8, nl, nl.utf-8, no, no.utf-8, pl, pl.utf-8, pt, pt.utf-8, ro, ro.utf-8, ru, ru.utf-8, sk, sk.utf-8, sl, sl.utf-8, sv, sv.utf-8, tr, tr.utf-8, utf8mb4, zh, zh-tw, zh-tw.big5, zh-tw.big5.utf-8, zh-tw.utf-8, zh.gbk, zh.gbk.utf-8, zh.utf-8 |
指定指定的NFS磁碟區是否啟用LDAP。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
可供磁碟區使用的基本網路或標準功能。 隱藏我。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Basic, Basic_Standard, Standard, Standard_Basic |
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
特定磁碟區的應用程式特定放置規則支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
強制執行原則。
| 屬性 | 值 |
|---|---|
| 參數群組: | Backup Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
與磁碟區相關聯的鄰近放置群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
一組通訊協定類型、預設的 NFSv3、SMB 通訊協定的 CIFS 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
已要求重新配置此磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | VolumeRelocation Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
磁碟區復寫另一端的遠端區域。
| 屬性 | 值 |
|---|---|
| 參數群組: | Replication Arguments |
從清單中移除屬性或專案。 範例: --remove property.list <indexToRemove> 或 --remove propertyToRemove。
| 屬性 | 值 |
|---|---|
| 參數群組: | Generic Update Arguments |
Schedule.
| 屬性 | 值 |
|---|---|
| 參數群組: | Replication Arguments |
| 接受的值: | _10minutely, daily, hourly |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
磁碟區的安全性樣式預設為 ntfs,預設為雙重通訊協定或 CIFS 通訊協定。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | ntfs, unix |
ServiceLevel.
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Premium, Standard, StandardZRS, Ultra |
指定要設定的屬性路徑和值,以更新物件。 範例: --set property1.property2=<value>.
| 屬性 | 值 |
|---|---|
| 參數群組: | Generic Update Arguments |
啟用SMB共用的存取型列舉共享屬性。 僅適用於SMB/DualProtocol磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Disabled, Enabled |
為smb磁碟區啟用持續可用的共享屬性。 僅適用於SMB磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
啟用內部 smb3 資料的加密。 僅適用於SMB/DualProtocol磁碟區。 與 Swagger 版本 2020-08-01 或更新版本搭配使用。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
啟用SMB共用不可瀏覽的屬性。 僅適用於SMB/DualProtocol磁碟區。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | Disabled, Enabled |
如果啟用 (true), 磁碟區將包含唯讀快照集目錄,可提供每個磁碟區快照集的存取權(預設值為 true)。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
快照集原則 ResourceId。
| 屬性 | 值 |
|---|---|
| 參數群組: | Snapshot Arguments |
委派子網的 Azure 資源 URI。 必須具有委派Microsoft.NetApp/volumes。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源標籤。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。
| 屬性 | 值 |
|---|---|
| 參數群組: | Body Arguments |
MiB/s 中可透過此磁碟區達到的最大輸送量,這隻會接受為手動 qosType 磁碟區的輸入。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
以八進位 4 位數格式接受的 NFS 磁碟區 UNIX 許可權。 第一個數字會選取設定的使用者標識元(4)、設定群組標識碼 (2) 和黏性 (1) 屬性。 第二位數會選取檔案擁有者的許可權:讀取 (4)、寫入 (2) 和執行 (1)。 第三個會選取相同群組中其他用戶的許可權。 群組中其他使用者的第四個。 0755 - 提供擁有者讀取/寫入/執行許可權給群組和其他使用者。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
GiB 中文件系統允許的記憶體配額上限。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
vnet 的名稱或資源標識碼。 如果您想要在其他資源群組或訂用帳戶中使用 vnet,請提供資源識別碼,而不是 vnet 的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
磁碟區規格名稱是磁碟區群組中特定磁碟區的應用程式特定指定或標識元,例如數據、記錄。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
此磁碟區的類型為何。 針對跨區域復寫中的目的地磁碟區,請將類型設定為 DataProtection。
| 屬性 | 值 |
|---|---|
| 參數群組: | Properties Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume wait
將 CLI 置於等候狀態,直到符合條件為止。
az netappfiles volume wait [--account-name]
[--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--name --volume-name]
[--pool-name]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請等候在 'Succeeded' 使用 'provisioningState' 建立。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | False |
等到條件符合自定義 JMESPath 查詢為止。 例如 provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running']。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
等到刪除為止。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | False |
等候資源存在。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | False |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
輪詢間隔以秒為單位。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | 30 |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
以秒為單位的等候上限。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | 3600 |
等到 provisioningState 更新為 'Succeeded'。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | False |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az netappfiles volume wait (netappfiles-preview 擴充功能)
將 CLI 置於等候狀態,直到符合條件為止。
az netappfiles volume wait [--account-name]
[--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--name --volume-name]
[--pool-name]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
NetApp 帳戶的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
請等候在 'Succeeded' 使用 'provisioningState' 建立。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | False |
等到條件符合自定義 JMESPath 查詢為止。 例如 provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running']。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
等到刪除為止。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | False |
等候資源存在。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | False |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
輪詢間隔以秒為單位。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | 30 |
磁碟區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
容量集區的名稱。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
| 屬性 | 值 |
|---|---|
| 參數群組: | Resource Id Arguments |
以秒為單位的等候上限。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | 3600 |
等到 provisioningState 更新為 'Succeeded'。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | False |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |