class Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyDetails

The policy details.

Attributes

policy_assignment_display_name[RW]

@return [String] The display name of the policy assignment.

policy_assignment_id[RW]

@return [String] The ID of the policy assignment.

policy_assignment_scope[RW]

@return [String] The scope of the policy assignment.

policy_definition_id[RW]

@return [String] The ID of the policy definition.

policy_definition_reference_id[RW]

@return [String] The policy definition reference ID within the policy set definition.

policy_set_definition_id[RW]

@return [String] The ID of the policy set definition.

Private Class Methods

mapper() click to toggle source

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

# 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