Skip to main content

StreamDataServicesClient

Namespace: Meshmakers.Octo.Sdk.ServiceClient.AssetRepositoryServices.StreamData

Implementation of the StreamData services client.

public class StreamDataServicesClient : ServiceClient, IServiceClient, IStreamDataServicesClient

Inheritance Object → ServiceClient → StreamDataServicesClient
Implements IServiceClient, IStreamDataServicesClient

Properties​

Options​

Returns the options for configuration of the client proxy.

public ServiceClientOptions Options { get; }

Property Value​

ServiceClientOptions

AccessToken​

public IServiceClientAccessToken AccessToken { get; }

Property Value​

IServiceClientAccessToken

ServiceUri​

public Uri ServiceUri { get; }

Property Value​

Uri

Constructors​

StreamDataServicesClient(IOptions<StreamDataServiceClientOptions>, IStreamDataServiceClientAccessToken)​

Constructor

public StreamDataServicesClient(IOptions<StreamDataServiceClientOptions> serviceClientOptions, IStreamDataServiceClientAccessToken streamDataAccessToken)

Parameters​

serviceClientOptions IOptions<StreamDataServiceClientOptions>
Options for configuration of the client proxy.

streamDataAccessToken IStreamDataServiceClientAccessToken
The access token management object

StreamDataServicesClient(StreamDataServiceClientOptions, IStreamDataServiceClientAccessToken)​

Constructor

public StreamDataServicesClient(StreamDataServiceClientOptions serviceClientOptions, IStreamDataServiceClientAccessToken streamDataAccessToken)

Parameters​

serviceClientOptions StreamDataServiceClientOptions
Options for configuration of the client proxy.

streamDataAccessToken IStreamDataServiceClientAccessToken
The access token management object

Methods​

EnableAsync(String)​

public Task EnableAsync(string tenantId)

Parameters​

tenantId String

Returns​

Task

DisableAsync(String)​

public Task DisableAsync(string tenantId)

Parameters​

tenantId String

Returns​

Task

ActivateArchiveAsync(String, String)​

public Task ActivateArchiveAsync(string tenantId, string archiveRtId)

Parameters​

tenantId String

archiveRtId String

Returns​

Task

DisableArchiveAsync(String, String)​

public Task DisableArchiveAsync(string tenantId, string archiveRtId)

Parameters​

tenantId String

archiveRtId String

Returns​

Task

EnableArchiveAsync(String, String)​

public Task EnableArchiveAsync(string tenantId, string archiveRtId)

Parameters​

tenantId String

archiveRtId String

Returns​

Task

RetryArchiveActivationAsync(String, String)​

public Task RetryArchiveActivationAsync(string tenantId, string archiveRtId)

Parameters​

tenantId String

archiveRtId String

Returns​

Task

DeleteArchiveAsync(String, String)​

public Task DeleteArchiveAsync(string tenantId, string archiveRtId)

Parameters​

tenantId String

archiveRtId String

Returns​

Task

FreezeRollupArchiveAsync(String, String, DateTime)​

public Task FreezeRollupArchiveAsync(string tenantId, string rollupRtId, DateTime until)

Parameters​

tenantId String

rollupRtId String

until DateTime

Returns​

Task

UnfreezeRollupArchiveAsync(String, String, Boolean)​

public Task UnfreezeRollupArchiveAsync(string tenantId, string rollupRtId, bool acceptGaps)

Parameters​

tenantId String

rollupRtId String

acceptGaps Boolean

Returns​

Task

RewindRollupWatermarkAsync(String, String, DateTime)​

public Task RewindRollupWatermarkAsync(string tenantId, string rollupRtId, DateTime toBucketEnd)

Parameters​

tenantId String

rollupRtId String

toBucketEnd DateTime

Returns​

Task

ListRollupsForArchiveAsync(String, String)​

public Task<IReadOnlyList<RollupArchiveInfoDto>> ListRollupsForArchiveAsync(string tenantId, string archiveRtId)

Parameters​

tenantId String

archiveRtId String

Returns​

Task<IReadOnlyList<RollupArchiveInfoDto>>

GetArchiveCoverageAsync(String, String)​

public Task<IReadOnlyList<ArchiveCoverageDto>> GetArchiveCoverageAsync(string tenantId, string archiveRtId)

Parameters​

tenantId String

archiveRtId String

Returns​

Task<IReadOnlyList<ArchiveCoverageDto>>

RecomputeArchiveAsync(String, String, DateTime, DateTime, String)​

public Task<RollupRecomputeJobInfoDto> RecomputeArchiveAsync(string tenantId, string rollupRtId, DateTime from, DateTime to, string rtIdScope)

Parameters​

tenantId String

rollupRtId String

from DateTime

to DateTime

rtIdScope String

Returns​

Task<RollupRecomputeJobInfoDto>

BackfillRollupFromSourceAsync(String, String)​

public Task<RollupRecomputeJobInfoDto> BackfillRollupFromSourceAsync(string tenantId, string rollupRtId)

Parameters​

tenantId String

rollupRtId String

Returns​

Task<RollupRecomputeJobInfoDto>

ListRecomputeJobsForArchiveAsync(String, String)​

public Task<IReadOnlyList<RollupRecomputeJobInfoDto>> ListRecomputeJobsForArchiveAsync(string tenantId, string archiveRtId)

Parameters​

tenantId String

archiveRtId String

Returns​

Task<IReadOnlyList<RollupRecomputeJobInfoDto>>

AddComputedColumnAsync(String, String, String, String, String, Boolean)​

public Task AddComputedColumnAsync(string tenantId, string archiveRtId, string name, string formula, string resultType, bool indexed)

Parameters​

tenantId String

archiveRtId String

name String

formula String

resultType String

indexed Boolean

Returns​

Task

RemoveComputedColumnAsync(String, String, String)​

public Task RemoveComputedColumnAsync(string tenantId, string archiveRtId, string name)

Parameters​

tenantId String

archiveRtId String

name String

Returns​

Task

UpdateComputedColumnFormulaAsync(String, String, String, String)​

public Task UpdateComputedColumnFormulaAsync(string tenantId, string archiveRtId, string name, string formula)

Parameters​

tenantId String

archiveRtId String

name String

formula String

Returns​

Task

BuildServiceUri()​

protected Uri BuildServiceUri()

Returns​

Uri