VolumeQuotaRules interface
代表 VolumeQuotaRules 的介面。
方法
方法詳細資料
beginCreate(string, string, string, string, string, VolumeQuotaRule, VolumeQuotaRulesCreateOptionalParams)
在指定的磁碟區內建立指定的配額規則
function beginCreate(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, body: VolumeQuotaRule, options?: VolumeQuotaRulesCreateOptionalParams): Promise<SimplePollerLike<OperationState<VolumeQuotaRule>, VolumeQuotaRule>>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- accountName
-
string
NetApp 帳戶的名稱
- poolName
-
string
容量集區的名稱
- volumeName
-
string
磁碟區的名稱
- volumeQuotaRuleName
-
string
磁碟區配額規則的名稱
- body
- VolumeQuotaRule
作業主體中提供的配額規則物件。
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<VolumeQuotaRule>, VolumeQuotaRule>>
beginCreateAndWait(string, string, string, string, string, VolumeQuotaRule, VolumeQuotaRulesCreateOptionalParams)
在指定的磁碟區內建立指定的配額規則
function beginCreateAndWait(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, body: VolumeQuotaRule, options?: VolumeQuotaRulesCreateOptionalParams): Promise<VolumeQuotaRule>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- accountName
-
string
NetApp 帳戶的名稱
- poolName
-
string
容量集區的名稱
- volumeName
-
string
磁碟區的名稱
- volumeQuotaRuleName
-
string
磁碟區配額規則的名稱
- body
- VolumeQuotaRule
作業主體中提供的配額規則物件。
選項參數。
傳回
Promise<VolumeQuotaRule>
beginDelete(string, string, string, string, string, VolumeQuotaRulesDeleteOptionalParams)
刪除配額規則
function beginDelete(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, options?: VolumeQuotaRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- accountName
-
string
NetApp 帳戶的名稱
- poolName
-
string
容量集區的名稱
- volumeName
-
string
磁碟區的名稱
- volumeQuotaRuleName
-
string
磁碟區配額規則的名稱
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, string, string, VolumeQuotaRulesDeleteOptionalParams)
刪除配額規則
function beginDeleteAndWait(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, options?: VolumeQuotaRulesDeleteOptionalParams): Promise<void>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- accountName
-
string
NetApp 帳戶的名稱
- poolName
-
string
容量集區的名稱
- volumeName
-
string
磁碟區的名稱
- volumeQuotaRuleName
-
string
磁碟區配額規則的名稱
選項參數。
傳回
Promise<void>
beginUpdate(string, string, string, string, string, VolumeQuotaRulePatch, VolumeQuotaRulesUpdateOptionalParams)
修補配額規則
function beginUpdate(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, body: VolumeQuotaRulePatch, options?: VolumeQuotaRulesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VolumeQuotaRule>, VolumeQuotaRule>>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- accountName
-
string
NetApp 帳戶的名稱
- poolName
-
string
容量集區的名稱
- volumeName
-
string
磁碟區的名稱
- volumeQuotaRuleName
-
string
磁碟區配額規則的名稱
- body
- VolumeQuotaRulePatch
作業主體中提供的配額規則物件。
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<VolumeQuotaRule>, VolumeQuotaRule>>
beginUpdateAndWait(string, string, string, string, string, VolumeQuotaRulePatch, VolumeQuotaRulesUpdateOptionalParams)
修補配額規則
function beginUpdateAndWait(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, body: VolumeQuotaRulePatch, options?: VolumeQuotaRulesUpdateOptionalParams): Promise<VolumeQuotaRule>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- accountName
-
string
NetApp 帳戶的名稱
- poolName
-
string
容量集區的名稱
- volumeName
-
string
磁碟區的名稱
- volumeQuotaRuleName
-
string
磁碟區配額規則的名稱
- body
- VolumeQuotaRulePatch
作業主體中提供的配額規則物件。
選項參數。
傳回
Promise<VolumeQuotaRule>
get(string, string, string, string, string, VolumeQuotaRulesGetOptionalParams)
取得指定配額規則的詳細數據
function get(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, volumeQuotaRuleName: string, options?: VolumeQuotaRulesGetOptionalParams): Promise<VolumeQuotaRule>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- accountName
-
string
NetApp 帳戶的名稱
- poolName
-
string
容量集區的名稱
- volumeName
-
string
磁碟區的名稱
- volumeQuotaRuleName
-
string
磁碟區配額規則的名稱
選項參數。
傳回
Promise<VolumeQuotaRule>
listByVolume(string, string, string, string, VolumeQuotaRulesListByVolumeOptionalParams)
列出與磁碟區相關聯的所有配額規則
function listByVolume(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: VolumeQuotaRulesListByVolumeOptionalParams): PagedAsyncIterableIterator<VolumeQuotaRule, VolumeQuotaRule[], PageSettings>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- accountName
-
string
NetApp 帳戶的名稱
- poolName
-
string
容量集區的名稱
- volumeName
-
string
磁碟區的名稱
選項參數。