Class SourcesClient
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
public class SourcesClient : ISourcesClient
- Inheritance
-
SourcesClient
- Implements
- Inherited Members
Methods
CreatePipeline(DataSourcePipeline)
Creates a data source pipeline.
public Guid CreatePipeline(DataSourcePipeline pipeline)
Parameters
pipelineDataSourcePipelineThe pipeline to create.
Returns
CreatePipelineAsync(DataSourcePipeline, CancellationToken)
Creates a data source pipeline.
public Task<Guid> CreatePipelineAsync(DataSourcePipeline pipeline, CancellationToken cancellationToken = default)
Parameters
pipelineDataSourcePipelineThe pipeline to create.
cancellationTokenCancellationTokenThe token to cancel the current operation.
Returns
DeletePipeline(Guid)
Deletes a data source pipeline.
public HttpResponseMessage DeletePipeline(Guid pipelineId)
Parameters
pipelineIdGuidThe identifier of the pipeline to delete.
Returns
DeletePipelineAsync(Guid, CancellationToken)
Deletes a data source pipeline.
public Task<HttpResponseMessage> DeletePipelineAsync(Guid pipelineId, CancellationToken cancellationToken = default)
Parameters
pipelineIdGuidThe identifier of the pipeline to delete.
cancellationTokenCancellationTokenThe token to cancel the current operation.
Returns
GetDescriptions()
Gets the list of source descriptions.
public IReadOnlyList<ExtensionDescription> GetDescriptions()
Returns
GetDescriptionsAsync(CancellationToken)
Gets the list of source descriptions.
public Task<IReadOnlyList<ExtensionDescription>> GetDescriptionsAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenThe token to cancel the current operation.
Returns
GetPipelines()
Gets the list of data source pipelines.
public IReadOnlyDictionary<string, DataSourcePipeline> GetPipelines()
Returns
GetPipelinesAsync(CancellationToken)
Gets the list of data source pipelines.
public Task<IReadOnlyDictionary<string, DataSourcePipeline>> GetPipelinesAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenThe token to cancel the current operation.
Returns
UpdatePipeline(Guid, DataSourcePipeline)
Updates a data source pipeline.
public HttpResponseMessage UpdatePipeline(Guid pipelineId, DataSourcePipeline pipeline)
Parameters
pipelineIdGuidThe identifier of the pipeline to update.
pipelineDataSourcePipelineThe new pipeline.
Returns
UpdatePipelineAsync(Guid, DataSourcePipeline, CancellationToken)
Updates a data source pipeline.
public Task<HttpResponseMessage> UpdatePipelineAsync(Guid pipelineId, DataSourcePipeline pipeline, CancellationToken cancellationToken = default)
Parameters
pipelineIdGuidThe identifier of the pipeline to update.
pipelineDataSourcePipelineThe new pipeline.
cancellationTokenCancellationTokenThe token to cancel the current operation.