PlanetaryComputerModelFactory.PlanetaryComputerOperationStatusHistoryItem 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.
Operation status history item.
public static Azure.Analytics.PlanetaryComputer.PlanetaryComputerOperationStatusHistoryItem PlanetaryComputerOperationStatusHistoryItem(DateTimeOffset occurredOn = default, Azure.Analytics.PlanetaryComputer.PlanetaryComputerOperationStatus status = default, string errorCode = default, string errorMessage = default);
static member PlanetaryComputerOperationStatusHistoryItem : DateTimeOffset * Azure.Analytics.PlanetaryComputer.PlanetaryComputerOperationStatus * string * string -> Azure.Analytics.PlanetaryComputer.PlanetaryComputerOperationStatusHistoryItem
Public Shared Function PlanetaryComputerOperationStatusHistoryItem (Optional occurredOn As DateTimeOffset = Nothing, Optional status As PlanetaryComputerOperationStatus = Nothing, Optional errorCode As String = Nothing, Optional errorMessage As String = Nothing) As PlanetaryComputerOperationStatusHistoryItem
Parameters
- occurredOn
- DateTimeOffset
The UTC time at which the status was set.
The status of the operation.
- errorCode
- String
If the status is failed, the error code.
- errorMessage
- String
If the status is failed, the error message.
Returns
A new PlanetaryComputerOperationStatusHistoryItem instance for mocking.