executeOperation
This method executes operations on instances such as start, stop, or relocate.
Request
Request Parameters
|
Parameter |
Minimum Occurrence |
Maximum Occurrence |
Type |
Description |
|---|---|---|---|---|
|
Operation |
1 |
1 |
String |
Type of operation to be performed. Allowed operations include
Custom Operations are referenced by name. |
|
CheckRecommendedResourceReq |
1 |
1 |
Boolean |
Possible values:
|
|
SkipUserExits |
1 |
1 |
Boolean |
Set this field to true if User Exit scripts should be executed else set to false. |
|
Note |
0 |
1 |
String |
Notes For method getOperationTemplateDetails, the note of the operation template (concatenated note from all entities). |
|
OperationRequestItems |
1 |
* |
OperationRequestItem |
List of services and hosts which are to be operated. |
|
Properties |
0 |
1 |
PropertyCollection |
Collection of name and value pairs which can be used for later extensions. |
|
Name |
Value |
|---|---|
|
changeId |
String |
|
instanceSoftTimeout |
Integer |
|
dbHardShutdown |
Boolean: true/false |
|
ignoreNotes |
Boolean: true/false |
|
ignoreISD |
Boolean: true/false |
|
services_for_isd |
Comma separated list of dependent services |
For custom operations, Property parameters are passed by the name configured.
|
Parameter |
Minimum Occurrence |
Maximum Occurrence |
Type |
Description |
|---|---|---|---|---|
|
ServiceId |
1 |
1 |
ServiceId |
Unique identifier for the service. |
|
Hostname |
1 |
1 |
Hostname |
Host name |
|
Properties |
0 |
1 |
PropertyCollection |
Collection of name and value pairs which can be used for later extensions. |
|
Parameter |
Minimum Occurrence |
Maximum Occurrence |
Type |
Description |
|---|---|---|---|---|
|
ServiceId |
not applicable |
not applicable |
String |
Unique identifier for the service. |
|
Parameter |
Minimum Occurrence |
Maximum Occurrence |
Type |
Description |
|---|---|---|---|---|
|
Hostname |
not applicable |
not applicable |
String |
Host name |
|
Parameter |
Minimum Occurrence |
Maximum Occurrence |
Type |
Description |
|---|---|---|---|---|
|
Properties |
0 |
* |
Property |
Collection of name and value pairs which can be used for later extensions. |
|
Parameter |
Minimum Occurrence |
Maximum Occurrence |
Type |
Description |
|---|---|---|---|---|
|
Name |
1 |
1 |
String |
Name of the entity.
This parameter is mandatory for the following methods:
|
|
Value |
0 |
1 |
String |
Value for the corresponding Name property. |
Request Example
Response
Response Parameters
|
Parameter |
Minimum Occurrence |
Maximum Occurrence |
Type |
Description |
|---|---|---|---|---|
|
ProcessId |
1 |
1 |
ProcessId |
Latest Process ID of the service. Returns the Process ID of the operation which was created for the OperationRequest. This process ID can be used to get the status of this operation. |
|
Properties |
0 |
1 |
PropertyCollection |
Collection of name and value pairs which can be used for later extensions. |
|
Parameter |
Minimum Occurrence |
Maximum Occurrence |
Type |
Description |
|---|---|---|---|---|
|
Properties |
0 |
* |
Property |
Collection of name and value pairs which can be used for later extensions. |
|
Parameter |
Minimum Occurrence |
Maximum Occurrence |
Type |
Description |
|---|---|---|---|---|
|
Name |
1 |
1 |
String |
Name of the entity.
This parameter is mandatory for the following methods:
|
|
Value |
0 |
1 |
String |
Value for the corresponding Name property. |
Response Example