Sha256: 5d870365396aa05d43b1fb635e280a75b7f6c99837a2831cd22d9e0c00569e82

Contents?: true

Size: 1.61 KB

Versions: 3

Compression:

Stored size: 1.61 KB

Contents

# encoding: utf-8
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.

require 'azure_mgmt_features'

module Azure::Profiles::Latest
  module Features::Mgmt
    Features = Azure::Features::Mgmt::V2015_12_01::Features

    module Models
      FeatureResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult
      FeatureOperationsListResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult
      FeatureProperties = Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties
    end

    #
    # Features
    #
    class FeaturesClass
      attr_reader :features, :configurable, :base_url, :options, :model_classes

      def initialize(configurable, base_url=nil, options=nil)
        @configurable, @base_url, @options = configurable, base_url, options

        client_0 = Azure::Features::Mgmt::V2015_12_01::FeatureClient.new(configurable.credentials, base_url, options)
        if(client_0.respond_to?(:subscription_id))
          client_0.subscription_id = configurable.subscription_id
        end
        @features = client_0.features

        @model_classes = ModelClasses.new
      end

      class ModelClasses
        def feature_result
          Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult
        end
        def feature_operations_list_result
          Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult
        end
        def feature_properties
          Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_sdk-0.15.2 lib/latest/modules/features_profile_module.rb
azure_sdk-0.15.1 lib/latest/modules/features_profile_module.rb
azure_sdk-0.15.0 lib/latest/modules/features_profile_module.rb