Class OperatorControlAssignmentSummary
Details of the operator control assignment.
Inherited Members
Namespace: Oci.OperatoraccesscontrolService.Models
Assembly: OCI.DotNetSDK.Operatoraccesscontrol.dll
Syntax
public class OperatorControlAssignmentSummary
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 operator control assignment. |
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. |
ErrorCode
Declaration
[JsonProperty(PropertyName = "errorCode")]
public int? ErrorCode { get; set; }
Property Value
Type | Description |
---|---|
int? | The code identifying the error occurred during Assignment operation. |
ErrorMessage
Declaration
[JsonProperty(PropertyName = "errorMessage")]
public string ErrorMessage { get; set; }
Property Value
Type | Description |
---|---|
string | The message describing the error occurred during Assignment operation. |
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. |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the operator control assignment. |
Remarks
Required
IsEnforcedAlways
Declaration
[JsonProperty(PropertyName = "isEnforcedAlways")]
public bool? IsEnforcedAlways { get; set; }
Property Value
Type | Description |
---|---|
bool? | If true, then the target resource is always governed by the operator control. Otherwise governance is time-based as specified by timeAssignmentTo and timeAssignmentFrom. |
IsHypervisorLogForwarded
Declaration
[JsonProperty(PropertyName = "isHypervisorLogForwarded")]
public bool? IsHypervisorLogForwarded { get; set; }
Property Value
Type | Description |
---|---|
bool? | If set, then the hypervisor audit logs will be forwarded to the relevant remote syslog server |
IsLogForwarded
Declaration
[JsonProperty(PropertyName = "isLogForwarded")]
public bool? IsLogForwarded { get; set; }
Property Value
Type | Description |
---|---|
bool? | If set, then the audit logs are being forwarded to the relevant remote logging server |
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | More in detail about the lifeCycleState. |
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OperatorControlAssignmentLifecycleStates? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
OperatorControlAssignmentLifecycleStates? | The current lifcycle state of the OperatorControl. |
OpControlName
Declaration
[JsonProperty(PropertyName = "opControlName")]
public string OpControlName { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the operator control name associated. |
OperatorControlId
Declaration
[Required(ErrorMessage = "OperatorControlId is required.")]
[JsonProperty(PropertyName = "operatorControlId")]
public string OperatorControlId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the operator control. |
Remarks
Required
RemoteSyslogServerAddress
Declaration
[JsonProperty(PropertyName = "remoteSyslogServerAddress")]
public string RemoteSyslogServerAddress { get; set; }
Property Value
Type | Description |
---|---|
string | The address of the remote syslog server where the audit logs are being forwarded to. Address in host or IP format. |
RemoteSyslogServerPort
Declaration
[JsonProperty(PropertyName = "remoteSyslogServerPort")]
public int? RemoteSyslogServerPort { get; set; }
Property Value
Type | Description |
---|---|
int? | The listening port of the remote syslog server. The port range is 0 - 65535. |
ResourceId
Declaration
[Required(ErrorMessage = "ResourceId is required.")]
[JsonProperty(PropertyName = "resourceId")]
public string ResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the target resource being governed by the operator control. |
Remarks
Required
ResourceName
Declaration
[JsonProperty(PropertyName = "resourceName")]
public string ResourceName { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the target resource. |
ResourceType
Declaration
[JsonProperty(PropertyName = "resourceType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ResourceTypes? ResourceType { get; set; }
Property Value
Type | Description |
---|---|
ResourceTypes? | resourceType for which the OperatorControlAssignment is applicable |
TimeAssignmentFrom
Declaration
[JsonProperty(PropertyName = "timeAssignmentFrom")]
public DateTime? TimeAssignmentFrom { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time at which the target resource will be brought under the governance of the operator control in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z' |
TimeAssignmentTo
Declaration
[JsonProperty(PropertyName = "timeAssignmentTo")]
public DateTime? TimeAssignmentTo { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time at which the target resource will leave the governance of the operator control in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z' |
TimeOfAssignment
Declaration
[JsonProperty(PropertyName = "timeOfAssignment")]
public DateTime? TimeOfAssignment { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time when the operator control assignment is created in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z' |