1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. OperatorAccessControl
  5. getAccessRequests
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.OperatorAccessControl.getAccessRequests

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

This data source provides the list of Access Requests in Oracle Cloud Infrastructure Operator Access Control service.

Lists all access requests in the compartment.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAccessRequests = oci.OperatorAccessControl.getAccessRequests({
    compartmentId: compartmentId,
    resourceName: accessRequestResourceName,
    resourceType: accessRequestResourceType,
    state: accessRequestState,
    timeEnd: accessRequestTimeEnd,
    timeStart: accessRequestTimeStart,
});
Copy
import pulumi
import pulumi_oci as oci

test_access_requests = oci.OperatorAccessControl.get_access_requests(compartment_id=compartment_id,
    resource_name=access_request_resource_name,
    resource_type=access_request_resource_type,
    state=access_request_state,
    time_end=access_request_time_end,
    time_start=access_request_time_start)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/operatoraccesscontrol"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := operatoraccesscontrol.GetAccessRequests(ctx, &operatoraccesscontrol.GetAccessRequestsArgs{
			CompartmentId: compartmentId,
			ResourceName:  pulumi.StringRef(accessRequestResourceName),
			ResourceType:  pulumi.StringRef(accessRequestResourceType),
			State:         pulumi.StringRef(accessRequestState),
			TimeEnd:       pulumi.StringRef(accessRequestTimeEnd),
			TimeStart:     pulumi.StringRef(accessRequestTimeStart),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testAccessRequests = Oci.OperatorAccessControl.GetAccessRequests.Invoke(new()
    {
        CompartmentId = compartmentId,
        ResourceName = accessRequestResourceName,
        ResourceType = accessRequestResourceType,
        State = accessRequestState,
        TimeEnd = accessRequestTimeEnd,
        TimeStart = accessRequestTimeStart,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.OperatorAccessControl.OperatorAccessControlFunctions;
import com.pulumi.oci.OperatorAccessControl.inputs.GetAccessRequestsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var testAccessRequests = OperatorAccessControlFunctions.getAccessRequests(GetAccessRequestsArgs.builder()
            .compartmentId(compartmentId)
            .resourceName(accessRequestResourceName)
            .resourceType(accessRequestResourceType)
            .state(accessRequestState)
            .timeEnd(accessRequestTimeEnd)
            .timeStart(accessRequestTimeStart)
            .build());

    }
}
Copy
variables:
  testAccessRequests:
    fn::invoke:
      function: oci:OperatorAccessControl:getAccessRequests
      arguments:
        compartmentId: ${compartmentId}
        resourceName: ${accessRequestResourceName}
        resourceType: ${accessRequestResourceType}
        state: ${accessRequestState}
        timeEnd: ${accessRequestTimeEnd}
        timeStart: ${accessRequestTimeStart}
Copy

Using getAccessRequests

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAccessRequests(args: GetAccessRequestsArgs, opts?: InvokeOptions): Promise<GetAccessRequestsResult>
function getAccessRequestsOutput(args: GetAccessRequestsOutputArgs, opts?: InvokeOptions): Output<GetAccessRequestsResult>
Copy
def get_access_requests(compartment_id: Optional[str] = None,
                        filters: Optional[Sequence[_operatoraccesscontrol.GetAccessRequestsFilter]] = None,
                        resource_name: Optional[str] = None,
                        resource_type: Optional[str] = None,
                        state: Optional[str] = None,
                        time_end: Optional[str] = None,
                        time_start: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetAccessRequestsResult
def get_access_requests_output(compartment_id: Optional[pulumi.Input[str]] = None,
                        filters: Optional[pulumi.Input[Sequence[pulumi.Input[_operatoraccesscontrol.GetAccessRequestsFilterArgs]]]] = None,
                        resource_name: Optional[pulumi.Input[str]] = None,
                        resource_type: Optional[pulumi.Input[str]] = None,
                        state: Optional[pulumi.Input[str]] = None,
                        time_end: Optional[pulumi.Input[str]] = None,
                        time_start: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetAccessRequestsResult]
Copy
func GetAccessRequests(ctx *Context, args *GetAccessRequestsArgs, opts ...InvokeOption) (*GetAccessRequestsResult, error)
func GetAccessRequestsOutput(ctx *Context, args *GetAccessRequestsOutputArgs, opts ...InvokeOption) GetAccessRequestsResultOutput
Copy

> Note: This function is named GetAccessRequests in the Go SDK.

public static class GetAccessRequests 
{
    public static Task<GetAccessRequestsResult> InvokeAsync(GetAccessRequestsArgs args, InvokeOptions? opts = null)
    public static Output<GetAccessRequestsResult> Invoke(GetAccessRequestsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAccessRequestsResult> getAccessRequests(GetAccessRequestsArgs args, InvokeOptions options)
public static Output<GetAccessRequestsResult> getAccessRequests(GetAccessRequestsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:OperatorAccessControl/getAccessRequests:getAccessRequests
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. string
The ID of the compartment in which to list resources.
Filters Changes to this property will trigger replacement. List<GetAccessRequestsFilter>
ResourceName string
A filter to return only resources that match the given ResourceName.
ResourceType string
A filter to return only lists of resources that match the entire given service type.
State string
A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
TimeEnd string
Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
TimeStart string
Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
CompartmentId This property is required. string
The ID of the compartment in which to list resources.
Filters Changes to this property will trigger replacement. []GetAccessRequestsFilter
ResourceName string
A filter to return only resources that match the given ResourceName.
ResourceType string
A filter to return only lists of resources that match the entire given service type.
State string
A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
TimeEnd string
Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
TimeStart string
Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
compartmentId This property is required. String
The ID of the compartment in which to list resources.
filters Changes to this property will trigger replacement. List<GetAccessRequestsFilter>
resourceName String
A filter to return only resources that match the given ResourceName.
resourceType String
A filter to return only lists of resources that match the entire given service type.
state String
A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
timeEnd String
Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
timeStart String
Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
compartmentId This property is required. string
The ID of the compartment in which to list resources.
filters Changes to this property will trigger replacement. GetAccessRequestsFilter[]
resourceName string
A filter to return only resources that match the given ResourceName.
resourceType string
A filter to return only lists of resources that match the entire given service type.
state string
A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
timeEnd string
Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
timeStart string
Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
compartment_id This property is required. str
The ID of the compartment in which to list resources.
filters Changes to this property will trigger replacement. Sequence[operatoraccesscontrol.GetAccessRequestsFilter]
resource_name str
A filter to return only resources that match the given ResourceName.
resource_type str
A filter to return only lists of resources that match the entire given service type.
state str
A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
time_end str
Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
time_start str
Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
compartmentId This property is required. String
The ID of the compartment in which to list resources.
filters Changes to this property will trigger replacement. List<Property Map>
resourceName String
A filter to return only resources that match the given ResourceName.
resourceType String
A filter to return only lists of resources that match the entire given service type.
state String
A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
timeEnd String
Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.
timeStart String
Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters are used together.

getAccessRequests Result

The following output properties are available:

AccessRequestCollections List<GetAccessRequestsAccessRequestCollection>
The list of access_request_collection.
CompartmentId string
The OCID of the compartment that contains the access request.
Id string
The provider-assigned unique ID for this managed resource.
Filters List<GetAccessRequestsFilter>
ResourceName string
The name of the target resource.
ResourceType string
resourceType for which the AccessRequest is applicable
State string
The current state of the AccessRequest.
TimeEnd string
TimeStart string
AccessRequestCollections []GetAccessRequestsAccessRequestCollection
The list of access_request_collection.
CompartmentId string
The OCID of the compartment that contains the access request.
Id string
The provider-assigned unique ID for this managed resource.
Filters []GetAccessRequestsFilter
ResourceName string
The name of the target resource.
ResourceType string
resourceType for which the AccessRequest is applicable
State string
The current state of the AccessRequest.
TimeEnd string
TimeStart string
accessRequestCollections List<GetAccessRequestsAccessRequestCollection>
The list of access_request_collection.
compartmentId String
The OCID of the compartment that contains the access request.
id String
The provider-assigned unique ID for this managed resource.
filters List<GetAccessRequestsFilter>
resourceName String
The name of the target resource.
resourceType String
resourceType for which the AccessRequest is applicable
state String
The current state of the AccessRequest.
timeEnd String
timeStart String
accessRequestCollections GetAccessRequestsAccessRequestCollection[]
The list of access_request_collection.
compartmentId string
The OCID of the compartment that contains the access request.
id string
The provider-assigned unique ID for this managed resource.
filters GetAccessRequestsFilter[]
resourceName string
The name of the target resource.
resourceType string
resourceType for which the AccessRequest is applicable
state string
The current state of the AccessRequest.
timeEnd string
timeStart string
access_request_collections Sequence[operatoraccesscontrol.GetAccessRequestsAccessRequestCollection]
The list of access_request_collection.
compartment_id str
The OCID of the compartment that contains the access request.
id str
The provider-assigned unique ID for this managed resource.
filters Sequence[operatoraccesscontrol.GetAccessRequestsFilter]
resource_name str
The name of the target resource.
resource_type str
resourceType for which the AccessRequest is applicable
state str
The current state of the AccessRequest.
time_end str
time_start str
accessRequestCollections List<Property Map>
The list of access_request_collection.
compartmentId String
The OCID of the compartment that contains the access request.
id String
The provider-assigned unique ID for this managed resource.
filters List<Property Map>
resourceName String
The name of the target resource.
resourceType String
resourceType for which the AccessRequest is applicable
state String
The current state of the AccessRequest.
timeEnd String
timeStart String

Supporting Types

GetAccessRequestsAccessRequestCollection

items This property is required. List<Property Map>

GetAccessRequestsAccessRequestCollectionItem

AccessReasonSummary This property is required. string
Summary comment by the operator creating the access request.
ActionRequestsLists This property is required. List<string>
List of operator actions for which approval is sought by the operator user.
ApproverComment This property is required. string
The last recent Comment entered by the approver of the request.
ApproverDetails This property is required. List<GetAccessRequestsAccessRequestCollectionItemApproverDetail>
Contains the user ids who have approved the accessRequest for extension.
AuditTypes This property is required. List<string>
Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, auditing is enabled at the command level i.e., each command issued by the operator is audited. When keystroke-level is chosen, in addition to command level logging, key strokes are also logged.
ClosureComment This property is required. string
The comment entered by the operator while closing the request.
CompartmentId This property is required. string
The ID of the compartment in which to list resources.
DefinedTags This property is required. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Duration This property is required. int
Duration in hours for which access is sought on the target resource.
ExtendDuration This property is required. int
Duration in hours for which extension access is sought on the target resource.
ExtensionApproverDetails This property is required. List<GetAccessRequestsAccessRequestCollectionItemExtensionApproverDetail>
Contains the user ids who have approved the accessRequest for extension.
FreeformTags This property is required. Dictionary<string, string>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
Id This property is required. string
The OCID of the access request.
IsAutoApproved This property is required. bool
Whether the access request was automatically approved.
IsValidateAssignment This property is required. bool
Whether the access request was requested for Validate Assignment.
LifecycleDetails This property is required. string
more in detail about the lifeCycleState.
NumberOfApprovers This property is required. int
Number of approvers who have authorized an access request.
NumberOfApproversRequired This property is required. int
Number of approvers required to approve an access request.
NumberOfExtensionApprovers This property is required. int
Number of approvers who have authorized an access request for extension.
OpctlAdditionalMessage This property is required. string
Additional message specific to the access request that can be specified by the approver at the time of approval.
OpctlId This property is required. string
The OCID of the operator control governing the target resource.
OpctlName This property is required. string
Name of the Operator control governing the target resource.
OperatorId This property is required. string
A unique identifier associated with the operator who raised the request. This identifier can not be used directly to identify the operator. You need to provide this identifier if you would like Oracle to provide additional information about the operator action within Oracle tenancy.
Reason This property is required. string
Summary reason for which the operator is requesting access on the target resource.
RequestId This property is required. string
This is an automatic identifier generated by the system which is easier for human comprehension.
ResourceId This property is required. string
The OCID of the target resource associated with the access request. The operator raises an access request to get approval to access the target resource.
ResourceName This property is required. string
A filter to return only resources that match the given ResourceName.
ResourceType This property is required. string
A filter to return only lists of resources that match the entire given service type.
Severity This property is required. string
Priority assigned to the access request by the operator
State This property is required. string
A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
SubResourceLists This property is required. List<string>
The subresources requested for approval.
SystemMessage This property is required. string
System message that will be displayed to the operator at login to the target resource.
TimeOfCreation This property is required. string
Time when the access request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
TimeOfModification This property is required. string
Time when the access request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
TimeOfUserCreation This property is required. string
The time when access request is scheduled to be approved in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
TimeRequestedForFutureAccess This property is required. string
Time in future when the user for the access request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
UserId This property is required. string
The OCID of the user that last modified the access request.
WorkflowIds This property is required. List<string>
The OCID of the workflow associated with the access request. This is needed if you want to contact Oracle Support for a stuck access request or for an access request that encounters an internal error.
AccessReasonSummary This property is required. string
Summary comment by the operator creating the access request.
ActionRequestsLists This property is required. []string
List of operator actions for which approval is sought by the operator user.
ApproverComment This property is required. string
The last recent Comment entered by the approver of the request.
ApproverDetails This property is required. []GetAccessRequestsAccessRequestCollectionItemApproverDetail
Contains the user ids who have approved the accessRequest for extension.
AuditTypes This property is required. []string
Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, auditing is enabled at the command level i.e., each command issued by the operator is audited. When keystroke-level is chosen, in addition to command level logging, key strokes are also logged.
ClosureComment This property is required. string
The comment entered by the operator while closing the request.
CompartmentId This property is required. string
The ID of the compartment in which to list resources.
DefinedTags This property is required. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Duration This property is required. int
Duration in hours for which access is sought on the target resource.
ExtendDuration This property is required. int
Duration in hours for which extension access is sought on the target resource.
ExtensionApproverDetails This property is required. []GetAccessRequestsAccessRequestCollectionItemExtensionApproverDetail
Contains the user ids who have approved the accessRequest for extension.
FreeformTags This property is required. map[string]string
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
Id This property is required. string
The OCID of the access request.
IsAutoApproved This property is required. bool
Whether the access request was automatically approved.
IsValidateAssignment This property is required. bool
Whether the access request was requested for Validate Assignment.
LifecycleDetails This property is required. string
more in detail about the lifeCycleState.
NumberOfApprovers This property is required. int
Number of approvers who have authorized an access request.
NumberOfApproversRequired This property is required. int
Number of approvers required to approve an access request.
NumberOfExtensionApprovers This property is required. int
Number of approvers who have authorized an access request for extension.
OpctlAdditionalMessage This property is required. string
Additional message specific to the access request that can be specified by the approver at the time of approval.
OpctlId This property is required. string
The OCID of the operator control governing the target resource.
OpctlName This property is required. string
Name of the Operator control governing the target resource.
OperatorId This property is required. string
A unique identifier associated with the operator who raised the request. This identifier can not be used directly to identify the operator. You need to provide this identifier if you would like Oracle to provide additional information about the operator action within Oracle tenancy.
Reason This property is required. string
Summary reason for which the operator is requesting access on the target resource.
RequestId This property is required. string
This is an automatic identifier generated by the system which is easier for human comprehension.
ResourceId This property is required. string
The OCID of the target resource associated with the access request. The operator raises an access request to get approval to access the target resource.
ResourceName This property is required. string
A filter to return only resources that match the given ResourceName.
ResourceType This property is required. string
A filter to return only lists of resources that match the entire given service type.
Severity This property is required. string
Priority assigned to the access request by the operator
State This property is required. string
A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
SubResourceLists This property is required. []string
The subresources requested for approval.
SystemMessage This property is required. string
System message that will be displayed to the operator at login to the target resource.
TimeOfCreation This property is required. string
Time when the access request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
TimeOfModification This property is required. string
Time when the access request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
TimeOfUserCreation This property is required. string
The time when access request is scheduled to be approved in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
TimeRequestedForFutureAccess This property is required. string
Time in future when the user for the access request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
UserId This property is required. string
The OCID of the user that last modified the access request.
WorkflowIds This property is required. []string
The OCID of the workflow associated with the access request. This is needed if you want to contact Oracle Support for a stuck access request or for an access request that encounters an internal error.
accessReasonSummary This property is required. String
Summary comment by the operator creating the access request.
actionRequestsLists This property is required. List<String>
List of operator actions for which approval is sought by the operator user.
approverComment This property is required. String
The last recent Comment entered by the approver of the request.
approverDetails This property is required. List<GetAccessRequestsAccessRequestCollectionItemApproverDetail>
Contains the user ids who have approved the accessRequest for extension.
auditTypes This property is required. List<String>
Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, auditing is enabled at the command level i.e., each command issued by the operator is audited. When keystroke-level is chosen, in addition to command level logging, key strokes are also logged.
closureComment This property is required. String
The comment entered by the operator while closing the request.
compartmentId This property is required. String
The ID of the compartment in which to list resources.
definedTags This property is required. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace.
duration This property is required. Integer
Duration in hours for which access is sought on the target resource.
extendDuration This property is required. Integer
Duration in hours for which extension access is sought on the target resource.
extensionApproverDetails This property is required. List<GetAccessRequestsAccessRequestCollectionItemExtensionApproverDetail>
Contains the user ids who have approved the accessRequest for extension.
freeformTags This property is required. Map<String,String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
id This property is required. String
The OCID of the access request.
isAutoApproved This property is required. Boolean
Whether the access request was automatically approved.
isValidateAssignment This property is required. Boolean
Whether the access request was requested for Validate Assignment.
lifecycleDetails This property is required. String
more in detail about the lifeCycleState.
numberOfApprovers This property is required. Integer
Number of approvers who have authorized an access request.
numberOfApproversRequired This property is required. Integer
Number of approvers required to approve an access request.
numberOfExtensionApprovers This property is required. Integer
Number of approvers who have authorized an access request for extension.
opctlAdditionalMessage This property is required. String
Additional message specific to the access request that can be specified by the approver at the time of approval.
opctlId This property is required. String
The OCID of the operator control governing the target resource.
opctlName This property is required. String
Name of the Operator control governing the target resource.
operatorId This property is required. String
A unique identifier associated with the operator who raised the request. This identifier can not be used directly to identify the operator. You need to provide this identifier if you would like Oracle to provide additional information about the operator action within Oracle tenancy.
reason This property is required. String
Summary reason for which the operator is requesting access on the target resource.
requestId This property is required. String
This is an automatic identifier generated by the system which is easier for human comprehension.
resourceId This property is required. String
The OCID of the target resource associated with the access request. The operator raises an access request to get approval to access the target resource.
resourceName This property is required. String
A filter to return only resources that match the given ResourceName.
resourceType This property is required. String
A filter to return only lists of resources that match the entire given service type.
severity This property is required. String
Priority assigned to the access request by the operator
state This property is required. String
A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
subResourceLists This property is required. List<String>
The subresources requested for approval.
systemMessage This property is required. String
System message that will be displayed to the operator at login to the target resource.
timeOfCreation This property is required. String
Time when the access request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
timeOfModification This property is required. String
Time when the access request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
timeOfUserCreation This property is required. String
The time when access request is scheduled to be approved in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
timeRequestedForFutureAccess This property is required. String
Time in future when the user for the access request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
userId This property is required. String
The OCID of the user that last modified the access request.
workflowIds This property is required. List<String>
The OCID of the workflow associated with the access request. This is needed if you want to contact Oracle Support for a stuck access request or for an access request that encounters an internal error.
accessReasonSummary This property is required. string
Summary comment by the operator creating the access request.
actionRequestsLists This property is required. string[]
List of operator actions for which approval is sought by the operator user.
approverComment This property is required. string
The last recent Comment entered by the approver of the request.
approverDetails This property is required. GetAccessRequestsAccessRequestCollectionItemApproverDetail[]
Contains the user ids who have approved the accessRequest for extension.
auditTypes This property is required. string[]
Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, auditing is enabled at the command level i.e., each command issued by the operator is audited. When keystroke-level is chosen, in addition to command level logging, key strokes are also logged.
closureComment This property is required. string
The comment entered by the operator while closing the request.
compartmentId This property is required. string
The ID of the compartment in which to list resources.
definedTags This property is required. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace.
duration This property is required. number
Duration in hours for which access is sought on the target resource.
extendDuration This property is required. number
Duration in hours for which extension access is sought on the target resource.
extensionApproverDetails This property is required. GetAccessRequestsAccessRequestCollectionItemExtensionApproverDetail[]
Contains the user ids who have approved the accessRequest for extension.
freeformTags This property is required. {[key: string]: string}
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
id This property is required. string
The OCID of the access request.
isAutoApproved This property is required. boolean
Whether the access request was automatically approved.
isValidateAssignment This property is required. boolean
Whether the access request was requested for Validate Assignment.
lifecycleDetails This property is required. string
more in detail about the lifeCycleState.
numberOfApprovers This property is required. number
Number of approvers who have authorized an access request.
numberOfApproversRequired This property is required. number
Number of approvers required to approve an access request.
numberOfExtensionApprovers This property is required. number
Number of approvers who have authorized an access request for extension.
opctlAdditionalMessage This property is required. string
Additional message specific to the access request that can be specified by the approver at the time of approval.
opctlId This property is required. string
The OCID of the operator control governing the target resource.
opctlName This property is required. string
Name of the Operator control governing the target resource.
operatorId This property is required. string
A unique identifier associated with the operator who raised the request. This identifier can not be used directly to identify the operator. You need to provide this identifier if you would like Oracle to provide additional information about the operator action within Oracle tenancy.
reason This property is required. string
Summary reason for which the operator is requesting access on the target resource.
requestId This property is required. string
This is an automatic identifier generated by the system which is easier for human comprehension.
resourceId This property is required. string
The OCID of the target resource associated with the access request. The operator raises an access request to get approval to access the target resource.
resourceName This property is required. string
A filter to return only resources that match the given ResourceName.
resourceType This property is required. string
A filter to return only lists of resources that match the entire given service type.
severity This property is required. string
Priority assigned to the access request by the operator
state This property is required. string
A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
subResourceLists This property is required. string[]
The subresources requested for approval.
systemMessage This property is required. string
System message that will be displayed to the operator at login to the target resource.
timeOfCreation This property is required. string
Time when the access request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
timeOfModification This property is required. string
Time when the access request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
timeOfUserCreation This property is required. string
The time when access request is scheduled to be approved in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
timeRequestedForFutureAccess This property is required. string
Time in future when the user for the access request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
userId This property is required. string
The OCID of the user that last modified the access request.
workflowIds This property is required. string[]
The OCID of the workflow associated with the access request. This is needed if you want to contact Oracle Support for a stuck access request or for an access request that encounters an internal error.
access_reason_summary This property is required. str
Summary comment by the operator creating the access request.
action_requests_lists This property is required. Sequence[str]
List of operator actions for which approval is sought by the operator user.
approver_comment This property is required. str
The last recent Comment entered by the approver of the request.
approver_details This property is required. Sequence[operatoraccesscontrol.GetAccessRequestsAccessRequestCollectionItemApproverDetail]
Contains the user ids who have approved the accessRequest for extension.
audit_types This property is required. Sequence[str]
Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, auditing is enabled at the command level i.e., each command issued by the operator is audited. When keystroke-level is chosen, in addition to command level logging, key strokes are also logged.
closure_comment This property is required. str
The comment entered by the operator while closing the request.
compartment_id This property is required. str
The ID of the compartment in which to list resources.
defined_tags This property is required. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace.
duration This property is required. int
Duration in hours for which access is sought on the target resource.
extend_duration This property is required. int
Duration in hours for which extension access is sought on the target resource.
extension_approver_details This property is required. Sequence[operatoraccesscontrol.GetAccessRequestsAccessRequestCollectionItemExtensionApproverDetail]
Contains the user ids who have approved the accessRequest for extension.
freeform_tags This property is required. Mapping[str, str]
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
id This property is required. str
The OCID of the access request.
is_auto_approved This property is required. bool
Whether the access request was automatically approved.
is_validate_assignment This property is required. bool
Whether the access request was requested for Validate Assignment.
lifecycle_details This property is required. str
more in detail about the lifeCycleState.
number_of_approvers This property is required. int
Number of approvers who have authorized an access request.
number_of_approvers_required This property is required. int
Number of approvers required to approve an access request.
number_of_extension_approvers This property is required. int
Number of approvers who have authorized an access request for extension.
opctl_additional_message This property is required. str
Additional message specific to the access request that can be specified by the approver at the time of approval.
opctl_id This property is required. str
The OCID of the operator control governing the target resource.
opctl_name This property is required. str
Name of the Operator control governing the target resource.
operator_id This property is required. str
A unique identifier associated with the operator who raised the request. This identifier can not be used directly to identify the operator. You need to provide this identifier if you would like Oracle to provide additional information about the operator action within Oracle tenancy.
reason This property is required. str
Summary reason for which the operator is requesting access on the target resource.
request_id This property is required. str
This is an automatic identifier generated by the system which is easier for human comprehension.
resource_id This property is required. str
The OCID of the target resource associated with the access request. The operator raises an access request to get approval to access the target resource.
resource_name This property is required. str
A filter to return only resources that match the given ResourceName.
resource_type This property is required. str
A filter to return only lists of resources that match the entire given service type.
severity This property is required. str
Priority assigned to the access request by the operator
state This property is required. str
A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
sub_resource_lists This property is required. Sequence[str]
The subresources requested for approval.
system_message This property is required. str
System message that will be displayed to the operator at login to the target resource.
time_of_creation This property is required. str
Time when the access request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
time_of_modification This property is required. str
Time when the access request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
time_of_user_creation This property is required. str
The time when access request is scheduled to be approved in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
time_requested_for_future_access This property is required. str
Time in future when the user for the access request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
user_id This property is required. str
The OCID of the user that last modified the access request.
workflow_ids This property is required. Sequence[str]
The OCID of the workflow associated with the access request. This is needed if you want to contact Oracle Support for a stuck access request or for an access request that encounters an internal error.
accessReasonSummary This property is required. String
Summary comment by the operator creating the access request.
actionRequestsLists This property is required. List<String>
List of operator actions for which approval is sought by the operator user.
approverComment This property is required. String
The last recent Comment entered by the approver of the request.
approverDetails This property is required. List<Property Map>
Contains the user ids who have approved the accessRequest for extension.
auditTypes This property is required. List<String>
Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, auditing is enabled at the command level i.e., each command issued by the operator is audited. When keystroke-level is chosen, in addition to command level logging, key strokes are also logged.
closureComment This property is required. String
The comment entered by the operator while closing the request.
compartmentId This property is required. String
The ID of the compartment in which to list resources.
definedTags This property is required. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace.
duration This property is required. Number
Duration in hours for which access is sought on the target resource.
extendDuration This property is required. Number
Duration in hours for which extension access is sought on the target resource.
extensionApproverDetails This property is required. List<Property Map>
Contains the user ids who have approved the accessRequest for extension.
freeformTags This property is required. Map<String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
id This property is required. String
The OCID of the access request.
isAutoApproved This property is required. Boolean
Whether the access request was automatically approved.
isValidateAssignment This property is required. Boolean
Whether the access request was requested for Validate Assignment.
lifecycleDetails This property is required. String
more in detail about the lifeCycleState.
numberOfApprovers This property is required. Number
Number of approvers who have authorized an access request.
numberOfApproversRequired This property is required. Number
Number of approvers required to approve an access request.
numberOfExtensionApprovers This property is required. Number
Number of approvers who have authorized an access request for extension.
opctlAdditionalMessage This property is required. String
Additional message specific to the access request that can be specified by the approver at the time of approval.
opctlId This property is required. String
The OCID of the operator control governing the target resource.
opctlName This property is required. String
Name of the Operator control governing the target resource.
operatorId This property is required. String
A unique identifier associated with the operator who raised the request. This identifier can not be used directly to identify the operator. You need to provide this identifier if you would like Oracle to provide additional information about the operator action within Oracle tenancy.
reason This property is required. String
Summary reason for which the operator is requesting access on the target resource.
requestId This property is required. String
This is an automatic identifier generated by the system which is easier for human comprehension.
resourceId This property is required. String
The OCID of the target resource associated with the access request. The operator raises an access request to get approval to access the target resource.
resourceName This property is required. String
A filter to return only resources that match the given ResourceName.
resourceType This property is required. String
A filter to return only lists of resources that match the entire given service type.
severity This property is required. String
Priority assigned to the access request by the operator
state This property is required. String
A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
subResourceLists This property is required. List<String>
The subresources requested for approval.
systemMessage This property is required. String
System message that will be displayed to the operator at login to the target resource.
timeOfCreation This property is required. String
Time when the access request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
timeOfModification This property is required. String
Time when the access request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
timeOfUserCreation This property is required. String
The time when access request is scheduled to be approved in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
timeRequestedForFutureAccess This property is required. String
Time in future when the user for the access request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
userId This property is required. String
The OCID of the user that last modified the access request.
workflowIds This property is required. List<String>
The OCID of the workflow associated with the access request. This is needed if you want to contact Oracle Support for a stuck access request or for an access request that encounters an internal error.

GetAccessRequestsAccessRequestCollectionItemApproverDetail

ApprovalAction This property is required. string
The action done by the approver.
ApprovalAdditionalMessage This property is required. string
Additional message specified by the approver of the request.
ApprovalComment This property is required. string
Comment specified by the approver of the request.
ApproverId This property is required. string
The userId of the approver.
TimeApprovedForAccess This property is required. string
Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
TimeOfAuthorization This property is required. string
Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
ApprovalAction This property is required. string
The action done by the approver.
ApprovalAdditionalMessage This property is required. string
Additional message specified by the approver of the request.
ApprovalComment This property is required. string
Comment specified by the approver of the request.
ApproverId This property is required. string
The userId of the approver.
TimeApprovedForAccess This property is required. string
Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
TimeOfAuthorization This property is required. string
Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
approvalAction This property is required. String
The action done by the approver.
approvalAdditionalMessage This property is required. String
Additional message specified by the approver of the request.
approvalComment This property is required. String
Comment specified by the approver of the request.
approverId This property is required. String
The userId of the approver.
timeApprovedForAccess This property is required. String
Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
timeOfAuthorization This property is required. String
Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
approvalAction This property is required. string
The action done by the approver.
approvalAdditionalMessage This property is required. string
Additional message specified by the approver of the request.
approvalComment This property is required. string
Comment specified by the approver of the request.
approverId This property is required. string
The userId of the approver.
timeApprovedForAccess This property is required. string
Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
timeOfAuthorization This property is required. string
Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
approval_action This property is required. str
The action done by the approver.
approval_additional_message This property is required. str
Additional message specified by the approver of the request.
approval_comment This property is required. str
Comment specified by the approver of the request.
approver_id This property is required. str
The userId of the approver.
time_approved_for_access This property is required. str
Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
time_of_authorization This property is required. str
Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
approvalAction This property is required. String
The action done by the approver.
approvalAdditionalMessage This property is required. String
Additional message specified by the approver of the request.
approvalComment This property is required. String
Comment specified by the approver of the request.
approverId This property is required. String
The userId of the approver.
timeApprovedForAccess This property is required. String
Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
timeOfAuthorization This property is required. String
Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'

GetAccessRequestsAccessRequestCollectionItemExtensionApproverDetail

ApprovalAction This property is required. string
The action done by the approver.
ApprovalAdditionalMessage This property is required. string
Additional message specified by the approver of the request.
ApprovalComment This property is required. string
Comment specified by the approver of the request.
ApproverId This property is required. string
The userId of the approver.
TimeApprovedForAccess This property is required. string
Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
TimeOfAuthorization This property is required. string
Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
ApprovalAction This property is required. string
The action done by the approver.
ApprovalAdditionalMessage This property is required. string
Additional message specified by the approver of the request.
ApprovalComment This property is required. string
Comment specified by the approver of the request.
ApproverId This property is required. string
The userId of the approver.
TimeApprovedForAccess This property is required. string
Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
TimeOfAuthorization This property is required. string
Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
approvalAction This property is required. String
The action done by the approver.
approvalAdditionalMessage This property is required. String
Additional message specified by the approver of the request.
approvalComment This property is required. String
Comment specified by the approver of the request.
approverId This property is required. String
The userId of the approver.
timeApprovedForAccess This property is required. String
Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
timeOfAuthorization This property is required. String
Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
approvalAction This property is required. string
The action done by the approver.
approvalAdditionalMessage This property is required. string
Additional message specified by the approver of the request.
approvalComment This property is required. string
Comment specified by the approver of the request.
approverId This property is required. string
The userId of the approver.
timeApprovedForAccess This property is required. string
Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
timeOfAuthorization This property is required. string
Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
approval_action This property is required. str
The action done by the approver.
approval_additional_message This property is required. str
Additional message specified by the approver of the request.
approval_comment This property is required. str
Comment specified by the approver of the request.
approver_id This property is required. str
The userId of the approver.
time_approved_for_access This property is required. str
Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
time_of_authorization This property is required. str
Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
approvalAction This property is required. String
The action done by the approver.
approvalAdditionalMessage This property is required. String
Additional message specified by the approver of the request.
approvalComment This property is required. String
Comment specified by the approver of the request.
approverId This property is required. String
The userId of the approver.
timeApprovedForAccess This property is required. String
Time for when the access request should start that is authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
timeOfAuthorization This property is required. String
Time when the access request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'

GetAccessRequestsFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi