Share via


RecurrenceWithCron Class

Definition

Recurrence is set based on cron expression.

public class RecurrenceWithCron : Azure.Developer.LoadTesting.LoadTestingRecurrence, System.ClientModel.Primitives.IJsonModel<Azure.Developer.LoadTesting.RecurrenceWithCron>, System.ClientModel.Primitives.IPersistableModel<Azure.Developer.LoadTesting.RecurrenceWithCron>
type RecurrenceWithCron = class
    inherit LoadTestingRecurrence
    interface IJsonModel<RecurrenceWithCron>
    interface IPersistableModel<RecurrenceWithCron>
Public Class RecurrenceWithCron
Inherits LoadTestingRecurrence
Implements IJsonModel(Of RecurrenceWithCron), IPersistableModel(Of RecurrenceWithCron)
Inheritance
RecurrenceWithCron
Implements

Constructors

Name Description
RecurrenceWithCron(String)

Initializes a new instance of RecurrenceWithCron.

Properties

Name Description
CronExpression

Cron expression for the recurrence.

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.

(Inherited from LoadTestingRecurrence)

Methods

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

Explicit Interface Implementations

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

Applies to