fortiflexvm_groups_nexttoken_info - Get net available (unused) token. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. versionadded:: 1.0.0 .. contents:: :local: :depth: 1 Synopsis -------- Returns first available token by asset folder or Configuration id (folder path, or config id or both can be specified in request). Requirements ------------ The below requirements are needed on the host that executes this module. - ansible>=2.15 Parameters ---------- .. raw:: html Examples ------------- .. code-block:: yaml - name: Get next available (unused) token hosts: localhost vars: username: "" password: "" tasks: - name: Get groups nexttoken fortinet.fortiflexvm.fortiflexvm_groups_nexttoken_info: username: "{{ username }}" password: "{{ password }}" # Please declare at least one of the following two arguments: accountId or configId. # You can comment at most one argument that you don't want to specify. configId: 22 # accountId: 12345 # Optional parameters folderPath: "My Assets" status: ["ACTIVE", "PENDING"] # "ACTIVE", "PENDING", "STOPPED", "EXPIRED" register: result - name: Display response ansible.builtin.debug: var: result.entitlements Return Values ------------- .. raw:: html Authors ------- - Xinwei Du (@dux-fortinet) .. hint:: If you notice any issues in this documentation, you can create a pull request to improve it.