pem.APS.getApplicationInstanceServiceResourceTypes

This method is supported by Operations starting from version 5.4.4.

This method returns the 'Application Service' Resource Types, which can be used to provision the specified Application Service in the specified Application Instance.

The method has the following input parameters:

Name

Type

Short Description

application_instance_id

int

Application Instance ID

service_id

string

Application Service ID

Note: If the empty string is specified in the service_id parameter, the method returns information about all Application Services of the Application Instance. This can be used to obtain Application Service IDs.

The method returns an array of the following structures:

Name

Type

Short Description

service_id

string

Application Service ID

service_resource_type_id

int

Resource Type ID. If there is no any 'Application Service' Resource Type for the Application Service, the 0 value is returned.

settings

array of struct

The Application Service's settings, which are specified in the appropriate 'Application Service' Resource Type.

  • name

string

Name of a setting.

  • value

string

Value of a setting.

Depending on an Application being used, it is possible that a value of one Application Service setting defines whether another Application Service settings are used during provisioning of an Application Service. These setting dependencies may be obtained in Operations provider control panel when 'Application Service' Resource Types are created or modified. This method does not take into account setting dependencies and returns all Application Service settings and their values for Application Services.

Note: This method can also be called under Reseller permissions.