Sha256: b0db0d914e447ba7a79f69554b08dfb8b9256e201a973831f698cb985e2b2ef2

Contents?: true

Size: 1.71 KB

Versions: 17

Compression:

Stored size: 1.71 KB

Contents

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

module Azure::Resources::Mgmt::V2016_07_01
  module Models
    #
    # Target resource.
    #
    class TargetResource

      include MsRestAzure

      # @return [String] The ID of the resource.
      attr_accessor :id

      # @return [String] The name of the resource.
      attr_accessor :resource_name

      # @return [String] The type of the resource.
      attr_accessor :resource_type


      #
      # Mapper for TargetResource class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'TargetResource',
          type: {
            name: 'Composite',
            class_name: 'TargetResource',
            model_properties: {
              id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'id',
                type: {
                  name: 'String'
                }
              },
              resource_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'resourceName',
                type: {
                  name: 'String'
                }
              },
              resource_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'resourceType',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
azure_mgmt_resources2-0.19.0 lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb
azure_mgmt_resources2-0.18.2 lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb
azure_mgmt_resources-0.18.2 lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb
azure_mgmt_resources-0.18.1 lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb
azure_mgmt_resources-0.18.0 lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb
azure_mgmt_resources-0.17.9 lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb
azure_mgmt_resources-0.17.8 lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb
azure_mgmt_resources-0.17.7 lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb
azure_mgmt_resources-0.17.6 lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb
azure_mgmt_resources-0.17.5 lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb
azure_mgmt_resources-0.17.4 lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb
azure_mgmt_resources-0.17.3 lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb
azure_mgmt_resources-0.17.2 lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb
azure_mgmt_resources-0.17.1 lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb
azure_mgmt_resources-0.17.0 lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb
azure_mgmt_resources-0.16.0 lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb
azure_mgmt_resources-0.15.2 lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb