語言

ISubscription 介面

定義

此介面定義客戶訂閱時可執行的操作。

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))
實作

屬性

名稱 Description
ActivationLinks

會取得目前訂閱的啟用連結。

AddOns

取得目前訂閱的附加元件操作。

Context

取得元件上下文物件。

(繼承來源 IPartnerComponent<TContext>)
Conversions

取得目前訂閱的轉換操作。 這些操作僅適用於試用訂閱。

Partner

會取得產生此元件的合作夥伴操作實例的參考。

(繼承來源 IPartnerComponent<TContext>)
ProvisioningStatus

取得目前訂閱的配置狀態操作。

Registration

取得目前訂閱的註冊操作。

RegistrationStatus

取得目前訂閱的註冊狀態操作。

SupportContact

取得目前訂閱的支援聯絡業務。

TransitionEligibilities

取得現有訂閱的轉換資格操作。

Transitions

取得目前訂閱的過渡操作。

Upgrades

取得目前訂閱的升級操作。

UsageRecords

取得目前訂閱的資源使用紀錄。

UsageSummary

取得目前訂閱的使用摘要操作。

Utilization

取得目前訂閱的使用率操作。

方法

名稱 Description
Activate()

啟用訂閱(此操作目前僅限沙盒夥伴使用,並用於啟用 3PP 訂閱)。

ActivateAsync()

非同步啟用訂閱(此操作目前僅對沙盒夥伴開放,並用於啟用 3PP 訂閱)。

Get()

取回訂閱。

GetAsync()

非同步地恢復訂閱。

GetAzurePlanSubscriptionEntitlements()

會取得 Azure 方案的訂閱權限。

GetAzurePlanSubscriptionEntitlementsAsync()

非同步地取得 Azure 方案的訂閱權限。

Patch(Subscription)

會修補訂閱。

Patch(T)

修補一個實體。

(繼承來源 IEntityPatchOperations<T>)
PatchAsync(Subscription)

非同步修補訂閱。

PatchAsync(T)

非同步修補一個實體。

(繼承來源 IEntityPatchOperations<T>)

適用於