Search Results for

    Show / Hide Table of Contents

    Class ServiceClient

    Inheritance
    System.Object
    ClientBase
    ServiceClient
    Inherited Members
    ClientBase.BaseUrl
    ClientBase.CreateHttpRequestMessageAsync(CancellationToken)
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: System.Dynamic.ExpandoObject
    Syntax
    public class ServiceClient : ClientBase

    Constructors

    ServiceClient(ICloudManagerServiceSettings, Http.HttpClient)

    Declaration
    public ServiceClient(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

    DeleteNodeInfosAsync(CancellationToken)

    Declaration
    public virtual async Task DeleteNodeInfosAsync(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

    DumpCachesAsync(CancellationToken)

    Declaration
    public virtual async Task DumpCachesAsync(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

    EnableLoggingDiagnosticsAsync(Nullable<Boolean>, String, CancellationToken)

    Declaration
    public virtual async Task EnableLoggingDiagnosticsAsync(bool? enable = null, string serviceName = null, CancellationToken cancellationToken = default(CancellationToken))
    Parameters
    System.Nullable<System.Boolean> enable

    System.String serviceName

    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

    GetActiveNodesAsync(CancellationToken)

    Declaration
    public virtual async Task<ICollection<NodeInfo>> GetActiveNodesAsync(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<System.Collections.Generic.ICollection<NodeInfo>>

    InvalidateAllCachesAsync(CancellationToken)

    Declaration
    public virtual async Task InvalidateAllCachesAsync(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

    PingActiveNodesAsync(CancellationToken)

    Declaration
    public virtual async Task PingActiveNodesAsync(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

    ReadObjectResponseAsync<T>(Http.HttpResponseMessage, IReadOnlyDictionary<String, IEnumerable<String>>, CancellationToken)

    Declaration
    protected virtual async Task<ServiceClient.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<ServiceClient.ObjectResponseResult<T>>

    Type Parameters
    T

    RecycleElasticClientsAsync(CancellationToken)

    Declaration
    public virtual async Task RecycleElasticClientsAsync(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

    RestartAllAsync(CancellationToken)

    Declaration
    public virtual async Task RestartAllAsync(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

    RestartAsync(String, String, CancellationToken)

    Declaration
    public virtual async Task RestartAsync(string serviceName, string nodeId = null, CancellationToken cancellationToken = default(CancellationToken))
    Parameters
    System.String serviceName

    System.String nodeId

    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

    SetLogLevelAsync(SetServiceLogLevelRequest, CancellationToken)

    Declaration
    public virtual async Task SetLogLevelAsync(SetServiceLogLevelRequest request, CancellationToken cancellationToken = default(CancellationToken))
    Parameters
    SetServiceLogLevelRequest request

    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

    ShutdownAllAsync(CancellationToken)

    Declaration
    public virtual async Task ShutdownAllAsync(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

    ShutdownAsync(String, String, CancellationToken)

    Declaration
    public virtual async Task ShutdownAsync(string serviceName, string nodeId = null, CancellationToken cancellationToken = default(CancellationToken))
    Parameters
    System.String serviceName

    System.String nodeId

    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

    Back to top Generated by DocFX