CostmanagementFunctions

Functions

Link copied to clipboard

Gets the budget for the scope by budget name. Uses Azure REST API version 2023-04-01-preview. Other available API versions: 2019-04-01-preview, 2023-08-01, 2023-09-01, 2023-11-01, 2024-08-01, 2024-10-01-preview.

suspend fun getBudget(argument: suspend GetBudgetPlainArgsBuilder.() -> Unit): GetBudgetResult
suspend fun getBudget(budgetName: String, scope: String): GetBudgetResult
Link copied to clipboard

Get a cloud connector definition Uses Azure REST API version 2019-03-01-preview.

suspend fun getCloudConnector(connectorName: String, expand: String? = null): GetCloudConnectorResult
Link copied to clipboard

Get a connector definition Uses Azure REST API version 2018-08-01-preview.

suspend fun getConnector(connectorName: String, resourceGroupName: String): GetConnectorResult
Link copied to clipboard

Get a cost allocation rule by rule name and billing account or enterprise enrollment. Uses Azure REST API version 2020-03-01-preview. Other available API versions: 2023-08-01, 2023-09-01, 2023-11-01, 2024-08-01, 2024-10-01-preview.

suspend fun getCostAllocationRule(billingAccountId: String, ruleName: String): GetCostAllocationRuleResult
Link copied to clipboard

The operation to get the export for the defined scope by export name. Uses Azure REST API version 2023-03-01. Other available API versions: 2019-10-01, 2023-04-01-preview, 2023-07-01-preview, 2023-08-01, 2023-09-01, 2023-11-01, 2024-08-01, 2024-10-01-preview.

suspend fun getExport(argument: suspend GetExportPlainArgsBuilder.() -> Unit): GetExportResult
suspend fun getExport(expand: String? = null, exportName: String, scope: String): GetExportResult
Link copied to clipboard

Get a markup rule by its rule name. Uses Azure REST API version 2022-10-05-preview.

suspend fun getMarkupRule(billingAccountId: String, billingProfileId: String, name: String): GetMarkupRuleResult
Link copied to clipboard

Gets the report for a subscription by report name. Uses Azure REST API version 2018-08-01-preview.

suspend fun getReport(reportName: String): GetReportResult
suspend fun getReport(argument: suspend GetReportPlainArgsBuilder.() -> Unit): GetReportResult
Link copied to clipboard

Gets the report for a billing account by report name. Uses Azure REST API version 2018-08-01-preview.

suspend fun getReportByBillingAccount(billingAccountId: String, reportName: String): GetReportByBillingAccountResult
Link copied to clipboard

Gets the report for a department by report name. Uses Azure REST API version 2018-08-01-preview.

suspend fun getReportByDepartment(departmentId: String, reportName: String): GetReportByDepartmentResult
Link copied to clipboard

Gets the report for a resource group under a subscription by report name. Uses Azure REST API version 2018-08-01-preview.

Link copied to clipboard

Get the private scheduled action by name. Uses Azure REST API version 2023-03-01. Other available API versions: 2023-04-01-preview, 2023-07-01-preview, 2023-08-01, 2023-09-01, 2023-11-01, 2024-08-01, 2024-10-01-preview.

Link copied to clipboard

Get the shared scheduled action from the given scope by name. Uses Azure REST API version 2023-03-01. Other available API versions: 2023-04-01-preview, 2023-07-01-preview, 2023-08-01, 2023-09-01, 2023-11-01, 2024-08-01, 2024-10-01-preview.

Link copied to clipboard

Retrieves the current value for a specific setting. Uses Azure REST API version 2019-11-01.

suspend fun getSetting(settingName: String): GetSettingResult
suspend fun getSetting(argument: suspend GetSettingPlainArgsBuilder.() -> Unit): GetSettingResult
Link copied to clipboard

Get the setting from the given scope by name. Uses Azure REST API version 2022-10-05-preview.

Link copied to clipboard
suspend fun getView(argument: GetViewPlainArgs): GetViewResult

Gets the view by view name. Uses Azure REST API version 2023-03-01. Other available API versions: 2019-11-01, 2020-06-01, 2022-10-01, 2022-10-05-preview, 2023-04-01-preview, 2023-07-01-preview, 2023-08-01, 2023-09-01, 2023-11-01, 2024-08-01, 2024-10-01-preview.

suspend fun getView(viewName: String): GetViewResult
suspend fun getView(argument: suspend GetViewPlainArgsBuilder.() -> Unit): GetViewResult
Link copied to clipboard

Gets the view for the defined scope by view name. Uses Azure REST API version 2023-03-01. Other available API versions: 2019-11-01, 2020-06-01, 2022-10-01, 2022-10-05-preview, 2023-04-01-preview, 2023-07-01-preview, 2023-08-01, 2023-09-01, 2023-11-01, 2024-08-01, 2024-10-01-preview.

suspend fun getViewByScope(scope: String, viewName: String): GetViewByScopeResult