Remediation Class
The remediation definition.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
Remediation
Constructor
Remediation(*, policy_assignment_id: Optional[str] = None, policy_definition_reference_id: Optional[str] = None, resource_discovery_mode: Optional[Union[str, azure.mgmt.policyinsights.models._policy_insights_client_enums.ResourceDiscoveryMode]] = None, filters: Optional[azure.mgmt.policyinsights.models._models_py3.RemediationFilters] = None, **kwargs)
Parameters
- policy_assignment_id
- str
The resource ID of the policy assignment that should be remediated.
- policy_definition_reference_id
- 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
- str or ResourceDiscoveryMode
The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified. Possible values include: "ExistingNonCompliant", "ReEvaluateCompliance".
- filters
- RemediationFilters
The filters that will be applied to determine which resources to remediate.
Variables
- 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
- datetime
The time at which the remediation was created.
- last_updated_on
- datetime
The time at which the remediation was last updated.
- deployment_status
- RemediationDeploymentSummary
The deployment status summary for all deployments created by the remediation.
Feedback
Submit and view feedback for