Scaleway API access key.
.. raw:: html
* - .. raw:: html
Allow the API endpoint to be reached without verifying its TLS certificate.
Falls back to the Scaleway configuration file, then to :literal:`false`.
.. rst-class:: ansible-option-line
:ansible-option-choices:`Choices:`
- :ansible-option-choices-entry:`false`
- :ansible-option-choices-entry:`true`
.. raw:: html
* - .. raw:: html
Seconds allowed for a single API call, connection and read.
Without a limit a silent connection would hang the module forever: the Scaleway SDK issues its requests with no timeout at all.
This bounds a single call, not a whole wait. Modules that can wait for a state bound the overall wait separately.
.. rst-class:: ansible-option-line
:ansible-option-default-bold:`Default:` :ansible-option-default:`60`
.. raw:: html
* - .. raw:: html
URL of the Scaleway API endpoint.
Point it at a local emulator to exercise a playbook without credentials.
Falls back to the Scaleway configuration file, then to :literal:`https://api.scaleway.com`. It carries no module default on purpose: a default is never unset, so it would always override the profile.
.. raw:: html
* - .. raw:: html
Path to the Scaleway configuration file.
.. raw:: html
* - .. raw:: html
Frontend ID.
.. raw:: html
* - .. raw:: html
Load Balancer ID.
.. raw:: html
* - .. raw:: html
Name of the frontend to filter for.
.. raw:: html
* - .. raw:: html
Sort order of frontends in the response.
.. rst-class:: ansible-option-line
:ansible-option-choices:`Choices:`
- :ansible-option-choices-entry:`"created\_at\_asc"`
- :ansible-option-choices-entry:`"created\_at\_desc"`
- :ansible-option-choices-entry:`"name\_asc"`
- :ansible-option-choices-entry:`"name\_desc"`
.. raw:: html
* - .. raw:: html
Default Organization ID used when an operation does not name one.
.. raw:: html
* - .. raw:: html
Name of the profile to read in the Scaleway configuration file.
.. raw:: html
* - .. raw:: html
Default Project ID used when an operation does not name one.
.. raw:: html
* - .. raw:: html
Scaleway API secret key.
.. raw:: html
* - .. raw:: html
Value of the User\-Agent header sent to the API.
.. raw:: html
* - .. raw:: html
The zone you want to target
.. rst-class:: ansible-option-line
:ansible-option-choices:`Choices:`
- :ansible-option-choices-entry:`"fr\-par\-1"`
- :ansible-option-choices-entry:`"fr\-par\-2"`
- :ansible-option-choices-entry:`"nl\-ams\-1"`
- :ansible-option-choices-entry:`"nl\-ams\-2"`
- :ansible-option-choices-entry:`"nl\-ams\-3"`
- :ansible-option-choices-entry:`"pl\-waw\-1"`
- :ansible-option-choices-entry:`"pl\-waw\-2"`
- :ansible-option-choices-entry:`"pl\-waw\-3"`
.. raw:: html
.. Attributes
Attributes
----------
.. tabularcolumns:: \X{2}{10}\X{3}{10}\X{5}{10}
.. list-table::
:width: 100%
:widths: auto
:header-rows: 1
:class: longtable ansible-option-table
* - Attribute
- Support
- Description
* - .. raw:: html
:ansible-attribute-support-label:`Support: \ `\ :ansible-attribute-support-full:`full`
.. raw:: html
- .. raw:: html
This module only reads, so check mode changes nothing about how it runs.
.. raw:: html
* - .. raw:: html
:ansible-attribute-support-label:`Support: \ `\ :ansible-attribute-support-none:`none`
.. raw:: html
- .. raw:: html
This module changes nothing, so it has no difference to report.
.. raw:: html
.. Notes
Notes
-----
.. note::
- Every option can be set from its environment variable, respectively :literal:`SCW\_PROFILE`\ , :literal:`SCW\_CONFIG\_PATH`\ , :literal:`SCW\_ACCESS\_KEY`\ , :literal:`SCW\_SECRET\_KEY`\ , :literal:`SCW\_API\_URL`\ , :literal:`SCW\_DEFAULT\_ORGANIZATION\_ID` and :literal:`SCW\_DEFAULT\_PROJECT\_ID`.
- Module options take precedence over environment variables, which take precedence over the configuration file.
.. Seealso
.. Examples
Examples
--------
.. code-block:: yaml+jinja
# This module only reads: it never changes anything, and check mode
# is native.
#
# `frontend_id` decides which of the two reads runs: given, the
# module returns that one resource; omitted, it lists them all,
# walking every page rather than returning the first one in silence.
- name: Get a frontend
stephrobert.scaleway.lb_frontend_info:
zone: fr-par-1
frontend_id: 11111111-2222-3333-4444-555555555555
register: result
- name: List frontends of a given Load Balancer
stephrobert.scaleway.lb_frontend_info:
zone: fr-par-1
register: result
- name: Filter Scaleway Load Balancer frontends by name
stephrobert.scaleway.lb_frontend_info:
zone: fr-par-1
name: my-frontend-info
register: result
.. Facts
.. Return values
Return Values
-------------
Common return values are documented :ref:`here `, the following are the fields unique to this module:
.. tabularcolumns:: \X{1}{3}\X{2}{3}
.. list-table::
:width: 100%
:widths: auto
:header-rows: 1
:class: longtable ansible-option-table
* - Key
- Description
* - .. raw:: html
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-frontends:
.. rst-class:: ansible-option-title
**frontends**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`list` / :ansible-option-elements:`elements=dictionary`
.. raw:: html
- .. raw:: html
List all the frontends of a Load Balancer, specified by its Load Balancer ID. By default, results are returned in ascending order by the creation date of each frontend. The response is an array of frontend objects, containing full details of each one including the port they listen on and the backend they are attached to.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when :emphasis:`frontend\_id` is omitted
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-frontends/backend:
.. rst-class:: ansible-option-title
**backend**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`dictionary`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Backend object the frontend is attached to.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-frontends/certificate:
.. rst-class:: ansible-option-title
**certificate**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`dictionary`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Certificate, deprecated in favor of certificate\_ids array.
Deprecated by the Scaleway API contract.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-frontends/certificate_ids:
.. rst-class:: ansible-option-title
**certificate_ids**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`list` / :ansible-option-elements:`elements=string`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
List of SSL/TLS certificate IDs to bind to the frontend.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-frontends/connection_rate_limit:
.. rst-class:: ansible-option-title
**connection_rate_limit**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`integer`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-frontends/created_at:
.. rst-class:: ansible-option-title
**created_at**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Date on which the frontend was created. (RFC 3339 format)
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-frontends/enable_access_logs:
.. rst-class:: ansible-option-title
**enable_access_logs**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`boolean`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Defines whether to enable access logs on the frontend.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-frontends/enable_http3:
.. rst-class:: ansible-option-title
**enable_http3**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`boolean`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Defines whether to enable HTTP/3 protocol on the frontend.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-frontends/id:
.. rst-class:: ansible-option-title
**id**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Frontend ID.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-frontends/inbound_port:
.. rst-class:: ansible-option-title
**inbound_port**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`integer`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Port the frontend listens on.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-frontends/lb:
.. rst-class:: ansible-option-title
**lb**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`dictionary`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Load Balancer object the frontend is attached to.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-frontends/name:
.. rst-class:: ansible-option-title
**name**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Name of the frontend.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-frontends/timeout_client:
.. rst-class:: ansible-option-title
**timeout_client**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`float`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Maximum allowed inactivity time on the client side. (in milliseconds)
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-frontends/updated_at:
.. rst-class:: ansible-option-title
**updated_at**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Date on which the frontend was last updated. (RFC 3339 format)
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-result:
.. rst-class:: ansible-option-title
**result**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`dictionary`
:ansible-option-versionadded:`added in stephrobert.scaleway 0.4.0`
.. raw:: html
- .. raw:: html
Get the full details of a given frontend, specified by its frontend ID. The response contains the frontend's full configuration parameters including the backend it is attached to, the port it listens on, and any certificates it has.
The API contract names no payload field for this operation: the response body is returned as is.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when :emphasis:`frontend\_id` is provided
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-result/backend:
.. rst-class:: ansible-option-title
**backend**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`dictionary`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Backend object the frontend is attached to.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-result/certificate:
.. rst-class:: ansible-option-title
**certificate**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`dictionary`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Certificate, deprecated in favor of certificate\_ids array.
Deprecated by the Scaleway API contract.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-result/certificate_ids:
.. rst-class:: ansible-option-title
**certificate_ids**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`list` / :ansible-option-elements:`elements=string`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
List of SSL/TLS certificate IDs to bind to the frontend.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-result/connection_rate_limit:
.. rst-class:: ansible-option-title
**connection_rate_limit**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`integer`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Rate limit for new connections established on this frontend. Use 0 value to disable, else value is connections per second.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-result/created_at:
.. rst-class:: ansible-option-title
**created_at**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Date on which the frontend was created. (RFC 3339 format)
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-result/enable_access_logs:
.. rst-class:: ansible-option-title
**enable_access_logs**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`boolean`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Defines whether to enable access logs on the frontend.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-result/enable_http3:
.. rst-class:: ansible-option-title
**enable_http3**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`boolean`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Defines whether to enable HTTP/3 protocol on the frontend.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-result/id:
.. rst-class:: ansible-option-title
**id**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Frontend ID.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-result/inbound_port:
.. rst-class:: ansible-option-title
**inbound_port**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`integer`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Port the frontend listens on.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-result/lb:
.. rst-class:: ansible-option-title
**lb**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`dictionary`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Load Balancer object the frontend is attached to.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-result/name:
.. rst-class:: ansible-option-title
**name**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Name of the frontend.
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-result/timeout_client:
.. rst-class:: ansible-option-title
**timeout_client**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`float`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Maximum allowed inactivity time on the client side. (in milliseconds)
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
* - .. raw:: html
.. raw:: latex
\hspace{0.02\textwidth}\begin{minipage}[t]{0.3\textwidth}
.. _ansible_collections.stephrobert.scaleway.lb_frontend_info_module__return-result/updated_at:
.. rst-class:: ansible-option-title
**updated_at**
.. raw:: html
.. ansible-option-type-line::
:ansible-option-type:`string`
.. raw:: html
.. raw:: latex
\end{minipage}
- .. raw:: html
Date on which the frontend was last updated. (RFC 3339 format)
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` when the API returns it
.. raw:: html
.. Status (Presently only deprecated)
.. Authors
Authors
~~~~~~~
- Stéphane Robert (@stephrobert)
.. Extra links
Collection links
~~~~~~~~~~~~~~~~
.. ansible-links::
- title: "Issue Tracker"
url: "https://github.com/stephrobert/collection-scaleway/issues"
external: true
- title: "Repository (Sources)"
url: "https://github.com/stephrobert/collection-scaleway"
external: true
.. Parsing errors