共用方式為


CommitmentPlans interface

代表 CommitmentPlans 的介面。

方法

createOrUpdate(string, string, CommitmentPlan, CommitmentPlansCreateOrUpdateOptionalParams)

建立新的 Azure ML 承諾用量方案資源,或更新現有的資源。

get(string, string, CommitmentPlansGetOptionalParams)

依訂用帳戶、資源群組和名稱擷取 Azure ML 承諾用量方案。

list(CommitmentPlansListOptionalParams)

擷取訂用帳戶中的所有 Azure ML 承諾用量方案。

listInResourceGroup(string, CommitmentPlansListInResourceGroupOptionalParams)

擷取資源群組中的所有 Azure ML 承諾用量方案。

patch(string, string, CommitmentPlanPatchPayload, CommitmentPlansPatchOptionalParams)

修補現有的 Azure ML 承諾用量方案資源。

remove(string, string, CommitmentPlansRemoveOptionalParams)

拿掉現有的 Azure ML 承諾用量方案。

方法詳細資料

createOrUpdate(string, string, CommitmentPlan, CommitmentPlansCreateOrUpdateOptionalParams)

建立新的 Azure ML 承諾用量方案資源,或更新現有的資源。

function createOrUpdate(resourceGroupName: string, commitmentPlanName: string, createOrUpdatePayload: CommitmentPlan, options?: CommitmentPlansCreateOrUpdateOptionalParams): Promise<CommitmentPlan>

參數

resourceGroupName

string

資源組名。

commitmentPlanName

string

Azure ML 承諾用量方案名稱。

createOrUpdatePayload
CommitmentPlan

要建立或更新 Azure ML 承諾用量計劃的承載。

傳回

Promise<CommitmentPlan>

get(string, string, CommitmentPlansGetOptionalParams)

依訂用帳戶、資源群組和名稱擷取 Azure ML 承諾用量方案。

function get(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansGetOptionalParams): Promise<CommitmentPlan>

參數

resourceGroupName

string

資源組名。

commitmentPlanName

string

Azure ML 承諾用量方案名稱。

options
CommitmentPlansGetOptionalParams

選項參數。

傳回

Promise<CommitmentPlan>

list(CommitmentPlansListOptionalParams)

擷取訂用帳戶中的所有 Azure ML 承諾用量方案。

function list(options?: CommitmentPlansListOptionalParams): PagedAsyncIterableIterator<CommitmentPlan, CommitmentPlan[], PageSettings>

參數

options
CommitmentPlansListOptionalParams

選項參數。

傳回

listInResourceGroup(string, CommitmentPlansListInResourceGroupOptionalParams)

擷取資源群組中的所有 Azure ML 承諾用量方案。

function listInResourceGroup(resourceGroupName: string, options?: CommitmentPlansListInResourceGroupOptionalParams): PagedAsyncIterableIterator<CommitmentPlan, CommitmentPlan[], PageSettings>

參數

resourceGroupName

string

資源組名。

傳回

patch(string, string, CommitmentPlanPatchPayload, CommitmentPlansPatchOptionalParams)

修補現有的 Azure ML 承諾用量方案資源。

function patch(resourceGroupName: string, commitmentPlanName: string, patchPayload: CommitmentPlanPatchPayload, options?: CommitmentPlansPatchOptionalParams): Promise<CommitmentPlan>

參數

resourceGroupName

string

資源組名。

commitmentPlanName

string

Azure ML 承諾用量方案名稱。

patchPayload
CommitmentPlanPatchPayload

用來修補 Azure ML 承諾方案的承載。 只有標記和 SKU 可以修改現有的承諾用量方案。

options
CommitmentPlansPatchOptionalParams

選項參數。

傳回

Promise<CommitmentPlan>

remove(string, string, CommitmentPlansRemoveOptionalParams)

拿掉現有的 Azure ML 承諾用量方案。

function remove(resourceGroupName: string, commitmentPlanName: string, options?: CommitmentPlansRemoveOptionalParams): Promise<void>

參數

resourceGroupName

string

資源組名。

commitmentPlanName

string

Azure ML 承諾用量方案名稱。

options
CommitmentPlansRemoveOptionalParams

選項參數。

傳回

Promise<void>