Search Results for

    Show / Hide Table of Contents

    Class ServiceClient

    Inheritance
    object
    ClientBase
    ServiceClient
    Inherited Members
    ClientBase.BaseUrl
    ClientBase.CreateHttpRequestMessageAsync(CancellationToken)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: System.Dynamic.ExpandoObject
    Syntax
    [GeneratedCode("NSwag", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
    public class ServiceClient : ClientBase, IServiceClient

    Constructors

    ServiceClient(ICloudManagerServiceSettings, HttpClient)

    Declaration
    public ServiceClient(ICloudManagerServiceSettings configuration, HttpClient httpClient)
    Parameters
    ICloudManagerServiceSettings configuration

    HttpClient httpClient

    Properties

    JsonSerializerSettings

    Declaration
    protected JsonSerializerSettings JsonSerializerSettings { get; }
    Property Value
    JsonSerializerSettings

    ReadResponseAsString

    Declaration
    public bool ReadResponseAsString { get; set; }
    Property Value
    bool

    Methods

    DeleteNodeInfosAsync(CancellationToken)

    Declaration
    public virtual Task DeleteNodeInfosAsync(CancellationToken cancellationToken = default)
    Parameters
    CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Task

    Implements
    IServiceClient.DeleteNodeInfosAsync(CancellationToken)
    Exceptions
    ApiException

    A server side error occurred.

    PictureparkValidationException

    Validation exception

    PictureparkForbiddenException

    Forbidden

    PictureparkConflictException

    Version conflict

    PictureparkTooManyRequestsException

    Too many requests

    PictureparkException

    Internal server error

    PictureparkException

    Entity not found

    PictureparkNotFoundException

    Entity not found

    DumpCachesAsync(CancellationToken)

    Declaration
    public virtual Task DumpCachesAsync(CancellationToken cancellationToken = default)
    Parameters
    CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Task

    Implements
    IServiceClient.DumpCachesAsync(CancellationToken)
    Exceptions
    ApiException

    A server side error occurred.

    PictureparkValidationException

    Validation exception

    PictureparkForbiddenException

    Forbidden

    PictureparkConflictException

    Version conflict

    PictureparkTooManyRequestsException

    Too many requests

    PictureparkException

    Internal server error

    PictureparkException

    Entity not found

    PictureparkNotFoundException

    Entity not found

    EnableLoggingDiagnosticsAsync(bool?, string, CancellationToken)

    Declaration
    public virtual Task EnableLoggingDiagnosticsAsync(bool? enable = null, string serviceName = null, CancellationToken cancellationToken = default)
    Parameters
    bool? enable

    string serviceName

    CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Task

    Implements
    IServiceClient.EnableLoggingDiagnosticsAsync(bool?, string, CancellationToken)
    Exceptions
    ApiException

    A server side error occurred.

    PictureparkValidationException

    Validation exception

    PictureparkForbiddenException

    Forbidden

    PictureparkConflictException

    Version conflict

    PictureparkTooManyRequestsException

    Too many requests

    PictureparkException

    Internal server error

    PictureparkException

    Entity not found

    PictureparkNotFoundException

    Entity not found

    GetActiveNodesAsync(CancellationToken)

    Declaration
    public virtual Task<ICollection<NodeInfo>> GetActiveNodesAsync(CancellationToken cancellationToken = default)
    Parameters
    CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Task<ICollection<NodeInfo>>

    Implements
    IServiceClient.GetActiveNodesAsync(CancellationToken)
    Exceptions
    ApiException

    A server side error occurred.

    PictureparkValidationException

    Validation exception

    PictureparkForbiddenException

    Forbidden

    PictureparkConflictException

    Version conflict

    PictureparkTooManyRequestsException

    Too many requests

    PictureparkException

    Internal server error

    PictureparkException

    Entity not found

    PictureparkNotFoundException

    Entity not found

    InvalidateAllCachesAsync(CancellationToken)

    Declaration
    public virtual Task InvalidateAllCachesAsync(CancellationToken cancellationToken = default)
    Parameters
    CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Task

    Implements
    IServiceClient.InvalidateAllCachesAsync(CancellationToken)
    Exceptions
    ApiException

    A server side error occurred.

    PictureparkValidationException

    Validation exception

    PictureparkForbiddenException

    Forbidden

    PictureparkConflictException

    Version conflict

    PictureparkTooManyRequestsException

    Too many requests

    PictureparkException

    Internal server error

    PictureparkException

    Entity not found

    PictureparkNotFoundException

    Entity not found

    PingActiveNodesAsync(CancellationToken)

    Declaration
    public virtual Task PingActiveNodesAsync(CancellationToken cancellationToken = default)
    Parameters
    CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Task

    Implements
    IServiceClient.PingActiveNodesAsync(CancellationToken)
    Exceptions
    ApiException

    A server side error occurred.

    PictureparkValidationException

    Validation exception

    PictureparkForbiddenException

    Forbidden

    PictureparkConflictException

    Version conflict

    PictureparkTooManyRequestsException

    Too many requests

    PictureparkException

    Internal server error

    PictureparkException

    Entity not found

    PictureparkNotFoundException

    Entity not found

    ReadObjectResponseAsync<T>(HttpResponseMessage, IReadOnlyDictionary<string, IEnumerable<string>>, CancellationToken)

    Declaration
    protected virtual Task<ServiceClient.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(HttpResponseMessage response, IReadOnlyDictionary<string, IEnumerable<string>> headers, CancellationToken cancellationToken)
    Parameters
    HttpResponseMessage response

    IReadOnlyDictionary<string, IEnumerable<string>> headers

    CancellationToken cancellationToken

    Returns
    Task<ServiceClient.ObjectResponseResult<T>>

    Type Parameters
    T

    RecycleElasticClientsAsync(CancellationToken)

    Declaration
    public virtual Task RecycleElasticClientsAsync(CancellationToken cancellationToken = default)
    Parameters
    CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Task

    Implements
    IServiceClient.RecycleElasticClientsAsync(CancellationToken)
    Exceptions
    ApiException

    A server side error occurred.

    PictureparkValidationException

    Validation exception

    PictureparkForbiddenException

    Forbidden

    PictureparkConflictException

    Version conflict

    PictureparkTooManyRequestsException

    Too many requests

    PictureparkException

    Internal server error

    PictureparkException

    Entity not found

    PictureparkNotFoundException

    Entity not found

    RestartAllAsync(CancellationToken)

    Declaration
    public virtual Task RestartAllAsync(CancellationToken cancellationToken = default)
    Parameters
    CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Task

    Implements
    IServiceClient.RestartAllAsync(CancellationToken)
    Exceptions
    ApiException

    A server side error occurred.

    PictureparkValidationException

    Validation exception

    PictureparkForbiddenException

    Forbidden

    PictureparkConflictException

    Version conflict

    PictureparkTooManyRequestsException

    Too many requests

    PictureparkException

    Internal server error

    PictureparkException

    Entity not found

    PictureparkNotFoundException

    Entity not found

    RestartAsync(string, string, CancellationToken)

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

    string nodeId

    CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Task

    Implements
    IServiceClient.RestartAsync(string, string, CancellationToken)
    Exceptions
    ApiException

    A server side error occurred.

    PictureparkValidationException

    Validation exception

    PictureparkForbiddenException

    Forbidden

    PictureparkConflictException

    Version conflict

    PictureparkTooManyRequestsException

    Too many requests

    PictureparkException

    Internal server error

    PictureparkException

    Entity not found

    PictureparkNotFoundException

    Entity not found

    SetLogLevelAsync(SetServiceLogLevelRequest, CancellationToken)

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

    CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Task

    Implements
    IServiceClient.SetLogLevelAsync(SetServiceLogLevelRequest, CancellationToken)
    Exceptions
    ApiException

    A server side error occurred.

    PictureparkValidationException

    Validation exception

    PictureparkForbiddenException

    Forbidden

    PictureparkConflictException

    Version conflict

    PictureparkTooManyRequestsException

    Too many requests

    PictureparkException

    Internal server error

    PictureparkException

    Entity not found

    PictureparkNotFoundException

    Entity not found

    ShutdownAllAsync(CancellationToken)

    Declaration
    public virtual Task ShutdownAllAsync(CancellationToken cancellationToken = default)
    Parameters
    CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Task

    Implements
    IServiceClient.ShutdownAllAsync(CancellationToken)
    Exceptions
    ApiException

    A server side error occurred.

    PictureparkValidationException

    Validation exception

    PictureparkForbiddenException

    Forbidden

    PictureparkConflictException

    Version conflict

    PictureparkTooManyRequestsException

    Too many requests

    PictureparkException

    Internal server error

    PictureparkException

    Entity not found

    PictureparkNotFoundException

    Entity not found

    ShutdownAsync(string, string, CancellationToken)

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

    string nodeId

    CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Task

    Implements
    IServiceClient.ShutdownAsync(string, string, CancellationToken)
    Exceptions
    ApiException

    A server side error occurred.

    PictureparkValidationException

    Validation exception

    PictureparkForbiddenException

    Forbidden

    PictureparkConflictException

    Version conflict

    PictureparkTooManyRequestsException

    Too many requests

    PictureparkException

    Internal server error

    PictureparkException

    Entity not found

    PictureparkNotFoundException

    Entity not found

    Back to top Generated by DocFX