Operations on virtual service configurations.
Use this when a user needs to create or update a virtual service configuration.
Actions:
- read: Read a Configuration.
args(dict): Dictionary with the following required parameters:
workspace_id (int): Mandatory. The id of the workspace to list configurations from.
configuration_id (int): Mandatory. The id of the configuration to get information.
- list: List all configurations.
args(dict): Dictionary with the following required parameters:
workspace_id (int): Mandatory. The id of the workspace to list configurations from.
limit (int, default=10, valid=[1 to 50]): The number of configurations to list.
offset (int, default=0): Number of configurations to skip.
- create: Create a new configuration.
args(dict): Dictionary with the following required parameters:
workspace_id (int): Mandatory. The ID of the workspace in which to create the configuration.
configuration_name (str): Mandatory. The name of the configuration to create.
configuration_map (Dict[str, str]): Mandatory. A map of configuration parameters and their corresponding values.
- update: Update an existing configuration.
args(dict): Dictionary with the following required parameters:
workspace_id (int): Mandatory. The ID of the workspace containing the configuration.
configuration_id (int): Mandatory. The ID of the configuration to update.
configuration_name (str): Mandatory. The new or updated name of the configuration.
configuration_map (Dict[str, str]): Mandatory. A map of configuration parameters and their corresponding values.
Configuration Schema:
{'additionalProperties': True, 'properties': {'id': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'default': None, 'description': 'Configuration id', 'title': 'Id'}, 'name': {'description': 'Configuration parameter name', 'title': 'Name', 'type': 'string'}, 'description': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'default': None, 'description': 'Configuration parameter name', 'title': 'Description'}, 'configurationMap': {'anyOf': [{'additionalProperties': {'type': 'string'}, 'type': 'object'}, {'type': 'null'}], 'description': 'Configuration map', 'title': 'Configurationmap'}}, 'required': ['name', 'configurationMap'], 'title': 'Configuration', 'type': 'object'}