Class: Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ExpressionEvaluationDetails

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-10-01/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb

Overview

Evaluation details of policy language expressions.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#expressionString

Returns Expression evaluated.

Returns:

  • (String)

    Expression evaluated.



19
20
21
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb', line 19

def expression
  @expression
end

#expression_kindString

Returns The kind of expression that was evaluated.

Returns:

  • (String)

    The kind of expression that was evaluated.



22
23
24
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb', line 22

def expression_kind
  @expression_kind
end

#expression_valueObject

Returns Value of the expression.

Returns:

  • Value of the expression.



29
30
31
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb', line 29

def expression_value
  @expression_value
end

#operatorString

target value.

Returns:

  • (String)

    Operator to compare the expression value and the



36
37
38
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb', line 36

def operator
  @operator
end

#pathString

alias.

Returns:

  • (String)

    Property path if the expression is a field or an



26
27
28
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb', line 26

def path
  @path
end

#resultString

Returns Evaluation result.

Returns:

  • (String)

    Evaluation result.



16
17
18
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb', line 16

def result
  @result
end

#target_valueObject

Returns Target value to be compared with the expression value.

Returns:

  • Target value to be compared with the expression value.



32
33
34
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb', line 32

def target_value
  @target_value
end

Class Method Details

.mapperObject

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



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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# File 'lib/2019-10-01/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb', line 43

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExpressionEvaluationDetails',
    type: {
      name: 'Composite',
      class_name: 'ExpressionEvaluationDetails',
      model_properties: {
        result: {
          client_side_validation: true,
          required: false,
          serialized_name: 'result',
          type: {
            name: 'String'
          }
        },
        expression: {
          client_side_validation: true,
          required: false,
          serialized_name: 'expression',
          type: {
            name: 'String'
          }
        },
        expression_kind: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'expressionKind',
          type: {
            name: 'String'
          }
        },
        path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'path',
          type: {
            name: 'String'
          }
        },
        expression_value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'expressionValue',
          type: {
            name: 'Object'
          }
        },
        target_value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'targetValue',
          type: {
            name: 'Object'
          }
        },
        operator: {
          client_side_validation: true,
          required: false,
          serialized_name: 'operator',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end