Budgets interface
Bütçeleri temsil eden arabirim.
Yöntemler
| create |
Bütçe oluşturma veya güncelleştirme işlemi. İsteğe bağlı olarak eşzamanlılık denetimi biçimi olarak istenirse bir eTag sağlayabilirsiniz. Belirli bir bütçe için en son eTag'i edinmek için, yerleştirme işleminizden önce bir alma işlemi gerçekleştirin. |
| delete(string, string, Budgets |
Bütçeyi silme işlemi. |
| get(string, string, Budgets |
Kapsamın bütçesini bütçe adına göre alır. |
| list(string, Budgets |
Tanımlanan kapsam için tüm bütçeleri listeler. |
Yöntem Ayrıntıları
createOrUpdate(string, string, Budget, BudgetsCreateOrUpdateOptionalParams)
Bütçe oluşturma veya güncelleştirme işlemi. İsteğe bağlı olarak eşzamanlılık denetimi biçimi olarak istenirse bir eTag sağlayabilirsiniz. Belirli bir bütçe için en son eTag'i edinmek için, yerleştirme işleminizden önce bir alma işlemi gerçekleştirin.
function createOrUpdate(scope: string, budgetName: string, parameters: Budget, options?: BudgetsCreateOrUpdateOptionalParams): Promise<Budget>
Parametreler
- scope
-
string
Bütçe işlemleriyle ilişkili kapsam. Buna abonelik kapsamı için '/subscriptions/{subscriptionId}/' dahildir, ResourceGroup kapsamı için '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', Faturalama Hesabı kapsamı için '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}', Departman kapsamı için '/providers/Microsoft.Billing/billingAccountId}/departments/{departmentId}', '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}', 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'.
- budgetName
-
string
Bütçe Adı.
- parameters
- Budget
Bütçe Oluştur işlemine sağlanan parametreler.
Seçenekler parametreleri.
Döndürülenler
Promise<Budget>
delete(string, string, BudgetsDeleteOptionalParams)
Bütçeyi silme işlemi.
function delete(scope: string, budgetName: string, options?: BudgetsDeleteOptionalParams): Promise<void>
Parametreler
- scope
-
string
Bütçe işlemleriyle ilişkili kapsam. Buna abonelik kapsamı için '/subscriptions/{subscriptionId}/' dahildir, ResourceGroup kapsamı için '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', Faturalama Hesabı kapsamı için '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}', Departman kapsamı için '/providers/Microsoft.Billing/billingAccountId}/departments/{departmentId}', '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}', 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'.
- budgetName
-
string
Bütçe Adı.
- options
- BudgetsDeleteOptionalParams
Seçenekler parametreleri.
Döndürülenler
Promise<void>
get(string, string, BudgetsGetOptionalParams)
Kapsamın bütçesini bütçe adına göre alır.
function get(scope: string, budgetName: string, options?: BudgetsGetOptionalParams): Promise<Budget>
Parametreler
- scope
-
string
Bütçe işlemleriyle ilişkili kapsam. Buna abonelik kapsamı için '/subscriptions/{subscriptionId}/' dahildir, ResourceGroup kapsamı için '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', Faturalama Hesabı kapsamı için '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}', Departman kapsamı için '/providers/Microsoft.Billing/billingAccountId}/departments/{departmentId}', '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}', 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'.
- budgetName
-
string
Bütçe Adı.
- options
- BudgetsGetOptionalParams
Seçenekler parametreleri.
Döndürülenler
Promise<Budget>
list(string, BudgetsListOptionalParams)
Tanımlanan kapsam için tüm bütçeleri listeler.
function list(scope: string, options?: BudgetsListOptionalParams): PagedAsyncIterableIterator<Budget, Budget[], PageSettings>
Parametreler
- scope
-
string
Bütçe işlemleriyle ilişkili kapsam. Buna abonelik kapsamı için '/subscriptions/{subscriptionId}/' dahildir, ResourceGroup kapsamı için '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', Faturalama Hesabı kapsamı için '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}', Departman kapsamı için '/providers/Microsoft.Billing/billingAccountId}/departments/{departmentId}', '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}', 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'.
- options
- BudgetsListOptionalParams
Seçenekler parametreleri.