Class OperatorControlAssignment
An Operator Control Assignment identifies the target resource that is placed under the governance of an Operator Control. Creating an Operator Control Assignment Assignment with a time duration ensures that human accesses to the target resource will be governed by Operator Control for the duration specified.
Inherited Members
Namespace: Oci.OperatoraccesscontrolService.Models
Assembly: OCI.DotNetSDK.Operatoraccesscontrol.dll
Syntax
public class OperatorControlAssignment
Properties
AssignerId
Declaration
[JsonProperty(PropertyName = "assignerId")]
public string AssignerId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the user who created this operator control assignment. |
Comment
Declaration
[JsonProperty(PropertyName = "comment")]
public string Comment { get; set; }
Property Value
Type | Description |
---|---|
string | Comment about the assignment of the operator control to this target resource. |
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the comparment that contains the operator control assignment. |
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. |
DetachmentDescription
Declaration
[JsonProperty(PropertyName = "detachmentDescription")]
public string DetachmentDescription { get; set; }
Property Value
Type | Description |
---|---|
string | description containing reason for releasing of OperatorControl. |
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
IsAutoApproveDuringMaintenance
Declaration
[JsonProperty(PropertyName = "isAutoApproveDuringMaintenance")]
public bool? IsAutoApproveDuringMaintenance { get; set; }
Property Value
Type | Description |
---|---|
bool? | The boolean if true would autoApprove during maintenance. |
IsDefaultAssignment
Declaration
[JsonProperty(PropertyName = "isDefaultAssignment")]
public bool? IsDefaultAssignment { get; set; }
Property Value
Type | Description |
---|---|
bool? | Whether the assignment is a default assignment. |
IsEnforcedAlways
Declaration
[JsonProperty(PropertyName = "isEnforcedAlways")]
public bool? IsEnforcedAlways { get; set; }
Property Value
Type | Description |
---|---|
bool? | If set, then the target resource is always governed by the operator control. |
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 indicates that 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. |
RemoteSyslogServerCACert
Declaration
[JsonProperty(PropertyName = "remoteSyslogServerCACert")]
public string RemoteSyslogServerCACert { get; set; }
Property Value
Type | Description |
---|---|
string | The CA certificate of the remote syslog server. |
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. Only TCP supported. |
ResourceCompartmentId
Declaration
[JsonProperty(PropertyName = "resourceCompartmentId")]
public string ResourceCompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that contains the target resource. |
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. |
Remarks
Required
ResourceName
Declaration
[Required(ErrorMessage = "ResourceName is required.")]
[JsonProperty(PropertyName = "resourceName")]
public string ResourceName { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the target resource. |
Remarks
Required
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 expressed 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 expressed in RFC 3339 timestamp 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' |
TimeOfDeletion
Declaration
[JsonProperty(PropertyName = "timeOfDeletion")]
public DateTime? TimeOfDeletion { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time on which the operator control assignment was deleted in RFC 3339timestamp format.Example: '2020-05-22T21:10:29.600Z' |
UnassignerId
Declaration
[JsonProperty(PropertyName = "unassignerId")]
public string UnassignerId { get; set; }
Property Value
Type | Description |
---|---|
string | User id who released the operatorControl. |