Dela via


BillingBenefitsExtensions Class

Definition

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

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

Methods

GetBillingBenefitsReservationOrderAlias(TenantResource, String, CancellationToken)

Get a reservation order alias.

  • Request Path: /providers/Microsoft.BillingBenefits/reservationOrderAliases/{reservationOrderAliasName}
  • Operation Id: ReservationOrderAlias_Get
GetBillingBenefitsReservationOrderAliasAsync(TenantResource, String, CancellationToken)

Get a reservation order alias.

  • Request Path: /providers/Microsoft.BillingBenefits/reservationOrderAliases/{reservationOrderAliasName}
  • Operation Id: ReservationOrderAlias_Get
GetBillingBenefitsReservationOrderAliases(TenantResource)

Gets a collection of BillingBenefitsReservationOrderAliasResources in the TenantResource. MockingTo mock this method, please mock GetBillingBenefitsReservationOrderAliases() instead.

GetBillingBenefitsReservationOrderAliasResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingBenefitsReservationOrderAliasResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a BillingBenefitsReservationOrderAliasResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingBenefitsReservationOrderAliasResource(ResourceIdentifier) instead.

GetBillingBenefitsSavingsPlanOrder(TenantResource, String, String, CancellationToken)

Get a savings plan order.

  • Request Path: /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}
  • Operation Id: SavingsPlanOrder_Get
GetBillingBenefitsSavingsPlanOrderAlias(TenantResource, String, CancellationToken)

Get a savings plan.

  • Request Path: /providers/Microsoft.BillingBenefits/savingsPlanOrderAliases/{savingsPlanOrderAliasName}
  • Operation Id: SavingsPlanOrderAlias_Get
GetBillingBenefitsSavingsPlanOrderAliasAsync(TenantResource, String, CancellationToken)

Get a savings plan.

  • Request Path: /providers/Microsoft.BillingBenefits/savingsPlanOrderAliases/{savingsPlanOrderAliasName}
  • Operation Id: SavingsPlanOrderAlias_Get
GetBillingBenefitsSavingsPlanOrderAliases(TenantResource)

Gets a collection of BillingBenefitsSavingsPlanOrderAliasResources in the TenantResource. MockingTo mock this method, please mock GetBillingBenefitsSavingsPlanOrderAliases() instead.

GetBillingBenefitsSavingsPlanOrderAliasResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingBenefitsSavingsPlanOrderAliasResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a BillingBenefitsSavingsPlanOrderAliasResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingBenefitsSavingsPlanOrderAliasResource(ResourceIdentifier) instead.

GetBillingBenefitsSavingsPlanOrderAsync(TenantResource, String, String, CancellationToken)

Get a savings plan order.

  • Request Path: /providers/Microsoft.BillingBenefits/savingsPlanOrders/{savingsPlanOrderId}
  • Operation Id: SavingsPlanOrder_Get
GetBillingBenefitsSavingsPlanOrderResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingBenefitsSavingsPlanOrderResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a BillingBenefitsSavingsPlanOrderResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingBenefitsSavingsPlanOrderResource(ResourceIdentifier) instead.

GetBillingBenefitsSavingsPlanOrders(TenantResource)

Gets a collection of BillingBenefitsSavingsPlanOrderResources in the TenantResource. MockingTo mock this method, please mock GetBillingBenefitsSavingsPlanOrders() instead.

GetBillingBenefitsSavingsPlanResource(ArmClient, ResourceIdentifier)

Gets an object representing a BillingBenefitsSavingsPlanResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingBenefitsSavingsPlanResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingBenefitsSavingsPlanResource(ResourceIdentifier) instead.

GetBillingBenefitsSavingsPlans(TenantResource, TenantResourceGetBillingBenefitsSavingsPlansOptions, CancellationToken)

List savings plans.

  • Request Path: /providers/Microsoft.BillingBenefits/savingsPlans
  • Operation Id: SavingsPlan_ListAll
GetBillingBenefitsSavingsPlansAsync(TenantResource, TenantResourceGetBillingBenefitsSavingsPlansOptions, CancellationToken)

List savings plans.

  • Request Path: /providers/Microsoft.BillingBenefits/savingsPlans
  • Operation Id: SavingsPlan_ListAll
ValidatePurchase(TenantResource, SavingsPlanPurchaseValidateContent, CancellationToken)

Validate savings plan purchase.

  • Request Path: /providers/Microsoft.BillingBenefits/validate
  • Operation Id: ValidatePurchase
ValidatePurchaseAsync(TenantResource, SavingsPlanPurchaseValidateContent, CancellationToken)

Validate savings plan purchase.

  • Request Path: /providers/Microsoft.BillingBenefits/validate
  • Operation Id: ValidatePurchase

Applies to