az vmware datastore disk-pool-volume

注意

此參考是 Azure CLI 的 vmware 擴充功能的一部分 (2.51.0 版或更高版本)。 擴充功能會在您第一次執行 az vmware datastore disk-pool-volume 命令時自動安裝。 深入了解擴充功能。

使用 Microsoft 在私人雲端叢集中建立 VMFS 資料存放區。儲存體Pool 提供的 iSCSI 目標。

命令

名稱 Description 類型 狀態
az vmware datastore disk-pool-volume create

使用 Microsoft 在私人雲端叢集中建立 VMFS 資料存放區。儲存體Pool 提供的 iSCSI 目標。

副檔名 GA

az vmware datastore disk-pool-volume create

使用 Microsoft 在私人雲端叢集中建立 VMFS 資料存放區。儲存體Pool 提供的 iSCSI 目標。

az vmware datastore disk-pool-volume create --cluster
                                            --datastore-name
                                            --lun-name
                                            --private-cloud
                                            --resource-group
                                            --target-id
                                            [--mount-option {ATTACH, MOUNT}]
                                            [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]

必要參數

--cluster --cluster-name

私人雲端中的叢集名稱。

--datastore-name --name -n

私人雲端叢集中資料存放區的名稱。

--lun-name

要用於資料存放區的 LUN 名稱。

--private-cloud -c

私人雲端的名稱。

--resource-group -g

資源組名。 您可以使用 來設定預設群組 az configure --defaults group=<name>

--target-id

iSCSI 目標的 Azure 資源識別碼。

選擇性參數

--mount-option

描述 LUN 必須掛接為數據存放區或附加為 LUN 的模式。

接受的值: ATTACH, MOUNT
預設值: MOUNT
--no-wait

請勿等候長時間執行的作業完成。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
預設值: json
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或識別碼。 您可以使用 來設定預設訂用 az account set -s NAME_OR_ID 帳戶。

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。