Share via


Subscription Class

Definition

Low-level API implementation for the Subscription service. Subscription client provides an interface to create and manage Azure subscriptions programmatically.

public class Subscription
type Subscription = class
Public Class Subscription
Inheritance
Subscription

Constructors

Subscription()

Methods

AliasCreate(String, IPutAliasRequest, Func<HttpResponseMessage, Task<ISubscriptionAliasResponse>,Task>, Func<HttpResponseMessage, Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

Create Alias Subscription.

AliasCreateViaIdentity(String, IPutAliasRequest, Func<HttpResponseMessage, Task<ISubscriptionAliasResponse>,Task>, Func<HttpResponseMessage, Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

Create Alias Subscription.

AliasDelete(String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

Delete Alias.

AliasDeleteViaIdentity(String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<IErrorResponseBody>, Task>, IEventListener, ISendAsync)

Delete Alias.

AliasGet(String, Func<HttpResponseMessage,Task<ISubscriptionAliasResponse>, Task>, Func<HttpResponseMessage,Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

Get Alias Subscription.

AliasGetViaIdentity(String, Func<HttpResponseMessage,Task<ISubscriptionAliasResponse>, Task>, Func<HttpResponseMessage,Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

Get Alias Subscription.

AliasList(Func<HttpResponseMessage,Task<ISubscriptionAliasListResult>, Task>, Func<HttpResponseMessage,Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

List Alias Subscription.

AliasListViaIdentity(String, Func<HttpResponseMessage,Task<ISubscriptionAliasListResult>, Task>, Func<HttpResponseMessage,Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

List Alias Subscription.

BillingAccountGetPolicy(String, Func<HttpResponseMessage,Task<IBillingAccountPoliciesResponse>,Task>, IEventListener, ISendAsync)

Get Billing Account Policy.

BillingAccountGetPolicyViaIdentity(String, Func<HttpResponseMessage,Task<IBillingAccountPoliciesResponse>,Task>, IEventListener, ISendAsync)

Get Billing Account Policy.

OperationsList(Func<HttpResponseMessage,Task<IOperationListResult>, Task>, Func<HttpResponseMessage,Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

Lists all of the available Microsoft.Subscription API operations.

OperationsListViaIdentity(String, Func<HttpResponseMessage,Task<IOperationListResult>, Task>, Func<HttpResponseMessage,Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

Lists all of the available Microsoft.Subscription API operations.

SubscriptionAcceptOwnership(String, IAcceptOwnershipRequest, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

Accept subscription ownership.

SubscriptionAcceptOwnershipStatus(String, Func<HttpResponseMessage, Task<IAcceptOwnershipStatusResponse>,Task>, Func<HttpResponseMessage, Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

Accept subscription ownership status.

SubscriptionAcceptOwnershipStatusViaIdentity(String, Func<HttpResponseMessage, Task<IAcceptOwnershipStatusResponse>,Task>, Func<HttpResponseMessage, Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

Accept subscription ownership status.

SubscriptionAcceptOwnershipViaIdentity(String, IAcceptOwnershipRequest, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<IErrorResponseBody>, Task>, IEventListener, ISendAsync)

Accept subscription ownership.

SubscriptionCancel(String, Func<HttpResponseMessage,Task<ICanceledSubscriptionId>, Task>, Func<HttpResponseMessage,Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

The operation to cancel a subscription

SubscriptionCancelViaIdentity(String, Func<HttpResponseMessage, Task<ICanceledSubscriptionId>,Task>, Func<HttpResponseMessage, Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

The operation to cancel a subscription

SubscriptionEnable(String, Func<HttpResponseMessage,Task<IEnabledSubscriptionId>, Task>, Func<HttpResponseMessage,Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

The operation to enable a subscription

SubscriptionEnableViaIdentity(String, Func<HttpResponseMessage, Task<IEnabledSubscriptionId>,Task>, Func<HttpResponseMessage, Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

The operation to enable a subscription

SubscriptionOperationGet(String, Func<HttpResponseMessage,Task<ISubscriptionCreationResult>, Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

Get the status of the pending Microsoft.Subscription API operations.

SubscriptionOperationGetViaIdentity(String, Func<HttpResponseMessage, Task<ISubscriptionCreationResult>,Task>, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

Get the status of the pending Microsoft.Subscription API operations.

SubscriptionPolicyAddUpdatePolicyForTenant(IPutTenantPolicyRequestProperties, Func<HttpResponseMessage,Task<IGetTenantPolicyResponse>,Task>, Func<HttpResponseMessage,Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

Create or Update Subscription tenant policy for user's tenant.

SubscriptionPolicyAddUpdatePolicyForTenantViaIdentity(String, IPutTenantPolicyRequestProperties, Func<HttpResponseMessage, Task<IGetTenantPolicyResponse>,Task>, Func<HttpResponseMessage, Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

Create or Update Subscription tenant policy for user's tenant.

SubscriptionPolicyGetPolicyForTenant(Func<HttpResponseMessage, Task<IGetTenantPolicyResponse>,Task>, Func<HttpResponseMessage, Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

Get the subscription tenant policy for the user's tenant.

SubscriptionPolicyGetPolicyForTenantViaIdentity(String, Func<HttpResponseMessage, Task<IGetTenantPolicyResponse>,Task>, Func<HttpResponseMessage, Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

Get the subscription tenant policy for the user's tenant.

SubscriptionPolicyListPolicyForTenant(Func<HttpResponseMessage, Task<IGetTenantPolicyListResponse>,Task>, Func<HttpResponseMessage, Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

Get the subscription tenant policy for the user's tenant.

SubscriptionPolicyListPolicyForTenantViaIdentity(String, Func<HttpResponseMessage, Task<IGetTenantPolicyListResponse>,Task>, Func<HttpResponseMessage, Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

Get the subscription tenant policy for the user's tenant.

SubscriptionRename(String, ISubscriptionName, Func<HttpResponseMessage, Task<IRenamedSubscriptionId>,Task>, Func<HttpResponseMessage, Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

The operation to rename a subscription

SubscriptionRenameViaIdentity(String, ISubscriptionName, Func<HttpResponseMessage, Task<IRenamedSubscriptionId>,Task>, Func<HttpResponseMessage, Task<IErrorResponseBody>,Task>, IEventListener, ISendAsync)

The operation to rename a subscription

Applies to