LoadTestingModelFactory.MonthlyRecurrenceByDates 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 MonthlyByDates.
public static Azure.Developer.LoadTesting.MonthlyRecurrenceByDates MonthlyRecurrenceByDates(Azure.Developer.LoadTesting.RecurrenceEnd recurrenceEnd = default, System.Collections.Generic.IEnumerable<int> datesInMonth = default, int? interval = default);
static member MonthlyRecurrenceByDates : Azure.Developer.LoadTesting.RecurrenceEnd * seq<int> * Nullable<int> -> Azure.Developer.LoadTesting.MonthlyRecurrenceByDates
Public Shared Function MonthlyRecurrenceByDates (Optional recurrenceEnd As RecurrenceEnd = Nothing, Optional datesInMonth As IEnumerable(Of Integer) = Nothing, Optional interval As Nullable(Of Integer) = Nothing) As MonthlyRecurrenceByDates
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.
- datesInMonth
- IEnumerable<Int32>
Recurrence set to repeat on the specified dates of the month. Value of dates can be 1 to 31 and -1. -1 represents the last day of the month.
The interval at which the recurrence should repeat. It signifies the number of months between each recurrence.
Returns
A new MonthlyRecurrenceByDates instance for mocking.