Class SourceService
Inheritance
System.Object
SourceService
Implements
Namespace: DirectScale.Disco.Extension.Services
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public class SourceService : Object, ISourceService
Constructors
SourceService(IApiService)
Declaration
public SourceService(IApiService apiService)
Parameters
Type | Name | Description |
---|---|---|
IApiService | apiService |
Methods
PostSource(CustomVolumeSource)
Posts a custom source.
Declaration
public 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
public Task PostSources(CustomVolumeSource[] sources)
Parameters
Type | Name | Description |
---|---|---|
CustomVolumeSource[] | sources | The custom sources. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |