Condividi tramite


LoadTestingRecurrence Class

Definition

Recurrence model. Please note this is the abstract base class. The derived classes available for instantiation are: DailyRecurrence, HourlyRecurrence, MonthlyRecurrenceByWeekDays, MonthlyRecurrenceByDates, RecurrenceWithCron, and WeeklyRecurrence.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Developer.LoadTesting.UnknownLoadTestingRecurrence))]
public abstract class LoadTestingRecurrence : System.ClientModel.Primitives.IJsonModel<Azure.Developer.LoadTesting.LoadTestingRecurrence>, System.ClientModel.Primitives.IPersistableModel<Azure.Developer.LoadTesting.LoadTestingRecurrence>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Developer.LoadTesting.UnknownLoadTestingRecurrence))>]
type LoadTestingRecurrence = class
    interface IJsonModel<LoadTestingRecurrence>
    interface IPersistableModel<LoadTestingRecurrence>
Public MustInherit Class LoadTestingRecurrence
Implements IJsonModel(Of LoadTestingRecurrence), IPersistableModel(Of LoadTestingRecurrence)
Inheritance
LoadTestingRecurrence
Derived
Attributes
Implements

Properties

Name Description
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.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<LoadTestingRecurrence>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<LoadTestingRecurrence>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<LoadTestingRecurrence>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<LoadTestingRecurrence>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<LoadTestingRecurrence>.Write(ModelReaderWriterOptions)

Applies to