a10_slb_template_smtp

Synopsis

SMTP

Parameters

Parameters

Choices/Defaults

Comment

state

str/required

[‘noop’, ‘present’, ‘absent’]

State of the object to be created.

ansible_host

str/required

Host for AXAPI authentication

ansible_username

str/required

Username for AXAPI authentication

ansible_password

str/required

Password for AXAPI authentication

ansible_port

int/required

Port for AXAPI authentication

a10_device_context_id

int

[‘1-8’]

Device ID for aVCS configuration

a10_partition

str

Destination/target partition for object/command

name

str/required

SMTP Template Name

server_domain

str

Config the domain of the email servers (Server’s domain, default is ‘mail- server-domain’)

service_ready_msg

str

Set SMTP service ready message (SMTP service ready message, default is ‘ESMTP mail service ready’)

client_starttls_type

str

‘optional’= STARTTLS is optional requirement; ‘enforced’= Must issue STARTTLS command before mail transaction;

server_starttls_type

str

‘optional’= STARTTLS is optional requirement; ‘enforced’= Must issue STARTTLS command before mail transaction;

command_disable

list

Field command_disable

disable_type

str

‘expn’= Disable SMTP EXPN commands; ‘turn’= Disable SMTP TURN commands; ‘vrfy’= Disable SMTP VRFY commands;

LF_to_CRLF

bool

Change the LF to CRLF for smtp end of line

error_code_to_client

bool

Would transfer error code(554) to client, when getting it from connection establishing with real-server

client_domain_switching

list

Field client_domain_switching

switching_type

str

‘contains’= Specify domain name string if domain contains another string; ‘ends-with’= Specify domain name string if domain ends with another string; ‘starts-with’= Specify domain string if domain starts with another string;

match_string

str

Domain name string

service_group

str

Select service group (Service group name)

template

dict

Field template

logging

str

Logging template (Logging Config name)

uuid

str

uuid of the object

user_tag

str

Customized tag

Examples


Return Values

modified_values (changed, dict, )

Values modified (or potential changes if using check_mode) as a result of task operation

axapi_calls (always, list, )

Sequential list of AXAPI calls made by the task

endpoint (, str, [‘/axapi/v3/slb/virtual_server’, ‘/axapi/v3/file/ssl-cert’])

The AXAPI endpoint being accessed.

http_method (, str, [‘POST’, ‘GET’])

HTTP method being used by the primary task to interact with the AXAPI endpoint.

request_body (, complex, )

Params used to query the AXAPI

response_body (, complex, )

Response from the AXAPI

Status

  • This module is not guaranteed to have a backwards compatible interface. [preview]

  • This module is maintained by community.

Authors

  • A10 Networks