Budgets interface
واجهة تمثل موازنات.
الأساليب
| create |
عملية إنشاء ميزانية أو تحديثها. يمكنك اختياريا توفير eTag إذا رغبت في ذلك كشكل من أشكال التحكم في التزامن. للحصول على أحدث eTag لميزانية معينة، قم بإجراء عملية الحصول قبل عملية وضعك. |
| delete(string, string, Budgets |
عملية حذف ميزانية. |
| get(string, string, Budgets |
الحصول على ميزانية النطاق حسب اسم الموازنة. |
| list(string, Budgets |
يسرد جميع الميزانيات للنطاق المحدد. |
تفاصيل الأسلوب
createOrUpdate(string, string, Budget, BudgetsCreateOrUpdateOptionalParams)
عملية إنشاء ميزانية أو تحديثها. يمكنك اختياريا توفير eTag إذا رغبت في ذلك كشكل من أشكال التحكم في التزامن. للحصول على أحدث eTag لميزانية معينة، قم بإجراء عملية الحصول قبل عملية وضعك.
function createOrUpdate(scope: string, budgetName: string, parameters: Budget, options?: BudgetsCreateOrUpdateOptionalParams): Promise<Budget>
المعلمات
- scope
-
string
النطاق المقترن بعمليات الموازنة. يتضمن ذلك '/subscriptions/{subscriptionId}/' لنطاق الاشتراك، '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' لنطاق resourceGroup، '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' لنطاق حساب الفوترة، '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' لنطاق القسم، '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}' لنطاق EnrollmentAccount، '/providers/Microsoft.Management/managementGroups/{managementGroupId}' لنطاق مجموعة الإدارة، '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' لنطاق billingProfile، 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' لنطاق invoiceSection.
- budgetName
-
string
اسم الموازنة.
- parameters
- Budget
المعلمات المتوفرة لعملية إنشاء الموازنة.
معلمات الخيارات.
المرتجعات
Promise<Budget>
delete(string, string, BudgetsDeleteOptionalParams)
عملية حذف ميزانية.
function delete(scope: string, budgetName: string, options?: BudgetsDeleteOptionalParams): Promise<void>
المعلمات
- scope
-
string
النطاق المقترن بعمليات الموازنة. يتضمن ذلك '/subscriptions/{subscriptionId}/' لنطاق الاشتراك، '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' لنطاق resourceGroup، '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' لنطاق حساب الفوترة، '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' لنطاق القسم، '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}' لنطاق EnrollmentAccount، '/providers/Microsoft.Management/managementGroups/{managementGroupId}' لنطاق مجموعة الإدارة، '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' لنطاق billingProfile، 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' لنطاق invoiceSection.
- budgetName
-
string
اسم الموازنة.
- options
- BudgetsDeleteOptionalParams
معلمات الخيارات.
المرتجعات
Promise<void>
get(string, string, BudgetsGetOptionalParams)
الحصول على ميزانية النطاق حسب اسم الموازنة.
function get(scope: string, budgetName: string, options?: BudgetsGetOptionalParams): Promise<Budget>
المعلمات
- scope
-
string
النطاق المقترن بعمليات الموازنة. يتضمن ذلك '/subscriptions/{subscriptionId}/' لنطاق الاشتراك، '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' لنطاق resourceGroup، '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' لنطاق حساب الفوترة، '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' لنطاق القسم، '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}' لنطاق EnrollmentAccount، '/providers/Microsoft.Management/managementGroups/{managementGroupId}' لنطاق مجموعة الإدارة، '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' لنطاق billingProfile، 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' لنطاق invoiceSection.
- budgetName
-
string
اسم الموازنة.
- options
- BudgetsGetOptionalParams
معلمات الخيارات.
المرتجعات
Promise<Budget>
list(string, BudgetsListOptionalParams)
يسرد جميع الميزانيات للنطاق المحدد.
function list(scope: string, options?: BudgetsListOptionalParams): PagedAsyncIterableIterator<Budget, Budget[], PageSettings>
المعلمات
- scope
-
string
النطاق المقترن بعمليات الموازنة. يتضمن ذلك '/subscriptions/{subscriptionId}/' لنطاق الاشتراك، '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' لنطاق resourceGroup، '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' لنطاق حساب الفوترة، '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' لنطاق القسم، '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}' لنطاق EnrollmentAccount، '/providers/Microsoft.Management/managementGroups/{managementGroupId}' لنطاق مجموعة الإدارة، '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' لنطاق billingProfile، 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' لنطاق invoiceSection.
- options
- BudgetsListOptionalParams
معلمات الخيارات.