pem.migrateSubscription (deprecated)
This method is supported by Operations starting from version 2.5.
This method upgrades or downgrades a Subscription to the specified Service Template. This method is deprecated, please use the pem.upgradeSubscription method instead.
The method has the following input parameters:
Name |
Type |
Short Description |
---|---|---|
|
int |
The ID of the Subscription to migrate. |
|
int |
The ID of the Service Template to migrate the Subscription to. |
|
array of structs |
Array of custom Resource Types limits. If specified, custom limits override the limits which are specified in the destination Service Template. |
|
int |
Resource Type ID. |
|
bigint |
Resource Type limit. Note: Use -1 value to make a resource unlimited. |
This method has the following output parameters:
Name |
Type |
Short Description |
---|---|---|
|
array of int |
IDs of Resource Types that are added to Subscription. |
|
array of int |
IDs of Resource Types that are removed from Subscription. |
|
array of structs |
This parameter contains the list of the Resource Types mapped between source and destination Service Templates. Mapped Resource Type means that the Resource Type in the source Service Template has the same Resource Class as the Resource Type in the destination Service Template. |
|
int |
ID of Resource Type in the source Service Template. |
|
int |
ID of Resource Type in the destination Service Template. |