Show / Hide Table of Contents

Class DynamicSet

An object that defines the dynamic set.

Inheritance
object
DynamicSet
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OsmanagementhubService.Models
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class DynamicSet

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment that contains the dynamic set.

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. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}}

Remarks

Required

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

User-specified description for the dynamic set.

DisplayName

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

User-friendly name for the dynamic set.

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>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

Remarks

Required

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the dynamic set.

Remarks

Required

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DynamicSet.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
DynamicSet.LifecycleStateEnum?

The current state of the event.

Remarks

Required

MatchType

Declaration
[JsonProperty(PropertyName = "matchType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MatchType? MatchType { get; set; }
Property Value
Type Description
MatchType?

Include either any or all attributes.

MatchingRule

Declaration
[JsonProperty(PropertyName = "matchingRule")]
public MatchingRule MatchingRule { get; set; }
Property Value
Type Description
MatchingRule

ScheduledJobCount

Declaration
[JsonProperty(PropertyName = "scheduledJobCount")]
public string ScheduledJobCount { get; set; }
Property Value
Type Description
string

Number of scheduled jobs currently targeting this dynamic set.

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. Example: {"orcl-cloud": {"free-tier-retained": "true"}}

TargetCompartments

Declaration
[JsonProperty(PropertyName = "targetCompartments")]
public List<TargetCompartmentDetails> TargetCompartments { get; set; }
Property Value
Type Description
List<TargetCompartmentDetails>

The list of compartment details.

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time the dynamic set was created (in RFC 3339 format).

Remarks

Required

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The date and time the dynamic set was last updated (in RFC 3339 format).

In this article
Back to top