Share via


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

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

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/generateReservationDetailsReport
  • Operation Id: GenerateReservationDetailsReport_ByBillingAccountId
  • Default Api Version: 2023-03-01
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

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/generateReservationDetailsReport
  • Operation Id: GenerateReservationDetailsReport_ByBillingAccountId
  • Default Api Version: 2023-03-01
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

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.CostManagement/generateReservationDetailsReport
  • Operation Id: GenerateReservationDetailsReport_ByBillingProfileId
  • Default Api Version: 2023-03-01
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

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.CostManagement/generateReservationDetailsReport
  • Operation Id: GenerateReservationDetailsReport_ByBillingProfileId
  • Default Api Version: 2023-03-01
ByExternalCloudProviderTypeDimensions(TenantResource, TenantResourceByExternalCloudProviderTypeDimensionsOptions, CancellationToken)

Lists the dimensions by the external cloud provider type.

  • Request Path: /providers/Microsoft.CostManagement/{externalCloudProviderType}/{externalCloudProviderId}/dimensions
  • Operation Id: Dimensions_ByExternalCloudProviderType
  • Default Api Version: 2023-03-01
ByExternalCloudProviderTypeDimensionsAsync(TenantResource, TenantResourceByExternalCloudProviderTypeDimensionsOptions, CancellationToken)

Lists the dimensions by the external cloud provider type.

  • Request Path: /providers/Microsoft.CostManagement/{externalCloudProviderType}/{externalCloudProviderId}/dimensions
  • Operation Id: Dimensions_ByExternalCloudProviderType
  • Default Api Version: 2023-03-01
CheckCostManagementNameAvailabilityByScheduledAction(TenantResource, CostManagementNameAvailabilityContent, CancellationToken)

Checks availability and correctness of the name for a scheduled action.

  • Request Path: /providers/Microsoft.CostManagement/checkNameAvailability
  • Operation Id: ScheduledActions_CheckNameAvailability
  • Default Api Version: 2023-03-01
CheckCostManagementNameAvailabilityByScheduledActionAsync(TenantResource, CostManagementNameAvailabilityContent, CancellationToken)

Checks availability and correctness of the name for a scheduled action.

  • Request Path: /providers/Microsoft.CostManagement/checkNameAvailability
  • Operation Id: ScheduledActions_CheckNameAvailability
  • Default Api Version: 2023-03-01
CheckCostManagementNameAvailabilityByScopeScheduledAction(ArmClient, ResourceIdentifier, CostManagementNameAvailabilityContent, CancellationToken)

Checks availability and correctness of the name for a scheduled action within the given scope.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/checkNameAvailability
  • Operation Id: ScheduledActions_CheckNameAvailabilityByScope
  • Default Api Version: 2023-03-01
CheckCostManagementNameAvailabilityByScopeScheduledActionAsync(ArmClient, ResourceIdentifier, CostManagementNameAvailabilityContent, CancellationToken)

Checks availability and correctness of the name for a scheduled action within the given scope.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/checkNameAvailability
  • Operation Id: ScheduledActions_CheckNameAvailabilityByScope
  • Default Api Version: 2023-03-01
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.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/providers/Microsoft.CostManagement/pricesheets/default/download
  • Operation Id: PriceSheet_DownloadByBillingProfile
  • Default Api Version: 2023-03-01
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.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/providers/Microsoft.CostManagement/pricesheets/default/download
  • Operation Id: PriceSheet_DownloadByBillingProfile
  • Default Api Version: 2023-03-01
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.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoices/{invoiceName}/providers/Microsoft.CostManagement/pricesheets/default/download
  • Operation Id: PriceSheet_Download
  • Default Api Version: 2023-03-01
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.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoices/{invoiceName}/providers/Microsoft.CostManagement/pricesheets/default/download
  • Operation Id: PriceSheet_Download
  • Default Api Version: 2023-03-01
ExternalCloudProviderUsageForecast(TenantResource, ExternalCloudProviderType, String, ForecastDefinition, String, CancellationToken)

Lists the forecast charges for external cloud provider type defined.

  • Request Path: /providers/Microsoft.CostManagement/{externalCloudProviderType}/{externalCloudProviderId}/forecast
  • Operation Id: Forecast_ExternalCloudProviderUsage
  • Default Api Version: 2023-03-01
ExternalCloudProviderUsageForecastAsync(TenantResource, ExternalCloudProviderType, String, ForecastDefinition, String, CancellationToken)

Lists the forecast charges for external cloud provider type defined.

  • Request Path: /providers/Microsoft.CostManagement/{externalCloudProviderType}/{externalCloudProviderId}/forecast
  • Operation Id: Forecast_ExternalCloudProviderUsage
  • Default Api Version: 2023-03-01
GenerateBenefitUtilizationSummariesReportAsyncSavingsPlanScope(TenantResource, WaitUntil, String, String, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided savings plan.

  • Request Path: /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReport
  • Operation Id: SavingsPlanScope_GenerateBenefitUtilizationSummariesReportAsync
  • Default Api Version: 2023-03-01
GenerateBenefitUtilizationSummariesReportAsyncSavingsPlanScopeAsync(TenantResource, WaitUntil, String, String, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided savings plan.

  • Request Path: /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReport
  • Operation Id: SavingsPlanScope_GenerateBenefitUtilizationSummariesReportAsync
  • Default Api Version: 2023-03-01
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.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReport
  • Operation Id: BillingAccountScope_GenerateBenefitUtilizationSummariesReport
  • Default Api Version: 2023-03-01
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.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReport
  • Operation Id: BillingAccountScope_GenerateBenefitUtilizationSummariesReport
  • Default Api Version: 2023-03-01
GenerateBenefitUtilizationSummariesReportBillingProfileScope(TenantResource, WaitUntil, String, String, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided billing account and billing profile.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReport
  • Operation Id: BillingProfileScope_GenerateBenefitUtilizationSummariesReport
  • Default Api Version: 2023-03-01
GenerateBenefitUtilizationSummariesReportBillingProfileScopeAsync(TenantResource, WaitUntil, String, String, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided billing account and billing profile.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReport
  • Operation Id: BillingProfileScope_GenerateBenefitUtilizationSummariesReport
  • Default Api Version: 2023-03-01
GenerateBenefitUtilizationSummariesReportReservationOrderScope(TenantResource, WaitUntil, String, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided reservation order.

  • Request Path: /providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReport
  • Operation Id: ReservationOrderScope_GenerateBenefitUtilizationSummariesReport
  • Default Api Version: 2023-03-01
GenerateBenefitUtilizationSummariesReportReservationOrderScopeAsync(TenantResource, WaitUntil, String, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided reservation order.

  • Request Path: /providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReport
  • Operation Id: ReservationOrderScope_GenerateBenefitUtilizationSummariesReport
  • Default Api Version: 2023-03-01
GenerateBenefitUtilizationSummariesReportReservationScope(TenantResource, WaitUntil, String, String, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided reservation.

  • Request Path: /providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/reservations/{reservationId}/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReport
  • Operation Id: ReservationScope_GenerateBenefitUtilizationSummariesReport
  • Default Api Version: 2023-03-01
GenerateBenefitUtilizationSummariesReportReservationScopeAsync(TenantResource, WaitUntil, String, String, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided reservation.

  • Request Path: /providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/reservations/{reservationId}/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReport
  • Operation Id: ReservationScope_GenerateBenefitUtilizationSummariesReport
  • Default Api Version: 2023-03-01
GenerateBenefitUtilizationSummariesReportSavingsPlanOrderScope(TenantResource, WaitUntil, String, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided savings plan order.

  • Request Path: /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReport
  • Operation Id: SavingsPlanOrderScope_GenerateBenefitUtilizationSummariesReport
  • Default Api Version: 2023-03-01
GenerateBenefitUtilizationSummariesReportSavingsPlanOrderScopeAsync(TenantResource, WaitUntil, String, BenefitUtilizationSummariesContent, CancellationToken)

Triggers generation of a benefit utilization summaries report for the provided savings plan order.

  • Request Path: /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/providers/Microsoft.CostManagement/generateBenefitUtilizationSummariesReport
  • Operation Id: SavingsPlanOrderScope_GenerateBenefitUtilizationSummariesReport
  • Default Api Version: 2023-03-01
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.

  • Request Path: /{billingScope}/providers/Microsoft.CostManagement/benefitRecommendations
  • Operation Id: BenefitRecommendations_List
  • Default Api Version: 2023-03-01
GetBenefitRecommendationsAsync(ArmClient, ResourceIdentifier, String, String, String, CancellationToken)

List of recommendations for purchasing savings plan.

  • Request Path: /{billingScope}/providers/Microsoft.CostManagement/benefitRecommendations
  • Operation Id: BenefitRecommendations_List
  • Default Api Version: 2023-03-01
GetBenefitUtilizationSummariesByBillingAccountId(TenantResource, String, Nullable<GrainContent>, String, CancellationToken)

Lists savings plan utilization summaries for the enterprise agreement scope. Supported at grain values: 'Daily' and 'Monthly'.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries
  • Operation Id: BenefitUtilizationSummaries_ListByBillingAccountId
  • Default Api Version: 2023-03-01
GetBenefitUtilizationSummariesByBillingAccountIdAsync(TenantResource, String, Nullable<GrainContent>, String, CancellationToken)

Lists savings plan utilization summaries for the enterprise agreement scope. Supported at grain values: 'Daily' and 'Monthly'.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries
  • Operation Id: BenefitUtilizationSummaries_ListByBillingAccountId
  • Default Api Version: 2023-03-01
GetBenefitUtilizationSummariesByBillingProfileId(TenantResource, String, String, Nullable<GrainContent>, String, CancellationToken)

Lists savings plan utilization summaries for billing profile. Supported at grain values: 'Daily' and 'Monthly'.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries
  • Operation Id: BenefitUtilizationSummaries_ListByBillingProfileId
  • Default Api Version: 2023-03-01
GetBenefitUtilizationSummariesByBillingProfileIdAsync(TenantResource, String, String, Nullable<GrainContent>, String, CancellationToken)

Lists savings plan utilization summaries for billing profile. Supported at grain values: 'Daily' and 'Monthly'.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries
  • Operation Id: BenefitUtilizationSummaries_ListByBillingProfileId
  • Default Api Version: 2023-03-01
GetBenefitUtilizationSummariesBySavingsPlanId(TenantResource, String, String, String, Nullable<GrainContent>, CancellationToken)

Lists the savings plan utilization summaries for daily or monthly grain.

  • Request Path: /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries
  • Operation Id: BenefitUtilizationSummaries_ListBySavingsPlanId
  • Default Api Version: 2023-03-01
GetBenefitUtilizationSummariesBySavingsPlanIdAsync(TenantResource, String, String, String, Nullable<GrainContent>, CancellationToken)

Lists the savings plan utilization summaries for daily or monthly grain.

  • Request Path: /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries
  • Operation Id: BenefitUtilizationSummaries_ListBySavingsPlanId
  • Default Api Version: 2023-03-01
GetBenefitUtilizationSummariesBySavingsPlanOrder(TenantResource, String, String, Nullable<GrainContent>, CancellationToken)

Lists the savings plan utilization summaries for daily or monthly grain.

  • Request Path: /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries
  • Operation Id: BenefitUtilizationSummaries_ListBySavingsPlanOrder
  • Default Api Version: 2023-03-01
GetBenefitUtilizationSummariesBySavingsPlanOrderAsync(TenantResource, String, String, Nullable<GrainContent>, CancellationToken)

Lists the savings plan utilization summaries for daily or monthly grain.

  • Request Path: /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}/providers/Microsoft.CostManagement/benefitUtilizationSummaries
  • Operation Id: BenefitUtilizationSummaries_ListBySavingsPlanOrder
  • Default Api Version: 2023-03-01
GetCostManagementAlert(ArmClient, ResourceIdentifier, String, CancellationToken)

Gets the alert for the scope by alert ID.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/alerts/{alertId}
  • Operation Id: Alerts_Get
  • Default Api Version: 2023-03-01
  • Resource: CostManagementAlertResource
GetCostManagementAlertAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Gets the alert for the scope by alert ID.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/alerts/{alertId}
  • Operation Id: Alerts_Get
  • Default Api Version: 2023-03-01
  • Resource: CostManagementAlertResource
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.

  • Request Path: /providers/Microsoft.CostManagement/{externalCloudProviderType}/{externalCloudProviderId}/alerts
  • Operation Id: Alerts_ListExternal
  • Default Api Version: 2023-03-01
  • Resource: CostManagementAlertResource
GetCostManagementAlertsAsync(TenantResource, ExternalCloudProviderType, String, CancellationToken)

Lists the Alerts for external cloud provider type defined.

  • Request Path: /providers/Microsoft.CostManagement/{externalCloudProviderType}/{externalCloudProviderId}/alerts
  • Operation Id: Alerts_ListExternal
  • Default Api Version: 2023-03-01
  • Resource: CostManagementAlertResource
GetCostManagementExport(ArmClient, ResourceIdentifier, String, String, CancellationToken)

The operation to get the export for the defined scope by export name.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/exports/{exportName}
  • Operation Id: Exports_Get
  • Default Api Version: 2023-03-01
  • Resource: CostManagementExportResource
GetCostManagementExportAsync(ArmClient, ResourceIdentifier, String, String, CancellationToken)

The operation to get the export for the defined scope by export name.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/exports/{exportName}
  • Operation Id: Exports_Get
  • Default Api Version: 2023-03-01
  • Resource: CostManagementExportResource
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.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/views/{viewName}
  • Operation Id: Views_GetByScope
  • Default Api Version: 2023-03-01
  • Resource: CostManagementViewsResource
GetCostManagementViewsAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Gets the view for the defined scope by view name.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/views/{viewName}
  • Operation Id: Views_GetByScope
  • Default Api Version: 2023-03-01
  • Resource: CostManagementViewsResource
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.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/dimensions
  • Operation Id: Dimensions_List
  • Default Api Version: 2023-03-01
GetDimensionsAsync(ArmClient, ResourceIdentifier, String, String, String, Nullable<Int32>, CancellationToken)

Lists the dimensions by the defined scope.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/dimensions
  • Operation Id: Dimensions_List
  • Default Api Version: 2023-03-01
GetScheduledAction(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the shared scheduled action from the given scope by name.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}
  • Operation Id: ScheduledActions_GetByScope
  • Default Api Version: 2023-03-01
  • Resource: ScheduledActionResource
GetScheduledActionAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get the shared scheduled action from the given scope by name.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/scheduledActions/{name}
  • Operation Id: ScheduledActions_GetByScope
  • Default Api Version: 2023-03-01
  • Resource: ScheduledActionResource
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.

  • Request Path: /providers/Microsoft.CostManagement/scheduledActions/{name}
  • Operation Id: ScheduledActions_Get
  • Default Api Version: 2023-03-01
  • Resource: TenantScheduledActionResource
GetTenantScheduledActionAsync(TenantResource, String, CancellationToken)

Get the private scheduled action by name.

  • Request Path: /providers/Microsoft.CostManagement/scheduledActions/{name}
  • Operation Id: ScheduledActions_Get
  • Default Api Version: 2023-03-01
  • Resource: TenantScheduledActionResource
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.

  • Request Path: /providers/Microsoft.CostManagement/{externalCloudProviderType}/{externalCloudProviderId}/query
  • Operation Id: Query_UsageByExternalCloudProviderType
  • Default Api Version: 2023-03-01
UsageByExternalCloudProviderTypeQueryAsync(TenantResource, ExternalCloudProviderType, String, QueryDefinition, CancellationToken)

Query the usage data for external cloud provider type defined.

  • Request Path: /providers/Microsoft.CostManagement/{externalCloudProviderType}/{externalCloudProviderId}/query
  • Operation Id: Query_UsageByExternalCloudProviderType
  • Default Api Version: 2023-03-01
UsageForecast(ArmClient, ResourceIdentifier, ForecastDefinition, String, CancellationToken)

Lists the forecast charges for scope defined.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/forecast
  • Operation Id: Forecast_Usage
  • Default Api Version: 2023-03-01
UsageForecastAsync(ArmClient, ResourceIdentifier, ForecastDefinition, String, CancellationToken)

Lists the forecast charges for scope defined.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/forecast
  • Operation Id: Forecast_Usage
  • Default Api Version: 2023-03-01
UsageQuery(ArmClient, ResourceIdentifier, QueryDefinition, CancellationToken)

Query the usage data for scope defined.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/query
  • Operation Id: Query_Usage
  • Default Api Version: 2023-03-01
UsageQueryAsync(ArmClient, ResourceIdentifier, QueryDefinition, CancellationToken)

Query the usage data for scope defined.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/query
  • Operation Id: Query_Usage
  • Default Api Version: 2023-03-01

Applies to