Remediation Class

The remediation definition.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
msrest.serialization.Model
Remediation

Constructor

Remediation(*, policy_assignment_id: str | None = None, policy_definition_reference_id: str | None = None, resource_discovery_mode: str | ResourceDiscoveryMode | None = None, filters: RemediationFilters | None = None, **kwargs)

Parameters

Name Description
policy_assignment_id
Required
str

The resource ID of the policy assignment that should be remediated.

policy_definition_reference_id
Required
str

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.

resource_discovery_mode
Required

The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified. Possible values include: "ExistingNonCompliant", "ReEvaluateCompliance".

filters
Required

The filters that will be applied to determine which resources to remediate.

Keyword-Only Parameters

Name Description
policy_assignment_id
Required
policy_definition_reference_id
Required
resource_discovery_mode
Required
filters
Required

Variables

Name Description
id
str

The ID of the remediation.

type
str

The type of the remediation.

name
str

The name of the remediation.

provisioning_state
str

The status of the remediation.

created_on

The time at which the remediation was created.

last_updated_on

The time at which the remediation was last updated.

deployment_status

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