Class: Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::TrackedResourceModificationDetails

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

Overview

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#deployment_idString

tracked resource.

Returns:

  • (String)

    The ID of the deployment that created or modified the



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

def deployment_id
  @deployment_id
end

#deployment_timeDateTime

the tracked resource.

Returns:

  • (DateTime)

    Timestamp of the deployment that created or modified



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

def deployment_time
  @deployment_time
end

#policy_detailsPolicyDetails

modified the tracked resource.

Returns:



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

def policy_details
  @policy_details
end

Class Method Details

.mapperObject

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



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
# 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