mirror of
https://github.com/ansible/tower-cli.git
synced 2026-02-06 00:48:50 +01:00
41 lines
4.0 KiB
ReStructuredText
41 lines
4.0 KiB
ReStructuredText
Schedule
|
|
========
|
|
|
|
Description
|
|
-----------
|
|
|
|
This resource is used for managing schedule resources in Tower.
|
|
|
|
Fields Table
|
|
------------
|
|
.. <table goes here>
|
|
|
|
+---------------------+--------------------------+-----------------------------------------------------------------------------------------+----------+-------+-----------+---------+
|
|
|name |type |help_text |read_only |unique |filterable |required |
|
|
+=====================+==========================+=========================================================================================+==========+=======+===========+=========+
|
|
|name |String |The name field. |False |True |True |True |
|
|
+---------------------+--------------------------+-----------------------------------------------------------------------------------------+----------+-------+-----------+---------+
|
|
|description |String |The description field. |False |False |True |False |
|
|
+---------------------+--------------------------+-----------------------------------------------------------------------------------------+----------+-------+-----------+---------+
|
|
|job_template |Resource job_template |The job_template field. |False |False |True |False |
|
|
+---------------------+--------------------------+-----------------------------------------------------------------------------------------+----------+-------+-----------+---------+
|
|
|inventory_source |Resource inventory_source |The inventory_source field. |False |False |True |False |
|
|
+---------------------+--------------------------+-----------------------------------------------------------------------------------------+----------+-------+-----------+---------+
|
|
|project |Resource project |The project field. |False |False |True |False |
|
|
+---------------------+--------------------------+-----------------------------------------------------------------------------------------+----------+-------+-----------+---------+
|
|
|unified_job_template |int |Integer used to display unified job template in result, Do not use it for create/modify. |False |False |True |False |
|
|
+---------------------+--------------------------+-----------------------------------------------------------------------------------------+----------+-------+-----------+---------+
|
|
|enabled |BOOL |Whether this schedule will be used. |False |False |True |False |
|
|
+---------------------+--------------------------+-----------------------------------------------------------------------------------------+----------+-------+-----------+---------+
|
|
|rrule |String |Schedule rules specifications which is less than 255 characters. |False |False |True |False |
|
|
+---------------------+--------------------------+-----------------------------------------------------------------------------------------+----------+-------+-----------+---------+
|
|
|extra_data |variables |Extra data for schedule rules in the form of a .json file. |False |False |True |False |
|
|
+---------------------+--------------------------+-----------------------------------------------------------------------------------------+----------+-------+-----------+---------+
|
|
|
|
.. <table goes here>
|
|
|
|
API Specification
|
|
-----------------
|
|
.. autoclass:: tower_cli.resources.schedule.Resource
|
|
:members: copy, create, delete, get, list, modify
|