Class AzureSeedHostsProvider

java.lang.Object
org.opensearch.discovery.azure.classic.AzureSeedHostsProvider
All Implemented Interfaces:
SeedHostsProvider

public class AzureSeedHostsProvider extends Object implements SeedHostsProvider
  • Constructor Details

  • Method Details

    • getSeedAddresses

      public List<org.opensearch.core.common.transport.TransportAddress> getSeedAddresses(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. Setting `cloud.azure.refresh_interval` to `-1` will cause infinite caching. Setting `cloud.azure.refresh_interval` to `0` will disable caching (default).
      Specified by:
      getSeedAddresses in interface SeedHostsProvider
    • resolveInstanceAddress

      protected String resolveInstanceAddress(AzureSeedHostsProvider.HostType hostType, com.microsoft.windowsazure.management.compute.models.RoleInstance instance)