다음을 통해 공유


Remediation Constructors

Definition

Overloads

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.

Remediation()

Initializes a new instance of the Remediation class.

public Remediation ();
Public Sub New ()

Applies to

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.

public Remediation (string policyAssignmentId = default, string policyDefinitionReferenceId = default, string resourceDiscoveryMode = default, string provisioningState = default, DateTime? createdOn = default, DateTime? lastUpdatedOn = default, Microsoft.Azure.Management.PolicyInsights.Models.RemediationFilters filters = default, Microsoft.Azure.Management.PolicyInsights.Models.RemediationDeploymentSummary deploymentStatus = default, string statusMessage = default, string correlationId = default, int? resourceCount = default, int? parallelDeployments = default, Microsoft.Azure.Management.PolicyInsights.Models.RemediationPropertiesFailureThreshold failureThreshold = default, string id = default, string type = default, string name = default, Microsoft.Azure.Management.PolicyInsights.Models.SystemData systemData = default);
new Microsoft.Azure.Management.PolicyInsights.Models.Remediation : string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * Microsoft.Azure.Management.PolicyInsights.Models.RemediationFilters * Microsoft.Azure.Management.PolicyInsights.Models.RemediationDeploymentSummary * string * string * Nullable<int> * Nullable<int> * Microsoft.Azure.Management.PolicyInsights.Models.RemediationPropertiesFailureThreshold * string * string * string * Microsoft.Azure.Management.PolicyInsights.Models.SystemData -> Microsoft.Azure.Management.PolicyInsights.Models.Remediation
Public Sub New (Optional policyAssignmentId As String = Nothing, Optional policyDefinitionReferenceId As String = Nothing, Optional resourceDiscoveryMode As String = Nothing, Optional provisioningState As String = Nothing, Optional createdOn As Nullable(Of DateTime) = Nothing, Optional lastUpdatedOn As Nullable(Of DateTime) = Nothing, Optional filters As RemediationFilters = Nothing, Optional deploymentStatus As RemediationDeploymentSummary = Nothing, Optional statusMessage As String = Nothing, Optional correlationId As String = Nothing, Optional resourceCount As Nullable(Of Integer) = Nothing, Optional parallelDeployments As Nullable(Of Integer) = Nothing, Optional failureThreshold As RemediationPropertiesFailureThreshold = Nothing, Optional id As String = Nothing, Optional type As String = Nothing, Optional name As String = Nothing, Optional systemData As SystemData = Nothing)

Parameters

policyAssignmentId
String

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

policyDefinitionReferenceId
String

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.

resourceDiscoveryMode
String

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

provisioningState
String

The status of the remediation.

createdOn
Nullable<DateTime>

The time at which the remediation was created.

lastUpdatedOn
Nullable<DateTime>

The time at which the remediation was last updated.

filters
RemediationFilters

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

deploymentStatus
RemediationDeploymentSummary

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

statusMessage
String

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

correlationId
String

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

resourceCount
Nullable<Int32>

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

parallelDeployments
Nullable<Int32>

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.

failureThreshold
RemediationPropertiesFailureThreshold

The remediation failure threshold settings

id
String

The ID of the remediation.

type
String

The type of the remediation.

name
String

The name of the remediation.

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Applies to