ProjectCostControlsOperations interface
Interface representing a ProjectCostControls operations.
Properties
| check |
Checks whether a project-owned cost control exists without returning its body. |
| create |
Creates or replaces a project-owned cost control. The definition may contain at most one notification, including disabled notifications, and one Block action. Exceeding either limit returns HTTP 400 without persisting the request. |
| delete | Deletes a project-owned cost control. |
| get | Gets a project-owned cost control and its representation entity tag. |
| list | Lists project-owned cost controls. |
| update | Updates a Foundry project cost control. Omitting properties preserves all existing cost control properties; setting properties to null or an empty object ({}) clears them all. A non-empty properties object updates selected fields, preserving omitted fields; a successful update that leaves the cost control unchanged retains its entity tag. The complete merged result may contain at most one notification, including disabled notifications, and one Block action. Exceeding either limit returns HTTP 400 without changing the stored definition. |
Property Details
checkExistence
Checks whether a project-owned cost control exists without returning its body.
checkExistence: (resourceGroupName: string, accountName: string, projectName: string, costControlName: string, options?: ProjectCostControlsCheckExistenceOptionalParams) => Promise<void>
Property Value
(resourceGroupName: string, accountName: string, projectName: string, costControlName: string, options?: ProjectCostControlsCheckExistenceOptionalParams) => Promise<void>
createOrUpdate
Creates or replaces a project-owned cost control. The definition may contain at most one notification, including disabled notifications, and one Block action. Exceeding either limit returns HTTP 400 without persisting the request.
createOrUpdate: (resourceGroupName: string, accountName: string, projectName: string, costControlName: string, resource: ProjectCostControl, options?: ProjectCostControlsCreateOrUpdateOptionalParams) => Promise<ProjectCostControl>
Property Value
(resourceGroupName: string, accountName: string, projectName: string, costControlName: string, resource: ProjectCostControl, options?: ProjectCostControlsCreateOrUpdateOptionalParams) => Promise<ProjectCostControl>
delete
Deletes a project-owned cost control.
delete: (resourceGroupName: string, accountName: string, projectName: string, costControlName: string, options?: ProjectCostControlsDeleteOptionalParams) => Promise<void>
Property Value
(resourceGroupName: string, accountName: string, projectName: string, costControlName: string, options?: ProjectCostControlsDeleteOptionalParams) => Promise<void>
get
Gets a project-owned cost control and its representation entity tag.
get: (resourceGroupName: string, accountName: string, projectName: string, costControlName: string, options?: ProjectCostControlsGetOptionalParams) => Promise<ProjectCostControl>
Property Value
(resourceGroupName: string, accountName: string, projectName: string, costControlName: string, options?: ProjectCostControlsGetOptionalParams) => Promise<ProjectCostControl>
list
Lists project-owned cost controls.
list: (resourceGroupName: string, accountName: string, projectName: string, options?: ProjectCostControlsListOptionalParams) => PagedAsyncIterableIterator<ProjectCostControl, ProjectCostControl[], PageSettings>
Property Value
(resourceGroupName: string, accountName: string, projectName: string, options?: ProjectCostControlsListOptionalParams) => PagedAsyncIterableIterator<ProjectCostControl, ProjectCostControl[], PageSettings>
update
Updates a Foundry project cost control. Omitting properties preserves all existing cost control properties; setting properties to null or an empty object ({}) clears them all. A non-empty properties object updates selected fields, preserving omitted fields; a successful update that leaves the cost control unchanged retains its entity tag. The complete merged result may contain at most one notification, including disabled notifications, and one Block action. Exceeding either limit returns HTTP 400 without changing the stored definition.
update: (resourceGroupName: string, accountName: string, projectName: string, costControlName: string, properties: CostControlPatch, options?: ProjectCostControlsUpdateOptionalParams) => Promise<ProjectCostControl>
Property Value
(resourceGroupName: string, accountName: string, projectName: string, costControlName: string, properties: CostControlPatch, options?: ProjectCostControlsUpdateOptionalParams) => Promise<ProjectCostControl>