LoadTestingModelFactory.LoadTestingTrigger 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.
Trigger model. Please note this is the abstract base class. The derived classes available for instantiation are: ScheduleTestsTrigger.
public static Azure.Developer.LoadTesting.LoadTestingTrigger LoadTestingTrigger(string triggerId = default, string displayName = default, string description = default, string kind = default, Azure.Developer.LoadTesting.TriggerState? state = default, Azure.Developer.LoadTesting.StateDetails stateDetails = default, DateTimeOffset? createdDateTime = default, string createdBy = default, DateTimeOffset? lastModifiedDateTime = default, string lastModifiedBy = default);
static member LoadTestingTrigger : string * string * string * string * Nullable<Azure.Developer.LoadTesting.TriggerState> * Azure.Developer.LoadTesting.StateDetails * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * string -> Azure.Developer.LoadTesting.LoadTestingTrigger
Public Shared Function LoadTestingTrigger (Optional triggerId As String = Nothing, Optional displayName As String = Nothing, Optional description As String = Nothing, Optional kind As String = Nothing, Optional state As Nullable(Of TriggerState) = Nothing, Optional stateDetails As StateDetails = Nothing, Optional createdDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional createdBy As String = Nothing, Optional lastModifiedDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedBy As String = Nothing) As LoadTestingTrigger
Parameters
- triggerId
- String
The unique identifier of the trigger.
- displayName
- String
The name of the trigger.
- description
- String
The description of the trigger.
- kind
- String
The type of the trigger.
- state
- Nullable<TriggerState>
The current state of the trigger.
- stateDetails
- StateDetails
Details of current state of the trigger.
- createdDateTime
- Nullable<DateTimeOffset>
The creation datetime(RFC 3339 literal format).
- createdBy
- String
The user that created.
- lastModifiedDateTime
- Nullable<DateTimeOffset>
The last Modified datetime(RFC 3339 literal format).
- lastModifiedBy
- String
The user that last modified.
Returns
A new LoadTestingTrigger instance for mocking.