BudgetsOperations 클래스
- 상속
-
builtins.objectBudgetsOperations
생성자
BudgetsOperations(*args, **kwargs)
메서드
create_or_update |
예산을 만들거나 업데이트하는 작업입니다. 필요에 따라 동시성 제어의 형태로 원하는 경우 eTag를 제공할 수 있습니다. 지정된 예산에 대한 최신 eTag를 가져오려면 put 작업 전에 가져오기 작업을 수행합니다. |
delete |
예산을 삭제하는 작업입니다. |
get |
예산 이름으로 scope 예산을 가져옵니다. |
list |
정의된 scope 대한 모든 예산을 나열합니다. |
create_or_update
예산을 만들거나 업데이트하는 작업입니다. 필요에 따라 동시성 제어의 형태로 원하는 경우 eTag를 제공할 수 있습니다. 지정된 예산에 대한 최신 eTag를 가져오려면 put 작업 전에 가져오기 작업을 수행합니다.
create_or_update(scope: str, budget_name: str, parameters: Budget, **kwargs: Any) -> Budget
매개 변수
- scope
- str
예산 작업과 관련된 scope. 여기에는 구독 scope 대한 '/subscriptions/{subscriptionId}/'가 포함됩니다. '/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 scopeEnrollmentAccount scope 대한 , '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' 관리 그룹 scope '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'에 대한 '/providers/Microsoft.Management/managementGroups/{managementGroupId}' scope, invoiceSection scope 대한 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
- cls
- callable
직접 응답을 전달할 사용자 지정 형식 또는 함수
반환
예산 또는 cls(응답) 결과
반환 형식
예외
delete
예산을 삭제하는 작업입니다.
delete(scope: str, budget_name: str, **kwargs: Any) -> None
매개 변수
- scope
- str
예산 작업과 관련된 scope. 여기에는 구독 scope 대한 '/subscriptions/{subscriptionId}/'가 포함됩니다. '/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 scopeEnrollmentAccount scope 대한 , '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' 관리 그룹 scope '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'에 대한 '/providers/Microsoft.Management/managementGroups/{managementGroupId}' scope, invoiceSection scope 대한 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
- cls
- callable
직접 응답을 전달할 사용자 지정 형식 또는 함수
반환
None 또는 cls(response)의 결과
반환 형식
예외
get
예산 이름으로 scope 예산을 가져옵니다.
get(scope: str, budget_name: str, **kwargs: Any) -> Budget
매개 변수
- scope
- str
예산 작업과 관련된 scope. 여기에는 구독 scope 대한 '/subscriptions/{subscriptionId}/'가 포함됩니다. '/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 scopeEnrollmentAccount scope 대한 , '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' 관리 그룹 scope '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'에 대한 '/providers/Microsoft.Management/managementGroups/{managementGroupId}' scope, invoiceSection scope 대한 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
- cls
- callable
직접 응답을 전달할 사용자 지정 형식 또는 함수
반환
예산 또는 cls(응답) 결과
반환 형식
예외
list
정의된 scope 대한 모든 예산을 나열합니다.
list(scope: str, **kwargs: Any) -> Iterable[BudgetsListResult]
매개 변수
- scope
- str
예산 작업과 관련된 scope. 여기에는 구독 scope 대한 '/subscriptions/{subscriptionId}/'가 포함됩니다. '/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 scopeEnrollmentAccount scope 대한 , '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' 관리 그룹 scope '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'에 대한 '/providers/Microsoft.Management/managementGroups/{managementGroupId}' scope, invoiceSection scope 대한 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
- cls
- callable
직접 응답을 전달할 사용자 지정 형식 또는 함수
반환
BudgetsListResult의 instance 또는 cls(응답) 결과와 같은 반복기
반환 형식
예외
특성
models
models = <module 'azure.mgmt.consumption.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.7\\x64\\Lib\\site-packages\\azure\\mgmt\\consumption\\models\\__init__.py'>
Azure SDK for Python