ArmCosmosDBModelFactory.DataTransferJobGetResultData 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 DataTransferJobGetResultData.
public static Azure.ResourceManager.CosmosDB.DataTransferJobGetResultData DataTransferJobGetResultData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string jobName = default, Azure.ResourceManager.CosmosDB.Models.DataTransferDataSourceSink source = default, Azure.ResourceManager.CosmosDB.Models.DataTransferDataSourceSink destination = default, string status = default, long? processedCount = default, long? totalCount = default, DateTimeOffset? lastUpdatedUtcOn = default, int? workerCount = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBErrorResult error = default, TimeSpan? duration = default, Azure.ResourceManager.CosmosDB.Models.DataTransferJobMode? mode = default);
static member DataTransferJobGetResultData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Azure.ResourceManager.CosmosDB.Models.DataTransferDataSourceSink * Azure.ResourceManager.CosmosDB.Models.DataTransferDataSourceSink * string * Nullable<int64> * Nullable<int64> * Nullable<DateTimeOffset> * Nullable<int> * Azure.ResourceManager.CosmosDB.Models.CosmosDBErrorResult * Nullable<TimeSpan> * Nullable<Azure.ResourceManager.CosmosDB.Models.DataTransferJobMode> -> Azure.ResourceManager.CosmosDB.DataTransferJobGetResultData
Public Shared Function DataTransferJobGetResultData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional jobName As String = Nothing, Optional source As DataTransferDataSourceSink = Nothing, Optional destination As DataTransferDataSourceSink = Nothing, Optional status As String = Nothing, Optional processedCount As Nullable(Of Long) = Nothing, Optional totalCount As Nullable(Of Long) = Nothing, Optional lastUpdatedUtcOn As Nullable(Of DateTimeOffset) = Nothing, Optional workerCount As Nullable(Of Integer) = Nothing, Optional error As CosmosDBErrorResult = Nothing, Optional duration As Nullable(Of TimeSpan) = Nothing, Optional mode As Nullable(Of DataTransferJobMode) = Nothing) As DataTransferJobGetResultData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- jobName
- String
Job Name.
- source
- DataTransferDataSourceSink
Source DataStore details Please note DataTransferDataSourceSink is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AzureBlobDataTransferDataSourceSink, BaseCosmosDataTransferDataSourceSink, CosmosCassandraDataTransferDataSourceSink, CosmosMongoDataTransferDataSourceSink, CosmosMongoVCoreDataTransferDataSourceSink and CosmosSqlDataTransferDataSourceSink.
- destination
- DataTransferDataSourceSink
Destination DataStore details Please note DataTransferDataSourceSink is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AzureBlobDataTransferDataSourceSink, BaseCosmosDataTransferDataSourceSink, CosmosCassandraDataTransferDataSourceSink, CosmosMongoDataTransferDataSourceSink, CosmosMongoVCoreDataTransferDataSourceSink and CosmosSqlDataTransferDataSourceSink.
- status
- String
Job Status.
- lastUpdatedUtcOn
- Nullable<DateTimeOffset>
Last Updated Time (ISO-8601 format).
- error
- CosmosDBErrorResult
Error response for Faulted job.
- mode
- Nullable<DataTransferJobMode>
Mode of job execution.
Returns
A new DataTransferJobGetResultData instance for mocking.