SearchModelFactory.IndexerRuntime 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.
Initializes a new instance of IndexerRuntime.
public static Azure.Search.Documents.Indexes.Models.IndexerRuntime IndexerRuntime(long usedSeconds = 0, long? remainingSeconds = default, DateTimeOffset beginningTime = default, DateTimeOffset endingTime = default);
static member IndexerRuntime : int64 * Nullable<int64> * DateTimeOffset * DateTimeOffset -> Azure.Search.Documents.Indexes.Models.IndexerRuntime
Public Shared Function IndexerRuntime (Optional usedSeconds As Long = 0, Optional remainingSeconds As Nullable(Of Long) = Nothing, Optional beginningTime As DateTimeOffset = Nothing, Optional endingTime As DateTimeOffset = Nothing) As IndexerRuntime
Parameters
- usedSeconds
- Int64
Cumulative runtime of the indexer from the beginningTime to endingTime, in seconds.
Cumulative runtime remaining for all indexers in the service from the beginningTime to endingTime, in seconds.
- beginningTime
- DateTimeOffset
Beginning UTC time of the 24-hour period considered for indexer runtime usage (inclusive).
- endingTime
- DateTimeOffset
End UTC time of the 24-hour period considered for indexer runtime usage (inclusive).
Returns
A new IndexerRuntime instance for mocking.