Udostępnij za pośrednictwem


Remediation Class

Definition

The remediation definition.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Remediation : Microsoft.Rest.Azure.IResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Remediation = class
    interface IResource
Public Class Remediation
Implements IResource
Inheritance
Remediation
Attributes
Implements

Constructors

Remediation()

Initializes a new instance of the Remediation class.

Remediation(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, RemediationFilters, RemediationDeploymentSummary, String, String, Nullable<Int32>, Nullable<Int32>, RemediationPropertiesFailureThreshold, String, String, String, SystemData)

Initializes a new instance of the Remediation class.

Properties

CorrelationId

Gets the remediation correlation Id. Can be used to find events related to the remediation in the activity log.

CreatedOn

Gets the time at which the remediation was created.

DeploymentStatus

Gets the deployment status summary for all deployments created by the remediation.

FailureThreshold

Gets or sets the remediation failure threshold settings

Filters

Gets or sets the filters that will be applied to determine which resources to remediate.

Id

Gets the ID of the remediation.

LastUpdatedOn

Gets the time at which the remediation was last updated.

Name

Gets the name of the remediation.

ParallelDeployments

Gets or sets determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used.

PolicyAssignmentId

Gets or sets the resource ID of the policy assignment that should be remediated.

PolicyDefinitionReferenceId

Gets or sets the policy definition reference ID of the individual definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition.

ProvisioningState

Gets the status of the remediation.

ResourceCount

Gets or sets determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used.

ResourceDiscoveryMode

Gets or sets the way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified. Possible values include: 'ExistingNonCompliant', 'ReEvaluateCompliance'

StatusMessage

Gets the remediation status message. Provides additional details regarding the state of the remediation.

SystemData

Gets azure Resource Manager metadata containing createdBy and modifiedBy information.

Type

Gets the type of the remediation.

Applies to