Class CreateOperatorControlDetails
While creating the operator control, specify how operator actions are approved and the users who have the privilege of approving the operator actions associated with the Operator Control.
You must specify which operator actions must be pre-approved. The rest of the operator actions associated with the Operator Control will require an explicit approval from the users selected either through the approver groups or individually.
You must name your Operator Control appropriately so it reflects the resources that will be governed by the Operator Control. Neither the Operator Controls nor their assignments to resources are visible to the Oracle operators.
Inherited Members
Namespace: Oci.OperatoraccesscontrolService.Models
Assembly: OCI.DotNetSDK.Operatoraccesscontrol.dll
Syntax
public class CreateOperatorControlDetails
Properties
ApproverGroupsList
Declaration
[Required(ErrorMessage = "ApproverGroupsList is required.")]
[JsonProperty(PropertyName = "approverGroupsList")]
public List<string> ApproverGroupsList { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | List of user groups who can approve an access request associated with a resource governed by this operator control. |
Remarks
Required
ApproversList
Declaration
[JsonProperty(PropertyName = "approversList")]
public List<string> ApproversList { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | List of users who can approve an access request associated with a resource governed by this operator control. |
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 this operator control. |
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. |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Description of the operator control. |
EmailIdList
Declaration
[JsonProperty(PropertyName = "emailIdList")]
public List<string> EmailIdList { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | List of emailId. |
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. |
IsFullyPreApproved
Declaration
[Required(ErrorMessage = "IsFullyPreApproved is required.")]
[JsonProperty(PropertyName = "isFullyPreApproved")]
public bool? IsFullyPreApproved { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Whether all the operator actions have been pre-approved. If yes, all access requests associated with a resource governed by this operator control will be auto-approved. |
Remarks
Required
NumberOfApprovers
Declaration
[JsonProperty(PropertyName = "numberOfApprovers")]
public int? NumberOfApprovers { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | Number of approvers required to approve an access request. |
OperatorControlName
Declaration
[Required(ErrorMessage = "OperatorControlName is required.")]
[JsonProperty(PropertyName = "operatorControlName")]
public string OperatorControlName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Name of the operator control. |
Remarks
Required
PreApprovedOpActionList
Declaration
[JsonProperty(PropertyName = "preApprovedOpActionList")]
public List<string> PreApprovedOpActionList { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | List of pre-approved operator actions. Access requests associated with a resource governed by this operator control will be auto-approved if the access request only contain operator actions in the pre-approved list. |
ResourceType
Declaration
[Required(ErrorMessage = "ResourceType is required.")]
[JsonProperty(PropertyName = "resourceType")]
[JsonConverter(typeof(StringEnumConverter))]
public ResourceTypes? ResourceType { get; set; }
Property Value
| Type | Description |
|---|---|
| ResourceTypes? | resourceType for which the OperatorControl is applicable |
Remarks
Required
SystemMessage
Declaration
[JsonProperty(PropertyName = "systemMessage")]
public string SystemMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| string | This is the message that will be displayed to the operator users while accessing the system. |