Class: Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyDetails

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_details.rb

Overview

The policy details.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#policy_assignment_display_nameString

Returns The display name of the policy assignment.

Returns:

  • (String)

    The display name of the policy assignment.



22
23
24
# File 'lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_details.rb', line 22

def policy_assignment_display_name
  @policy_assignment_display_name
end

#policy_assignment_idString

Returns The ID of the policy assignment.

Returns:

  • (String)

    The ID of the policy assignment.



19
20
21
# File 'lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_details.rb', line 19

def policy_assignment_id
  @policy_assignment_id
end

#policy_assignment_scopeString

Returns The scope of the policy assignment.

Returns:

  • (String)

    The scope of the policy assignment.



25
26
27
# File 'lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_details.rb', line 25

def policy_assignment_scope
  @policy_assignment_scope
end

#policy_definition_idString

Returns The ID of the policy definition.

Returns:

  • (String)

    The ID of the policy definition.



16
17
18
# File 'lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_details.rb', line 16

def policy_definition_id
  @policy_definition_id
end

#policy_definition_reference_idString

set definition.

Returns:

  • (String)

    The policy definition reference ID within the policy



32
33
34
# File 'lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_details.rb', line 32

def policy_definition_reference_id
  @policy_definition_reference_id
end

#policy_set_definition_idString

Returns The ID of the policy set definition.

Returns:

  • (String)

    The ID of the policy set definition.



28
29
30
# File 'lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_details.rb', line 28

def policy_set_definition_id
  @policy_set_definition_id
end

Class Method Details

.mapperObject

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



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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# File 'lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_details.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PolicyDetails',
    type: {
      name: 'Composite',
      class_name: 'PolicyDetails',
      model_properties: {
        policy_definition_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'policyDefinitionId',
          type: {
            name: 'String'
          }
        },
        policy_assignment_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'policyAssignmentId',
          type: {
            name: 'String'
          }
        },
        policy_assignment_display_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'policyAssignmentDisplayName',
          type: {
            name: 'String'
          }
        },
        policy_assignment_scope: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'policyAssignmentScope',
          type: {
            name: 'String'
          }
        },
        policy_set_definition_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'policySetDefinitionId',
          type: {
            name: 'String'
          }
        },
        policy_definition_reference_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'policyDefinitionReferenceId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end