Budgets interface
予算を表すインターフェイス。
メソッド
| create |
予算を作成または更新する操作。 必要に応じて、コンカレンシー制御の形式として eTag を指定できます。 特定の予算の最新の eTag を取得するには、put 操作の前に get 操作を実行します。 |
| delete(string, string, Budgets |
予算を削除する操作。 |
| get(string, string, Budgets |
予算名でスコープの予算を取得します。 |
| list(string, Budgets |
定義されたスコープのすべての予算を一覧表示します。 |
メソッドの詳細
createOrUpdate(string, string, Budget, BudgetsCreateOrUpdateOptionalParams)
予算を作成または更新する操作。 必要に応じて、コンカレンシー制御の形式として eTag を指定できます。 特定の予算の最新の eTag を取得するには、put 操作の前に get 操作を実行します。
function createOrUpdate(scope: string, budgetName: string, parameters: Budget, options?: BudgetsCreateOrUpdateOptionalParams): Promise<Budget>
パラメーター
- scope
-
string
予算操作に関連付けられているスコープ。 これには、サブスクリプション スコープの '/subscriptions/{subscriptionId}/'、resourceGroup スコープの '/subscriptionId}/{subscriptionId}/resourceGroups/{resourceGroupName}' が含まれます。 '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/{billingAccountId}/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccount スコープの enrollmentAccountId}' '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope.
- budgetName
-
string
予算名。
- parameters
- Budget
予算の作成操作に指定されたパラメーター。
オプション パラメーター。
戻り値
Promise<Budget>
delete(string, string, BudgetsDeleteOptionalParams)
予算を削除する操作。
function delete(scope: string, budgetName: string, options?: BudgetsDeleteOptionalParams): Promise<void>
パラメーター
- scope
-
string
予算操作に関連付けられているスコープ。 これには、サブスクリプション スコープの '/subscriptions/{subscriptionId}/'、resourceGroup スコープの '/subscriptionId}/{subscriptionId}/resourceGroups/{resourceGroupName}' が含まれます。 '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/{billingAccountId}/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccount スコープの enrollmentAccountId}' '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope.
- budgetName
-
string
予算名。
- options
- BudgetsDeleteOptionalParams
オプション パラメーター。
戻り値
Promise<void>
get(string, string, BudgetsGetOptionalParams)
予算名でスコープの予算を取得します。
function get(scope: string, budgetName: string, options?: BudgetsGetOptionalParams): Promise<Budget>
パラメーター
- scope
-
string
予算操作に関連付けられているスコープ。 これには、サブスクリプション スコープの '/subscriptions/{subscriptionId}/'、resourceGroup スコープの '/subscriptionId}/{subscriptionId}/resourceGroups/{resourceGroupName}' が含まれます。 '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/{billingAccountId}/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccount スコープの enrollmentAccountId}' '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope.
- budgetName
-
string
予算名。
- options
- BudgetsGetOptionalParams
オプション パラメーター。
戻り値
Promise<Budget>
list(string, BudgetsListOptionalParams)
定義されたスコープのすべての予算を一覧表示します。
function list(scope: string, options?: BudgetsListOptionalParams): PagedAsyncIterableIterator<Budget, Budget[], PageSettings>
パラメーター
- scope
-
string
予算操作に関連付けられているスコープ。 これには、サブスクリプション スコープの '/subscriptions/{subscriptionId}/'、resourceGroup スコープの '/subscriptionId}/{subscriptionId}/resourceGroups/{resourceGroupName}' が含まれます。 '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/{billingAccountId}/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccount スコープの enrollmentAccountId}' '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope.
- options
- BudgetsListOptionalParams
オプション パラメーター。