postuploadconfigfile
The postuploadconfigfile operation handles configuration related to ConfigImportExportFileInfo model.
Description
This API call is not allowed on the standby unit in an HA pair.
The request payload must contain a single file-item with a file-name field. The file-name extension must be either '.txt' or '.zip' and the actual file content format must be consistent with the file extension
Data Parameters
Parameter | Required | Type | Description | |||
---|---|---|---|---|---|---|
diskFileName | False | string | Name of the disk file saved in a system directory Field level constraints: must match pattern ^((?!;).)*$. (Note: Additional constraints might exist) |
|||
dateModified | False | string | Most recent update time, in UTC Field level constraints: must match pattern ^((?!;).)*$. (Note: Additional constraints might exist) |
|||
sizeBytes | False | integer | Size of the file, in number of bytes | |||
id | False | string | Unique ID of the file, which is local disk file name Field level constraints: must match pattern ^((?!;).)*$. (Note: Additional constraints might exist) |
|||
type | True | string | configimportexportfileinfo |
Example
- name: Execute 'postuploadconfigfile' operation
ftd_configuration:
operation: "postuploadconfigfile"
data:
diskFileName: "{{ disk_file_name }}"
dateModified: "{{ date_modified }}"
sizeBytes: "{{ size_bytes }}"
id: "{{ id }}"
type: "{{ type }}"