Class EnforcedGovernanceRuleSummary
A summary of the enforced governance rule.
Inherited Members
Namespace: Oci.GovernancerulescontrolplaneService.Models
Assembly: OCI.DotNetSDK.Governancerulescontrolplane.dll
Syntax
public class EnforcedGovernanceRuleSummary
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 child's root compartment to which the governance rule is attached. |
Remarks
Required
GovernanceRuleDisplayName
Declaration
[Required(ErrorMessage = "GovernanceRuleDisplayName is required.")]
[JsonProperty(PropertyName = "governanceRuleDisplayName")]
public string GovernanceRuleDisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | Display name of the governance rule. |
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 enforced 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
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