Sha256: 35b6e08b9104d7953b26c4f75d60a48df1062f48338decb08aba683b34c889ad

Contents?: true

Size: 1.94 KB

Versions: 3

Compression:

Stored size: 1.94 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_links'

module Azure::Profiles::V2017_03_09
  module Links::Mgmt
    ResourceLinks = Azure::Links::Mgmt::V2016_09_01::ResourceLinks

    module Models
      ResourceLink = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink
      ResourceLinkFilter = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter
      ResourceLinkResult = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkResult
      ResourceLinkProperties = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties
      Filter = Azure::Links::Mgmt::V2016_09_01::Models::Filter
    end

    #
    # Links
    #
    class LinksClass
      attr_reader :resource_links, :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::Links::Mgmt::V2016_09_01::ManagementLinkClient.new(configurable.credentials, base_url, options)
        if(client_0.respond_to?(:subscription_id))
          client_0.subscription_id = configurable.subscription_id
        end
        @resource_links = client_0.resource_links

        @model_classes = ModelClasses.new
      end

      class ModelClasses
        def resource_link
          Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink
        end
        def resource_link_filter
          Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter
        end
        def resource_link_result
          Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkResult
        end
        def resource_link_properties
          Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties
        end
        def filter
          Azure::Links::Mgmt::V2016_09_01::Models::Filter
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_sdk-0.15.2 lib/v2017_03_09/modules/links_profile_module.rb
azure_sdk-0.15.1 lib/v2017_03_09/modules/links_profile_module.rb
azure_sdk-0.15.0 lib/v2017_03_09/modules/links_profile_module.rb