class Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationDeployment
Details of a single deployment created by the remediation.
Attributes
created_on[RW]
@return [DateTime] The time at which the remediation was created.
deployment_id[RW]
@return [String] Resource ID of the template deployment that will remediate the resource.
error[RW]
@return [ErrorDefinition] Error encountered while remediated the resource.
last_updated_on[RW]
@return [DateTime] The time at which the remediation deployment was last updated.
remediated_resource_id[RW]
@return [String] Resource ID of the resource that is being remediated by the deployment.
resource_location[RW]
@return [String] Location of the resource that is being remediated.
status[RW]
@return [String] Status of the remediation deployment.
Private Class Methods
mapper()
click to toggle source
Mapper for RemediationDeployment
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-07-01-preview/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