/// <summary> /// Initializes a new instance of the RemediationDeployment class. /// </summary> /// <param name="remediatedResourceId">Resource ID of the resource that /// is being remediated by the deployment.</param> /// <param name="deploymentId">Resource ID of the template deployment /// that will remediate the resource.</param> /// <param name="status">Status of the remediation deployment.</param> /// <param name="resourceLocation">Location of the resource that is /// being remediated.</param> /// <param name="error">Error encountered while remediated the /// resource.</param> /// <param name="createdOn">The time at which the remediation was /// created.</param> /// <param name="lastUpdatedOn">The time at which the remediation /// deployment was last updated.</param> public RemediationDeployment(string remediatedResourceId = default(string), string deploymentId = default(string), string status = default(string), string resourceLocation = default(string), ErrorDefinition error = default(ErrorDefinition), System.DateTime?createdOn = default(System.DateTime?), System.DateTime?lastUpdatedOn = default(System.DateTime?)) { RemediatedResourceId = remediatedResourceId; DeploymentId = deploymentId; Status = status; ResourceLocation = resourceLocation; Error = error; CreatedOn = createdOn; LastUpdatedOn = lastUpdatedOn; CustomInit(); }
/// <summary> /// Initializes a new instance of the ErrorResponse class. /// </summary> /// <param name="error">The error details.</param> public ErrorResponse(ErrorDefinition error = default(ErrorDefinition)) { Error = error; CustomInit(); }