Sha256: 9750a4f8f17eff8365532b0007f6de3fb15089de6a64b58734e9f38c8f58351d

Contents?: true

Size: 524 Bytes

Versions: 26

Compression:

Stored size: 524 Bytes

Contents

# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.
# frozen_string_literal: true

module NewRelic
  module Agent
    module Utilization
      class Azure < Vendor
        vendor_name 'azure'
        endpoint 'http://169.254.169.254/metadata/instance/compute?api-version=2017-03-01'
        headers 'Metadata' => 'true'
        keys %w[vmId name vmSize location]
        key_transforms :to_sym
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
newrelic_rpm-9.17.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-9.16.1 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-9.16.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-9.15.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-9.14.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-9.13.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-9.12.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-9.11.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-9.10.2 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-9.10.1 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-9.10.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-9.9.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-9.8.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-9.7.1 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-9.7.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-9.6.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-9.5.0 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-9.4.2 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-9.4.1 lib/new_relic/agent/utilization/azure.rb
newrelic_rpm-9.4.0 lib/new_relic/agent/utilization/azure.rb