Budget.DefinitionStages.WithScope Interface

public static interface Budget.DefinitionStages.WithScope

The stage of the Budget definition allowing to specify parent resource.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withExistingScope(String scope)

Specifies scope.

Method Details

withExistingScope

public abstract Budget.DefinitionStages.WithCreate withExistingScope(String scope)

Specifies scope.

Parameters:

scope - The scope associated with budget operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/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}' for billingProfile scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope.

Returns:

the next definition stage.

Applies to