diff options
Diffstat (limited to 'lib/ansible/modules/network/avi/avi_pkiprofile.py')
-rw-r--r-- | lib/ansible/modules/network/avi/avi_pkiprofile.py | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/lib/ansible/modules/network/avi/avi_pkiprofile.py b/lib/ansible/modules/network/avi/avi_pkiprofile.py index d0be9d788f..4918800a71 100644 --- a/lib/ansible/modules/network/avi/avi_pkiprofile.py +++ b/lib/ansible/modules/network/avi/avi_pkiprofile.py @@ -43,7 +43,19 @@ options: description: - The state that should be applied on the entity. default: present - choices: ["absent","present"] + choices: ["absent", "present"] + avi_api_update_method: + description: + - Default method for object update is HTTP PUT. + - Setting to patch will override that behavior to use HTTP PATCH. + version_added: "2.5" + default: put + choices: ["put", "patch"] + avi_api_patch_op: + description: + - Patch operation to use when using avi_api_update_method as patch. + version_added: "2.5" + choices: ["add", "replace", "delete"] ca_certs: description: - List of certificate authorities (root and intermediate) trusted that is used for certificate validation. @@ -121,6 +133,9 @@ def main(): argument_specs = dict( state=dict(default='present', choices=['absent', 'present']), + avi_api_update_method=dict(default='put', + choices=['put', 'patch']), + avi_api_patch_op=dict(choices=['add', 'replace', 'delete']), ca_certs=dict(type='list',), created_by=dict(type='str',), crl_check=dict(type='bool',), |