Sha256: a58f97690addd3bb984968a8611ea1e63e71216f4120050399c80b47c5326f86

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 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::Compute::Mgmt::V2020_09_30_preview
  module Models
    #
    # The Resource model definition.
    #
    class PirResource

      include MsRestAzure

      # @return [String] Resource name
      attr_accessor :name

      # @return [String] Resource location
      attr_accessor :location


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-09-30-preview/generated/azure_mgmt_compute/models/pir_resource.rb
azure_mgmt_compute-0.21.1 lib/2020-09-30-preview/generated/azure_mgmt_compute/models/pir_resource.rb