Hi Team,
I am using a quota policy as below.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Quota async="false" continueOnError="false" enabled="true" name="AESTCopperQuota" type="calendar">
<DisplayName>AESTCopperQuota</DisplayName>
<Properties/>
<Identifier ref="app.name"/>
<Allow countRef="actualLimit"/>
<StartTime>2017-2-23 14:00:00</StartTime>
<Interval>1</Interval>
<TimeUnit>day</TimeUnit>
<Distributed>true</Distributed>
<Synchronous>true</Synchronous>
</Quota>
Suppose I write a condition to call the policy at 5PM GMT at the start of a month, for that day count starts from 5PM. I wanted to know whether Apigee gives preference to .StartTime or Interval and TimeUnit, for the next counter reset. That is,
-
As start time is 2PM GMT, from next day onwards will the reset happen at 2PM
-
As Interval and time unit is 1 day (24 hours), will the reset happen at 5PM.
Kindly confirm.
Thanks in advance.