Exemplo n.º 1
0
        /// <summary>
        /// Check HTTP Server and Database Status This endpoint returns a HTTP 200 status code when Ory Kratos is up running and the environment dependencies (e.g. the database) are responsive as well.  If the service supports TLS Edge Termination, this endpoint does not require the &#x60;X-Forwarded-Proto&#x60; header to be set.  Be aware that if you are running multiple nodes of Ory Kratos, the health status will never refer to the cluster state, only to a single instance.
        /// </summary>
        /// <exception cref="Ory.Kratos.Client.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
        /// <returns>Task of KratosInlineResponse200</returns>
        public async System.Threading.Tasks.Task <KratosInlineResponse200> IsReadyAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Ory.Kratos.Client.Client.ApiResponse <KratosInlineResponse200> localVarResponse = await IsReadyWithHttpInfoAsync(cancellationToken).ConfigureAwait(false);

            return(localVarResponse.Data);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Check HTTP Server and Database Status This endpoint returns a HTTP 200 status code when Ory Kratos is up running and the environment dependencies (e.g. the database) are responsive as well.  If the service supports TLS Edge Termination, this endpoint does not require the &#x60;X-Forwarded-Proto&#x60; header to be set.  Be aware that if you are running multiple nodes of Ory Kratos, the health status will never refer to the cluster state, only to a single instance.
 /// </summary>
 /// <exception cref="Ory.Kratos.Client.Client.ApiException">Thrown when fails to make API call</exception>
 /// <returns>KratosInlineResponse200</returns>
 public KratosInlineResponse200 IsReady()
 {
     Ory.Kratos.Client.Client.ApiResponse <KratosInlineResponse200> localVarResponse = IsReadyWithHttpInfo();
     return(localVarResponse.Data);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Return Running Software Version. This endpoint returns the version of Ory Kratos.  If the service supports TLS Edge Termination, this endpoint does not require the &#x60;X-Forwarded-Proto&#x60; header to be set.  Be aware that if you are running multiple nodes of this service, the version will never refer to the cluster state, only to a single instance.
 /// </summary>
 /// <exception cref="Ory.Kratos.Client.Client.ApiException">Thrown when fails to make API call</exception>
 /// <returns>KratosInlineResponse2001</returns>
 public KratosInlineResponse2001 GetVersion()
 {
     Ory.Kratos.Client.Client.ApiResponse <KratosInlineResponse2001> localVarResponse = GetVersionWithHttpInfo();
     return(localVarResponse.Data);
 }
Exemplo n.º 4
0
        /// <summary>
        /// Get service version This endpoint returns the service version typically notated using semantic versioning.  If the service supports TLS Edge Termination, this endpoint does not require the &#x60;X-Forwarded-Proto&#x60; header to be set.  Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
        /// </summary>
        /// <exception cref="Ory.Kratos.Client.Client.ApiException">Thrown when fails to make API call</exception>
        /// <returns>Task of KratosVersion</returns>
        public async System.Threading.Tasks.Task <KratosVersion> GetVersionAsync()
        {
            Ory.Kratos.Client.Client.ApiResponse <KratosVersion> localVarResponse = await GetVersionAsyncWithHttpInfo();

            return(localVarResponse.Data);
        }
Exemplo n.º 5
0
        /// <summary>
        /// Check readiness status This endpoint returns a 200 status code when the HTTP server is up running and the environment dependencies (e.g. the database) are responsive as well.  If the service supports TLS Edge Termination, this endpoint does not require the &#x60;X-Forwarded-Proto&#x60; header to be set.  Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
        /// </summary>
        /// <exception cref="Ory.Kratos.Client.Client.ApiException">Thrown when fails to make API call</exception>
        /// <returns>Task of KratosHealthStatus</returns>
        public async System.Threading.Tasks.Task <KratosHealthStatus> IsInstanceReadyAsync()
        {
            Ory.Kratos.Client.Client.ApiResponse <KratosHealthStatus> localVarResponse = await IsInstanceReadyAsyncWithHttpInfo();

            return(localVarResponse.Data);
        }
Exemplo n.º 6
0
 /// <summary>
 /// Check readiness status This endpoint returns a 200 status code when the HTTP server is up running and the environment dependencies (e.g. the database) are responsive as well.  If the service supports TLS Edge Termination, this endpoint does not require the &#x60;X-Forwarded-Proto&#x60; header to be set.  Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
 /// </summary>
 /// <exception cref="Ory.Kratos.Client.Client.ApiException">Thrown when fails to make API call</exception>
 /// <returns>KratosHealthStatus</returns>
 public KratosHealthStatus IsInstanceReady()
 {
     Ory.Kratos.Client.Client.ApiResponse <KratosHealthStatus> localVarResponse = IsInstanceReadyWithHttpInfo();
     return(localVarResponse.Data);
 }