createMultipleTimeRange

The createMultipleTimeRange operation handles configuration related to /api/fmc_config/v1/domain/{domainUUID}/object/timeranges path. 

Description

Retrieves, deletes, creates and modifies the TimeRange object. Check the response section for applicable examples (if any).

Data Parameters Example

Parameter Value
name TestTimeRange
effectiveStartDateTime 2019-09-19T15:53:00
effectiveEndDateTime 2019-09-21T17:53:00
recurrenceList [{'recurrenceType': 'DAILY_INTERVAL', 'days': ['MON', 'TUE', 'FRI'], 'dailyStartTime': '08:00', 'dailyEndTime': '09:00'}, {'recurrenceType': 'RANGE', 'rangeStartTime': '09:00', 'rangeStartDay': 'MON', 'rangeEndTime': '11:00', 'rangeEndDay': 'FRI'}]
type TimeRange
description

Path Parameters

Parameter Required Type Description
domainUUID True string Domain UUID

Query Parameters

Parameter Required Type Description
bulk False boolean Enables bulk create for TimeRange objects.

Example

- name: Execute 'createMultipleTimeRange' operation
  cisco.fmcansible.fmc_configuration:
    operation: "createMultipleTimeRange"
    data:
        name: TestTimeRange
        effectiveStartDateTime: 2019-09-19T15:53:00
        effectiveEndDateTime: 2019-09-21T17:53:00
        recurrenceList: [{'recurrenceType': 'DAILY_INTERVAL', 'days': ['MON', 'TUE', 'FRI'], 'dailyStartTime': '08:00', 'dailyEndTime': '09:00'}, {'recurrenceType': 'RANGE', 'rangeStartTime': '09:00', 'rangeStartDay': 'MON', 'rangeEndTime': '11:00', 'rangeEndDay': 'FRI'}]
        type: TimeRange
        description:  
    path_params:
        domainUUID: "{{ domain_uuid }}"
    query_params:
        bulk: "{{ bulk }}"