public static VcrInstanceConfig toVcrInstanceConfig(InstanceConfig instanceConfig) {
      String sslPortStr = instanceConfig.getRecord().getSimpleField(SSL_PORT_STR);
      Integer sslPort = (sslPortStr == null) ? null : Integer.valueOf(sslPortStr);
      String httpPortStr = instanceConfig.getRecord().getSimpleField(HTTP2_PORT_STR);
      Integer http2Port = (httpPortStr == null) ? null : Integer.valueOf(httpPortStr);
      boolean configReady = instanceConfig.getRecord().getBooleanField(VCR_HELIX_CONFIG_READY, false);
      return new VcrInstanceConfig(sslPort, http2Port, configReady);
  }
Convert Helix {@link InstanceConfig} to {@link VcrInstanceConfig}
@param instanceConfig the helix {@link InstanceConfig}
@return {@link VcrInstanceConfig} which is converted from the {@link InstanceConfig}
ambry-cloud/src/main/java/com/github/ambry/cloud/azure/VcrInstanceConfig.java