sap.sap_operations.cf_marketplace_info module – Fetches Cloud Foundry marketplace service offerings
Note
This module is part of the sap.sap_operations collection.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install sap.sap_operations
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: sap.sap_operations.cf_marketplace_info
.
New in sap.sap_operations 1.21.0
Synopsis
This module fetches the list of available service offerings from the Cloud Foundry marketplace.
It uses the Cloud Foundry CLI to interact with the Cloud Foundry API.
Cloud Foundry CLI should be installed and available in PATH.
Note
This module has a corresponding action plugin.
Requirements
The below requirements are needed on the host that executes this module.
python >= 3.6
cf CLI should be installed and available in PATH
Parameters
Parameter |
Comments |
---|---|
The endpoint URL of the Cloud Foundry API. |
|
The password for authentication with the Cloud Foundry API. |
|
The username for authentication with the Cloud Foundry API. This is SAP BTP user email address |
Notes
Note
This module does not modify any data and is safe to run in check mode.
This module is community supported
Module interface (parameters, output) expected to be stable but not guaranteed
Module planned to be released on Ansible Automation Hub after collecting some feedback
There is no guarantee that this module will be officially supported by Red Hat
This is ansible action plugin, not module
Meaning this plugin will be always executed on ansible controller.
Examples
---
- name: Get Cloud Foundry marketplace services
sap.sap_operations.cf_marketplace_info:
username: <SAP BTP user email>
password: password
api_endpoint: <SAP BTP API endpoint>
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
List of Cloud Foundry marketplace services Returned: success |
|
Indicates if the service is available. Returned: always Sample: |
|
Contains the broker catalog details. Returned: always |
|
Features provided by the service. Returned: always |
|
Indicates if context updates are allowed. Returned: always |
|
Indicates if the service can be bound to applications. Returned: always |
|
Indicates if bindings are retrievable. Returned: always |
|
Indicates if instances are retrievable. Returned: always |
|
Indicates if the plan is updateable. Returned: always |
|
The ID of the service in the broker catalog. Returned: always |
|
Metadata associated with the service. Returned: always |
|
Display name Returned: always |
|
Documentation URL Returned: always |
|
Image URL Returned: always |
|
Long description Returned: always |
|
Service inventory ID Returned: always |
|
SM offering ID Returned: always |
|
The creation date and time of the service. Returned: always |
|
The description of the service. Returned: always |
|
URL to the documentation of the service. Returned: always |
|
The globally unique identifier of the service. Returned: always |
|
Links to related resources. Returned: always |
|
Display name Returned: always |
|
URL Returned: always |
|
Documentation URL Returned: always |
|
URL Returned: always |
|
Image URL Returned: always |
|
URL Returned: always |
|
Additional metadata about the service. Returned: always |
|
Annotations Returned: always |
|
Labels Returned: always |
|
The name of the service. Returned: always |
|
Relationships to other entities. Returned: always |
|
Service broker Returned: always |
|
Data Returned: always |
|
GUID Returned: always |
|
Features required by the service. Returned: always |
|
Indicates if the service instance can be shared across spaces. Returned: always |
|
Tags associated with the service. Returned: always |
|
The last update date and time of the service. Returned: always |