# 通用生命周期规则

## 服务生命周期

一般来说，您的资源会经历不同的阶段。详情请参阅 [**订阅阶段**](/welcome/cn/pricing/general-lifecycle-rules/subscription-stages.md) 和 [**按需付费阶段**](/welcome/cn/pricing/general-lifecycle-rules/pay-as-you-go-stages.md)。

<img src="/files/bxJuCS1GNmW7eI1F0EXU" alt="服务通用生命周期" class="gitbook-drawing">

{% hint style="warning" %} <mark style="color:orange;">**注意**</mark>

<mark style="color:orange;">每个阶段的持续时间因资源而异。请参阅具体产品定价文档获取详细信息。</mark>
{% endhint %}

## 升配和降配

* 升配立即生效。
* 降配在下一个计费周期生效。
* 升配或降配所需支付或退还的差价 = |新配置价格 - 旧配置价格| × 升配/降配月数。
* 升配/降配月数 = (到期日 - 当前日期) / 30。

## 订阅周期变更

### 从长期订阅变更为短期订阅

* 变更在当前订阅到期时生效。
* 变更可以在当前订阅到期前取消。

### 从短期订阅变更为长期订阅

* 变更立即生效，新的计费周期从变更时间开始。
* 原订阅未使用的天数费用将从新订阅期限的费用中扣除。
* 在原订阅中：\
  未使用天数费用 = 总实际支付金额（不含代金券） - 已消费金额

**示例**

背景信息

* 每月是指日历月。
* 长期订阅可能享受一定折扣。
* 在此示例中，您在 **12 月 10 日** 将 **原 1 个月订阅（11 月 25 日至 12 月 25 日）** 变更为 **新 3 个月订阅**。

假设您已为原订阅支付了 `$300`。12 月 10 日，您变更为 3 个月订阅并享受 10% 折扣。您的新 3 个月订阅有效期为 12 月 10 日至 3 月 10 日，原 1 个月订阅中您有 15 天未使用（12 月 10 日至 12 月 25 日）。

原订阅未使用天数费用 = (15/30) × `$300` = `$150`。

因此您需要支付：\
新 3 个月订阅费用 - 原订阅未使用天数费用\
\= `$300` × 3 × (1-10%) - `$150`\
\= `$660`

<img src="/files/aMLiKrHKRVQDpb9dGDLm" alt="订阅期限变更" class="gitbook-drawing">

## 终止

{% hint style="danger" %} <mark style="color:red;">**注意**</mark>

<mark style="color:red;">通过 zenConsole 订购或提供的所有产品或服务均不可退款。</mark>
{% endhint %}

* 对于订阅服务，您可以在任何时候取消订阅。取消订阅后，您的服务将在计费周期结束时（通常为 30 天）停用，并在 24 小时内可恢复，之后将被永久删除。
* 对于按需付费服务，您先使用服务，然后支付费用。您无法申请退款。
* 所有释放的资源均无法恢复。请密切关注您的资源状态。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.console.zenlayer.com/welcome/cn/pricing/general-lifecycle-rules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
