Class MicroserviceExtension
java.lang.Object
com.azure.runtime.host.extensions.microservice.common.MicroserviceExtension
- All Implemented Interfaces:
Extension
- Direct Known Subclasses:
MicronautExtension
,QuarkusExtension
,SpringExtension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds a new Eureka service to the app host.Returns a description of the extension - which is used when displaying the extension in the UI / CLI.getName()
Returns the extension name - which is used when displaying the extension in the UI / CLI.
-
Constructor Details
-
MicroserviceExtension
-
-
Method Details
-
getName
Description copied from interface:Extension
Returns the extension name - which is used when displaying the extension in the UI / CLI. -
getDescription
Description copied from interface:Extension
Returns a description of the extension - which is used when displaying the extension in the UI / CLI.- Specified by:
getDescription
in interfaceExtension
- Returns:
- The description of the extension.
-
addEurekaServiceDiscovery
Adds a new Eureka service to the app host.- Parameters:
name
- The name of the Eureka service.- Returns:
- A new
EurekaServiceDiscovery
instance that can be used to configure Eureka.
-