Class: Azure::Security::Mgmt::V2015_06_01_preview::Models::AppWhitelistingPutGroupData

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_put_group_data.rb

Overview

The altered data of the recommended VM/server group policy

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#enforcement_modeEnum

Returns Possible values include: ‘Audit’, ‘Enforce’.

Returns:

  • (Enum)

    Possible values include: ‘Audit’, ‘Enforce’



16
17
18
# File 'lib/2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_put_group_data.rb', line 16

def enforcement_mode
  @enforcement_mode
end

#path_recommendationsArray<PathRecommendation>

Returns:



22
23
24
# File 'lib/2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_put_group_data.rb', line 22

def path_recommendations
  @path_recommendations
end

#vm_recommendationsArray<VmRecommendation>

Returns:



19
20
21
# File 'lib/2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_put_group_data.rb', line 19

def vm_recommendations
  @vm_recommendations
end

Class Method Details

.mapperObject

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



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# File 'lib/2015-06-01-preview/generated/azure_mgmt_security/models/app_whitelisting_put_group_data.rb', line 29

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'
          }
        },
        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