.. _community.vmware.vca_fw_module:
***********************
community.vmware.vca_fw
***********************
**add remove firewall rules in a gateway in a vca**
.. contents::
:local:
:depth: 1
DEPRECATED
----------
:Removed in collection release after 2022-06-01
:Why: Module depends upon deprecated version of Pyvcloud library.
:Alternative: Use https://github.com/vmware/ansible-module-vcloud-director instead.
Synopsis
--------
- Adds or removes firewall rules from a gateway in a vca environment
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
api_version
string
|
Default:
"5.7"
|
The API version to be used with the vca.
|
|
fw_rules
-
/ required
|
Default:
"no"
|
A list of firewall rules to be added to the gateway, Please see examples on valid entries
|
|
gateway_name
string
|
Default:
"gateway"
|
The name of the gateway of the vdc where the rule should be added.
|
|
host
string
|
|
The authentication host to be used when service type is vcd.
|
|
instance_id
string
|
|
The instance ID in a vchs environment to be used for creating the vapp.
|
|
org
string
|
|
The org to login to for creating vapp.
This option is required when the service_type is vdc.
|
|
password
string
|
|
The vca password, if not set the environment variable VCA_PASS is checked for the password.
aliases: pass, passwd
|
|
service_type
string
|
|
The type of service we are authenticating against.
|
|
state
string
|
Choices:
- absent
present ←
|
Whether the object should be added or removed.
|
|
username
string
|
|
The vca username or email address, if not set the environment variable VCA_USER is checked for the username.
aliases: user
|
|
validate_certs
boolean
|
|
If the certificates of the authentication is to be verified.
aliases: verify_certs
|
|
vdc_name
string
|
|
The name of the vdc where the gateway is located.
|