LoadTestingModelFactory.DailyRecurrence(RecurrenceEnd, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Recurrence model when frequency is set as Daily.
public static Azure.Developer.LoadTesting.DailyRecurrence DailyRecurrence(Azure.Developer.LoadTesting.RecurrenceEnd recurrenceEnd = default, int interval = 0);
static member DailyRecurrence : Azure.Developer.LoadTesting.RecurrenceEnd * int -> Azure.Developer.LoadTesting.DailyRecurrence
Public Shared Function DailyRecurrence (Optional recurrenceEnd As RecurrenceEnd = Nothing, Optional interval As Integer = 0) As DailyRecurrence
Parameters
- recurrenceEnd
- RecurrenceEnd
Recurrence end model. You can specify the end either by providing a numberOfOccurrences (which will end the recurrence after the specified number of occurrences) or by providing an endDateTime (which will end the recurrence after the specified date). If neither value is provided, the recurrence will continue until it is manually ended. However, if both values are provided, an error will be thrown.
- interval
- Int32
The interval at which the recurrence should repeat. It signifies the number of days between each recurrence.
Returns
A new DailyRecurrence instance for mocking.