# 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::V2020_01_01 module Models # # Describes the server vulnerability assessment details on a resource # class ServerVulnerabilityAssessment < Resource include MsRestAzure # @return [Enum] The provisioningState of the vulnerability assessment # capability on the VM. Possible values include: 'Succeeded', 'Failed', # 'Canceled', 'Provisioning', 'Deprovisioning' attr_accessor :provisioning_state # # Mapper for ServerVulnerabilityAssessment class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ServerVulnerabilityAssessment', type: { name: 'Composite', class_name: 'ServerVulnerabilityAssessment', 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' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } } } } } end end end end