Sha256: ea612c738decbc35f30f98f2e4487ade5c9105ec4f806ee9741d878524f79b98

Contents?: true

Size: 1.93 KB

Versions: 3

Compression:

Stored size: 1.93 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::Latest
  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/latest/modules/links_profile_module.rb
azure_sdk-0.15.1 lib/latest/modules/links_profile_module.rb
azure_sdk-0.15.0 lib/latest/modules/links_profile_module.rb