共用方式為


PSRemediation Class

Definition

Remediation resource.

public class PSRemediation
type PSRemediation = class
Public Class PSRemediation
Inheritance
PSRemediation

Constructors

PSRemediation(Remediation, IEnumerable<RemediationDeployment>)

Initializes a new instance of the PSRemediation class.

Properties

CorrelationId

The remediation correlation Id.

CreatedOn

Gets the time at which the remediation was created.

Deployments

Gets the details of the deployments created by this remediation.

DeploymentSummary

Gets the summarized status of the deployments required for this remediation.

FailureThreshold

The remediation failure threshold.

Filters

Gets the filters applied to the remediation.

Id

Gets the resource ID of the remediation.

LastUpdatedOn

Gets the time at which the remediation was last updated.

Name

Gets the name of the remediation.

ParallelDeployments

The number of resources to remediate at any given time.

PolicyAssignmentId

Gets the ID of the policy assignment that is being remediated.

PolicyDefinitionReferenceId

Gets the policy definition reference ID of the individual definition that is being remediated. Required when the policy assignment being remediated assigns a policy set definition.

ProvisioningState

Gets the provisioning state of the remediation.

ResourceCount

The number of non-compliant resources to be remediated.

ResourceDiscoveryMode

Gets a value indicating how the remediation task discovers resources that need to be remediated.

StatusMessage

The remediation status message.

Type

Gets the remediation resource type.

Applies to