SubscriptionExtensions 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.Subscription.
public static class SubscriptionExtensions
type SubscriptionExtensions = class
Public Module SubscriptionExtensions
- Inheritance
-
SubscriptionExtensions
Methods
AcceptSubscriptionOwnership(TenantResource, WaitUntil, String, AcceptOwnershipContent, CancellationToken) |
Accept subscription ownership.
|
AcceptSubscriptionOwnershipAsync(TenantResource, WaitUntil, String, AcceptOwnershipContent, CancellationToken) |
Accept subscription ownership.
|
CancelSubscription(SubscriptionResource, CancellationToken) |
The operation to cancel a subscription
|
CancelSubscriptionAsync(SubscriptionResource, CancellationToken) |
The operation to cancel a subscription
|
EnableSubscription(SubscriptionResource, CancellationToken) |
The operation to enable a subscription
|
EnableSubscriptionAsync(SubscriptionResource, CancellationToken) |
The operation to enable a subscription
|
GetAcceptOwnershipStatus(TenantResource, String, CancellationToken) |
Accept subscription ownership status.
|
GetAcceptOwnershipStatusAsync(TenantResource, String, CancellationToken) |
Accept subscription ownership status.
|
GetBillingAccountPolicies(TenantResource) |
Gets a collection of BillingAccountPolicyResources in the TenantResource. MockingTo mock this method, please mock GetBillingAccountPolicies() instead. |
GetBillingAccountPolicy(TenantResource, String, CancellationToken) |
Get Billing Account Policy.
|
GetBillingAccountPolicyAsync(TenantResource, String, CancellationToken) |
Get Billing Account Policy.
|
GetBillingAccountPolicyResource(ArmClient, ResourceIdentifier) |
Gets an object representing a BillingAccountPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a BillingAccountPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBillingAccountPolicyResource(ResourceIdentifier) instead. |
GetSubscriptionAlias(TenantResource, String, CancellationToken) |
Get Alias Subscription.
|
GetSubscriptionAliasAsync(TenantResource, String, CancellationToken) |
Get Alias Subscription.
|
GetSubscriptionAliases(TenantResource) |
Gets a collection of SubscriptionAliasResources in the TenantResource. MockingTo mock this method, please mock GetSubscriptionAliases() instead. |
GetSubscriptionAliasResource(ArmClient, ResourceIdentifier) |
Gets an object representing a SubscriptionAliasResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a SubscriptionAliasResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSubscriptionAliasResource(ResourceIdentifier) instead. |
GetTenantPolicy(TenantResource) |
Gets an object representing a TenantPolicyResource along with the instance operations that can be performed on it in the TenantResource. MockingTo mock this method, please mock GetTenantPolicy() instead. |
GetTenantPolicyResource(ArmClient, ResourceIdentifier) |
Gets an object representing a TenantPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier() to create a TenantPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetTenantPolicyResource(ResourceIdentifier) instead. |
RenameSubscription(SubscriptionResource, SubscriptionName, CancellationToken) |
The operation to rename a subscription
|
RenameSubscriptionAsync(SubscriptionResource, SubscriptionName, CancellationToken) |
The operation to rename a subscription
|
Applies to
Azure SDK for .NET