LoadTestingModelFactory.HourlyRecurrence(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 Hourly.
public static Azure.Developer.LoadTesting.HourlyRecurrence HourlyRecurrence(Azure.Developer.LoadTesting.RecurrenceEnd recurrenceEnd = default, int interval = 0);
static member HourlyRecurrence : Azure.Developer.LoadTesting.RecurrenceEnd * int -> Azure.Developer.LoadTesting.HourlyRecurrence
Public Shared Function HourlyRecurrence (Optional recurrenceEnd As RecurrenceEnd = Nothing, Optional interval As Integer = 0) As HourlyRecurrence
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 hours between each recurrence.
Returns
A new HourlyRecurrence instance for mocking.