ArmPolicyInsightsModelFactory.RemediationDeployment Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET