CostmanagementFunctions

Functions

Link copied to clipboard

Get a cloud connector definition API Version: 2019-03-01-preview.

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

Get a cost allocation rule by rule name and billing account or enterprise enrollment. API Version: 2020-03-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. API Version: 2020-06-01.

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

Gets the report for a subscription by report name. 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. 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. 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. API Version: 2018-08-01-preview.

Link copied to clipboard

Get the private scheduled action by name. API Version: 2022-04-01-preview.

Link copied to clipboard

Get the shared scheduled action from the given scope by name. API Version: 2022-04-01-preview.

Link copied to clipboard

Retrieves the current value for a specific setting. API Version: 2019-11-01.

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

Gets the view by view name. API Version: 2019-11-01.

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. API Version: 2019-11-01.

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