CostManagementExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class to add extension methods to Azure.ResourceManager.CostManagement.
public static class CostManagementExtensions
type CostManagementExtensions = class
Public Module CostManagementExtensions
- Inheritance
-
CostManagementExtensions
Methods
ByBillingAccountIdGenerateReservationDetailsReport(TenantResource, WaitUntil, String, 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
|
ByBillingAccountIdGenerateReservationDetailsReportAsync(TenantResource, WaitUntil, String, 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
|
ByBillingProfileIdGenerateReservationDetailsReport(TenantResource, WaitUntil, String, String, 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
|
ByBillingProfileIdGenerateReservationDetailsReportAsync(TenantResource, WaitUntil, String, String, 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
|
ByExternalCloudProviderTypeDimensions(TenantResource, TenantResourceByExternalCloudProviderTypeDimensionsOptions, CancellationToken) |
Lists the dimensions by the external cloud provider type.
|
ByExternalCloudProviderTypeDimensionsAsync(TenantResource, TenantResourceByExternalCloudProviderTypeDimensionsOptions, CancellationToken) |
Lists the dimensions by the external cloud provider type.
|
CheckCostManagementNameAvailabilityByScheduledAction(TenantResource, CostManagementNameAvailabilityContent, CancellationToken) |
Checks availability and correctness of the name for a scheduled action.
|
CheckCostManagementNameAvailabilityByScheduledActionAsync(TenantResource, CostManagementNameAvailabilityContent, CancellationToken) |
Checks availability and correctness of the name for a scheduled action.
|
CheckCostManagementNameAvailabilityByScopeScheduledAction(ArmClient, ResourceIdentifier, CostManagementNameAvailabilityContent, CancellationToken) |
Checks availability and correctness of the name for a scheduled action within the given scope.
|
CheckCostManagementNameAvailabilityByScopeScheduledActionAsync(ArmClient, ResourceIdentifier, CostManagementNameAvailabilityContent, CancellationToken) |
Checks availability and correctness of the name for a scheduled action within the given scope.
|
DownloadByBillingProfilePriceSheet(TenantResource, WaitUntil, String, String, 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.Due to Azure product growth, the Azure price sheet download experience in this preview version will be updated from a single csv file to a Zip file containing multiple csv files, each with max 200k records.
|
DownloadByBillingProfilePriceSheetAsync(TenantResource, WaitUntil, String, String, 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.Due to Azure product growth, the Azure price sheet download experience in this preview version will be updated from a single csv file to a Zip file containing multiple csv files, each with max 200k records.
|
DownloadPriceSheet(TenantResource, WaitUntil, String, String, String, 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.
|
DownloadPriceSheetAsync(TenantResource, WaitUntil, String, String, String, 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.
|
ExternalCloudProviderUsageForecast(TenantResource, ExternalCloudProviderType, String, ForecastDefinition, String, CancellationToken) |
Lists the forecast charges for external cloud provider type defined.
|
ExternalCloudProviderUsageForecastAsync(TenantResource, ExternalCloudProviderType, String, ForecastDefinition, String, CancellationToken) |
Lists the forecast charges for external cloud provider type defined.
|
GenerateBenefitUtilizationSummariesReportAsyncSavingsPlanScope(TenantResource, WaitUntil, String, String, BenefitUtilizationSummariesContent, CancellationToken) |
Triggers generation of a benefit utilization summaries report for the provided savings plan.
|
GenerateBenefitUtilizationSummariesReportAsyncSavingsPlanScopeAsync(TenantResource, WaitUntil, String, String, BenefitUtilizationSummariesContent, CancellationToken) |
Triggers generation of a benefit utilization summaries report for the provided savings plan.
|
GenerateBenefitUtilizationSummariesReportBillingAccountScope(TenantResource, WaitUntil, String, BenefitUtilizationSummariesContent, CancellationToken) |
Triggers generation of a benefit utilization summaries report for the provided billing account. This API supports only enrollment accounts.
|
GenerateBenefitUtilizationSummariesReportBillingAccountScopeAsync(TenantResource, WaitUntil, String, BenefitUtilizationSummariesContent, CancellationToken) |
Triggers generation of a benefit utilization summaries report for the provided billing account. This API supports only enrollment accounts.
|
GenerateBenefitUtilizationSummariesReportBillingProfileScope(TenantResource, WaitUntil, String, String, BenefitUtilizationSummariesContent, CancellationToken) |
Triggers generation of a benefit utilization summaries report for the provided billing account and billing profile.
|
GenerateBenefitUtilizationSummariesReportBillingProfileScopeAsync(TenantResource, WaitUntil, String, String, BenefitUtilizationSummariesContent, CancellationToken) |
Triggers generation of a benefit utilization summaries report for the provided billing account and billing profile.
|
GenerateBenefitUtilizationSummariesReportReservationOrderScope(TenantResource, WaitUntil, String, BenefitUtilizationSummariesContent, CancellationToken) |
Triggers generation of a benefit utilization summaries report for the provided reservation order.
|
GenerateBenefitUtilizationSummariesReportReservationOrderScopeAsync(TenantResource, WaitUntil, String, BenefitUtilizationSummariesContent, CancellationToken) |
Triggers generation of a benefit utilization summaries report for the provided reservation order.
|
GenerateBenefitUtilizationSummariesReportReservationScope(TenantResource, WaitUntil, String, String, BenefitUtilizationSummariesContent, CancellationToken) |
Triggers generation of a benefit utilization summaries report for the provided reservation.
|
GenerateBenefitUtilizationSummariesReportReservationScopeAsync(TenantResource, WaitUntil, String, String, BenefitUtilizationSummariesContent, CancellationToken) |
Triggers generation of a benefit utilization summaries report for the provided reservation.
|
GenerateBenefitUtilizationSummariesReportSavingsPlanOrderScope(TenantResource, WaitUntil, String, BenefitUtilizationSummariesContent, CancellationToken) |
Triggers generation of a benefit utilization summaries report for the provided savings plan order.
|
GenerateBenefitUtilizationSummariesReportSavingsPlanOrderScopeAsync(TenantResource, WaitUntil, String, BenefitUtilizationSummariesContent, CancellationToken) |
Triggers generation of a benefit utilization summaries report for the provided savings plan order.
|
GetAllCostManagementViews(ArmClient, ResourceIdentifier) |
Gets a collection of CostManagementViewsResources in the ArmClient. MockingTo mock this method, please mock GetAllCostManagementViews(ResourceIdentifier) instead. |
GetAllTenantsCostManagementViews(TenantResource) |
Gets a collection of TenantsCostManagementViewsResources in the TenantResource. MockingTo mock this method, please mock GetAllTenantsCostManagementViews() instead. |
GetBenefitRecommendations(ArmClient, ResourceIdentifier, String, String, String, CancellationToken) |
List of recommendations for purchasing savings plan.
|
GetBenefitRecommendationsAsync(ArmClient, ResourceIdentifier, String, String, String, CancellationToken) |
List of recommendations for purchasing savings plan.
|
GetBenefitUtilizationSummariesByBillingAccountId(TenantResource, String, Nullable<GrainContent>, String, CancellationToken) |
Lists savings plan utilization summaries for the enterprise agreement scope. Supported at grain values: 'Daily' and 'Monthly'.
|
GetBenefitUtilizationSummariesByBillingAccountIdAsync(TenantResource, String, Nullable<GrainContent>, String, CancellationToken) |
Lists savings plan utilization summaries for the enterprise agreement scope. Supported at grain values: 'Daily' and 'Monthly'.
|
GetBenefitUtilizationSummariesByBillingProfileId(TenantResource, String, String, Nullable<GrainContent>, String, CancellationToken) |
Lists savings plan utilization summaries for billing profile. Supported at grain values: 'Daily' and 'Monthly'.
|
GetBenefitUtilizationSummariesByBillingProfileIdAsync(TenantResource, String, String, Nullable<GrainContent>, String, CancellationToken) |
Lists savings plan utilization summaries for billing profile. Supported at grain values: 'Daily' and 'Monthly'.
|
GetBenefitUtilizationSummariesBySavingsPlanId(TenantResource, String, String, String, Nullable<GrainContent>, CancellationToken) |
Lists the savings plan utilization summaries for daily or monthly grain.
|
GetBenefitUtilizationSummariesBySavingsPlanIdAsync(TenantResource, String, String, String, Nullable<GrainContent>, CancellationToken) |
Lists the savings plan utilization summaries for daily or monthly grain.
|
GetBenefitUtilizationSummariesBySavingsPlanOrder(TenantResource, String, String, Nullable<GrainContent>, CancellationToken) |
Lists the savings plan utilization summaries for daily or monthly grain.
|
GetBenefitUtilizationSummariesBySavingsPlanOrderAsync(TenantResource, String, String, Nullable<GrainContent>, CancellationToken) |
Lists the savings plan utilization summaries for daily or monthly grain.
|
GetCostManagementAlert(ArmClient, ResourceIdentifier, String, CancellationToken) |
Gets the alert for the scope by alert ID.
|
GetCostManagementAlertAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Gets the alert for the scope by alert ID.
|
GetCostManagementAlertResource(ArmClient, ResourceIdentifier) |
Gets an object representing a CostManagementAlertResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a CostManagementAlertResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCostManagementAlertResource(ResourceIdentifier) instead. |
GetCostManagementAlerts(ArmClient, ResourceIdentifier) |
Gets a collection of CostManagementAlertResources in the ArmClient. MockingTo mock this method, please mock GetCostManagementAlerts(ResourceIdentifier) instead. |
GetCostManagementAlerts(TenantResource, ExternalCloudProviderType, String, CancellationToken) |
Lists the Alerts for external cloud provider type defined.
|
GetCostManagementAlertsAsync(TenantResource, ExternalCloudProviderType, String, CancellationToken) |
Lists the Alerts for external cloud provider type defined.
|
GetCostManagementExport(ArmClient, ResourceIdentifier, String, String, CancellationToken) |
The operation to get the export for the defined scope by export name.
|
GetCostManagementExportAsync(ArmClient, ResourceIdentifier, String, String, CancellationToken) |
The operation to get the export for the defined scope by export name.
|
GetCostManagementExportResource(ArmClient, ResourceIdentifier) |
Gets an object representing a CostManagementExportResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a CostManagementExportResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCostManagementExportResource(ResourceIdentifier) instead. |
GetCostManagementExports(ArmClient, ResourceIdentifier) |
Gets a collection of CostManagementExportResources in the ArmClient. MockingTo mock this method, please mock GetCostManagementExports(ResourceIdentifier) instead. |
GetCostManagementViews(ArmClient, ResourceIdentifier, String, CancellationToken) |
Gets the view for the defined scope by view name.
|
GetCostManagementViewsAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Gets the view for the defined scope by view name.
|
GetCostManagementViewsResource(ArmClient, ResourceIdentifier) |
Gets an object representing a CostManagementViewsResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a CostManagementViewsResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCostManagementViewsResource(ResourceIdentifier) instead. |
GetDimensions(ArmClient, ResourceIdentifier, String, String, String, Nullable<Int32>, CancellationToken) |
Lists the dimensions by the defined scope.
|
GetDimensionsAsync(ArmClient, ResourceIdentifier, String, String, String, Nullable<Int32>, CancellationToken) |
Lists the dimensions by the defined scope.
|
GetScheduledAction(ArmClient, ResourceIdentifier, String, CancellationToken) |
Get the shared scheduled action from the given scope by name.
|
GetScheduledActionAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Get the shared scheduled action from the given scope by name.
|
GetScheduledActionResource(ArmClient, ResourceIdentifier) |
Gets an object representing a ScheduledActionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a ScheduledActionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetScheduledActionResource(ResourceIdentifier) instead. |
GetScheduledActions(ArmClient, ResourceIdentifier) |
Gets a collection of ScheduledActionResources in the ArmClient. MockingTo mock this method, please mock GetScheduledActions(ResourceIdentifier) instead. |
GetTenantScheduledAction(TenantResource, String, CancellationToken) |
Get the private scheduled action by name.
|
GetTenantScheduledActionAsync(TenantResource, String, CancellationToken) |
Get the private scheduled action by name.
|
GetTenantScheduledActionResource(ArmClient, ResourceIdentifier) |
Gets an object representing a TenantScheduledActionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a TenantScheduledActionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetTenantScheduledActionResource(ResourceIdentifier) instead. |
GetTenantScheduledActions(TenantResource) |
Gets a collection of TenantScheduledActionResources in the TenantResource. MockingTo mock this method, please mock GetTenantScheduledActions() instead. |
GetTenantsCostManagementViews(TenantResource, String, CancellationToken) |
Gets the view by view name.
|
GetTenantsCostManagementViewsAsync(TenantResource, String, CancellationToken) |
Gets the view by view name.
|
GetTenantsCostManagementViewsResource(ArmClient, ResourceIdentifier) |
Gets an object representing a TenantsCostManagementViewsResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a TenantsCostManagementViewsResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetTenantsCostManagementViewsResource(ResourceIdentifier) instead. |
UsageByExternalCloudProviderTypeQuery(TenantResource, ExternalCloudProviderType, String, QueryDefinition, CancellationToken) |
Query the usage data for external cloud provider type defined.
|
UsageByExternalCloudProviderTypeQueryAsync(TenantResource, ExternalCloudProviderType, String, QueryDefinition, CancellationToken) |
Query the usage data for external cloud provider type defined.
|
UsageForecast(ArmClient, ResourceIdentifier, ForecastDefinition, String, CancellationToken) |
Lists the forecast charges for scope defined.
|
UsageForecastAsync(ArmClient, ResourceIdentifier, ForecastDefinition, String, CancellationToken) |
Lists the forecast charges for scope defined.
|
UsageQuery(ArmClient, ResourceIdentifier, QueryDefinition, CancellationToken) |
Query the usage data for scope defined.
|
UsageQueryAsync(ArmClient, ResourceIdentifier, QueryDefinition, CancellationToken) |
Query the usage data for scope defined.
|
Applies to
Azure SDK for .NET