public class RemediationInner
extends com.azure.core.management.ProxyResource
Constructor and Description |
---|
RemediationInner() |
Modifier and Type | Method and Description |
---|---|
OffsetDateTime |
createdOn()
Get the createdOn property: The time at which the remediation was created.
|
RemediationDeploymentSummary |
deploymentStatus()
Get the deploymentStatus property: The deployment status summary for all deployments created by the remediation.
|
RemediationFilters |
filters()
Get the filters property: The filters that will be applied to determine which resources to remediate.
|
OffsetDateTime |
lastUpdatedOn()
Get the lastUpdatedOn property: The time at which the remediation was last updated.
|
String |
policyAssignmentId()
Get the policyAssignmentId property: The resource ID of the policy assignment that should be remediated.
|
String |
policyDefinitionReferenceId()
Get the policyDefinitionReferenceId property: The policy definition reference ID of the individual definition
that should be remediated.
|
String |
provisioningState()
Get the provisioningState property: The status of the remediation.
|
ResourceDiscoveryMode |
resourceDiscoveryMode()
Get the resourceDiscoveryMode property: The way resources to remediate are discovered.
|
void |
validate()
Validates the instance.
|
RemediationInner |
withFilters(RemediationFilters filters)
Set the filters property: The filters that will be applied to determine which resources to remediate.
|
RemediationInner |
withPolicyAssignmentId(String policyAssignmentId)
Set the policyAssignmentId property: The resource ID of the policy assignment that should be remediated.
|
RemediationInner |
withPolicyDefinitionReferenceId(String policyDefinitionReferenceId)
Set the policyDefinitionReferenceId property: The policy definition reference ID of the individual definition
that should be remediated.
|
RemediationInner |
withResourceDiscoveryMode(ResourceDiscoveryMode resourceDiscoveryMode)
Set the resourceDiscoveryMode property: The way resources to remediate are discovered.
|
public String policyAssignmentId()
public RemediationInner withPolicyAssignmentId(String policyAssignmentId)
policyAssignmentId
- the policyAssignmentId value to set.public String policyDefinitionReferenceId()
public RemediationInner withPolicyDefinitionReferenceId(String policyDefinitionReferenceId)
policyDefinitionReferenceId
- the policyDefinitionReferenceId value to set.public ResourceDiscoveryMode resourceDiscoveryMode()
public RemediationInner withResourceDiscoveryMode(ResourceDiscoveryMode resourceDiscoveryMode)
resourceDiscoveryMode
- the resourceDiscoveryMode value to set.public String provisioningState()
public OffsetDateTime createdOn()
public OffsetDateTime lastUpdatedOn()
public RemediationFilters filters()
public RemediationInner withFilters(RemediationFilters filters)
filters
- the filters value to set.public RemediationDeploymentSummary deploymentStatus()
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.