ISubscription 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
该界面定义了客户订阅中可用的操作。
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))
- 实现
属性
| 名称 | 说明 |
|---|---|
| ActivationLinks |
获取当前订阅的激活链接。 |
| AddOns |
获取当前订阅的附加操作。 |
| Context |
获取组件上下文对象。 (继承自 IPartnerComponent<TContext>) |
| Conversions |
获取当前订阅的转换操作。 这些操作仅适用于试用订阅。 |
| Partner |
获得生成该组件的合作伙伴运营实例的引用。 (继承自 IPartnerComponent<TContext>) |
| ProvisioningStatus |
获取当前订阅的配置状态操作。 |
| Registration |
获得当前订阅的注册操作。 |
| RegistrationStatus |
获取当前订阅的注册状态操作。 |
| SupportContact |
获得当前订阅的支持联系方式。 |
| TransitionEligibilities |
获得当前订阅的过渡资格操作。 |
| Transitions |
获取当前订阅的过渡操作。 |
| Upgrades |
获得当前订阅的升级操作。 |
| UsageRecords |
获取当前订阅的资源使用记录操作。 |
| UsageSummary |
获取当前订阅的使用摘要操作。 |
| Utilization |
获取当前订阅的使用率操作。 |
方法
| 名称 | 说明 |
|---|---|
| Activate() |
激活订阅(此操作目前仅对沙盒合作伙伴开放,用于激活3PP订阅)。 |
| ActivateAsync() |
异步激活订阅(此操作目前仅对沙盒合作伙伴开放,用于激活3PP订阅)。 |
| Get() |
取回了订阅。 |
| GetAsync() |
异步地获取订阅。 |
| GetAzurePlanSubscriptionEntitlements() |
获得Azure套餐的订阅权限。 |
| GetAzurePlanSubscriptionEntitlementsAsync() |
异步获得Azure套餐的订阅权限。 |
| Patch(Subscription) |
补丁订阅。 |
| Patch(T) |
Patches是一个实体。 (继承自 IEntityPatchOperations<T>) |
| PatchAsync(Subscription) |
异步修补订阅。 |
| PatchAsync(T) |
异步修补一个实体。 (继承自 IEntityPatchOperations<T>) |