Table of Contents

Interface IEurekaHttpClient

Namespace
Steeltoe.Discovery.Eureka.Transport
Assembly
Steeltoe.Discovery.Eureka.dll
public interface IEurekaHttpClient

Methods

CancelAsync(string, string)

Task<EurekaHttpResponse> CancelAsync(string appName, string id)

Parameters

appName string
id string

Returns

Task<EurekaHttpResponse>

DeleteStatusOverrideAsync(string, string, InstanceInfo)

Task<EurekaHttpResponse> DeleteStatusOverrideAsync(string appName, string id, InstanceInfo info)

Parameters

appName string
id string
info InstanceInfo

Returns

Task<EurekaHttpResponse>

GetApplicationAsync(string)

Task<EurekaHttpResponse<Application>> GetApplicationAsync(string appName)

Parameters

appName string

Returns

Task<EurekaHttpResponse<Application>>

GetApplicationsAsync(ISet<string>)

Task<EurekaHttpResponse<Applications>> GetApplicationsAsync(ISet<string> regions = null)

Parameters

regions ISet<string>

Returns

Task<EurekaHttpResponse<Applications>>

GetDeltaAsync(ISet<string>)

Task<EurekaHttpResponse<Applications>> GetDeltaAsync(ISet<string> regions = null)

Parameters

regions ISet<string>

Returns

Task<EurekaHttpResponse<Applications>>

GetInstanceAsync(string)

Task<EurekaHttpResponse<InstanceInfo>> GetInstanceAsync(string id)

Parameters

id string

Returns

Task<EurekaHttpResponse<InstanceInfo>>

GetInstanceAsync(string, string)

Task<EurekaHttpResponse<InstanceInfo>> GetInstanceAsync(string appName, string id)

Parameters

appName string
id string

Returns

Task<EurekaHttpResponse<InstanceInfo>>

GetSecureVipAsync(string, ISet<string>)

Task<EurekaHttpResponse<Applications>> GetSecureVipAsync(string secureVipAddress, ISet<string> regions = null)

Parameters

secureVipAddress string
regions ISet<string>

Returns

Task<EurekaHttpResponse<Applications>>

GetVipAsync(string, ISet<string>)

Task<EurekaHttpResponse<Applications>> GetVipAsync(string vipAddress, ISet<string> regions = null)

Parameters

vipAddress string
regions ISet<string>

Returns

Task<EurekaHttpResponse<Applications>>

RegisterAsync(InstanceInfo)

Task<EurekaHttpResponse> RegisterAsync(InstanceInfo info)

Parameters

info InstanceInfo

Returns

Task<EurekaHttpResponse>

SendHeartBeatAsync(string, string, InstanceInfo, InstanceStatus)

Task<EurekaHttpResponse<InstanceInfo>> SendHeartBeatAsync(string appName, string id, InstanceInfo info, InstanceStatus overriddenStatus)

Parameters

appName string
id string
info InstanceInfo
overriddenStatus InstanceStatus

Returns

Task<EurekaHttpResponse<InstanceInfo>>

Shutdown()

void Shutdown()

StatusUpdateAsync(string, string, InstanceStatus, InstanceInfo)

Task<EurekaHttpResponse> StatusUpdateAsync(string appName, string id, InstanceStatus newStatus, InstanceInfo info)

Parameters

appName string
id string
newStatus InstanceStatus
info InstanceInfo

Returns

Task<EurekaHttpResponse>