Class AzureSeedHostsProvider
java.lang.Object
org.opensearch.discovery.azure.classic.AzureSeedHostsProvider
- All Implemented Interfaces:
SeedHostsProvider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumNested classes/interfaces inherited from interface org.opensearch.discovery.SeedHostsProvider
SeedHostsProvider.HostsResolver -
Constructor Summary
ConstructorsConstructorDescriptionAzureSeedHostsProvider(Settings settings, AzureComputeService azureComputeService, TransportService transportService, NetworkService networkService) -
Method Summary
Modifier and TypeMethodDescriptiongetSeedAddresses(SeedHostsProvider.HostsResolver hostsResolver) We build the list of Nodes from Azure Management API Information can be cached using `cloud.azure.refresh_interval` property if needed.protected StringresolveInstanceAddress(AzureSeedHostsProvider.HostType hostType, com.microsoft.windowsazure.management.compute.models.RoleInstance instance)
-
Constructor Details
-
AzureSeedHostsProvider
public AzureSeedHostsProvider(Settings settings, AzureComputeService azureComputeService, TransportService transportService, NetworkService networkService)
-
-
Method Details
-
getSeedAddresses
We build the list of Nodes from Azure Management API Information can be cached using `cloud.azure.refresh_interval` property if needed. Setting `cloud.azure.refresh_interval` to `-1` will cause infinite caching. Setting `cloud.azure.refresh_interval` to `0` will disable caching (default).- Specified by:
getSeedAddressesin interfaceSeedHostsProvider
-
resolveInstanceAddress
protected String resolveInstanceAddress(AzureSeedHostsProvider.HostType hostType, com.microsoft.windowsazure.management.compute.models.RoleInstance instance)
-