Partilhar via


ISubscription Interface

Definition

This interface defines the operations available on a customer's subscription.

public interface ISubscription : Microsoft.Store.PartnerCenter.GenericOperations.IEntityGetOperations<Microsoft.Store.PartnerCenter.Models.Subscriptions.Subscription>, Microsoft.Store.PartnerCenter.GenericOperations.IEntityPatchOperations<Microsoft.Store.PartnerCenter.Models.Subscriptions.Subscription>, Microsoft.Store.PartnerCenter.IPartnerComponent<Tuple<string,string>>
type ISubscription = interface
    interface IPartnerComponent<string * string>
    interface IEntityGetOperations<Subscription>
    interface IEntityPatchOperations<Subscription>
Public Interface ISubscription
Implements IEntityGetOperations(Of Subscription), IEntityPatchOperations(Of Subscription), IPartnerComponent(Of Tuple(Of String, String))
Implements

Properties

ActivationLinks

Gets the current subscription's activation links.

AddOns

Gets the current subscription's add-ons operations.

Context

Gets the component context object.

(Inherited from IPartnerComponent<TContext>)
Conversions

Gets the current subscription's conversion operations. These operations will only apply to trial subscriptions.

Partner

Gets a reference to the partner operations instance that generated this component.

(Inherited from IPartnerComponent<TContext>)
ProvisioningStatus

Gets the current subscription's provisioning status operations.

Registration

Gets the current subscription's registration operations.

RegistrationStatus

Gets the current subscription's registration status operations.

SupportContact

Gets the current subscription's support contact operations.

TransitionEligibilities

Gets the current subscription's transition eligibility operations.

Transitions

Gets the current subscription's transition operations.

Upgrades

Gets the current subscription's upgrade operations.

UsageRecords

Gets the current subscription's resource usage records operations.

UsageSummary

Gets the current subscription's usage summary operations.

Utilization

Gets the current subscription's utilization operations.

Methods

Activate()

Activate subscription (This operation is currently available for Sandbox Partners only and used to activate a 3PP subscription).

ActivateAsync()

Asynchronously activate subscription (This operation is currently available for Sandbox Partners only and used to activate a 3PP subscription).

Get()

Retrieves the subscription.

GetAsync()

Asynchronously retrieves the subscription.

GetAzurePlanSubscriptionEntitlements()

Gets an Azure Plan's subscription entitlements.

GetAzurePlanSubscriptionEntitlementsAsync()

Asynchronously gets an Azure Plan's subscription entitlements.

Patch(Subscription)

Patches the subscription.

Patch(T)

Patches an entity.

(Inherited from IEntityPatchOperations<T>)
PatchAsync(Subscription)

Asynchronously patches the subscription.

PatchAsync(T)

Asynchronously patches an entity.

(Inherited from IEntityPatchOperations<T>)

Applies to