Gets Cosmos Data Loader (CDL) V2 data upload progress metrics for a given day or hour.

Namespace: Microsoft.Cosmos.Management
Assembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)

Syntax

C#
public DataUploadProgress GetDataUploadProgress(
	CosmosUri path,
	DateTime date
)
Visual Basic
Public Function GetDataUploadProgress ( _
	path As CosmosUri, _
	date As DateTime _
) As DataUploadProgress
Visual C++
public:
DataUploadProgress^ GetDataUploadProgress(
	CosmosUri^ path, 
	DateTime date
)

Parameters

path
Type: CosmosUri
Data upload destination path
date
Type: DateTime
Day or hour of stream set. For daily stream sets, only specify the date. For hourly stream sets, only specify the date and hour.

Return Value

Data upload progress metrics per Autopilot source cluster

Exceptions

ExceptionCondition
ArgumentNullExceptionThrown when path is null or empty
ArgumentExceptionThrown when date has a non-zero minute, second or millisecond value.
VcClientExceptions..::..EntryNotFoundExceptionThrown when either the path or path/date are not found in the database.
VcClientExceptions..::..VcClientExceptionThrown when there was an unknown error.

See Also