fortiflexvm_entitlements_cloud_create - Create one cloud entitlement based on a FortiFlex Configuration. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. versionadded:: 2.1.0 .. contents:: :local: :depth: 1 Synopsis -------- Create one cloud entitlement on a FortiFlex Configuration. This API is only used to create one cloud entitlement. To modify an entitlement, please refer to fortiflexvm_entitlements_update. Requirements ------------ The below requirements are needed on the host that executes this module. - ansible>=2.15 Parameters ---------- .. raw:: html Examples ------------- .. code-block:: yaml - name: Create cloud entitlement. hosts: localhost vars: username: "" password: "" config_id: 12345 tasks: - name: Create Cloud Entitlement. fortinet.fortiflexvm.fortiflexvm_entitlements_cloud_create: username: "{{ username }}" password: "{{ password }}" configId: "{{ config_id }}" # endDate: "2024-02-12T00:00:00" # Optional. If not set, it will use the program end date automatically. 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.