Class: Azure::PolicyInsights::Mgmt::V2019_07_01::Models::RemediationDeployment
- Inherits:
-
Object
- Object
- Azure::PolicyInsights::Mgmt::V2019_07_01::Models::RemediationDeployment
- 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
-
#created_on ⇒ DateTime
The time at which the remediation was created.
-
#deployment_id ⇒ String
remediate the resource.
-
#error ⇒ ErrorDefinition
resource.
-
#last_updated_on ⇒ DateTime
last updated.
-
#remediated_resource_id ⇒ String
by the deployment.
-
#resource_location ⇒ String
Location of the resource that is being remediated.
-
#status ⇒ String
Status of the remediation deployment.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RemediationDeployment class as Ruby Hash.
Instance Attribute Details
#created_on ⇒ DateTime
Returns 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_id ⇒ String
remediate the resource.
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 |
#error ⇒ ErrorDefinition
resource.
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_on ⇒ DateTime
last updated.
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_id ⇒ String
by the deployment.
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_location ⇒ String
Returns 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 |
#status ⇒ String
Returns 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
.mapper ⇒ Object
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 |