Class GovernanceRuleSummary
A summary of the governance rule.
Inherited Members
Namespace: Oci.GovernancerulescontrolplaneService.Models
Assembly: OCI.DotNetSDK.Governancerulescontrolplane.dll
Syntax
public class GovernanceRuleSummary
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The Oracle ID (OCID) of the root compartment containing the governance rule. |
Remarks
Required
CreationOption
Declaration
[Required(ErrorMessage = "CreationOption is required.")]
[JsonProperty(PropertyName = "creationOption")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CreationOption? CreationOption { get; set; }
Property Value
Type | Description |
---|---|
CreationOption? | The type of option used to create the governance rule, could be one of TEMPLATE or CLONE.
|
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
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | Display name of the governance rule. |
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 ID (OCID) of the governance rule. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public GovernanceRuleLifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
GovernanceRuleLifecycleState? | The current state of the governance rule. |
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. 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? | Date and time the governance rule was created. An RFC3339 formatted datetime string.
|
Remarks
Required
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date and time the governance rule was updated. An RFC3339 formatted datetime string.
|
Remarks
Required
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public GovernanceRuleType? Type { get; set; }
Property Value
Type | Description |
---|---|
GovernanceRuleType? | Type of the governance rule, can be one of QUOTA, TAG, ALLOWED_REGIONS.
|
Remarks
Required