class Azure::Security::Mgmt::V2015_06_01_preview::Models::AppWhitelistingPutGroupData

The altered data of the recommended VM/server group policy

Attributes

enforcement_mode[RW]

@return [Enum] The enforcement mode of the group. Can also be defined per collection type by using ProtectionMode. Possible values include: 'Audit', 'Enforce', 'None'

path_recommendations[RW]

@return [Array<PathRecommendation>]

protection_mode[RW]

@return [ProtectionMode] The protection mode of the group per collection type. Can also be defined for all collection types by using EnforcementMode

vm_recommendations[RW]

@return [Array<VmRecommendation>]

Private Class Methods

mapper() click to toggle source

Mapper for AppWhitelistingPutGroupData class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_put_group_data.rb, line 36
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AppWhitelistingPutGroupData',
    type: {
      name: 'Composite',
      class_name: 'AppWhitelistingPutGroupData',
      model_properties: {
        enforcement_mode: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enforcementMode',
          type: {
            name: 'String'
          }
        },
        protection_mode: {
          client_side_validation: true,
          required: false,
          serialized_name: 'protectionMode',
          type: {
            name: 'Composite',
            class_name: 'ProtectionMode'
          }
        },
        vm_recommendations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'vmRecommendations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'VmRecommendationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'VmRecommendation'
                }
            }
          }
        },
        path_recommendations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'pathRecommendations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PathRecommendationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'PathRecommendation'
                }
            }
          }
        }
      }
    }
  }
end