ArmPlatformValidationModelFactory.ValidationTestRunProperties 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.
Validation Test Run properties.
public static Azure.ResourceManager.PlatformValidation.Models.ValidationTestRunProperties ValidationTestRunProperties(Azure.ResourceManager.PlatformValidation.Models.ValidationTestRunStatus? status = default, Azure.ResponseError error = default, Azure.ResourceManager.PlatformValidation.Models.ValidationTestRunProvisioningState? provisioningState = default, DateTimeOffset? startedOn = default, DateTimeOffset? completedOn = default, DateTimeOffset? reportedOn = default, Azure.Core.ResourceIdentifier testId = default, string inputsJson = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.PlatformValidation.Models.ValidationTestPassDetails> passDetails = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.PlatformValidation.Models.ValidationTestFailureDetails> failureDetails = default);
static member ValidationTestRunProperties : Nullable<Azure.ResourceManager.PlatformValidation.Models.ValidationTestRunStatus> * Azure.ResponseError * Nullable<Azure.ResourceManager.PlatformValidation.Models.ValidationTestRunProvisioningState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * string * seq<Azure.ResourceManager.PlatformValidation.Models.ValidationTestPassDetails> * seq<Azure.ResourceManager.PlatformValidation.Models.ValidationTestFailureDetails> -> Azure.ResourceManager.PlatformValidation.Models.ValidationTestRunProperties
Public Shared Function ValidationTestRunProperties (Optional status As Nullable(Of ValidationTestRunStatus) = Nothing, Optional error As ResponseError = Nothing, Optional provisioningState As Nullable(Of ValidationTestRunProvisioningState) = Nothing, Optional startedOn As Nullable(Of DateTimeOffset) = Nothing, Optional completedOn As Nullable(Of DateTimeOffset) = Nothing, Optional reportedOn As Nullable(Of DateTimeOffset) = Nothing, Optional testId As ResourceIdentifier = Nothing, Optional inputsJson As String = Nothing, Optional passDetails As IEnumerable(Of ValidationTestPassDetails) = Nothing, Optional failureDetails As IEnumerable(Of ValidationTestFailureDetails) = Nothing) As ValidationTestRunProperties
Parameters
- status
- Nullable<ValidationTestRunStatus>
The overall status of the test run.
- error
- ResponseError
Error details. Populated when status is Error.
- provisioningState
- Nullable<ValidationTestRunProvisioningState>
The state of the test run.
- startedOn
- Nullable<DateTimeOffset>
The start time of the test run.
- completedOn
- Nullable<DateTimeOffset>
The completion time of the test run.
- reportedOn
- Nullable<DateTimeOffset>
The time at which the test run result was reported.
- testId
- ResourceIdentifier
The resource ID of the validation test in the validation test catalog.
- inputsJson
- String
Validation test run inputs json, conforming to the input contract declared by ValidationTestInput on the corresponding validation test.
This value is returned as-is in get responses, so it must not contain credentials or other secrets.
- passDetails
- IEnumerable<ValidationTestPassDetails>
Detailed pass information when the test passes.
- failureDetails
- IEnumerable<ValidationTestFailureDetails>
Detailed failure information when the test fails.
Returns
A new ValidationTestRunProperties instance for mocking.