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
AccessToken
public IServiceClientAccessToken AccessToken { get; }
Property Value
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
DisableAsync(String)
public Task DisableAsync(string tenantId)
Parameters
tenantId String
Returns
ActivateArchiveAsync(String, String)
public Task ActivateArchiveAsync(string tenantId, string archiveRtId)
Parameters
tenantId String
archiveRtId String
Returns
DisableArchiveAsync(String, String)
public Task DisableArchiveAsync(string tenantId, string archiveRtId)
Parameters
tenantId String
archiveRtId String
Returns
EnableArchiveAsync(String, String)
public Task EnableArchiveAsync(string tenantId, string archiveRtId)
Parameters
tenantId String
archiveRtId String
Returns
RetryArchiveActivationAsync(String, String)
public Task RetryArchiveActivationAsync(string tenantId, string archiveRtId)
Parameters
tenantId String
archiveRtId String
Returns
DeleteArchiveAsync(String, String)
public Task DeleteArchiveAsync(string tenantId, string archiveRtId)
Parameters
tenantId String
archiveRtId String
Returns
FreezeRollupArchiveAsync(String, String, DateTime)
public Task FreezeRollupArchiveAsync(string tenantId, string rollupRtId, DateTime until)
Parameters
tenantId String
rollupRtId String
until DateTime
Returns
UnfreezeRollupArchiveAsync(String, String, Boolean)
public Task UnfreezeRollupArchiveAsync(string tenantId, string rollupRtId, bool acceptGaps)
Parameters
tenantId String
rollupRtId String
acceptGaps Boolean
Returns
RewindRollupWatermarkAsync(String, String, DateTime)
public Task RewindRollupWatermarkAsync(string tenantId, string rollupRtId, DateTime toBucketEnd)
Parameters
tenantId String
rollupRtId String
toBucketEnd DateTime
Returns
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
RemoveComputedColumnAsync(String, String, String)
public Task RemoveComputedColumnAsync(string tenantId, string archiveRtId, string name)
Parameters
tenantId String
archiveRtId String
name String
Returns
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
BuildServiceUri()
protected Uri BuildServiceUri()
Returns
Uri