Show / Hide Table of Contents

Class CreatePrivilegedApiControlDetails

The data to create a PrivilegedApiControl.

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

Properties

ApproverGroupIdList

Declaration
[Required(ErrorMessage = "ApproverGroupIdList is required.")]
[JsonProperty(PropertyName = "approverGroupIdList")]
public List<string> ApproverGroupIdList { get; set; }
Property Value
Type Description
List<string>

List of user IAM group ids who can approve an privilegedApi request associated with a resource governed by this operator control.

Remarks

Required

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 to create the PrivilegedApiControl in.

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. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

Description of the privilegedApi control.

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

Name of the privilegedApi control It has to be unique.

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}

NotificationTopicId

Declaration
[Required(ErrorMessage = "NotificationTopicId is required.")]
[JsonProperty(PropertyName = "notificationTopicId")]
public string NotificationTopicId { get; set; }
Property Value
Type Description
string

The OCID of the OCI Notification topic to publish messages related to this Delegation Control.

Remarks

Required

NumberOfApprovers

Declaration
[JsonProperty(PropertyName = "numberOfApprovers")]
public int? NumberOfApprovers { get; set; }
Property Value
Type Description
int?

Number of approvers required to approve an privilegedApi request.

PrivilegedOperationList

Declaration
[Required(ErrorMessage = "PrivilegedOperationList is required.")]
[JsonProperty(PropertyName = "privilegedOperationList")]
public List<PrivilegedApiDetails> PrivilegedOperationList { get; set; }
Property Value
Type Description
List<PrivilegedApiDetails>

List of privileged operator operations. If Privileged API Managment is enabled for a resource it will be validated whether the operation done by the operator is a part of privileged operation.

Remarks

Required

ResourceType

Declaration
[Required(ErrorMessage = "ResourceType is required.")]
[JsonProperty(PropertyName = "resourceType")]
public string ResourceType { get; set; }
Property Value
Type Description
string

resourceType for which the PrivilegedApiControl is applicable

Remarks

Required

Resources

Declaration
[Required(ErrorMessage = "Resources is required.")]
[JsonProperty(PropertyName = "resources")]
public List<string> Resources { get; set; }
Property Value
Type Description
List<string>

contains Resource details

Remarks

Required

In this article
Back to top