/// <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 `X-Forwarded-Proto` 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); }
/// <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 `X-Forwarded-Proto` 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); }
/// <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 `X-Forwarded-Proto` 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); }
/// <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 `X-Forwarded-Proto` 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); }
/// <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 `X-Forwarded-Proto` 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); }
/// <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 `X-Forwarded-Proto` 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); }