Skip to content

Latest commit

 

History

History
178 lines (158 loc) · 5.97 KB

avi_api_fileservice.rst

File metadata and controls

178 lines (158 loc) · 5.97 KB

vmware.alb.avi_api_fileservice

Module for setup of ApiFileservice Avi RESTful Object

Parameter Choices/Defaults Comments
file_path
str
required: true
- Local file path of file to be uploaded or downloaded file
force_mode
bool
- Allowed force mode for upload forcefully.
params
dict
- Query parameters passed to the HTTP API.
path
str
required: true
- Path for Avi API resource. For example, C(path: seova) will translate to C(api/fileservice/seova).
timeout
int
- Timeout (in seconds) for Avi API calls.
upload
bool
required: true
- Allowed upload flag false for download and true for upload.

- hosts: localhost
  connection: local
  collections:
    - vmware.alb
  vars:
    avi_credentials:
      username: "avi_user"
      password: "avi_password"
      controller: "192.168.138.18"
      api_version: "21.1.1"
  tasks:
    - name: Example to create ApiFileservice object
      avi_api_fileservice:
        avi_credentials: "{{ avi_credentials }}"
        state: present
        name: sample_api_fileservice

Authors