BillingExtensions 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.Billing.
public static class BillingExtensions
type BillingExtensions = class
Public Module BillingExtensions
- Inheritance
-
BillingExtensions
Methods
GetBillingAccountPaymentMethod(TenantResource, String, String, CancellationToken) |
Gets a payment method available for a billing account. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
|
GetBillingAccountPaymentMethodAsync(TenantResource, String, String, CancellationToken) |
Gets a payment method available for a billing account. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
|
GetBillingAccountPaymentMethodResource(ArmClient, ResourceIdentifier) |
Gets an object representing a BillingAccountPaymentMethodResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingAccountPaymentMethodResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingAccountPaymentMethodResource(ResourceIdentifier) instead. |
GetBillingAccountPaymentMethods(TenantResource, String) |
Gets a collection of BillingAccountPaymentMethodResources in the TenantResource. MockingTo mock this method, please mock GetBillingAccountPaymentMethods(String) instead. |
GetBillingPaymentMethod(TenantResource, String, CancellationToken) |
Gets a payment method owned by the caller.
|
GetBillingPaymentMethodAsync(TenantResource, String, CancellationToken) |
Gets a payment method owned by the caller.
|
GetBillingPaymentMethodLink(TenantResource, String, String, String, CancellationToken) |
Gets a payment method linked with a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
|
GetBillingPaymentMethodLinkAsync(TenantResource, String, String, String, CancellationToken) |
Gets a payment method linked with a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
|
GetBillingPaymentMethodLinkResource(ArmClient, ResourceIdentifier) |
Gets an object representing a BillingPaymentMethodLinkResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a BillingPaymentMethodLinkResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingPaymentMethodLinkResource(ResourceIdentifier) instead. |
GetBillingPaymentMethodLinks(TenantResource, String, String) |
Gets a collection of BillingPaymentMethodLinkResources in the TenantResource. MockingTo mock this method, please mock GetBillingPaymentMethodLinks(String, String) instead. |
GetBillingPaymentMethodResource(ArmClient, ResourceIdentifier) |
Gets an object representing a BillingPaymentMethodResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a BillingPaymentMethodResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingPaymentMethodResource(ResourceIdentifier) instead. |
GetBillingPaymentMethods(TenantResource) |
Gets a collection of BillingPaymentMethodResources in the TenantResource. MockingTo mock this method, please mock GetBillingPaymentMethods() instead. |
GetBillingSubscription(TenantResource, String, String, CancellationToken) |
Gets a subscription by its ID. The operation is currently supported for billing accounts with agreement type Microsoft Customer Agreement, Microsoft Partner Agreement and Microsoft Online Services Program.
|
GetBillingSubscriptionAlias(TenantResource, String, String, CancellationToken) |
Gets a subscription by its alias ID. The operation is supported for seat based billing subscriptions.
|
GetBillingSubscriptionAliasAsync(TenantResource, String, String, CancellationToken) |
Gets a subscription by its alias ID. The operation is supported for seat based billing subscriptions.
|
GetBillingSubscriptionAliases(TenantResource, String) |
Gets a collection of BillingSubscriptionAliasResources in the TenantResource. MockingTo mock this method, please mock GetBillingSubscriptionAliases(String) instead. |
GetBillingSubscriptionAliasResource(ArmClient, ResourceIdentifier) |
Gets an object representing a BillingSubscriptionAliasResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingSubscriptionAliasResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingSubscriptionAliasResource(ResourceIdentifier) instead. |
GetBillingSubscriptionAsync(TenantResource, String, String, CancellationToken) |
Gets a subscription by its ID. The operation is currently supported for billing accounts with agreement type Microsoft Customer Agreement, Microsoft Partner Agreement and Microsoft Online Services Program.
|
GetBillingSubscriptionResource(ArmClient, ResourceIdentifier) |
Gets an object representing a BillingSubscriptionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BillingSubscriptionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingSubscriptionResource(ResourceIdentifier) instead. |
GetBillingSubscriptions(TenantResource, String) |
Gets a collection of BillingSubscriptionResources in the TenantResource. MockingTo mock this method, please mock GetBillingSubscriptions(String) instead. |
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for