Class: Azure::PolicyInsights::Mgmt::V2019_07_01::Models::RemediationDeployment

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

Overview

Details of a single deployment created by the remediation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#created_onDateTime

Returns The time at which the remediation was created.

Returns:

  • (DateTime)

    The time at which the remediation was created.



34
35
36
# File 'lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb', line 34

def created_on
  @created_on
end

#deployment_idString

remediate the resource.

Returns:

  • (String)

    Resource ID of the template deployment that will



21
22
23
# File 'lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb', line 21

def deployment_id
  @deployment_id
end

#errorErrorDefinition

resource.

Returns:



31
32
33
# File 'lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb', line 31

def error
  @error
end

#last_updated_onDateTime

last updated.

Returns:

  • (DateTime)

    The time at which the remediation deployment was



38
39
40
# File 'lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb', line 38

def last_updated_on
  @last_updated_on
end

#remediated_resource_idString

by the deployment.

Returns:

  • (String)

    Resource ID of the resource that is being remediated



17
18
19
# File 'lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb', line 17

def remediated_resource_id
  @remediated_resource_id
end

#resource_locationString

Returns Location of the resource that is being remediated.

Returns:

  • (String)

    Location of the resource that is being remediated.



27
28
29
# File 'lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb', line 27

def resource_location
  @resource_location
end

#statusString

Returns Status of the remediation deployment.

Returns:

  • (String)

    Status of the remediation deployment.



24
25
26
# File 'lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb', line 24

def status
  @status
end

Class Method Details

.mapperObject

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



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
113
114
115
116
117
118
119
120
121
# File 'lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb', line 45

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RemediationDeployment',
    type: {
      name: 'Composite',
      class_name: 'RemediationDeployment',
      model_properties: {
        remediated_resource_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'remediatedResourceId',
          type: {
            name: 'String'
          }
        },
        deployment_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'deploymentId',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        resource_location: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'resourceLocation',
          type: {
            name: 'String'
          }
        },
        error: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'error',
          type: {
            name: 'Composite',
            class_name: 'ErrorDefinition'
          }
        },
        created_on: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'createdOn',
          type: {
            name: 'DateTime'
          }
        },
        last_updated_on: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'lastUpdatedOn',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end