Sha256: 48c2292bf2f0296a0d5491a71dc17000d77aaea996fd2c3f3123396c0596f4b3

Contents?: true

Size: 731 Bytes

Versions: 6

Compression:

Stored size: 731 Bytes

Contents

# Azure namespace
module Azure
  # Armrest namespace
  module Armrest
    # Base class for managing availability sets.
    class AvailabilitySetService < ResourceGroupBasedService
      # The provider used in requests when gathering AvailabilitySet information.
      attr_reader :provider

      # Create and return a new AvailabilitySetService instance.
      #
      def initialize(_armrest_configuration, options = {})
        super
        @provider = options[:provider] || 'Microsoft.Compute'
        set_service_api_version(options, 'availabilitySets')
        @service_name = 'availabilitySets'
      end

      def list_all
        list_in_all_groups
      end
    end # AvailabilitySetService
  end # Armrest
end # Azure

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure-armrest-0.0.9 lib/azure/armrest/availability_set_service.rb
azure-armrest-0.0.8 lib/azure/armrest/availability_set_service.rb
azure-armrest-0.0.7 lib/azure/armrest/availability_set_service.rb
azure-armrest-0.0.6 lib/azure/armrest/availability_set_service.rb
azure-armrest-0.0.5 lib/azure/armrest/availability_set_service.rb
azure-armrest-0.0.4 lib/azure/armrest/availability_set_service.rb