pem.addServiceTemplate
This method is supported by Operations starting from version 2.6.3.
This method allows creating a new service template.
The method has the following input parameters:
Name |
Type |
Short Description |
---|---|---|
|
int |
Specifies the ID of the owner of the new service template. |
|
string |
Name of the new service template. |
|
string |
Description of the new service template. |
|
array of struct |
Array of resources, which are included to service template. |
|
int |
ID of resource type. Note: Starting from version 7.0, limits for the resources created via this method are set to "Unlimited" (-1) by default. |
|
int |
ID of the subscription to take the resource types from. |
[category] |
string |
Type of the new service template, for example ' shared_hosting'. The default value is 'custom'. |
[auto_provisioning] |
boolean |
Indicates should all the services from this service template be created and provisioned automatically at the moment the customer is subscribed to this service template. |
[account_wide_services] |
boolean |
Indicates whether services of the subscription will be either subscription-local or account-wide. |
The method has the following output parameters:
Name |
Type |
Short Description |
---|---|---|
|
int |
ID of the created service template |