Sha256: 77a61c222878660f0f66d47abd495c71e699f6f3cb31899dda9315720aac61d3

Contents?: true

Size: 1.49 KB

Versions: 1

Compression:

Stored size: 1.49 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::Security::Mgmt::V2019_01_01_preview
  module Models
    #
    # Details of the Azure resource that was assessed
    #
    class AzureResourceDetails < ResourceDetails

      include MsRestAzure


      def initialize
        @source = "Azure"
      end

      attr_accessor :source

      # @return [String] Azure resource Id of the assessed resource
      attr_accessor :id


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_security-0.19.0 lib/2019-01-01-preview/generated/azure_mgmt_security/models/azure_resource_details.rb