Analytics Manager > Using the Analytics Manager Services > Managing Customized Flexible Scaling
Managing Customized Flexible Scaling
The services for customizing flexible scaling are available in the TW.AnalysisServices.CapacityManagementCustomizationServicesAPI resource.
The following table provides information about the purpose, input parameters, and the result of each service:
Service Name and Purpose
Input Parameters
Result
Parameter Name
Base Type
Description
AddFunction — Adds a custom metric to the out-of-the-box functions.
name
String
Specifies the name of the function.
description
String
Specifies the description of the function.
thingName
Thingname
Specifies the thing that has services associated with it.
serviceName
String
Specifies the name of the service that is to be implemented on the thing.
AddMetric — Adds a custom metric to the out-of-the-box metrics.
name
String
Specifies the name of the metric.
description
String
Specifies the description of the metric.
thingName
Thingname
Specifies the thing that has services associated with it.
serviceName
String
Specifies the name of the service that is to be implemented on the thing.
AddOperator — Adds a custom metric to the out-of-the-box operators.
name
String
Specifies the name of the operator.
description
String
Specifies the description of the operator.
thingName
Thingname
Specifies the thing that has services associated with it.
serviceName
String
Specifies the name of the service that is to be implemented on the thing.
AddQoSParamCompatibilityConstraint — Adds a new constraint based on the compatible set of inputs.
activityType
String
Specifies the type of activity.
metric
String
Specifies the name of the metric.
synthesizingFunction
String
Specifies the synthesizing function.
operator
String
Specifies the operator.
thresholdParam
String
Specifies the threshold parameter.
AddThresholdParameter — Adds a custom metric to the out-of-the-box threshold parameters.
name
String
Specifies the name of the threshold parameter.
description
String
Specifies the description of the threshold operator.
thingName
Thingname
Specifies the thing that has services associated with it.
serviceName
String
Specifies the name of the service that is to be implemented on the thing.
DeleteFunction — Deletes the custom function.
name
String
Specifies the name of the function.
DeleteMetric — Deletes the custom metric.
name
String
Specifies the name of the metric.
DeleteOperator — Deletes the custom operator.
name
String
Specifies the name of the operator.
DeleteQoSParamCompatibilityConstraint — Deletes the custom constraint based on the compatible set of inputs.
activityType
String
Specifies the type of activity.
metric
String
Specifies the name of the metric.
synthesizingFunction
String
Specifies the synthesizing function.
operator
String
Specifies the operator.
SetCapacityOptimizer — Sets a custom capacity optimizer for the specified provider that is used by the Flexible Scaling engine that determines which instance needs to be scaled up or scaled down.
providerName
String
Specifies the name of the provider.
capacityOptimizerName
String
Specifies the name of the thing that implements the TW.AnalysisServices.CapacityManagerTemplate template. By default, this is set to TW.AnalysisServices.CapacityManager.
UpdateFunction — Updates the custom function.
name
String
Specifies the name of the function.
description
String
Specifies the description of the function.
thingName
Thingname
Specifies the thing that has services associated with it.
serviceName
String
Specifies the name of the service that is to be implemented on the thing.
UpdateMetric — Updates the custom metric.
name
String
Specifies the name of the metric.
description
String
Specifies the description of the metric.
thingName
Thingname
Specifies the thing that has services associated with it.
serviceName
String
Specifies the name of the service that is to be implemented on the thing.
UpdateFunction — Updates the custom function.
name
String
Specifies the name of the function.
description
String
Specifies the description of the function.
thingName
Thingname
Specifies the thing that has services associated with it.
serviceName
String
Specifies the name of the service that is to be implemented on the thing.
UpdateOperator — Updates the custom operator.
name
String
Specifies the name of the operator.
description
String
Specifies the description of the operator.
thingName
Thingname
Specifies the thing that has services associated with it.
serviceName
String
Specifies the name of the service that is to be implemented on the thing.
UpdateThresholdParameter — Updates the custom threshold parameter.
name
String
Specifies the name of the threshold parameter.
description
String
Specifies the description of the threshold parameter.
thingName
Thingname
Specifies the thing that has services associated with it.
serviceName
String
Specifies the name of the service that is to be implemented on the thing.
Was this helpful?