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

Name Description
GetAll(ArmClient, ResourceIdentifier, CancellationToken)

List maccs that are applicable for a given billing account. <item> Mocking. To mock this method, please mock GetAll(ResourceIdentifier, CancellationToken) instead. </item>

GetAll(TenantResource, SellerResourceListRequest, CancellationToken)

List maccs by billing account <item> Mocking. To mock this method, please mock GetAll(SellerResourceListRequest, CancellationToken) instead. </item>

GetAllAsync(ArmClient, ResourceIdentifier, CancellationToken)

List maccs that are applicable for a given billing account. <item> Mocking. To mock this method, please mock GetAllAsync(ResourceIdentifier, CancellationToken) instead. </item>

GetAllAsync(TenantResource, SellerResourceListRequest, CancellationToken)

List maccs by billing account <item> Mocking. To mock this method, please mock GetAllAsync(SellerResourceListRequest, CancellationToken) instead. </item>

GetAllFreeServices(ResourceGroupResource)

Gets a collection of FreeServices in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetAllFreeServices() instead. </item>

GetApplicable(ArmClient, ResourceIdentifier, CancellationToken)

List applicable credits for the provided scope. Currently supported scopes: BillingAccountResourceId <item> Mocking. To mock this method, please mock GetApplicable(ResourceIdentifier, CancellationToken) instead. </item>

GetApplicableAsync(ArmClient, ResourceIdentifier, CancellationToken)

List applicable credits for the provided scope. Currently supported scopes: BillingAccountResourceId <item> Mocking. To mock this method, please mock GetApplicableAsync(ResourceIdentifier, CancellationToken) instead. </item>

GetBillingBenefitsReservationOrderAlias(TenantResource, String, CancellationToken)

Get a reservation order alias. <item> Mocking. To mock this method, please mock GetBillingBenefitsReservationOrderAlias(String, CancellationToken) instead. </item>

GetBillingBenefitsReservationOrderAliasAsync(TenantResource, String, CancellationToken)

Get a reservation order alias. <item> Mocking. To mock this method, please mock GetBillingBenefitsReservationOrderAliasAsync(String, CancellationToken) instead. </item>

GetBillingBenefitsReservationOrderAliases(TenantResource)

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

GetBillingBenefitsReservationOrderAliasResource(ArmClient, ResourceIdentifier)

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

GetBillingBenefitsSavingsPlanOrder(TenantResource, String, String, CancellationToken)

Get a savings plan order. <item> Mocking. To mock this method, please mock GetBillingBenefitsSavingsPlanOrder(String, String, CancellationToken) instead. </item>

GetBillingBenefitsSavingsPlanOrderAlias(TenantResource, String, CancellationToken)

Get a savings plan. <item> Mocking. To mock this method, please mock GetBillingBenefitsSavingsPlanOrderAlias(String, CancellationToken) instead. </item>

GetBillingBenefitsSavingsPlanOrderAliasAsync(TenantResource, String, CancellationToken)

Get a savings plan. <item> Mocking. To mock this method, please mock GetBillingBenefitsSavingsPlanOrderAliasAsync(String, CancellationToken) instead. </item>

GetBillingBenefitsSavingsPlanOrderAliases(TenantResource)

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

GetBillingBenefitsSavingsPlanOrderAliasResource(ArmClient, ResourceIdentifier)

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

GetBillingBenefitsSavingsPlanOrderAsync(TenantResource, String, String, CancellationToken)

Get a savings plan order. <item> Mocking. To mock this method, please mock GetBillingBenefitsSavingsPlanOrderAsync(String, String, CancellationToken) instead. </item>

GetBillingBenefitsSavingsPlanOrderResource(ArmClient, ResourceIdentifier)

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

GetBillingBenefitsSavingsPlanOrders(TenantResource)

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

GetBillingBenefitsSavingsPlanResource(ArmClient, ResourceIdentifier)

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

GetBillingBenefitsSavingsPlans(TenantResource, String, String, String, Nullable<Single>, String, Nullable<Single>, CancellationToken)

List savings plans. <item> Mocking. To mock this method, please mock GetBillingBenefitsSavingsPlans(String, String, String, Nullable<Single>, String, Nullable<Single>, CancellationToken) instead. </item>

GetBillingBenefitsSavingsPlansAsync(TenantResource, String, String, String, Nullable<Single>, String, Nullable<Single>, CancellationToken)

List savings plans. <item> Mocking. To mock this method, please mock GetBillingBenefitsSavingsPlansAsync(String, String, String, Nullable<Single>, String, Nullable<Single>, CancellationToken) instead. </item>

GetConditionalCredit(ResourceGroupResource, String, CancellationToken)

Get a conditional credit. <item> Mocking. To mock this method, please mock GetConditionalCredit(String, CancellationToken) instead. </item>

GetConditionalCreditAsync(ResourceGroupResource, String, CancellationToken)

Get a conditional credit. <item> Mocking. To mock this method, please mock GetConditionalCreditAsync(String, CancellationToken) instead. </item>

GetConditionalCreditByScope(ArmClient, ResourceIdentifier, CancellationToken)

List conditional credits that are applicable for a given scope. Currently supported scopes: billing accounts <item> Mocking. To mock this method, please mock GetConditionalCreditByScope(ResourceIdentifier, CancellationToken) instead. </item>

GetConditionalCreditByScopeAsync(ArmClient, ResourceIdentifier, CancellationToken)

List conditional credits that are applicable for a given scope. Currently supported scopes: billing accounts <item> Mocking. To mock this method, please mock GetConditionalCreditByScopeAsync(ResourceIdentifier, CancellationToken) instead. </item>

GetConditionalCreditContributorResource(ArmClient, ResourceIdentifier)

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

GetConditionalCreditResource(ArmClient, ResourceIdentifier)

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

GetConditionalCredits(ResourceGroupResource)

Gets a collection of ConditionalCredits in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetConditionalCredits() instead. </item>

GetConditionalCredits(SubscriptionResource, CancellationToken)

List conditional credits by subscription. <item> Mocking. To mock this method, please mock GetConditionalCredits(CancellationToken) instead. </item>

GetConditionalCreditsAsync(SubscriptionResource, CancellationToken)

List conditional credits by subscription. <item> Mocking. To mock this method, please mock GetConditionalCreditsAsync(CancellationToken) instead. </item>

GetContributorResource(ArmClient, ResourceIdentifier)

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

GetCredit(ResourceGroupResource, String, CancellationToken)

Get a credit. <item> Mocking. To mock this method, please mock GetCredit(String, CancellationToken) instead. </item>

GetCreditAsync(ResourceGroupResource, String, CancellationToken)

Get a credit. <item> Mocking. To mock this method, please mock GetCreditAsync(String, CancellationToken) instead. </item>

GetCreditResource(ArmClient, ResourceIdentifier)

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

GetCredits(ResourceGroupResource)

Gets a collection of Credits in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetCredits() instead. </item>

GetCredits(SubscriptionResource, CancellationToken)

List credits under a subscription from primary service tenant. <item> Mocking. To mock this method, please mock GetCredits(CancellationToken) instead. </item>

GetCreditsAsync(SubscriptionResource, CancellationToken)

List credits under a subscription from primary service tenant. <item> Mocking. To mock this method, please mock GetCreditsAsync(CancellationToken) instead. </item>

GetCreditSourceResource(ArmClient, ResourceIdentifier)

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

GetDiscount(ResourceGroupResource, String, CancellationToken)

Get discount at resource group level <item> Mocking. To mock this method, please mock GetDiscount(String, CancellationToken) instead. </item>

GetDiscountAsync(ResourceGroupResource, String, CancellationToken)

Get discount at resource group level <item> Mocking. To mock this method, please mock GetDiscountAsync(String, CancellationToken) instead. </item>

GetDiscountByScope(ArmClient, ResourceIdentifier, CancellationToken)

List discounts that are applicable for a given scope. Currently supported scopes: billing accounts <item> Mocking. To mock this method, please mock GetDiscountByScope(ResourceIdentifier, CancellationToken) instead. </item>

GetDiscountByScopeAsync(ArmClient, ResourceIdentifier, CancellationToken)

List discounts that are applicable for a given scope. Currently supported scopes: billing accounts <item> Mocking. To mock this method, please mock GetDiscountByScopeAsync(ResourceIdentifier, CancellationToken) instead. </item>

GetDiscountResource(ArmClient, ResourceIdentifier)

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

GetDiscounts(ResourceGroupResource)

Gets a collection of Discounts in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetDiscounts() instead. </item>

GetDiscounts(SubscriptionResource, CancellationToken)

List discounts at subscription level <item> Mocking. To mock this method, please mock GetDiscounts(CancellationToken) instead. </item>

GetDiscountsAsync(SubscriptionResource, CancellationToken)

List discounts at subscription level <item> Mocking. To mock this method, please mock GetDiscountsAsync(CancellationToken) instead. </item>

GetFreeServices(ResourceGroupResource, String, CancellationToken)

This operation retrieves properties for free services. <item> Mocking. To mock this method, please mock GetFreeServices(String, CancellationToken) instead. </item>

GetFreeServices(SubscriptionResource, CancellationToken)

This operation lists free services that are available under the specified subscription. <item> Mocking. To mock this method, please mock GetFreeServices(CancellationToken) instead. </item>

GetFreeServicesAsync(ResourceGroupResource, String, CancellationToken)

This operation retrieves properties for free services. <item> Mocking. To mock this method, please mock GetFreeServicesAsync(String, CancellationToken) instead. </item>

GetFreeServicesAsync(SubscriptionResource, CancellationToken)

This operation lists free services that are available under the specified subscription. <item> Mocking. To mock this method, please mock GetFreeServicesAsync(CancellationToken) instead. </item>

GetFreeServicesResource(ArmClient, ResourceIdentifier)

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

GetFromApplicableConditionalCredit(ArmClient, ResourceIdentifier, CancellationToken)

List contributors under applicable conditional credits for a given billing account. <item> Mocking. To mock this method, please mock GetFromApplicableConditionalCredit(ResourceIdentifier, CancellationToken) instead. </item>

GetFromApplicableConditionalCreditAsync(ArmClient, ResourceIdentifier, CancellationToken)

List contributors under applicable conditional credits for a given billing account. <item> Mocking. To mock this method, please mock GetFromApplicableConditionalCreditAsync(ResourceIdentifier, CancellationToken) instead. </item>

GetFromApplicableMacc(ArmClient, ResourceIdentifier, CancellationToken)

List contributors under applicable MACCs for a given billing account. <item> Mocking. To mock this method, please mock GetFromApplicableMacc(ResourceIdentifier, CancellationToken) instead. </item>

GetFromApplicableMaccAsync(ArmClient, ResourceIdentifier, CancellationToken)

List contributors under applicable MACCs for a given billing account. <item> Mocking. To mock this method, please mock GetFromApplicableMaccAsync(ResourceIdentifier, CancellationToken) instead. </item>

GetMacc(ResourceGroupResource, String, CancellationToken)

Get a MACC. <item> Mocking. To mock this method, please mock GetMacc(String, CancellationToken) instead. </item>

GetMaccAsync(ResourceGroupResource, String, CancellationToken)

Get a MACC. <item> Mocking. To mock this method, please mock GetMaccAsync(String, CancellationToken) instead. </item>

GetMaccResource(ArmClient, ResourceIdentifier)

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

GetMaccs(ResourceGroupResource)

Gets a collection of Maccs in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetMaccs() instead. </item>

GetMaccs(SubscriptionResource, CancellationToken)

List MACCs under a subscription from primary service tenant. <item> Mocking. To mock this method, please mock GetMaccs(CancellationToken) instead. </item>

GetMaccsAsync(SubscriptionResource, CancellationToken)

List MACCs under a subscription from primary service tenant. <item> Mocking. To mock this method, please mock GetMaccsAsync(CancellationToken) instead. </item>

Validate(TenantResource, BenefitValidateRequest, CancellationToken)

Validate savings plan purchase. <item> Mocking. To mock this method, please mock Validate(BenefitValidateRequest, CancellationToken) instead. </item>

ValidateAsync(TenantResource, BenefitValidateRequest, CancellationToken)

Validate savings plan purchase. <item> Mocking. To mock this method, please mock ValidateAsync(BenefitValidateRequest, CancellationToken) instead. </item>

Applies to