Class NullDataPipelineServiceClient
- Namespace
- FoundationaLLM.DataPipelineEngine.Clients
- Assembly
- FoundationaLLM.DataPipelineEngine.dll
Implements a no-operation client.
public class NullDataPipelineServiceClient : IDataPipelineServiceClient, IResourceProviderClient
- Inheritance
-
NullDataPipelineServiceClient
- Implements
- Inherited Members
- Extension Methods
Properties
ResourceProviders
Sets the resource providers collection.
public IEnumerable<IResourceProviderService> ResourceProviders { set; }
Property Value
Remarks
This property must be exposed by services that cannot be injected with the resource providers. These are background services that both provide and consume services to and from the resource providers.
Methods
CreateDataPipelineRunAsync(string, DataPipelineRun, DataPipelineDefinitionSnapshot, UnifiedUserIdentity)
Creates a new data pipeline run.
public Task<DataPipelineRun?> CreateDataPipelineRunAsync(string instanceId, DataPipelineRun dataPipelineRun, DataPipelineDefinitionSnapshot dataPipelineSnapshot, UnifiedUserIdentity userIdentity)
Parameters
instanceIdstringThe FoundationaLLM instance identifier.
dataPipelineRunDataPipelineRunThe data pipeline run to create.
dataPipelineSnapshotDataPipelineDefinitionSnapshotThe snapshot of the definition of the data pipeline at the time the run was triggered.
userIdentityUnifiedUserIdentity
Returns
- Task<DataPipelineRun>
The newly created data pipeline run.
GetDataPipelineRunAsync(string, string, string, UnifiedUserIdentity)
Gets a data pipeline run by its identifier.
public Task<DataPipelineRun?> GetDataPipelineRunAsync(string instanceId, string dataPipelineName, string runId, UnifiedUserIdentity userIdentity)
Parameters
instanceIdstringThe FoundationaLLM instance identifier.
dataPipelineNamestringThe name of the data pipeline.
runIdstringThe data pipeline run identifier.
userIdentityUnifiedUserIdentity
Returns
- Task<DataPipelineRun>
The requested data pipeline run object.
GetDataPipelineRunsAsync(string, DataPipelineRunFilter, UnifiedUserIdentity)
Retrieves a list of data pipeline runs filtered by the provided filter criteria.
public Task<List<DataPipelineRun>> GetDataPipelineRunsAsync(string instanceId, DataPipelineRunFilter dataPipelineRunFilter, UnifiedUserIdentity userIdentity)
Parameters
instanceIdstringThe FoundationaLLM instance identifier.
dataPipelineRunFilterDataPipelineRunFilterThe definition of the filter criteria.
userIdentityUnifiedUserIdentityThe identity of the user running the operation.
Returns
- Task<List<DataPipelineRun>>
The requested list of data pipeline run objects.
GetServiceStateAsync()
Retrieves the current state of the Data Pipeline service.
public Task<BinaryData> GetServiceStateAsync()
Returns
- Task<BinaryData>
The state of the service in binary format.