Class RecommendationSummary
Recommendation definition.
Inherited Members
Namespace: Oci.CloudguardService.Models
Assembly: OCI.DotNetSDK.Cloudguard.dll
Syntax
public class RecommendationSummary
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | Compartment OCID |
Remarks
Required
Description
Declaration
[Required(ErrorMessage = "Description is required.")]
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | Description of the recommendation |
Remarks
Required
Details
Declaration
[Required(ErrorMessage = "Details is required.")]
[JsonProperty(PropertyName = "details")]
public Dictionary<string, string> Details { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Recommendation details |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier for the recommendation |
Remarks
Required
LifecycleDetail
Declaration
[Required(ErrorMessage = "LifecycleDetail is required.")]
[JsonProperty(PropertyName = "lifecycleDetail")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RecommendationLifecycleDetail? LifecycleDetail { get; set; }
Property Value
Type | Description |
---|---|
RecommendationLifecycleDetail? | Additional details on the substate of the lifecycle state |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
LifecycleState? | The current lifecycle state of the recommendation |
Remarks
Required
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Recommendation string that appears in the UI for the problem |
Remarks
Required
ProblemCount
Declaration
[Required(ErrorMessage = "ProblemCount is required.")]
[JsonProperty(PropertyName = "problemCount")]
public long? ProblemCount { get; set; }
Property Value
Type | Description |
---|---|
long? | Count number of the problem |
Remarks
Required
RiskLevel
Declaration
[JsonProperty(PropertyName = "riskLevel")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RiskLevel? RiskLevel { get; set; }
Property Value
Type | Description |
---|---|
RiskLevel? | The risk level of the problem |
TargetId
Declaration
[Required(ErrorMessage = "TargetId is required.")]
[JsonProperty(PropertyName = "targetId")]
public string TargetId { get; set; }
Property Value
Type | Description |
---|---|
string | Target ID associated with the problem |
Remarks
Required
TenantId
Declaration
[JsonProperty(PropertyName = "tenantId")]
public string TenantId { get; set; }
Property Value
Type | Description |
---|---|
string | Tenant identifier |
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the problem was first created |
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the problem was last updated |
Type
Declaration
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RecommendationType? Type { get; set; }
Property Value
Type | Description |
---|---|
RecommendationType? | Recommendation type |