Class RemediationRecipe
An Application Dependency Management (ADM) remediation recipe contains the basic configuration and the details of each of the remediation stages (Detect, Recommend, Verify, and Apply).
Inherited Members
Namespace: Oci.AdmService.Models
Assembly: OCI.DotNetSDK.Adm.dll
Syntax
public class RemediationRecipe
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The compartment Oracle Cloud Identifier (OCID) of the remediation recipe. |
Remarks
Required
DefinedTags
Declaration
[Required(ErrorMessage = "DefinedTags is required.")]
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}} |
Remarks
Required
DetectConfiguration
Declaration
[Required(ErrorMessage = "DetectConfiguration is required.")]
[JsonProperty(PropertyName = "detectConfiguration")]
public DetectConfiguration DetectConfiguration { get; set; }
Property Value
Type | Description |
---|---|
DetectConfiguration |
Remarks
Required
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the Remediation Recipe. |
Remarks
Required
FreeformTags
Declaration
[Required(ErrorMessage = "FreeformTags is required.")]
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The Oracle Cloud Identifier (OCID) of the remediation recipe. |
Remarks
Required
IsRunTriggeredOnKbChange
Declaration
[Required(ErrorMessage = "IsRunTriggeredOnKbChange is required.")]
[JsonProperty(PropertyName = "isRunTriggeredOnKbChange")]
public bool? IsRunTriggeredOnKbChange { get; set; }
Property Value
Type | Description |
---|---|
bool? | Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated. |
Remarks
Required
KnowledgeBaseId
Declaration
[Required(ErrorMessage = "KnowledgeBaseId is required.")]
[JsonProperty(PropertyName = "knowledgeBaseId")]
public string KnowledgeBaseId { get; set; }
Property Value
Type | Description |
---|---|
string | The Oracle Cloud Identifier (OCID) of the knowledge base. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RemediationRecipe.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
RemediationRecipe.LifecycleStateEnum? | The current lifecycle state of the Remediation Recipe. |
Remarks
Required
NetworkConfiguration
Declaration
[Required(ErrorMessage = "NetworkConfiguration is required.")]
[JsonProperty(PropertyName = "networkConfiguration")]
public NetworkConfiguration NetworkConfiguration { get; set; }
Property Value
Type | Description |
---|---|
NetworkConfiguration |
Remarks
Required
ScmConfiguration
Declaration
[Required(ErrorMessage = "ScmConfiguration is required.")]
[JsonProperty(PropertyName = "scmConfiguration")]
public ScmConfiguration ScmConfiguration { get; set; }
Property Value
Type | Description |
---|---|
ScmConfiguration |
Remarks
Required
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The creation date and time of the Remediation Recipe (formatted according to RFC3339). |
Remarks
Required
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the Remediation Recipe was last updated (formatted according to RFC3339). |
Remarks
Required
VerifyConfiguration
Declaration
[Required(ErrorMessage = "VerifyConfiguration is required.")]
[JsonProperty(PropertyName = "verifyConfiguration")]
public VerifyConfiguration VerifyConfiguration { get; set; }
Property Value
Type | Description |
---|---|
VerifyConfiguration |
Remarks
Required