Class DelegatedResourceAccessRequest
A support operator raises Delegated Resource Access Request when they need access to any infrastructure resource governed by Delegation Control.
The Delegated Resource Access Request identifies the target resource and the set of Service Provider Actions. Delegated Resource Access Request handling depends upon the Delegation Control
that governs the target resource, and the set of Service Provider Actions listed for approval in the Delegated Resource Access Request. If all of the Service Provider Actions
listed in the Delegated Resource Access Request are in the pre-approved list in the Delegation Control that governs the target resource, then the Delegated Resource Access Request is
automatically approved. If not, then the Delegated Resource Access Request requires explicit approval from the approver group specified by the Delegation Control governing the target resource.
You can approve or reject a Delegated Resource Access Request. You can also revoke the approval of an already approved Delegated Resource Access Request. While creating a Delegated Resource Access Request,
the support operator specifies the duration of access. You have the option to approve the entire duration or reduce or even increase the time duration.
A support operator can also request for an extension. The approval for such an extension is processed the same way the original Delegated Resource Access Request was processed.
Inherited Members
Namespace: Oci.DelegateaccesscontrolService.Models
Assembly: OCI.DotNetSDK.Delegateaccesscontrol.dll
Syntax
public class DelegatedResourceAccessRequest
Properties
ApprovalInfo
Declaration
[JsonProperty(PropertyName = "approvalInfo")]
public List<DelegatedResourceAccessRequestApprovalDetails> ApprovalInfo { get; set; }
Property Value
Type | Description |
---|---|
List<DelegatedResourceAccessRequestApprovalDetails> | In case of single approval, this will have only one item. Else, a list of approvals. |
AuditTypes
Declaration
[JsonProperty(PropertyName = "auditTypes", ItemConverterType = typeof(ResponseEnumConverter))]
public List<DelegatedResourceAccessRequestAuditType> AuditTypes { get; set; }
Property Value
Type | Description |
---|---|
List<DelegatedResourceAccessRequestAuditType> | Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged. |
ClosureComment
Declaration
[JsonProperty(PropertyName = "closureComment")]
public string ClosureComment { get; set; }
Property Value
Type | Description |
---|---|
string | The comment entered by the support operator while closing the request. |
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 Delegated Resource Access Request. |
Remarks
Required
DatabaseNameList
Declaration
[JsonProperty(PropertyName = "databaseNameList")]
public List<string> DatabaseNameList { get; set; }
Property Value
Type | Description |
---|---|
List<string> | List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed. |
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.
|
DelegationControlId
Declaration
[JsonProperty(PropertyName = "delegationControlId")]
public string DelegationControlId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Delegation Control governing the target resource. |
DelegationSubscriptionIds
Declaration
[JsonProperty(PropertyName = "delegationSubscriptionIds")]
public List<string> DelegationSubscriptionIds { get; set; }
Property Value
Type | Description |
---|---|
List<string> | List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested. |
Description
Declaration
[Required(ErrorMessage = "Description is required.")]
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | Detailed description of this Delegated Resource Access Request. |
Remarks
Required
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | Display name. This is generated by the system automatically. |
DurationInHours
Declaration
[JsonProperty(PropertyName = "durationInHours")]
public int? DurationInHours { get; set; }
Property Value
Type | Description |
---|---|
int? | Duration in hours for which access is sought on the target resource. |
ExtendDurationInHours
Declaration
[JsonProperty(PropertyName = "extendDurationInHours")]
public int? ExtendDurationInHours { get; set; }
Property Value
Type | Description |
---|---|
int? | Duration in hours for which extension access is sought on the target resource. |
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.
|
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Delegated Resource Access Request. |
Remarks
Required
IsAutoApproved
Declaration
[JsonProperty(PropertyName = "isAutoApproved")]
public bool? IsAutoApproved { get; set; }
Property Value
Type | Description |
---|---|
bool? | Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control. |
IsPendingMoreInfo
Declaration
[JsonProperty(PropertyName = "isPendingMoreInfo")]
public bool? IsPendingMoreInfo { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates if the delegated resource access request is waiting on more information from the operator |
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DelegatedResourceAccessRequest.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
DelegatedResourceAccessRequest.LifecycleStateEnum? | The current lifecycle state of the Delegated Resource Access Request. |
LifecycleStateDetails
Declaration
[JsonProperty(PropertyName = "lifecycleStateDetails")]
public string LifecycleStateDetails { get; set; }
Property Value
Type | Description |
---|---|
string | Description of the current lifecycle state in more detail. |
NumExtensionApprovals
Declaration
[JsonProperty(PropertyName = "numExtensionApprovals")]
public int? NumExtensionApprovals { get; set; }
Property Value
Type | Description |
---|---|
int? | Number of extension approvals that have been obtained so far. |
NumInitialApprovals
Declaration
[JsonProperty(PropertyName = "numInitialApprovals")]
public int? NumInitialApprovals { get; set; }
Property Value
Type | Description |
---|---|
int? | Number of initial approvals that have been obtained so far. |
ProvidedServiceTypes
Declaration
[JsonProperty(PropertyName = "providedServiceTypes", ItemConverterType = typeof(ResponseEnumConverter))]
public List<ServiceProviderServiceType> ProvidedServiceTypes { get; set; }
Property Value
Type | Description |
---|---|
List<ServiceProviderServiceType> | List of Service Provider Service Types being provided by the support operator user. |
ReasonForRequest
Declaration
[Required(ErrorMessage = "ReasonForRequest is required.")]
[JsonProperty(PropertyName = "reasonForRequest")]
public string ReasonForRequest { get; set; }
Property Value
Type | Description |
---|---|
string | A short description explaining why this Delegated Resource Access Request is needed by the support operator. |
Remarks
Required
RequestStatus
Declaration
[JsonProperty(PropertyName = "requestStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DelegatedResourceAccessRequestStatus? RequestStatus { get; set; }
Property Value
Type | Description |
---|---|
DelegatedResourceAccessRequestStatus? | The current status of the Delegated Resource Access Request. |
RequestedActionNames
Declaration
[JsonProperty(PropertyName = "requestedActionNames")]
public List<string> RequestedActionNames { get; set; }
Property Value
Type | Description |
---|---|
List<string> | List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. |
RequesterType
Declaration
[JsonProperty(PropertyName = "requesterType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DelegatedResourceAccessRequesterType? RequesterType { get; set; }
Property Value
Type | Description |
---|---|
DelegatedResourceAccessRequesterType? | Requester type |
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 associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. |
Remarks
Required
ResourceName
Declaration
[JsonProperty(PropertyName = "resourceName")]
public string ResourceName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. |
ResourceType
Declaration
[JsonProperty(PropertyName = "resourceType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DelegationControlResourceType? ResourceType { get; set; }
Property Value
Type | Description |
---|---|
DelegationControlResourceType? | Resource type for which the associated Delegation Control is applicable to. |
Severity
Declaration
[JsonProperty(PropertyName = "severity")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DelegatedResourceAccessRequestSeverity? Severity { get; set; }
Property Value
Type | Description |
---|---|
DelegatedResourceAccessRequestSeverity? | Priority assigned to the Delegated Resource Access Request by the support operator |
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | System tags for this resource. Each key is predefined and scoped to a namespace.
|
TicketNumbers
Declaration
[JsonProperty(PropertyName = "ticketNumbers")]
public List<string> TicketNumbers { get; set; }
Property Value
Type | Description |
---|---|
List<string> | A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. |
TimeAccessRequested
Declaration
[JsonProperty(PropertyName = "timeAccessRequested")]
public DateTime? TimeAccessRequested { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Requested access start time in UTC. |
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time when the Delegated Resource Access Request was created in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'. |
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time when the Delegated Resource Access Request was last modified in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'. |