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
Constructors -
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:ExtensionReturns the extension name - which is used when displaying the extension in the UI / CLI. -
getDescription
Description copied from interface:ExtensionReturns a description of the extension - which is used when displaying the extension in the UI / CLI.- Specified by:
getDescriptionin 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
EurekaServiceDiscoveryinstance that can be used to configure Eureka.
-