Show / Hide Table of Contents

Class CreateOperatorControlAssignmentDetails

Details of the Operator Control assignment. 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.

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

Properties

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
[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.

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.

IsAutoApproveDuringMaintenance

Declaration
[JsonProperty(PropertyName = "isAutoApproveDuringMaintenance")]
public bool? IsAutoApproveDuringMaintenance { get; set; }
Property Value
Type Description
bool?

The boolean if true would autoApprove during maintenance.

IsEnforcedAlways

Declaration
[Required(ErrorMessage = "IsEnforcedAlways is required.")]
[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.

Remarks

Required

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 will be forwarded to the relevant remote logging server

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 that is being assigned to a target resource.

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 will be 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. Identity of the remote syslog server will be asserted based on this certificate.

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
[Required(ErrorMessage = "ResourceCompartmentId is required.")]
[JsonProperty(PropertyName = "resourceCompartmentId")]
public string ResourceCompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment that contains the target resource.

Remarks

Required

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 brought under the governance of the operator control.

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
[Required(ErrorMessage = "ResourceType is required.")]
[JsonProperty(PropertyName = "resourceType")]
[JsonConverter(typeof(StringEnumConverter))]
public ResourceTypes? ResourceType { get; set; }
Property Value
Type Description
ResourceTypes?

Type of the target resource.

Remarks

Required

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'

In this article
Back to top