nttmcp / nttmcp.mcp / 1.0.9 / module / snat_info List SNAT Exclusions | "added in version" 2.10.0 of nttmcp.mcp" Authors: Ken Sinfield (@kensinfield) preview | supported by NTT Ltd.nttmcp.mcp.snat_info (1.0.9) — module
Install with ansible-galaxy collection install nttmcp.mcp:==1.0.9
collections: - name: nttmcp.mcp version: 1.0.9
List SNAT Exclusions
- hosts: 127.0.0.1 connection: local collections: - nttmcp.mcp tasks: - name: List SNAT exclusions snat_info: region: na datacenter: NA9 network_domain: my_network_domain - name: Get a SNAT exclusion by cidr snat_info: region: na datacenter: NA9 network_domain: my_network_domain cidr: "172.16.0.0/12" - name: Get a SNAT exclusion by id snat_info: region: na datacenter: NA9 network_domain: my_network_domain id: b2fbd7e6-ddbb-4eb6-a2dd-ad048bc5b9ae
id: description: - The UUID of the SNAT exclusion - If a id and a network is provided but there is a conflict, id takes precendence required: false type: str auth: description: - Optional dictionary containing the authentication and API information for Cloud Control required: false suboptions: api: description: - The Cloud Control API endpoint e.g. api-na.mcp-services.net required: false type: str api_version: description: - The Cloud Control API version e.g. 2.11 required: false type: str password: description: - The Cloud Control API user password required: false type: str username: description: - The Cloud Control API username required: false type: str type: dict cidr: description: - The IPv4 or IPv6 destination network address to modify in CIDR format for e.g. 192.168.0.0/24 required: false type: str region: default: na description: - The geographical region required: false type: str datacenter: description: - The datacenter name required: true type: str network_domain: description: - The name of a Cloud Network Domain required: true type: str
data: contains: count: description: The number of objects returned returned: success sample: 1 type: int snat: contains: createTime: description: The creation date of the image sample: '2019-01-14T11:12:31.000Z' type: str datacenterId: description: Datacenter id/location sample: NA3 type: str description: description: Optional description for the SNAT exclusion sample: something type: str destinationIpv4NetworkAddress: description: The destination network address for the static route sample: 192.168.0.0 type: str destinationPrefixSize: description: The destination prefix for the static route sample: 24 type: int id: description: The UUID of the SNAT exclusion sample: b2fbd7e6-ddbb-4eb6-a2dd-ad048bc5b9ae type: str networkDomainId: description: Network Domain ID sample: b2fbd7e6-ddbb-4eb6-a2dd-ad048bc5b9ae type: str state: description: Status of the static route sample: NORMAL type: str type: description: The type of static route e.g. SYSTEM or CLIENT sample: CLIENT type: str description: List of SNAT exclusion objects returned: success type: complex description: Array of Port List objects returned: success type: complex