ManageIQ/azure-armrest

View on GitHub
lib/azure/armrest/storage/disk_service.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# Azure namespace
module Azure
  # Armrest namespace
  module Armrest
    # Storage namespace
    module Storage
      # Base class for managing disks.
      class DiskService < ResourceGroupBasedService
        require_relative 'managed_storage_helper'
        include Azure::Armrest::Storage::ManagedStorageHelper

        # Create and return a new DiskService instance.
        #
        def initialize(configuration, options = {})
          super(configuration, 'disks', 'Microsoft.Compute', options)
        end
      end # DiskService
    end # Storage
  end # Armrest
end # Azure