Inventory
=========
Description
-----------
This resource is used for managing inventory resources in Tower.
Fields Table
------------
..
+--------------------+----------------------+----------------------------------------------------+----------+-------+-----------+---------+
|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 |
+--------------------+----------------------+----------------------------------------------------+----------+-------+-----------+---------+
|organization |Resource organization |The organization field. |False |False |True |True |
+--------------------+----------------------+----------------------------------------------------+----------+-------+-----------+---------+
|variables |variables |Inventory variables, use "@" to get from file. |False |False |True |False |
+--------------------+----------------------+----------------------------------------------------+----------+-------+-----------+---------+
|kind |Choices: ,smart |The kind field. Cannot be modified after created. |False |False |True |False |
+--------------------+----------------------+----------------------------------------------------+----------+-------+-----------+---------+
|host_filter |String |The host_filter field. Only useful when kind=smart. |False |False |True |False |
+--------------------+----------------------+----------------------------------------------------+----------+-------+-----------+---------+
|insights_credential |Resource credential |The insights_credential field. |False |False |True |False |
+--------------------+----------------------+----------------------------------------------------+----------+-------+-----------+---------+
..
API Specification
-----------------
.. autoclass:: tower_cli.resources.inventory.Resource
:members: copy, create, delete, get, list, modify, associate_ig, disassociate_ig, batch_update