Sha256: df6564f1b8b80b3495da42366d53da9d23a1cb876f2d7117965b14b7da1054bf

Contents?: true

Size: 1.47 KB

Versions: 4

Compression:

Stored size: 1.47 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::MachineLearning
  module Models
    #
    # Describes the access location for a web service asset.
    #
    class AssetLocation

      include MsRestAzure

      # @return [String] The URI where the asset is accessible from, (e.g.
      # aml://abc for system assets or https://xyz for user asets
      attr_accessor :uri

      # @return [String] Access credentials for the asset, if applicable (e.g.
      # asset specified by storage account connection string + blob URI)
      attr_accessor :credentials


      #
      # Mapper for AssetLocation class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'AssetLocation',
          type: {
            name: 'Composite',
            class_name: 'AssetLocation',
            model_properties: {
              uri: {
                required: true,
                serialized_name: 'uri',
                type: {
                  name: 'String'
                }
              },
              credentials: {
                required: false,
                serialized_name: 'credentials',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_machine_learning-0.7.0 lib/generated/azure_mgmt_machine_learning/models/asset_location.rb
azure_mgmt_machine_learning-0.6.0 lib/generated/azure_mgmt_machine_learning/models/asset_location.rb
azure_mgmt_machine_learning-0.5.0 lib/generated/azure_mgmt_machine_learning/models/asset_location.rb
azure_mgmt_machine_learning-0.4.0 lib/generated/azure_mgmt_machine_learning/models/asset_location.rb