다음을 통해 공유


ArmPolicyInsightsModelFactory.RemediationDeployment Method

Definition

Initializes a new instance of RemediationDeployment.

public static Azure.ResourceManager.PolicyInsights.Models.RemediationDeployment RemediationDeployment (Azure.Core.ResourceIdentifier remediatedResourceId = default, Azure.Core.ResourceIdentifier deploymentId = default, string status = default, Azure.Core.AzureLocation? resourceLocation = default, Azure.ResponseError error = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastUpdatedOn = default);
static member RemediationDeployment : Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.AzureLocation> * Azure.ResponseError * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.PolicyInsights.Models.RemediationDeployment
Public Shared Function RemediationDeployment (Optional remediatedResourceId As ResourceIdentifier = Nothing, Optional deploymentId As ResourceIdentifier = Nothing, Optional status As String = Nothing, Optional resourceLocation As Nullable(Of AzureLocation) = Nothing, Optional error As ResponseError = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing) As RemediationDeployment

Parameters

remediatedResourceId
ResourceIdentifier

Resource ID of the resource that is being remediated by the deployment.

deploymentId
ResourceIdentifier

Resource ID of the template deployment that will remediate the resource.

status
String

Status of the remediation deployment.

resourceLocation
Nullable<AzureLocation>

Location of the resource that is being remediated.

error
ResponseError

Error encountered while remediated the resource.

createdOn
Nullable<DateTimeOffset>

The time at which the remediation was created.

lastUpdatedOn
Nullable<DateTimeOffset>

The time at which the remediation deployment was last updated.

Returns

A new RemediationDeployment instance for mocking.

Applies to