Sha256: 7aac268bba889d2a2820fa0ea6323d8277e7bee8a3440ec955ed98a706cefeb3

Contents?: true

Size: 1.8 KB

Versions: 3

Compression:

Stored size: 1.8 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_locks'

module Azure::Profiles::Latest
  module Locks::Mgmt
    ManagementLocks = Azure::Locks::Mgmt::V2016_09_01::ManagementLocks

    module Models
      ManagementLockObject = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject
      ManagementLockListResult = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult
      ManagementLockOwner = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner
      LockLevel = Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel
    end

    #
    # Locks
    #
    class LocksClass
      attr_reader :management_locks, :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::Locks::Mgmt::V2016_09_01::ManagementLockClient.new(configurable.credentials, base_url, options)
        if(client_0.respond_to?(:subscription_id))
          client_0.subscription_id = configurable.subscription_id
        end
        @management_locks = client_0.management_locks

        @model_classes = ModelClasses.new
      end

      class ModelClasses
        def management_lock_object
          Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject
        end
        def management_lock_list_result
          Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult
        end
        def management_lock_owner
          Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner
        end
        def lock_level
          Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel
        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/locks_profile_module.rb
azure_sdk-0.15.1 lib/latest/modules/locks_profile_module.rb
azure_sdk-0.15.0 lib/latest/modules/locks_profile_module.rb