6.1.1 Provided Ops I components
In the Workflow definition, actions executed in an activity are defined by the actions within the Task model. Details on provided Ops I components that are available for this purpose are shown below.
(Table) List of actions (provided Ops I components)
| Action | Description |
|---|---|
| oi.fetch_access_token | Obtain Ops I access tokens. |
| oi.insert_into_custom_table | Insert specified records into custom tables. |
| oi_user. Workflow name for calling as subflow | Specify the workflow name to be called as a subflow. |
| awx.run_job_template | Execute automation job templates. |
| awx.get_job_result | Obtain the results of automation jobs. |
Information about provided Ops I components for executing JP1/AJS3 jobs is shown below. Use within YAML definitions for Workflow provided as JP1/AJS3 coordination templates. For a description of JP1/AJS3 coordination templates, see “JP1/AJS3”.
(Table) List of actions (provided Ops I components for JP1/AJS3 coordination)
| Action | Playbook name | JP1/AJS3 Command |
|
|---|---|---|---|
| English | Japanese | ||
| ajs.cancel_exec_schedule | Cancel Jobnet execution | cancel_exec_schedule.yaml | ajsplan |
| ajs.change_hold | Change Jobnet hold attribute | change_hold.yaml | ajsplan |
| ajs.change_start_time | Change job schedule | change_start_time.yaml | ajsplan |
| ajs.interrupt | Interrupt Jobnet | interrupt.yaml | ajsintrpt |
| ajs.kill | Forcibly end Jobnet | kill.yaml | ajskill |
| ajs.register_fixed_exec | Register Jobnet fixed execution | register_fixed_exec.yaml | ajsentry |
| ajs.register_immediate_exec | Register Jobnet immediate execution | register_immediate_exec.yaml | ajsentry |
| ajs.register_planned_exec | Register Jobnet planned execution | register_planned_exec.yaml | ajsentry |
| ajs.rerun | Re-execute Jobnet | rerun.yaml | ajsrerun |
| ajs.show | Obtain Jobnet execution information | show.yaml | ajsshow |
Information about provided Ops I components for executing JP1/IM jobs is shown below. Use within YAML definitions for Workflow provided as JP1/IM coordination templates. For a description of JP1/IM coordination templates, see “Monitoring deterrence”.
(Table) List of actions (provided Ops I components for JP1/IM coordination)
| Action | Playbook name | JP1/IM Command |
|
|---|---|---|---|
| English | Japanese | ||
| im.apply_common_exclusion_conditions_file | Apply the common exclusion conditions extension definition file | apply_common_exclusion_conditions_file.yaml | jcochfilter -ef |
| im.get_common_exclusion_conditions_file | Obtain the common exclusion conditions extension definition file | get_common_exclusion_conditions_file.yaml | - |
| im.set_common_exclusion_conditions_valid | Enable/disable the common exclusion conditions definition | set_common_exclusion_conditions_valid.yaml | jcochfilter -on/-off |
A description of Provided Ops I components is shown below.
(1) oi.fetch_access_token
Obtain Ops I access tokens. These Ops I access tokens are used when executing Ops I REST APIs from within a workflow.
If using oi.fetch_access_token, it is necessary to set the following parameters.
(Table) oi.fetch_access_token parameters
| Parameters | Required | Type | Description |
|---|---|---|---|
| opsi_user_secret_mount_point | Yes | String | Secrets Engines path in which a user’s secret information for obtaining Ops I access tokens is stored |
| opsi_user_secret_path | Yes | String | Path in which a user’s secret information for obtaining Ops I access tokens is stored |
| opsi_user_secret_kv_version | Yes | Number | Secrets Engines version 1: Legacy Secrets Engines 2: New Secrets Engines |
| opsi_user_secret_version | No | String | Stored secret information version |
The following secret information must be stored in the location specified by the parameters.
For more information on secrets, see “Creating a secret”.
- username: The username for obtaining Ops I access tokens
- password: The user password for obtaining Ops I access tokens
- domain: Ops I FQDN (Example: “tenant name.ops-integration.com”)
oi.fetch_access_token return values are as below.
(Table) oi.fetch_access_token return values
| Parameters | Description |
|---|---|
| output.access_token | Ops I access token |
| output.origin | Ops I URL |
(2) oi.insert_into_custom_table
Insert specified records into custom tables.
If using oi.insert_into_custom_table, the following parameters must be set.
(Table) oi.insert_into_custom_table parameters
| Parameters | Required | Type | Description |
|---|---|---|---|
| parent_execution_id | Yes | String | Workflow execution_id*1. The execution_id of the original workflow must be specified, even if being used in another workflow executed as a workflow action. |
| graphql_user_object_type | Yes | String | Name of custom table into which records are inserted. The table name defined in Datamodel manifest.yaml, concatenated with "u_" Example) "u_my_custom_table" |
| graphql_user_object_data | Yes | Object | An object used to store the record to be inserted in the data field |
| auth_type | No | String | An authentication type used for logging in to Ops I. Specify from the following.
|
| opsi_user_secret_mount_point | No | String | If "password_grant" is specified in auth_type, specify the Secrets Engines path in which the user’s secret information for obtaining Ops I access tokens is stored. |
| opsi_user_secret_path | No | String | If "password_grant" is specified in auth_type, specify the path in which the user’s secret information for obtaining Ops I access tokens is stored. |
| opsi_user_secret_kv_version | No | Number | If "password_grant" is specified in auth_type, specify the Secrets Engines version for use when obtaining a user’s secret information for obtaining Ops I access tokens. 1: Legacy Secrets Engines 2: New Secrets Engines |
| opsi_user_secret_version | No | String | If "password_grant" is specified in auth_type, specify the version of the user’s secret information for obtaining Ops I access tokens. If nothing is specified, the latest version will be assumed. |
| opsi_secret_mount_point | No | String | Specify the Secrets Engines path in which the secret information is stored. If "password_grant" is specified in auth_type and opsi_user_secret_mount_point has been set, opsi_user_secret_mount_point will be prioritized. |
| opsi_secret_path | No | String | Specify the secret path where the Ops I token is stored. If "password_grant" is specified in auth_type and opsi_user_secret_path has been set, opsi_user_secret_path will be prioritized. |
| opsi_secret_kv_version | No | Number | Specify the Secrets Engines version for when obtaining secret information. If "password_grant" is specified in auth_type and opsi_user_secret_kv_version has been set, opsi_user_secret_kv_version will be prioritized. 1: Legacy Secrets Engines 2: New Secrets Engines |
| opsi_secret_version | No | String | Specify the secret information version. If nothing is specified, the latest version will be assumed. If "password_grant" is specified in auth_type and opsi_user_secret_version has been set, opsi_user_secret_version will be prioritized. |
https://docs.stackstorm.com/3.7/orquesta/stackstorm.html#stackstorm-context
The following secret information must be stored in the location specified by the parameters.
For more information on secrets, see “Creating a secret”.
- username: The username for obtaining Ops I access tokens*2
- password: The user password for obtaining Ops I access tokens*2
- domain: Ops I FQDN (Example: “tenant name.ops-integration.com”)
- opsi_token: Ops I token*3
No return value for oi.insert_into_custom_table.
(3) awx.run_job_template
Execute automation job templates.
If using awx.run_job_template, it is necessary to set the following parameters.
(Table) awx.run_job_template parameters
| Parameters | Required | Type | Description |
|---|---|---|---|
| name* | Required if an "object_id" is not specified | String | Name of job template to be executed |
| organization* | Required if an "object_id" is not specified | String | Name of the organization to which the applicable job template belongs |
| object_id* | No | Number | ID of the applicable job template |
| auth_type | No | String | An authentication type used for logging in to Automation. Specify from the following.
|
| vault_backend_name | No | String | If "saml_with_vault_kv2" or "pat" is specified in auth_type, specify the name of the secret backend where the automation credential information is saved. |
| vault_secret_path | No | String | If "saml_with_vault_kv2" or "pat" is specified in auth_type, specify the path for the secret where the automation credential information is saved. |
| vault_user_key | No | String | If "saml_with_vault_kv2" is specified in auth_type, specify the automation username key. Set to "user_name" by default. |
| vault_pw_key | No | String | If "saml_with_vault_kv2" is specified in auth_type, specify the automation password key. Set to "password" by default. |
| user_name | No | String | If "saml" is specified in auth_type, specify an automation username. |
| vault_pat_key | No | String | If "pat" is specified in auth_type, specify the automation PAT key. Set to "pat" by default. |
| password | No | String | If "saml" is specified in auth_type, specify an automation user password. |
| payload | Yes | String | Specify the request body for the automation API. For more information regarding the format of request bodies, see the automation API reference (POST /api/v2/job_templates/{id}/launch/), which is executed internally. https://ansible.readthedocs.io/projects/awx/en/24.6.1/rest_api/api_ref.html#/Job_Templates |
awx.run_job_template return values are as below.
(Table) awx.run_job_template return values
| Parameters | Description |
|---|---|
| result | The ID of the job that was executed. Use in awx.get_job_result. |
(4) awx.get_job_result
Obtain the results of automation jobs.
If using awx.get_job_result, it is necessary to set the following parameters.
(Table) awx.get_job_result parameters
| Parameters | Required | Type | Description |
|---|---|---|---|
| id | Yes | Number | The ID of the job. Use the awx.run_job_template action return value. |
| format | No | String | Result formats. Specify from the following.
For details, see the automation API reference (/api/v2/jobs/{id}/stdout/?format={format}), which is executed internally. https://ansible.readthedocs.io/projects/awx/en/24.6.1/rest_api/api_ref.html#/Jobs/Jobs_jobs_stdout_read |
| auth_type | No | String | An authentication type used for logging in to Automation. Specify from the following.
|
| vault_backend_name | No | String | If "saml_with_vault_kv2" or "pat" is specified in auth_type, specify the name of the secret backend where the automation credential information is saved. |
| vault_secret_path | No | String | If "saml_with_vault_kv2" or "pat" is specified in auth_type, specify the path for the secret where the automation credential information is saved. |
| vault_user_key | No | String | If "saml_with_vault_kv2" is specified in auth_type, specify the automation username key. Set to "user_name" by default. |
| vault_pw_key | No | String | If "saml_with_vault_kv2" is specified in auth_type, specify the automation password key. Set to "password" by default. |
| vault_pat_key | No | String | If "pat" is specified in auth_type, specify the automation PAT key. Set to "pat" by default. |
| user_name | No | String | If "saml" is specified in auth_type, specify an automation username. |
| password | No | String | If "saml" is specified in auth_type, specify an automation user password. |
awx.get_job_result return values are as below.
(Table) awx.get_job_result return value
| Parameters | Description |
|---|---|
| result.id | Job ID |
| result.name | Job name |
| result.status | The status of the job. Return values are returned from the following.
https://ansible.readthedocs.io/projects/awx/en/24.6.1/rest_api/api_ref.html#/Jobs |
| result.log | The job execution results. The format specified in "format". |
(5) ajs.cancel_exec_schedule
This part cancels the next scheduled execution of a Jobnet or job registered on JP1/AJS3.
If using ajs.cancel_exec_schedule, it is necessary to set the following: “(Table) JP1/AJS3 and JP1/IM common parameters”, “(Table) JP1/AJS3 common parameters”, and “(Table) ajs.cancel_exec_schedule fixed parameters”.
(Table) JP1/AJS3 and JP1/IM common parameters
| Parameters | Required | Type | Description |
|---|---|---|---|
| job_template_name* | Required if a "job_template_object_id" is not specified | String | Name of job template to be executed |
| job_template_organization* | Required if a "job_template_object_id" is not specified | String | Name of the organization to which the applicable job template belongs |
| job_template_object_id* | No | Number | ID of the applicable job template |
| awx_auth_type | No | String | An authentication type used for logging in to Automation. Specify from the following.
|
| awx_vault_backend_name | No | String | If "saml_with_vault_kv2" or "pat" is specified in awx_auth_type, specify the name of the secret backend where the automation credential information is saved. |
| awx_vault_secret_path | No | String | If "saml_with_vault_kv2" or "pat" is specified in awx_auth_type, specify the path for the secret where the automation credential information is saved. |
| awx_vault_user_key | No | String | If "saml_with_vault_kv2" is specified in awx_auth_type, specify the automation username key. Set to "user_name" by default. |
| awx_vault_pw_key | No | String | If "saml_with_vault_kv2" is specified in awx_auth_type, specify the automation password key. Set to "password" by default. |
| awx_vault_pat_key | No | String | If "pat" is specified in awx_auth_type, specify the automation PAT key. Set to "pat" by default. |
| awx_user_name | No | String | If "saml" is specified in awx_auth_type, specify an automation username. |
| awx_password | No | String | If "saml" is specified in awx_auth_type, specify an automation user password. |
(Table) JP1/AJS3 common parameters
| Parameters | Required | Type | Description |
|---|---|---|---|
| ajs_unit_name | Yes | String | Specify the entire name of the requested unit as a text string comprised of 1 to 930 bytes. Example: "/jobgroup/jobnet" |
| ajs_vault_backend_name | Yes | String | Specify the name of the secret backend in which the JP1/AJS3 secret information is to be saved. |
| ajs_vault_secret_path | Yes | String | Specify the path to the secret where the JP1/AJS3 secret information is to be saved. |
| ajs_credential_organization | No | String | Specify the AWX organization that has registered the JP1/AJS3 secret information. |
| ajs_service_name | No | String | Specify the scheduler service name as a text string comprised of 1 to 30 bytes. Example: "AJSROOT1" |
(Table) ajs.cancel_exec_schedule fixed parameters
| Parameters | Required | Type | Description | ajs_exec_registration_number | No | String | Using the YYYYMMDDNNN format, specify the execution registration number of a Jobnet or job for which the next scheduled execution is to be canceled. |
|---|
ajs.cancel_exec_schedule return values are as follows.
(Table) ajs.cancel_exec_schedule return value
| Parameters | Description |
|---|---|
| result.id | Automation job ID |
| result.name | Automation job name |
| result.status | The status of an automation job. Return values are returned from the following.
https://ansible.readthedocs.io/projects/awx/en/24.6.1/rest_api/api_ref.html#/Jobs |
| result.log | Automation job execution results |
| result.output | Automation job output results |
(6) ajs.change_hold
This part temporarily holds or removes the holding status of a Jobnet or job registered on JP1/AJS3.
If using ajs.change_hold, it is necessary to set the following: “(Table) JP1/AJS3 and JP1/IM common parameters”, “(Table) JP1/AJS3 common parameters”, and “(Table) ajs.change_hold fixed parameters”.
(Table) ajs.change_hold fixed parameters
| Parameters | Required | Type | Description |
|---|---|---|---|
| ajs_new_hold_attribute | Yes | String | To temporarily hold the execution of a Jobnet or job, specify "hold". To release the hold status, specify "release". |
| ajs_exec_registration_number | No | String | Using the YYYYMMDDNNN format, specify the execution registration number of a Jobnet or job for which the hold attribute is to be changed temporarily. |
The ajs.change_hold return values are the same as “(Table) ajs.cancel_exec_schedule return value”.
(7) ajs.change_start_time
This part temporarily changes the execution start date of a Jobnet registered on JP1/AJS3, or immediately executes the Jobnet.
If using ajs.change_start_time, it is necessary to set the following: “(Table) JP1/AJS3 and JP1/IM common parameters”, “(Table) JP1/AJS3 common parameters”, and “(Table) ajs.change_start_time fixed parameters” (see below).
(Table) ajs.change_start_time fixed parameters
| Parameters | Required | Type | Description |
|---|---|---|---|
| ajs_schedule_change_operation | Yes | String | To change the start date of a Jobnet, specify "ChangeTime". To immediately execute a Jobnet, "ExecuteImmediately". |
| ajs_exec_registration_number | No | String | Using the YYYYMMDDNNN format, specify the execution registration number of a Jobnet for which the execution schedule is to be changed temporarily. |
| ajs_next_execution_date | No | String | If "ChangeTime" is specified in "ajs_schedule_change_operation", specify the next execution date for which the temporary change is to be applied. Specify the execution date in any of the following formats.
|
| ajs.next_execution_time | No | String | If "ChangeTime" is specified in "ajs_schedule_change_operation", specify the next execution start time for which the temporary change is to be applied using the hh[:mm]* format. If "mm" is omitted, 0 will be applied. |
| ajs_cancel_next_execution | No | String | If the next execution schedule is brought forward, specifying "true" will cancel the next execution schedule for before the change is to be made. If "true" is not specified, the next execution schedule for before the change will remain uncanceled, and the processing will continue as normal. |
| ajs_change_lower_jobnets | No | String | Specify "true" if you want to change the execution start time relative to the Jobnet in the specified Jobnet. If "true" is not specified, only the execution time of the specified Jobnet is changed. |
The ajs.change_start_time return values are the same as “(Table) ajs.cancel_exec_schedule return value”.
(8) ajs.interrupt
This part interrupts the execution of a Jobnet after the job currently being executed with JP1/AJS3 is completed.
If using ajs.interrupt, it is necessary to set the following: “(Table) JP1/AJS3 and JP1/IM common parameters”, “(Table) JP1/AJS3 common parameters”, and “(Table) ajs.interrupt fixed parameters” (see below).
(Table) ajs.interrupt fixed parameters
| Parameters | Required | Type | Description |
|---|---|---|---|
| ajs_exec_registration_number | No | String | Using the YYYYMMDDNNN format, specify the execution registration number of a Jobnet for which you want to interrupt the execution. |
The ajs.interrupt return values are the same as “(Table) ajs.cancel_exec_schedule return value”.
(9) ajs.kill
This part kills the execution of a job or Jobnet currently being executed with JP1/AJS3.
If using ajs.kill, it is necessary to set the following: “(Table) JP1/AJS3 and JP1/IM common parameters”, “(Table) JP1/AJS3 common parameters”, and “(Table) ajs.kill fixed parameters” (see below).
(Table) ajs.kill fixed parameters
| Parameters | Required | Type | Description |
|---|---|---|---|
| ajs_exec_registration_number | No | String | Using the YYYYMMDDNNN format, specify the execution registration number of a Jobnet or job that you want to kill. |
The ajs.kill return values are the same as “(Table) ajs.cancel_exec_schedule return value”.
(10) ajs.register_fixed_exec
This part registers fixed executions for Jobnets registered in JP1/AJS3.
If using ajs.register_fixed_exec, it is necessary to set the following: “(Table) JP1/AJS3 and JP1/IM common parameters”, “(Table) JP1/AJS3 common parameters”, and “(Table) ajs.register_fixed_exec fixed parameters” (see below).
(Table) ajs.register_fixed_exec fixed parameters
| Parameters | Required | Type | Description |
|---|---|---|---|
| ajs_execute_prior | Yes | String | If the scheduled execution date has passed while the scheduler service is stopped, specify the timing of the execution as below.
|
| ajs_macro_parameter | No | String | Using the name:value format, specify a combination of JP1/AJS3 macro variable names and inherited information. Up to 32 entries can be specified simultaneously. Use commas (,) to separate entries. Example: AJS2AA:5,AJS2BB:test |
ajs_execute_date | No | String | Using the YYYY-MM-DD or YYYY/MM/DD formats, specify the fixed execution date for which the Jobnet is registered for fixed execution. | ajs_execute_time | No | String | Using the hh[:mm]* format, specify the fixed execution time for which the Jobnet is registered for fixed execution. If "mm" is omitted, 0 will be applied. | ajs_execute_generation | No | String | When registering a Jobnet for fixed execution, specify the number of generations for which the Jobnet is scheduled to be executed from that point on. | ajs_execute_start_date | No | String | Using the YYYY-MM-DD or YYYY/MM/DD formats, specify the start date for the execution period for which the Jobnet is registered for fixed execution. | ajs_execute_end_date | No | String | Using the YYYY-MM-DD or YYYY/MM/DD formats, specify the end date for the execution period for which the Jobnet is registered for fixed execution. |
The ajs.register_fixed_exec return values are the same as “(Table) ajs.cancel_exec_schedule return value”.
(11) ajs.register_immediate_exec
This part registers immediate executions for Jobnets registered in JP1/AJS3.
If using ajs.register_immediate_exec, it is necessary to set the following: “(Table) JP1/AJS3 and JP1/IM common parameters”, “(Table) JP1/AJS3 common parameters”, and “(Table) ajs.register_immediate_exec fixed parameters” (see below).
(Table) ajs.register_immediate_exec fixed parameters
| Parameters | Required | Type | Description |
|---|---|---|---|
| ajs_macro_parameter | No | String | Using the name:value format, specify a combination of JP1/AJS3 macro variable names and inherited information. Up to 32 entries can be specified simultaneously. Use commas (,) to separate entries. Example: AJS2AA:5,AJS2BB:test |
The ajs.register_immediate_exec return values are the same as “(Table) ajs.cancel_exec_schedule return value”.
(12) ajs.register_planned_exec
This part registers planned executions for Jobnets registered in JP1/AJS3.
If using ajs.register_planned_exec, it is necessary to set the following: “(Table) JP1/AJS3 and JP1/IM common parameters”, “(Table) JP1/AJS3 common parameters”, and “(Table) ajs.register_planned_exec fixed parameters” (see below).
(Table) ajs.register_planned_exec fixed parameters
| Parameters | Required | Type | Description |
|---|---|---|---|
| ajs_execute_prior | Yes | String | If the scheduled execution date has passed while the scheduler service is stopped, specify the timing of the execution as below.
|
| ajs_macro_parameter | No | String | Using the name:value format, specify a combination of JP1/AJS3 macro variable names and inherited information. Up to 32 entries can be specified simultaneously. Use commas (,) to separate entries. Example: AJS2AA:5,AJS2BB:test |
The ajs.register_planned_exec return values are the same as “(Table) ajs.cancel_exec_schedule return value”.
(13) ajs.rerun
This part reruns the execution of a Jobnet or job registered on JP1/AJS3.
If using ajs.rerun, it is necessary to set the following: “(Table) JP1/AJS3 and JP1/IM common parameters”, “(Table) JP1/AJS3 common parameters”, and “(Table) ajs.rerun fixed parameters” (see below).
(Table) ajs.rerun fixed parameters
| Parameters | Required | Type | Description |
|---|---|---|---|
| ajs_exec_registration_number | No | String | Using the YYYYMMDDNNN format, specify the execution registration number of a Jobnet or job that you want to rerun. |
| ajs_rerun_method | No | String | Specify the Jobnet or job rerun method from the following:
|
| ajs_rerun_with_hold | No | String | Specify "true" to interrupt a Jobnet or job that you want to rerun. If "true" is not specified, processing will continue without interruption. |
| ajs.set_skipped_jobs_to_warning | No | String | If "true" is specified, the preceding Jobnet or job end status is changed to Warning and the job ends with the Abnormal status. If "true" is not specified, processing will continue without ending due to a Warning. |
The ajs.rerun return values are the same as “(Table) ajs.cancel_exec_schedule return value”.
(14) ajs.show
This part obtains the execution information of a Jobnet or job registered on JP1/AJS3.
If using ajs.show, it is necessary to set the following: “(Table) JP1/AJS3 and JP1/IM common parameters” and “(Table) JP1/AJS3 common parameters”.
The ajs.show return values are the same as “(Table) ajs.cancel_exec_schedule return value”.
(15) im.apply_common_exclusion_conditions_file
This part applies the common exclusion conditions extension definitions file specified in the parameters to JP1/IM and performs/removes monitoring deterrence. Files obtained with im.get_common_exclusion_conditions_file of Provided Ops I components can be used for the common exclusion condition extension definitions file.
If using im.apply_common_exclusion_conditions_file, it is required to set the following: “(Table) JP1/AJS3 and JP1/IM common parameters” and “(Table) JP1/IM common parameters” (see below).
(Table) JP1/IM common parameters
| Parameters | Required | Type | Description |
|---|---|---|---|
| opsi_git_group_path | Yes | String | Specify the path of the Git group where the common exclusion condition extension definition file is stored.
Example: "ops-i-system-engineers" |
| opsi_git_repository_name | Yes | String | Specify the name of the repository where the common exclusion condition extension definition file is stored. |
| opsi_container_name | Yes | String | Specify the name of the container where the common exclusion condition extension definition file is stored. |
| opsi_container_item_name | Yes | String | Specify the name of the container item folder where the common exclusion condition extension definition file is stored. |
| opsi_directory_path | Yes | String | Specify the path of the directory inside the container item folder where the common exclusion conditions extension definition file is stored. Whether or not the slash (/) at the end is specified is not important.
Example: "jp1im_A/" |
| opsi_vault_backend_name | Yes | String | Specify the name of the Secrets Engines where the secret with "opsi_token" or "opsi_domain" set as the key is registered. |
| opsi_vault_secret_path | Yes | String | Specify the secret path where the secret with "opsi_token" or "opsi_domain" set as the key is registered. |
| im_vault_backend_name | Yes | String | Specify the name of the secret backend in which the JP1/IM secret information is saved. |
| im_vault_secret_path | Yes | String | Specify the path to the secret where the JP1/IM secret information is saved. |
| opsi_credential_organization | No | String | Specify the AWX organization that has registered the Ops I credentials. |
| im_credential_organization | No | String | Specify the AWX organization that has registered the JP1/IM secret information. |
The im.apply_common_exclusion_conditions_file return values are the same as “(Table) ajs.cancel_exec_schedule return value”.
(16) im.get_common_exclusion_conditions_file
This part obtains common exclusion conditions extension definition files registered in JP1/IM.
If using im.get_common_exclusion_conditions_file, it is required to set the following: “(Table) JP1/AJS3 and JP1/IM common parameters” and “(Table) JP1/IM common parameters”.
The im.get_common_exclusion_conditions_file return values are the same as “(Table) ajs.cancel_exec_schedule return value”.
(17) im.set_common_exclusion_conditions_valid
This part enables/disables common exclusion conditions extension definitions registered in JP1/IM.
If using im.set_common_exclusion_conditions_valid, it is required to set the following: “(Table) JP1/AJS3 and JP1/IM common parameters”, “(Table) JP1/IM common parameters”, and “(Table) im.set_common_exclusion_conditions_valid fixed parameters”.
(Table) im.set_common_exclusion_conditions_valid fixed parameters
| Parameters | Required | Type | Description |
|---|---|---|---|
| im_valid_operation | Yes | String | Specify "on" to enable groups of common exclusion conditions or "off" to disable them. |
| im_common_exclusion_conditions_ids | Yes | Object | For the "ids" key, use an array when specifying groups of common exclusion conditions to be enabled or disabled. The specifiable range for groups of common exclusion conditions is from 0 to 1023. Example specification: im_common_exclusion_conditions_ids: { "ids": [1,2,3] } |
The im.set_common_exclusion_conditions_valid return values are the same as “(Table) ajs.cancel_exec_schedule return value”.