After you create a disk, you can change the billing method of the disk between subscription and pay-as-you-go. This topic describes the methods to change billing methods and the applicable scope and effective time of each method.

Background information

The billing methods of disks are related to how the disks are created:

  • If a disk is created together with a subscription instance or if a subscription disk is separately created on the Disks page, you must pay for the disk before you can use the disk. For more information, see Subscription.
    Note Subscription disks can be separately created but must be attached to subscription instances before you use the disks.
  • If a disk is created together with a pay-as-you-go instance or if a pay-as-you-go disk is separately created on the Disks page, the billing method of the disk is pay-as-you-go. For more information, see Pay-as-you-go.

Methods

The following table describes different operations that you can perform to change the billing methods of disks.

Direction of change Operation Applicable scope Time to take effect
Subscription to pay-as-you-go Change the billing method of a disk This method can be used for subscription data disks attached to subscription instances. This method cannot be used to change the billing methods of system disks. From the next billing cycle
Change the billing method of an instance from subscription to pay-as-you-go This method can be used for system disks and data disks attached to subscription instances. The billing methods of the disks vary based on the billing methods of the instances. Immediately
Pay-as-you-go to subscription Change the billing method of a disk This method can be used for pay-as-you-go data disks attached to subscription instances. This method cannot be used to change the billing methods of system disks. Immediately
Change the billing method of an instance from pay-as-you-go to subscription This method can be used for system disks and data disks attached to pay-as-you-go instances. The billing methods of the disks vary based on the billing methods of the instances. Immediately

References

ModifyDiskChargeType