# 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::SQL::Mgmt::V2017_10_01_preview
  module Models
    #
    # A database Vulnerability Assessment scan export resource.
    #
    class DatabaseVulnerabilityAssessmentScansExport < ProxyResource

      include MsRestAzure

      # @return [String] Location of the exported report (e.g.
      # https://myStorage.blob.core.windows.net/VaScans/scans/serverName/databaseName/scan_scanId.xlsx).
      attr_accessor :exported_report_location


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