public MetadataConfigurationProvider( MetadataConfigurationOptions options) { _options = options; // Initialize the HttpClient we use to fetch metadata. _http = new HttpClient() { BaseAddress = new Uri( "http://metadata.google.internal/computeMetadata/v1/") }; _http.DefaultRequestHeaders.Add("Metadata-Flavor", "Google"); }
public MetadataConfigurationSource( MetadataConfigurationOptions options = null) { _options = options ?? new MetadataConfigurationOptions(); }