Condividi tramite


WeeklyRecurrence Class

Definition

Recurrence model when frequency is set as weekly.

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

Constructors

Name Description
WeeklyRecurrence()

Initializes a new instance of WeeklyRecurrence.

Properties

Name Description
DaysOfWeek

Recurrence set to repeat on the specified days of the week.

Interval

The interval at which the recurrence should repeat. It signifies the number of weeks between each 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<WeeklyRecurrence>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<WeeklyRecurrence>.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<WeeklyRecurrence>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<WeeklyRecurrence>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<WeeklyRecurrence>.Write(ModelReaderWriterOptions)

Applies to