Interface ISourceService
ISourceService is used to insert custom source volumes that can be used in commissions.
Namespace: DirectScale.Disco.Extension.Services
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public interface ISourceService
Methods
PostSource(CustomVolumeSource)
Posts a custom source.
Declaration
Task PostSource(CustomVolumeSource source)
Parameters
Type | Name | Description |
---|---|---|
CustomVolumeSource | source | The custom source. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
PostSources(CustomVolumeSource[])
Posts custom sources.
Declaration
Task PostSources(CustomVolumeSource[] sources)
Parameters
Type | Name | Description |
---|---|---|
CustomVolumeSource[] | sources | The custom sources. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |