다음을 통해 공유


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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
GetTenantScheduledActionAsync(TenantResource, String, CancellationToken)

Get the private scheduled action by name.

  • Request Path: /providers/Microsoft.CostManagement/scheduledActions/{name}
  • Operation Id: ScheduledActions_Get
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.

  • Request Path: /providers/Microsoft.CostManagement/views/{viewName}
  • Operation Id: Views_Get
GetTenantsCostManagementViewsAsync(TenantResource, String, CancellationToken)

Gets the view by view name.

  • Request Path: /providers/Microsoft.CostManagement/views/{viewName}
  • Operation Id: Views_Get
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
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
UsageForecast(ArmClient, ResourceIdentifier, ForecastDefinition, String, CancellationToken)

Lists the forecast charges for scope defined.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/forecast
  • Operation Id: Forecast_Usage
UsageForecastAsync(ArmClient, ResourceIdentifier, ForecastDefinition, String, CancellationToken)

Lists the forecast charges for scope defined.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/forecast
  • Operation Id: Forecast_Usage
UsageQuery(ArmClient, ResourceIdentifier, QueryDefinition, CancellationToken)

Query the usage data for scope defined.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/query
  • Operation Id: Query_Usage
UsageQueryAsync(ArmClient, ResourceIdentifier, QueryDefinition, CancellationToken)

Query the usage data for scope defined.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/query
  • Operation Id: Query_Usage

Applies to