CostManagementExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.CostManagement.

public static class CostManagementExtensions
type CostManagementExtensions = class
Public Module CostManagementExtensions
Inheritance
CostManagementExtensions

Methods

Name Description
ByBillingAccountIdGenerateReservationDetailsReport(ArmClient, WaitUntil, ResourceIdentifier, String, String, CancellationToken)

Generates the reservations details report for provided date range asynchronously based on enrollment id. The Reservation usage details can be viewed only by certain enterprise roles. For more details on the roles see, https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/understand-ea-roles#usage-and-costs-access-by-role <item> Mocking. To mock this method, please mock ByBillingAccountIdGenerateReservationDetailsReport(WaitUntil, ResourceIdentifier, String, String, CancellationToken) instead. </item>

ByBillingAccountIdGenerateReservationDetailsReportAsync(ArmClient, WaitUntil, ResourceIdentifier, String, String, CancellationToken)

Generates the reservations details report for provided date range asynchronously based on enrollment id. The Reservation usage details can be viewed only by certain enterprise roles. For more details on the roles see, https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/understand-ea-roles#usage-and-costs-access-by-role <item> Mocking. To mock this method, please mock ByBillingAccountIdGenerateReservationDetailsReportAsync(WaitUntil, ResourceIdentifier, String, String, CancellationToken) instead. </item>

ByBillingProfileIdGenerateReservationDetailsReport(ArmClient, WaitUntil, ResourceIdentifier, String, String, CancellationToken)

Generates the reservations details report for provided date range asynchronously by billing profile. The Reservation usage details can be viewed by only certain enterprise roles by default. For more details on the roles see, https://docs.microsoft.com/en-us/azure/cost-management-billing/reservations/reservation-utilization#view-utilization-in-the-azure-portal-with-azure-rbac-access <item> Mocking. To mock this method, please mock ByBillingProfileIdGenerateReservationDetailsReport(WaitUntil, ResourceIdentifier, String, String, CancellationToken) instead. </item>

ByBillingProfileIdGenerateReservationDetailsReportAsync(ArmClient, WaitUntil, ResourceIdentifier, String, String, CancellationToken)

Generates the reservations details report for provided date range asynchronously by billing profile. The Reservation usage details can be viewed by only certain enterprise roles by default. For more details on the roles see, https://docs.microsoft.com/en-us/azure/cost-management-billing/reservations/reservation-utilization#view-utilization-in-the-azure-portal-with-azure-rbac-access <item> Mocking. To mock this method, please mock ByBillingProfileIdGenerateReservationDetailsReportAsync(WaitUntil, ResourceIdentifier, String, String, CancellationToken) instead. </item>

ByExternalCloudProviderTypeDimensions(TenantResource, ExternalCloudProviderType, String, String, String, String, Nullable<Int32>, CancellationToken)

Lists the dimensions by the external cloud provider type. <item> Mocking. To mock this method, please mock ByExternalCloudProviderTypeDimensions(ExternalCloudProviderType, String, String, String, String, Nullable<Int32>, CancellationToken) instead. </item>

ByExternalCloudProviderTypeDimensionsAsync(TenantResource, ExternalCloudProviderType, String, String, String, String, Nullable<Int32>, CancellationToken)

Lists the dimensions by the external cloud provider type. <item> Mocking. To mock this method, please mock ByExternalCloudProviderTypeDimensionsAsync(ExternalCloudProviderType, String, String, String, String, Nullable<Int32>, CancellationToken) instead. </item>

CheckCostManagementNameAvailabilityByScheduledAction(TenantResource, CostManagementNameAvailabilityContent, CancellationToken)

Checks availability and correctness of the name for a scheduled action. <item> Mocking. To mock this method, please mock CheckCostManagementNameAvailabilityByScheduledAction(CostManagementNameAvailabilityContent, CancellationToken) instead. </item>

CheckCostManagementNameAvailabilityByScheduledActionAsync(TenantResource, CostManagementNameAvailabilityContent, CancellationToken)

Checks availability and correctness of the name for a scheduled action. <item> Mocking. To mock this method, please mock CheckCostManagementNameAvailabilityByScheduledActionAsync(CostManagementNameAvailabilityContent, CancellationToken) instead. </item>

CheckCostManagementNameAvailabilityByScopeScheduledAction(ArmClient, ResourceIdentifier, CostManagementNameAvailabilityContent, CancellationToken)

Checks availability and correctness of the name for a scheduled action within the given scope. <item> Mocking. To mock this method, please mock CheckCostManagementNameAvailabilityByScopeScheduledAction(ResourceIdentifier, CostManagementNameAvailabilityContent, CancellationToken) instead. </item>

CheckCostManagementNameAvailabilityByScopeScheduledActionAsync(ArmClient, ResourceIdentifier, CostManagementNameAvailabilityContent, CancellationToken)

Checks availability and correctness of the name for a scheduled action within the given scope. <item> Mocking. To mock this method, please mock CheckCostManagementNameAvailabilityByScopeScheduledActionAsync(ResourceIdentifier, CostManagementNameAvailabilityContent, CancellationToken) instead. </item>

CreateOperation(ArmClient, WaitUntil, ResourceIdentifier, GenerateCostDetailsReportContent, CancellationToken)

This API is the replacement for all previously release Usage Details APIs. Request to generate a cost details report for the provided date range, billing period (Only enterprise customers) or Invoice Id asynchronously at a certain scope. The initial call to request a report will return a 202 with a 'Location' and 'Retry-After' header. The 'Location' header will provide the endpoint to poll to get the result of the report generation. The 'Retry-After' provides the duration to wait before polling for the generated report. A call to poll the report operation will provide a 202 response with a 'Location' header if the operation is still in progress. Once the report generation operation completes, the polling endpoint will provide a 200 response along with details on the report blob(s) that are available for download. The details on the file(s) available for download will be available in the polling response body. To Understand cost details (formerly known as usage details) fields found in files ,see https://learn.microsoft.com/en-us/azure/cost-management-billing/automate/understand-usage-details-fields <item> Mocking. To mock this method, please mock CreateOperation(WaitUntil, ResourceIdentifier, GenerateCostDetailsReportContent, CancellationToken) instead. </item>

CreateOperation(ArmClient, WaitUntil, ResourceIdentifier, GenerateDetailedCostReportContent, CancellationToken)

Generates the detailed cost report for provided date range, billing period(only enterprise customers) or Invoice ID asynchronously at a certain scope. Call returns a 202 with header Azure-Consumption-AsyncOperation providing a link to the operation created. A call on the operation will provide the status and if the operation is completed the blob file where generated detailed cost report is being stored. <item> Mocking. To mock this method, please mock CreateOperation(WaitUntil, ResourceIdentifier, GenerateDetailedCostReportContent, CancellationToken) instead. </item>

CreateOperationAsync(ArmClient, WaitUntil, ResourceIdentifier, GenerateCostDetailsReportContent, CancellationToken)

This API is the replacement for all previously release Usage Details APIs. Request to generate a cost details report for the provided date range, billing period (Only enterprise customers) or Invoice Id asynchronously at a certain scope. The initial call to request a report will return a 202 with a 'Location' and 'Retry-After' header. The 'Location' header will provide the endpoint to poll to get the result of the report generation. The 'Retry-After' provides the duration to wait before polling for the generated report. A call to poll the report operation will provide a 202 response with a 'Location' header if the operation is still in progress. Once the report generation operation completes, the polling endpoint will provide a 200 response along with details on the report blob(s) that are available for download. The details on the file(s) available for download will be available in the polling response body. To Understand cost details (formerly known as usage details) fields found in files ,see https://learn.microsoft.com/en-us/azure/cost-management-billing/automate/understand-usage-details-fields <item> Mocking. To mock this method, please mock CreateOperationAsync(WaitUntil, ResourceIdentifier, GenerateCostDetailsReportContent, CancellationToken) instead. </item>

CreateOperationAsync(ArmClient, WaitUntil, ResourceIdentifier, GenerateDetailedCostReportContent, CancellationToken)

Generates the detailed cost report for provided date range, billing period(only enterprise customers) or Invoice ID asynchronously at a certain scope. Call returns a 202 with header Azure-Consumption-AsyncOperation providing a link to the operation created. A call on the operation will provide the status and if the operation is completed the blob file where generated detailed cost report is being stored. <item> Mocking. To mock this method, please mock CreateOperationAsync(WaitUntil, ResourceIdentifier, GenerateDetailedCostReportContent, CancellationToken) instead. </item>

DownloadByBillingAccount(ArmClient, WaitUntil, ResourceIdentifier, CancellationToken)

Generates the pricesheet for the provided billing period asynchronously based on the Enrollment ID. This is for Enterprise Agreement customers. Migrate to version 2025-03-01 You can use the 2025-03-01 API version with the new URI: '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingPeriods/{billingPeriodName}/providers/Microsoft.CostManagement/pricesheets/default/download' With a new schema detailed below, the new version of the price sheet provides additional information and includes prices for Azure Reserved Instances (RI) for the current billing period. We recommend downloading an Azure Price Sheet for when entering a new billing period if you would maintain an ongoing record of past Azure Reserved Instance (RI) pricing. The EA Azure price sheet is available for billing periods in the past 13 months. To request a price sheet for a billing period older than 13 months, please contact support. The Azure price sheet download experience has been updated from a single .csv file to a zip file containing multiple .csv files, each with max size of 75MB. The 2023-11-01 version has been upgraded to use http POST method; details can be found below. All versions of the Microsoft.Consumption Azure Price Sheet - Download by Billing Account (including 2022-06-01, 2021-10-01, 2020-01-01-preview, 2019-10-01, 2019-05-01) are scheduled to be retired on 01 June 2026 and will no longer be supported after this date. <item> Mocking. To mock this method, please mock DownloadByBillingAccount(WaitUntil, ResourceIdentifier, CancellationToken) instead. </item>

DownloadByBillingAccountAsync(ArmClient, WaitUntil, ResourceIdentifier, CancellationToken)

Generates the pricesheet for the provided billing period asynchronously based on the Enrollment ID. This is for Enterprise Agreement customers. Migrate to version 2025-03-01 You can use the 2025-03-01 API version with the new URI: '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingPeriods/{billingPeriodName}/providers/Microsoft.CostManagement/pricesheets/default/download' With a new schema detailed below, the new version of the price sheet provides additional information and includes prices for Azure Reserved Instances (RI) for the current billing period. We recommend downloading an Azure Price Sheet for when entering a new billing period if you would maintain an ongoing record of past Azure Reserved Instance (RI) pricing. The EA Azure price sheet is available for billing periods in the past 13 months. To request a price sheet for a billing period older than 13 months, please contact support. The Azure price sheet download experience has been updated from a single .csv file to a zip file containing multiple .csv files, each with max size of 75MB. The 2023-11-01 version has been upgraded to use http POST method; details can be found below. All versions of the Microsoft.Consumption Azure Price Sheet - Download by Billing Account (including 2022-06-01, 2021-10-01, 2020-01-01-preview, 2019-10-01, 2019-05-01) are scheduled to be retired on 01 June 2026 and will no longer be supported after this date. <item> Mocking. To mock this method, please mock DownloadByBillingAccountAsync(WaitUntil, ResourceIdentifier, CancellationToken) instead. </item>

DownloadByBillingProfilePriceSheet(ArmClient, WaitUntil, ResourceIdentifier, CancellationToken)

Gets a URL to download the current month's pricesheet for a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement. You can use the new 2023-09-01 API version for billing periods January 2023 onwards. Azure Reserved Instance (RI) pricing is only available through the new version of the API. Due to Azure product growth, the Azure price sheet download experience in this preview version will be updated from a single csv/json file to a Zip file containing multiple csv/json files, each with max size of 75MB. <item> Mocking. To mock this method, please mock DownloadByBillingProfilePriceSheet(WaitUntil, ResourceIdentifier, CancellationToken) instead. </item>

DownloadByBillingProfilePriceSheetAsync(ArmClient, WaitUntil, ResourceIdentifier, CancellationToken)

Gets a URL to download the current month's pricesheet for a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement. You can use the new 2023-09-01 API version for billing periods January 2023 onwards. Azure Reserved Instance (RI) pricing is only available through the new version of the API. Due to Azure product growth, the Azure price sheet download experience in this preview version will be updated from a single csv/json file to a Zip file containing multiple csv/json files, each with max size of 75MB. <item> Mocking. To mock this method, please mock DownloadByBillingProfilePriceSheetAsync(WaitUntil, ResourceIdentifier, CancellationToken) instead. </item>

DownloadPriceSheet(ArmClient, WaitUntil, ResourceIdentifier, CancellationToken)

Gets a URL to download the pricesheet for an invoice. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement. <item> Mocking. To mock this method, please mock DownloadPriceSheet(WaitUntil, ResourceIdentifier, CancellationToken) instead. </item>

DownloadPriceSheetAsync(ArmClient, WaitUntil, ResourceIdentifier, CancellationToken)

Gets a URL to download the pricesheet for an invoice. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement. <item> Mocking. To mock this method, please mock DownloadPriceSheetAsync(WaitUntil, ResourceIdentifier, CancellationToken) instead. </item>

ExternalCloudProviderUsageForecast(TenantResource, ExternalCloudProviderType, String, ForecastDefinition, String, CancellationToken)

Lists the forecast charges for external cloud provider type defined. <item> Mocking. To mock this method, please mock ExternalCloudProviderUsageForecast(ExternalCloudProviderType, String, ForecastDefinition, String, CancellationToken) instead. </item>

ExternalCloudProviderUsageForecastAsync(TenantResource, ExternalCloudProviderType, String, ForecastDefinition, String, CancellationToken)

Lists the forecast charges for external cloud provider type defined. <item> Mocking. To mock this method, please mock ExternalCloudProviderUsageForecastAsync(ExternalCloudProviderType, String, ForecastDefinition, String, CancellationToken) instead. </item>

GenerateBenefitUtilizationSummariesReportAsyncSavingsPlanScope(ArmClient, WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided savings plan. <item> Mocking. To mock this method, please mock GenerateBenefitUtilizationSummariesReportAsyncSavingsPlanScope(WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken) instead. </item>

GenerateBenefitUtilizationSummariesReportAsyncSavingsPlanScopeAsync(ArmClient, WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided savings plan. <item> Mocking. To mock this method, please mock GenerateBenefitUtilizationSummariesReportAsyncSavingsPlanScopeAsync(WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken) instead. </item>

GenerateBenefitUtilizationSummariesReportBillingAccountScope(ArmClient, WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided billing account. This API supports only enrollment accounts. <item> Mocking. To mock this method, please mock GenerateBenefitUtilizationSummariesReportBillingAccountScope(WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken) instead. </item>

GenerateBenefitUtilizationSummariesReportBillingAccountScopeAsync(ArmClient, WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided billing account. This API supports only enrollment accounts. <item> Mocking. To mock this method, please mock GenerateBenefitUtilizationSummariesReportBillingAccountScopeAsync(WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken) instead. </item>

GenerateBenefitUtilizationSummariesReportBillingProfileScope(ArmClient, WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided billing account and billing profile. <item> Mocking. To mock this method, please mock GenerateBenefitUtilizationSummariesReportBillingProfileScope(WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken) instead. </item>

GenerateBenefitUtilizationSummariesReportBillingProfileScopeAsync(ArmClient, WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided billing account and billing profile. <item> Mocking. To mock this method, please mock GenerateBenefitUtilizationSummariesReportBillingProfileScopeAsync(WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken) instead. </item>

GenerateBenefitUtilizationSummariesReportReservationOrderScope(ArmClient, WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided reservation order. <item> Mocking. To mock this method, please mock GenerateBenefitUtilizationSummariesReportReservationOrderScope(WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken) instead. </item>

GenerateBenefitUtilizationSummariesReportReservationOrderScopeAsync(ArmClient, WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided reservation order. <item> Mocking. To mock this method, please mock GenerateBenefitUtilizationSummariesReportReservationOrderScopeAsync(WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken) instead. </item>

GenerateBenefitUtilizationSummariesReportReservationScope(ArmClient, WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided reservation. <item> Mocking. To mock this method, please mock GenerateBenefitUtilizationSummariesReportReservationScope(WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken) instead. </item>

GenerateBenefitUtilizationSummariesReportReservationScopeAsync(ArmClient, WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided reservation. <item> Mocking. To mock this method, please mock GenerateBenefitUtilizationSummariesReportReservationScopeAsync(WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken) instead. </item>

GenerateBenefitUtilizationSummariesReportSavingsPlanOrderScope(ArmClient, WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided savings plan order. <item> Mocking. To mock this method, please mock GenerateBenefitUtilizationSummariesReportSavingsPlanOrderScope(WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken) instead. </item>

GenerateBenefitUtilizationSummariesReportSavingsPlanOrderScopeAsync(ArmClient, WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided savings plan order. <item> Mocking. To mock this method, please mock GenerateBenefitUtilizationSummariesReportSavingsPlanOrderScopeAsync(WaitUntil, ResourceIdentifier, BenefitUtilizationSummariesContent, CancellationToken) instead. </item>

GetAllCostManagementViews(ArmClient, ResourceIdentifier)

Gets a collection of CostManagementViewsCollection objects within the specified scope. <item> Mocking. To mock this method, please mock GetAllCostManagementViews(ResourceIdentifier) instead. </item>

GetAllGenerateDetailedCostReportOperationStatuses(ArmClient, ResourceIdentifier)

Gets a collection of GenerateDetailedCostReportOperationStatusesCollection objects within the specified scope. <item> Mocking. To mock this method, please mock GetAllGenerateDetailedCostReportOperationStatuses(ResourceIdentifier) instead. </item>

GetAllTenantsCostManagementViews(TenantResource)

Gets a collection of TenantsCostManagementViews in the TenantResource<item> Mocking. To mock this method, please mock GetAllTenantsCostManagementViews() instead. </item>

GetBenefitRecommendations(ArmClient, ResourceIdentifier, String, String, String, CancellationToken)

List of recommendations for purchasing savings plan. <item> Mocking. To mock this method, please mock GetBenefitRecommendations(ResourceIdentifier, String, String, String, CancellationToken) instead. </item>

GetBenefitRecommendationsAsync(ArmClient, ResourceIdentifier, String, String, String, CancellationToken)

List of recommendations for purchasing savings plan. <item> Mocking. To mock this method, please mock GetBenefitRecommendationsAsync(ResourceIdentifier, String, String, String, CancellationToken) instead. </item>

GetBenefitUtilizationSummariesByBillingAccountId(ArmClient, ResourceIdentifier, Nullable<GrainContent>, String, CancellationToken)

Lists savings plan utilization summaries for the enterprise agreement scope. Supported at grain values: 'Daily' and 'Monthly'. <item> Mocking. To mock this method, please mock GetBenefitUtilizationSummariesByBillingAccountId(ResourceIdentifier, Nullable<GrainContent>, String, CancellationToken) instead. </item>

GetBenefitUtilizationSummariesByBillingAccountIdAsync(ArmClient, ResourceIdentifier, Nullable<GrainContent>, String, CancellationToken)

Lists savings plan utilization summaries for the enterprise agreement scope. Supported at grain values: 'Daily' and 'Monthly'. <item> Mocking. To mock this method, please mock GetBenefitUtilizationSummariesByBillingAccountIdAsync(ResourceIdentifier, Nullable<GrainContent>, String, CancellationToken) instead. </item>

GetBenefitUtilizationSummariesByBillingProfileId(ArmClient, ResourceIdentifier, Nullable<GrainContent>, String, CancellationToken)

Lists savings plan utilization summaries for billing profile. Supported at grain values: 'Daily' and 'Monthly'. <item> Mocking. To mock this method, please mock GetBenefitUtilizationSummariesByBillingProfileId(ResourceIdentifier, Nullable<GrainContent>, String, CancellationToken) instead. </item>

GetBenefitUtilizationSummariesByBillingProfileIdAsync(ArmClient, ResourceIdentifier, Nullable<GrainContent>, String, CancellationToken)

Lists savings plan utilization summaries for billing profile. Supported at grain values: 'Daily' and 'Monthly'. <item> Mocking. To mock this method, please mock GetBenefitUtilizationSummariesByBillingProfileIdAsync(ResourceIdentifier, Nullable<GrainContent>, String, CancellationToken) instead. </item>

GetBenefitUtilizationSummariesBySavingsPlanId(ArmClient, ResourceIdentifier, String, Nullable<GrainContent>, CancellationToken)

Lists the savings plan utilization summaries for daily or monthly grain. <item> Mocking. To mock this method, please mock GetBenefitUtilizationSummariesBySavingsPlanId(ResourceIdentifier, String, Nullable<GrainContent>, CancellationToken) instead. </item>

GetBenefitUtilizationSummariesBySavingsPlanIdAsync(ArmClient, ResourceIdentifier, String, Nullable<GrainContent>, CancellationToken)

Lists the savings plan utilization summaries for daily or monthly grain. <item> Mocking. To mock this method, please mock GetBenefitUtilizationSummariesBySavingsPlanIdAsync(ResourceIdentifier, String, Nullable<GrainContent>, CancellationToken) instead. </item>

GetBenefitUtilizationSummariesBySavingsPlanOrder(ArmClient, ResourceIdentifier, String, Nullable<GrainContent>, CancellationToken)

Lists the savings plan utilization summaries for daily or monthly grain. <item> Mocking. To mock this method, please mock GetBenefitUtilizationSummariesBySavingsPlanOrder(ResourceIdentifier, String, Nullable<GrainContent>, CancellationToken) instead. </item>

GetBenefitUtilizationSummariesBySavingsPlanOrderAsync(ArmClient, ResourceIdentifier, String, Nullable<GrainContent>, CancellationToken)

Lists the savings plan utilization summaries for daily or monthly grain. <item> Mocking. To mock this method, please mock GetBenefitUtilizationSummariesBySavingsPlanOrderAsync(ResourceIdentifier, String, Nullable<GrainContent>, CancellationToken) instead. </item>

GetBudget(ArmClient, ResourceIdentifier, String, CancellationToken)

Gets the budget for the scope by budget name. <item> Mocking. To mock this method, please mock GetBudget(ResourceIdentifier, String, CancellationToken) instead. </item>

GetBudgetAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Gets the budget for the scope by budget name. <item> Mocking. To mock this method, please mock GetBudgetAsync(ResourceIdentifier, String, CancellationToken) instead. </item>

GetBudgetResource(ArmClient, ResourceIdentifier)

Gets an object representing a BudgetResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetBudgetResource(ResourceIdentifier) instead. </item>

GetBudgets(ArmClient, ResourceIdentifier)

Gets a collection of BudgetCollection objects within the specified scope. <item> Mocking. To mock this method, please mock GetBudgets(ResourceIdentifier) instead. </item>

GetCostAllocationRule(ArmClient, ResourceIdentifier, String, CancellationToken)

Get a cost allocation rule by rule name and billing account or enterprise enrollment. <item> Mocking. To mock this method, please mock GetCostAllocationRule(ResourceIdentifier, String, CancellationToken) instead. </item>

GetCostAllocationRuleAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get a cost allocation rule by rule name and billing account or enterprise enrollment. <item> Mocking. To mock this method, please mock GetCostAllocationRuleAsync(ResourceIdentifier, String, CancellationToken) instead. </item>

GetCostAllocationRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a CostAllocationRuleResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCostAllocationRuleResource(ResourceIdentifier) instead. </item>

GetCostAllocationRules(ArmClient, ResourceIdentifier)

Gets a collection of CostAllocationRuleCollection objects within the specified scope. <item> Mocking. To mock this method, please mock GetCostAllocationRules(ResourceIdentifier) instead. </item>

GetCostManagementAlert(ArmClient, ResourceIdentifier, String, CancellationToken)

Gets the alert for the scope by alert ID. <item> Mocking. To mock this method, please mock GetCostManagementAlert(ResourceIdentifier, String, CancellationToken) instead. </item>

GetCostManagementAlertAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Gets the alert for the scope by alert ID. <item> Mocking. To mock this method, please mock GetCostManagementAlertAsync(ResourceIdentifier, String, CancellationToken) instead. </item>

GetCostManagementAlertResource(ArmClient, ResourceIdentifier)

Gets an object representing a CostManagementAlertResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCostManagementAlertResource(ResourceIdentifier) instead. </item>

GetCostManagementAlerts(ArmClient, ResourceIdentifier)

Gets a collection of CostManagementAlertCollection objects within the specified scope. <item> Mocking. To mock this method, please mock GetCostManagementAlerts(ResourceIdentifier) instead. </item>

GetCostManagementAlerts(TenantResource, ExternalCloudProviderType, String, CancellationToken)

Lists the Alerts for external cloud provider type defined. <item> Mocking. To mock this method, please mock GetCostManagementAlerts(ExternalCloudProviderType, String, CancellationToken) instead. </item>

GetCostManagementAlertsAsync(TenantResource, ExternalCloudProviderType, String, CancellationToken)

Lists the Alerts for external cloud provider type defined. <item> Mocking. To mock this method, please mock GetCostManagementAlertsAsync(ExternalCloudProviderType, String, CancellationToken) instead. </item>

GetCostManagementExport(ArmClient, ResourceIdentifier, String, String, CancellationToken)

The operation to get the export for the defined scope by export name. <item> Mocking. To mock this method, please mock GetCostManagementExport(ResourceIdentifier, String, String, CancellationToken) instead. </item>

GetCostManagementExportAsync(ArmClient, ResourceIdentifier, String, String, CancellationToken)

The operation to get the export for the defined scope by export name. <item> Mocking. To mock this method, please mock GetCostManagementExportAsync(ResourceIdentifier, String, String, CancellationToken) instead. </item>

GetCostManagementExportResource(ArmClient, ResourceIdentifier)

Gets an object representing a CostManagementExportResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCostManagementExportResource(ResourceIdentifier) instead. </item>

GetCostManagementExports(ArmClient, ResourceIdentifier)

Gets a collection of CostManagementExportCollection objects within the specified scope. <item> Mocking. To mock this method, please mock GetCostManagementExports(ResourceIdentifier) instead. </item>

GetCostManagementSetting(ArmClient, ResourceIdentifier, CostManagementSettingType, CancellationToken)

Get the setting from the given scope by name. <item> Mocking. To mock this method, please mock GetCostManagementSetting(ResourceIdentifier, CostManagementSettingType, CancellationToken) instead. </item>

GetCostManagementSettingAsync(ArmClient, ResourceIdentifier, CostManagementSettingType, CancellationToken)

Get the setting from the given scope by name. <item> Mocking. To mock this method, please mock GetCostManagementSettingAsync(ResourceIdentifier, CostManagementSettingType, CancellationToken) instead. </item>

GetCostManagementSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a CostManagementSettingResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCostManagementSettingResource(ResourceIdentifier) instead. </item>

GetCostManagementSettings(ArmClient, ResourceIdentifier)

Gets a collection of CostManagementSettingCollection objects within the specified scope. <item> Mocking. To mock this method, please mock GetCostManagementSettings(ResourceIdentifier) instead. </item>

GetCostManagementViews(ArmClient, ResourceIdentifier, String, CancellationToken)

Gets the view for the defined scope by view name. <item> Mocking. To mock this method, please mock GetCostManagementViews(ResourceIdentifier, String, CancellationToken) instead. </item>

GetCostManagementViewsAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Gets the view for the defined scope by view name. <item> Mocking. To mock this method, please mock GetCostManagementViewsAsync(ResourceIdentifier, String, CancellationToken) instead. </item>

GetCostManagementViewsResource(ArmClient, ResourceIdentifier)

Gets an object representing a CostManagementViewsResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCostManagementViewsResource(ResourceIdentifier) instead. </item>

GetDimensions(ArmClient, ResourceIdentifier, String, String, String, Nullable<Int32>, CancellationToken)

Lists the dimensions by the defined scope. <item> Mocking. To mock this method, please mock GetDimensions(ResourceIdentifier, String, String, String, Nullable<Int32>, CancellationToken) instead. </item>

GetDimensionsAsync(ArmClient, ResourceIdentifier, String, String, String, Nullable<Int32>, CancellationToken)

Lists the dimensions by the defined scope. <item> Mocking. To mock this method, please mock GetDimensionsAsync(ResourceIdentifier, String, String, String, Nullable<Int32>, CancellationToken) instead. </item>

GetGenerateDetailedCostReportOperationResult(ArmClient, ResourceIdentifier, WaitUntil, String, CancellationToken)

Gets the result of the specified operation. The link with this operationId is provided as a response header of the initial request. <item> Mocking. To mock this method, please mock GetGenerateDetailedCostReportOperationResult(ResourceIdentifier, WaitUntil, String, CancellationToken) instead. </item>

GetGenerateDetailedCostReportOperationResultAsync(ArmClient, ResourceIdentifier, WaitUntil, String, CancellationToken)

Gets the result of the specified operation. The link with this operationId is provided as a response header of the initial request. <item> Mocking. To mock this method, please mock GetGenerateDetailedCostReportOperationResultAsync(ResourceIdentifier, WaitUntil, String, CancellationToken) instead. </item>

GetGenerateDetailedCostReportOperationResultResource(ArmClient, ResourceIdentifier)

Gets an object representing a GenerateDetailedCostReportOperationResultResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetGenerateDetailedCostReportOperationResultResource(ResourceIdentifier) instead. </item>

GetGenerateDetailedCostReportOperationResults(ArmClient, ResourceIdentifier)

Gets a collection of GenerateDetailedCostReportOperationResultCollection objects within the specified scope. <item> Mocking. To mock this method, please mock GetGenerateDetailedCostReportOperationResults(ResourceIdentifier) instead. </item>

GetGenerateDetailedCostReportOperationStatuses(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the status of the specified operation. This link is provided in the GenerateDetailedCostReport creation request response header. <item> Mocking. To mock this method, please mock GetGenerateDetailedCostReportOperationStatuses(ResourceIdentifier, String, CancellationToken) instead. </item>

GetGenerateDetailedCostReportOperationStatusesAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the status of the specified operation. This link is provided in the GenerateDetailedCostReport creation request response header. <item> Mocking. To mock this method, please mock GetGenerateDetailedCostReportOperationStatusesAsync(ResourceIdentifier, String, CancellationToken) instead. </item>

GetGenerateDetailedCostReportOperationStatusesResource(ArmClient, ResourceIdentifier)

Gets an object representing a GenerateDetailedCostReportOperationStatusesResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetGenerateDetailedCostReportOperationStatusesResource(ResourceIdentifier) instead. </item>

GetOperationResults(ArmClient, WaitUntil, ResourceIdentifier, String, CancellationToken)

Get the result of the specified operation. This link is provided in the CostDetails creation request response Location header. <item> Mocking. To mock this method, please mock GetOperationResults(WaitUntil, ResourceIdentifier, String, CancellationToken) instead. </item>

GetOperationResultsAsync(ArmClient, WaitUntil, ResourceIdentifier, String, CancellationToken)

Get the result of the specified operation. This link is provided in the CostDetails creation request response Location header. <item> Mocking. To mock this method, please mock GetOperationResultsAsync(WaitUntil, ResourceIdentifier, String, CancellationToken) instead. </item>

GetScheduledAction(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the shared scheduled action from the given scope by name. <item> Mocking. To mock this method, please mock GetScheduledAction(ResourceIdentifier, String, CancellationToken) instead. </item>

GetScheduledActionAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the shared scheduled action from the given scope by name. <item> Mocking. To mock this method, please mock GetScheduledActionAsync(ResourceIdentifier, String, CancellationToken) instead. </item>

GetScheduledActionResource(ArmClient, ResourceIdentifier)

Gets an object representing a ScheduledActionResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetScheduledActionResource(ResourceIdentifier) instead. </item>

GetScheduledActions(ArmClient, ResourceIdentifier)

Gets a collection of ScheduledActionCollection objects within the specified scope. <item> Mocking. To mock this method, please mock GetScheduledActions(ResourceIdentifier) instead. </item>

GetTenantScheduledAction(TenantResource, String, CancellationToken)

Get the private scheduled action by name. <item> Mocking. To mock this method, please mock GetTenantScheduledAction(String, CancellationToken) instead. </item>

GetTenantScheduledActionAsync(TenantResource, String, CancellationToken)

Get the private scheduled action by name. <item> Mocking. To mock this method, please mock GetTenantScheduledActionAsync(String, CancellationToken) instead. </item>

GetTenantScheduledActionResource(ArmClient, ResourceIdentifier)

Gets an object representing a TenantScheduledActionResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetTenantScheduledActionResource(ResourceIdentifier) instead. </item>

GetTenantScheduledActions(TenantResource)

Gets a collection of TenantScheduledActions in the TenantResource<item> Mocking. To mock this method, please mock GetTenantScheduledActions() instead. </item>

GetTenantsCostManagementViews(TenantResource, String, CancellationToken)

Gets the view by view name. <item> Mocking. To mock this method, please mock GetTenantsCostManagementViews(String, CancellationToken) instead. </item>

GetTenantsCostManagementViewsAsync(TenantResource, String, CancellationToken)

Gets the view by view name. <item> Mocking. To mock this method, please mock GetTenantsCostManagementViewsAsync(String, CancellationToken) instead. </item>

GetTenantsCostManagementViewsResource(ArmClient, ResourceIdentifier)

Gets an object representing a TenantsCostManagementViewsResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetTenantsCostManagementViewsResource(ResourceIdentifier) instead. </item>

UsageByExternalCloudProviderTypeQuery(TenantResource, ExternalCloudProviderType, String, QueryDefinition, CancellationToken)

Query the usage data for external cloud provider type defined. <item> Mocking. To mock this method, please mock UsageByExternalCloudProviderTypeQuery(ExternalCloudProviderType, String, QueryDefinition, CancellationToken) instead. </item>

UsageByExternalCloudProviderTypeQueryAsync(TenantResource, ExternalCloudProviderType, String, QueryDefinition, CancellationToken)

Query the usage data for external cloud provider type defined. <item> Mocking. To mock this method, please mock UsageByExternalCloudProviderTypeQueryAsync(ExternalCloudProviderType, String, QueryDefinition, CancellationToken) instead. </item>

UsageForecast(ArmClient, ResourceIdentifier, ForecastDefinition, String, CancellationToken)

Lists the forecast charges for scope defined. <item> Mocking. To mock this method, please mock UsageForecast(ResourceIdentifier, ForecastDefinition, String, CancellationToken) instead. </item>

UsageForecastAsync(ArmClient, ResourceIdentifier, ForecastDefinition, String, CancellationToken)

Lists the forecast charges for scope defined. <item> Mocking. To mock this method, please mock UsageForecastAsync(ResourceIdentifier, ForecastDefinition, String, CancellationToken) instead. </item>

UsageQuery(ArmClient, ResourceIdentifier, QueryDefinition, CancellationToken)

Query the usage data for scope defined. <item> Mocking. To mock this method, please mock UsageQuery(ResourceIdentifier, QueryDefinition, CancellationToken) instead. </item>

UsageQueryAsync(ArmClient, ResourceIdentifier, QueryDefinition, CancellationToken)

Query the usage data for scope defined. <item> Mocking. To mock this method, please mock UsageQueryAsync(ResourceIdentifier, QueryDefinition, CancellationToken) instead. </item>

Applies to