Class MaintenanceClient
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Syntax
public class MaintenanceClient : ClientBase
Constructors
MaintenanceClient(ICloudManagerServiceSettings, Http.HttpClient)
Declaration
public MaintenanceClient(ICloudManagerServiceSettings configuration, Http.HttpClient httpClient)
Parameters
Picturepark.SDK.V1.Partial.Picturepark.SDK.V1.CloudManager.Picturepark.SDK.V1.CloudManager.ICloudManagerServiceSettings
configuration
|
System.Net.Http.HttpClient
httpClient
|
Properties
JsonSerializerSettings
Declaration
protected Newtonsoft.Json.JsonSerializerSettings JsonSerializerSettings { get; }
Property Value
Newtonsoft.Json.JsonSerializerSettings
|
ReadResponseAsString
Declaration
public bool ReadResponseAsString { get; set; }
Property Value
System.Boolean
|
Methods
AddStatisticsEventsAsync(String, AddContentEventsRequest, Nullable<TimeSpan>, CancellationToken)
Declaration
public virtual async Task<BusinessProcess> AddStatisticsEventsAsync(string id, AddContentEventsRequest request, TimeSpan? timeout = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.String
id
|
AddContentEventsRequest
request
|
System.Nullable<System.TimeSpan>
timeout
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<BusinessProcess>
|
ApplySlowLogSettingsAsync(CancellationToken)
Declaration
public virtual async Task ApplySlowLogSettingsAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task
|
CreateRelatedItemsAsync(String, CreateRelatedItemsByQueryRequest, Nullable<TimeSpan>, CancellationToken)
Declaration
public virtual async Task<BusinessProcess> CreateRelatedItemsAsync(string id, CreateRelatedItemsByQueryRequest request, TimeSpan? timeout = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.String
id
|
CreateRelatedItemsByQueryRequest
request
|
System.Nullable<System.TimeSpan>
timeout
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<BusinessProcess>
|
MarkAllDisplayPatternsForRerenderingAsync(String, CancellationToken)
Declaration
public virtual async Task MarkAllDisplayPatternsForRerenderingAsync(string id, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.String
id
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task
|
ReadObjectResponseAsync<T>(Http.HttpResponseMessage, IReadOnlyDictionary<String, IEnumerable<String>>, CancellationToken)
Declaration
protected virtual async Task<MaintenanceClient.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(Http.HttpResponseMessage response, IReadOnlyDictionary<string, IEnumerable<string>> headers, CancellationToken cancellationToken)
Parameters
System.Net.Http.HttpResponseMessage
response
|
System.Collections.Generic.IReadOnlyDictionary<System.String, System.Collections.Generic.IEnumerable<System.String>>
headers
|
System.Threading.CancellationToken
cancellationToken
|
Returns
System.Threading.Tasks.Task<MaintenanceClient.ObjectResponseResult<T>>
|
Type Parameters
T
|
RecalculateFileInformationAsync(String, RecalculateFileInformationRequest, Nullable<TimeSpan>, CancellationToken)
Declaration
public virtual async Task<BusinessProcess> RecalculateFileInformationAsync(string id, RecalculateFileInformationRequest request, TimeSpan? timeout = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.String
id
|
RecalculateFileInformationRequest
request
|
System.Nullable<System.TimeSpan>
timeout
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<BusinessProcess>
|
ResetRetryAttemptsAsync(String, OutputResetRetryAttemptsRequest, Nullable<TimeSpan>, CancellationToken)
Resets retry attempt counters.
Declaration
public virtual async Task<BusinessProcess> ResetRetryAttemptsAsync(string id, OutputResetRetryAttemptsRequest request, TimeSpan? timeout = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.String
id
CustomerId |
OutputResetRetryAttemptsRequest
request
Request containing options to filter which outputs should be reset. |
System.Nullable<System.TimeSpan>
timeout
Timeout to wait for completion, operation will continue regardless. |
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<BusinessProcess>
Business process tracking the resetting |
Remarks
Resets retry attempt counters on failed (optionally also completed) outputs and they will be subsequently picked up for re-rendering.
The number the counters are reset to is determined by a global configuration value.
TouchSchemasAsync(String, TouchSchemasRequest, Nullable<TimeSpan>, CancellationToken)
Declaration
public virtual async Task<BusinessProcess> TouchSchemasAsync(string id, TouchSchemasRequest request, TimeSpan? timeout = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.String
id
|
TouchSchemasRequest
request
|
System.Nullable<System.TimeSpan>
timeout
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<BusinessProcess>
|
UpdateOutdatedMetadataAsync(String, Nullable<TimeSpan>, CancellationToken)
Declaration
public virtual async Task<BusinessProcess> UpdateOutdatedMetadataAsync(string id, TimeSpan? timeout = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.String
id
|
System.Nullable<System.TimeSpan>
timeout
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<BusinessProcess>
|