pem.APS.provideServiceInstance
This method is supported by Operations starting from version 5.4.4.
This method allows to create the Application Service Instance of the specified Application Service.
This method can also be used to add an Application Service of the account class to an existing Service User. The target Service User must belong to the Subscription of the appropriate Application Instance. To add the Application Service to the Service User, the login name of the Service User must be specified in the Application Service's setting of the login class.
The method has the following input parameters:
Name |
Type |
Short Description |
---|---|---|
|
int |
The identifier of the parent Application Service Instance under which the Application Service Instance will be created. |
|
struct |
This parameter defines the Application Service, which will be used to create the appropriate Application Service Instance. |
|
string |
Application Service ID. The Application Service ID of the required Application Service can be obtained in the following ways:
|
|
int |
The identifier of the 'Application Service' Resource Type, which will be used to create the Application Service Instance of the corresponding Application Service. If there is no any 'Application Service' Resource Type for the Application Service, do not pass this parameter to the method. |
|
array of struct |
The settings of the Application Service Instance, which will be created. |
|
string |
Name of a setting. |
|
string |
Value of a setting. |
|
array of struct |
This parameter defines the list of the direct child Application Services for which the appropriate Application Service Instances will be created. This parameter is optional. |
|
string |
Application Service ID. The Application Service ID of the required Application Service can be obtained in the following ways:
|
|
int |
The identifier of the 'Application Service' Resource Type, which will be used to create the Application Service Instance of the corresponding Application Service. If there is no any 'Application Service' Resource Type for the Application Service, do not pass this parameter to the method. |
|
array of struct |
The settings of the Application Service Instance, which will be created. |
|
string |
Name of a setting. |
|
string |
Value of a setting. |
The method has the following output parameters:
Name |
Type |
Short Description |
---|---|---|
|
int |
The identifier of the created Application Service Instance. |
Note: This method can also be called under Reseller permissions.