class Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::TrackedResourceModificationDetails

The details of the policy triggered deployment that created or modified the tracked resource.

Attributes

deployment_id[RW]

@return [String] The ID of the deployment that created or modified the tracked resource.

deployment_time[RW]

@return [DateTime] Timestamp of the deployment that created or modified the tracked resource.

policy_details[RW]

@return [PolicyDetails] The details of the policy that created or modified the tracked resource.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/tracked_resource_modification_details.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TrackedResourceModificationDetails',
    type: {
      name: 'Composite',
      class_name: 'TrackedResourceModificationDetails',
      model_properties: {
        policy_details: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'policyDetails',
          type: {
            name: 'Composite',
            class_name: 'PolicyDetails'
          }
        },
        deployment_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'deploymentId',
          type: {
            name: 'String'
          }
        },
        deployment_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'deploymentTime',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end