Class TargetSummary
Summary information for a target.
Inherited Members
Namespace: Oci.CloudguardService.Models
Assembly: OCI.DotNetSDK.Cloudguard.dll
Syntax
public class TargetSummary
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | Compartment OCID where the resource is created |
Remarks
Required
DefinedTags
Declaration
[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"}} |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | Target display name |
FreeformTags
Declaration
[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"}Avoid entering confidential information. |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier for target that can't be changed after creation |
Remarks
Required
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
LifecycleState? | The current lifecycle state of the resource |
LifecyleDetails
Declaration
[JsonProperty(PropertyName = "lifecyleDetails")]
public string LifecyleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. [DEPRECATE] |
RecipeCount
Declaration
[Required(ErrorMessage = "RecipeCount is required.")]
[JsonProperty(PropertyName = "recipeCount")]
public int? RecipeCount { get; set; }
Property Value
Type | Description |
---|---|
int? | Total number of recipes attached to target |
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>> | System tags for this resource. Each key is predefined and scoped to a namespace.
For more information, see Resource Tags.
System tags can be viewed by users, but can only be created by the system.
|
TargetResourceId
Declaration
[Required(ErrorMessage = "TargetResourceId is required.")]
[JsonProperty(PropertyName = "targetResourceId")]
public string TargetResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | Resource ID which the target uses to monitor |
Remarks
Required
TargetResourceType
Declaration
[Required(ErrorMessage = "TargetResourceType is required.")]
[JsonProperty(PropertyName = "targetResourceType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public TargetResourceType? TargetResourceType { get; set; }
Property Value
Type | Description |
---|---|
TargetResourceType? | Type of resource that's associated with the target(compartment/HCMCloud/ERPCloud) |
Remarks
Required
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the target was created. Format defined by RFC3339. |
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the target was last updated. Format defined by RFC3339. |