1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DelegateAccessControl
  5. getDelegatedResourceAccessRequests
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.DelegateAccessControl.getDelegatedResourceAccessRequests

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

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

    Lists all Delegated Resource Access Requests in the compartment. Note that only one of lifecycleState or requestStatus query parameter can be used.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDelegatedResourceAccessRequests = oci.DelegateAccessControl.getDelegatedResourceAccessRequests({
        compartmentId: compartmentId,
        delegationControlId: testDelegationControl.id,
        requestStatus: delegatedResourceAccessRequestRequestStatus,
        resourceId: testResource.id,
        state: delegatedResourceAccessRequestState,
        timeEnd: delegatedResourceAccessRequestTimeEnd,
        timeStart: delegatedResourceAccessRequestTimeStart,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_delegated_resource_access_requests = oci.DelegateAccessControl.get_delegated_resource_access_requests(compartment_id=compartment_id,
        delegation_control_id=test_delegation_control["id"],
        request_status=delegated_resource_access_request_request_status,
        resource_id=test_resource["id"],
        state=delegated_resource_access_request_state,
        time_end=delegated_resource_access_request_time_end,
        time_start=delegated_resource_access_request_time_start)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DelegateAccessControl.GetDelegatedResourceAccessRequests(ctx, &delegateaccesscontrol.GetDelegatedResourceAccessRequestsArgs{
    			CompartmentId:       compartmentId,
    			DelegationControlId: pulumi.StringRef(testDelegationControl.Id),
    			RequestStatus:       pulumi.StringRef(delegatedResourceAccessRequestRequestStatus),
    			ResourceId:          pulumi.StringRef(testResource.Id),
    			State:               pulumi.StringRef(delegatedResourceAccessRequestState),
    			TimeEnd:             pulumi.StringRef(delegatedResourceAccessRequestTimeEnd),
    			TimeStart:           pulumi.StringRef(delegatedResourceAccessRequestTimeStart),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testDelegatedResourceAccessRequests = Oci.DelegateAccessControl.GetDelegatedResourceAccessRequests.Invoke(new()
        {
            CompartmentId = compartmentId,
            DelegationControlId = testDelegationControl.Id,
            RequestStatus = delegatedResourceAccessRequestRequestStatus,
            ResourceId = testResource.Id,
            State = delegatedResourceAccessRequestState,
            TimeEnd = delegatedResourceAccessRequestTimeEnd,
            TimeStart = delegatedResourceAccessRequestTimeStart,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
    import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestsArgs;
    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 testDelegatedResourceAccessRequests = DelegateAccessControlFunctions.getDelegatedResourceAccessRequests(GetDelegatedResourceAccessRequestsArgs.builder()
                .compartmentId(compartmentId)
                .delegationControlId(testDelegationControl.id())
                .requestStatus(delegatedResourceAccessRequestRequestStatus)
                .resourceId(testResource.id())
                .state(delegatedResourceAccessRequestState)
                .timeEnd(delegatedResourceAccessRequestTimeEnd)
                .timeStart(delegatedResourceAccessRequestTimeStart)
                .build());
    
        }
    }
    
    variables:
      testDelegatedResourceAccessRequests:
        fn::invoke:
          Function: oci:DelegateAccessControl:getDelegatedResourceAccessRequests
          Arguments:
            compartmentId: ${compartmentId}
            delegationControlId: ${testDelegationControl.id}
            requestStatus: ${delegatedResourceAccessRequestRequestStatus}
            resourceId: ${testResource.id}
            state: ${delegatedResourceAccessRequestState}
            timeEnd: ${delegatedResourceAccessRequestTimeEnd}
            timeStart: ${delegatedResourceAccessRequestTimeStart}
    

    Using getDelegatedResourceAccessRequests

    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 getDelegatedResourceAccessRequests(args: GetDelegatedResourceAccessRequestsArgs, opts?: InvokeOptions): Promise<GetDelegatedResourceAccessRequestsResult>
    function getDelegatedResourceAccessRequestsOutput(args: GetDelegatedResourceAccessRequestsOutputArgs, opts?: InvokeOptions): Output<GetDelegatedResourceAccessRequestsResult>
    def get_delegated_resource_access_requests(compartment_id: Optional[str] = None,
                                               delegation_control_id: Optional[str] = None,
                                               filters: Optional[Sequence[_delegateaccesscontrol.GetDelegatedResourceAccessRequestsFilter]] = None,
                                               request_status: Optional[str] = None,
                                               resource_id: Optional[str] = None,
                                               state: Optional[str] = None,
                                               time_end: Optional[str] = None,
                                               time_start: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetDelegatedResourceAccessRequestsResult
    def get_delegated_resource_access_requests_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                               delegation_control_id: Optional[pulumi.Input[str]] = None,
                                               filters: Optional[pulumi.Input[Sequence[pulumi.Input[_delegateaccesscontrol.GetDelegatedResourceAccessRequestsFilterArgs]]]] = None,
                                               request_status: Optional[pulumi.Input[str]] = None,
                                               resource_id: 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[GetDelegatedResourceAccessRequestsResult]
    func GetDelegatedResourceAccessRequests(ctx *Context, args *GetDelegatedResourceAccessRequestsArgs, opts ...InvokeOption) (*GetDelegatedResourceAccessRequestsResult, error)
    func GetDelegatedResourceAccessRequestsOutput(ctx *Context, args *GetDelegatedResourceAccessRequestsOutputArgs, opts ...InvokeOption) GetDelegatedResourceAccessRequestsResultOutput

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

    public static class GetDelegatedResourceAccessRequests 
    {
        public static Task<GetDelegatedResourceAccessRequestsResult> InvokeAsync(GetDelegatedResourceAccessRequestsArgs args, InvokeOptions? opts = null)
        public static Output<GetDelegatedResourceAccessRequestsResult> Invoke(GetDelegatedResourceAccessRequestsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDelegatedResourceAccessRequestsResult> getDelegatedResourceAccessRequests(GetDelegatedResourceAccessRequestsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DelegateAccessControl/getDelegatedResourceAccessRequests:getDelegatedResourceAccessRequests
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment.
    DelegationControlId string
    unique Delegation Control identifier
    Filters List<GetDelegatedResourceAccessRequestsFilter>
    RequestStatus string
    A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status.
    ResourceId string
    A filter to return only Delegated Resource Access Requests for the given resource identifier.
    State string
    A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState.
    TimeEnd string
    Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be 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 cannot be used together.
    CompartmentId string
    The OCID of the compartment.
    DelegationControlId string
    unique Delegation Control identifier
    Filters []GetDelegatedResourceAccessRequestsFilter
    RequestStatus string
    A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status.
    ResourceId string
    A filter to return only Delegated Resource Access Requests for the given resource identifier.
    State string
    A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState.
    TimeEnd string
    Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be 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 cannot be used together.
    compartmentId String
    The OCID of the compartment.
    delegationControlId String
    unique Delegation Control identifier
    filters List<GetDelegatedResourceAccessRequestsFilter>
    requestStatus String
    A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status.
    resourceId String
    A filter to return only Delegated Resource Access Requests for the given resource identifier.
    state String
    A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState.
    timeEnd String
    Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be 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 cannot be used together.
    compartmentId string
    The OCID of the compartment.
    delegationControlId string
    unique Delegation Control identifier
    filters GetDelegatedResourceAccessRequestsFilter[]
    requestStatus string
    A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status.
    resourceId string
    A filter to return only Delegated Resource Access Requests for the given resource identifier.
    state string
    A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState.
    timeEnd string
    Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be 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 cannot be used together.
    compartment_id str
    The OCID of the compartment.
    delegation_control_id str
    unique Delegation Control identifier
    filters Sequence[delegateaccesscontrol.GetDelegatedResourceAccessRequestsFilter]
    request_status str
    A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status.
    resource_id str
    A filter to return only Delegated Resource Access Requests for the given resource identifier.
    state str
    A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState.
    time_end str
    Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be 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 cannot be used together.
    compartmentId String
    The OCID of the compartment.
    delegationControlId String
    unique Delegation Control identifier
    filters List<Property Map>
    requestStatus String
    A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status.
    resourceId String
    A filter to return only Delegated Resource Access Requests for the given resource identifier.
    state String
    A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState.
    timeEnd String
    Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be 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 cannot be used together.

    getDelegatedResourceAccessRequests Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment that contains the Delegated Resource Access Request.
    DelegatedResourceAccessRequestSummaryCollections List<GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection>
    The list of delegated_resource_access_request_summary_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    DelegationControlId string
    The OCID of the Delegation Control governing the target resource.
    Filters List<GetDelegatedResourceAccessRequestsFilter>
    RequestStatus string
    The current status of the Delegated Resource Access Request.
    ResourceId 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.
    State string
    The current lifecycle state of the Delegated Resource Access Request.
    TimeEnd string
    TimeStart string
    CompartmentId string
    The OCID of the compartment that contains the Delegated Resource Access Request.
    DelegatedResourceAccessRequestSummaryCollections []GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection
    The list of delegated_resource_access_request_summary_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    DelegationControlId string
    The OCID of the Delegation Control governing the target resource.
    Filters []GetDelegatedResourceAccessRequestsFilter
    RequestStatus string
    The current status of the Delegated Resource Access Request.
    ResourceId 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.
    State string
    The current lifecycle state of the Delegated Resource Access Request.
    TimeEnd string
    TimeStart string
    compartmentId String
    The OCID of the compartment that contains the Delegated Resource Access Request.
    delegatedResourceAccessRequestSummaryCollections List<GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection>
    The list of delegated_resource_access_request_summary_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    delegationControlId String
    The OCID of the Delegation Control governing the target resource.
    filters List<GetDelegatedResourceAccessRequestsFilter>
    requestStatus String
    The current status of the Delegated Resource Access Request.
    resourceId 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.
    state String
    The current lifecycle state of the Delegated Resource Access Request.
    timeEnd String
    timeStart String
    compartmentId string
    The OCID of the compartment that contains the Delegated Resource Access Request.
    delegatedResourceAccessRequestSummaryCollections GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection[]
    The list of delegated_resource_access_request_summary_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    delegationControlId string
    The OCID of the Delegation Control governing the target resource.
    filters GetDelegatedResourceAccessRequestsFilter[]
    requestStatus string
    The current status of the Delegated Resource Access Request.
    resourceId 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.
    state string
    The current lifecycle state of the Delegated Resource Access Request.
    timeEnd string
    timeStart string
    compartment_id str
    The OCID of the compartment that contains the Delegated Resource Access Request.
    delegated_resource_access_request_summary_collections Sequence[delegateaccesscontrol.GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection]
    The list of delegated_resource_access_request_summary_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    delegation_control_id str
    The OCID of the Delegation Control governing the target resource.
    filters Sequence[delegateaccesscontrol.GetDelegatedResourceAccessRequestsFilter]
    request_status str
    The current status of the Delegated Resource Access Request.
    resource_id str
    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.
    state str
    The current lifecycle state of the Delegated Resource Access Request.
    time_end str
    time_start str
    compartmentId String
    The OCID of the compartment that contains the Delegated Resource Access Request.
    delegatedResourceAccessRequestSummaryCollections List<Property Map>
    The list of delegated_resource_access_request_summary_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    delegationControlId String
    The OCID of the Delegation Control governing the target resource.
    filters List<Property Map>
    requestStatus String
    The current status of the Delegated Resource Access Request.
    resourceId 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.
    state String
    The current lifecycle state of the Delegated Resource Access Request.
    timeEnd String
    timeStart String

    Supporting Types

    GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection

    GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem

    ApprovalInfos List<GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo>
    In case of single approval, this will have only one item. Else, a list of approvals.
    AuditTypes List<string>
    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 string
    The comment entered by the support operator while closing the request.
    CompartmentId string
    The OCID of the compartment.
    DatabaseNameLists 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 Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DelegationControlId string
    unique Delegation Control identifier
    DelegationSubscriptionIds List<string>
    List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested.
    Description string
    Detailed description of this Delegated Resource Access Request.
    DisplayName string
    Display name. This is generated by the system automatically.
    DurationInHours int
    Duration in hours for which access is sought on the target resource.
    ExtendDurationInHours int
    Duration in hours for which extension access is sought on the target resource.
    FreeformTags 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"}
    Id string
    The OCID of the Delegated Resource Access Request.
    IsAutoApproved bool
    Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control.
    IsPendingMoreInfo bool
    Indicates if the delegated resource access request is waiting on more information from the operator
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    NumExtensionApprovals int
    Number of extension approvals that have been obtained so far.
    NumInitialApprovals int
    Number of initial approvals that have been obtained so far.
    ProvidedServiceTypes List<string>
    List of Service Provider Service Types being provided by the support operator user.
    ReasonForRequest string
    A short description explaining why this Delegated Resource Access Request is needed by the support operator.
    RequestStatus string
    A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status.
    RequestedActionNames 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 string
    Requester type
    ResourceId string
    A filter to return only Delegated Resource Access Requests for the given resource identifier.
    ResourceName 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 string
    Resource type for which the associated Delegation Control is applicable to.
    Severity string
    Priority assigned to the Delegated Resource Access Request by the support operator
    State string
    A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TicketNumbers 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 string
    Requested access start time in UTC.
    TimeCreated string
    Time when the Delegated Resource Access Request was created in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
    TimeUpdated string
    Time when the Delegated Resource Access Request was last modified in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
    ApprovalInfos []GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo
    In case of single approval, this will have only one item. Else, a list of approvals.
    AuditTypes []string
    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 string
    The comment entered by the support operator while closing the request.
    CompartmentId string
    The OCID of the compartment.
    DatabaseNameLists []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 map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DelegationControlId string
    unique Delegation Control identifier
    DelegationSubscriptionIds []string
    List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested.
    Description string
    Detailed description of this Delegated Resource Access Request.
    DisplayName string
    Display name. This is generated by the system automatically.
    DurationInHours int
    Duration in hours for which access is sought on the target resource.
    ExtendDurationInHours int
    Duration in hours for which extension access is sought on the target resource.
    FreeformTags map[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"}
    Id string
    The OCID of the Delegated Resource Access Request.
    IsAutoApproved bool
    Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control.
    IsPendingMoreInfo bool
    Indicates if the delegated resource access request is waiting on more information from the operator
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    NumExtensionApprovals int
    Number of extension approvals that have been obtained so far.
    NumInitialApprovals int
    Number of initial approvals that have been obtained so far.
    ProvidedServiceTypes []string
    List of Service Provider Service Types being provided by the support operator user.
    ReasonForRequest string
    A short description explaining why this Delegated Resource Access Request is needed by the support operator.
    RequestStatus string
    A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status.
    RequestedActionNames []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 string
    Requester type
    ResourceId string
    A filter to return only Delegated Resource Access Requests for the given resource identifier.
    ResourceName 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 string
    Resource type for which the associated Delegation Control is applicable to.
    Severity string
    Priority assigned to the Delegated Resource Access Request by the support operator
    State string
    A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TicketNumbers []string
    A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number.
    TimeAccessRequested string
    Requested access start time in UTC.
    TimeCreated string
    Time when the Delegated Resource Access Request was created in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
    TimeUpdated string
    Time when the Delegated Resource Access Request was last modified in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
    approvalInfos List<GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo>
    In case of single approval, this will have only one item. Else, a list of approvals.
    auditTypes List<String>
    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 String
    The comment entered by the support operator while closing the request.
    compartmentId String
    The OCID of the compartment.
    databaseNameLists 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 Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    delegationControlId String
    unique Delegation Control identifier
    delegationSubscriptionIds List<String>
    List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested.
    description String
    Detailed description of this Delegated Resource Access Request.
    displayName String
    Display name. This is generated by the system automatically.
    durationInHours Integer
    Duration in hours for which access is sought on the target resource.
    extendDurationInHours Integer
    Duration in hours for which extension access is sought on the target resource.
    freeformTags Map<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"}
    id String
    The OCID of the Delegated Resource Access Request.
    isAutoApproved Boolean
    Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control.
    isPendingMoreInfo Boolean
    Indicates if the delegated resource access request is waiting on more information from the operator
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    numExtensionApprovals Integer
    Number of extension approvals that have been obtained so far.
    numInitialApprovals Integer
    Number of initial approvals that have been obtained so far.
    providedServiceTypes List<String>
    List of Service Provider Service Types being provided by the support operator user.
    reasonForRequest String
    A short description explaining why this Delegated Resource Access Request is needed by the support operator.
    requestStatus String
    A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status.
    requestedActionNames 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 String
    Requester type
    resourceId String
    A filter to return only Delegated Resource Access Requests for the given resource identifier.
    resourceName 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 String
    Resource type for which the associated Delegation Control is applicable to.
    severity String
    Priority assigned to the Delegated Resource Access Request by the support operator
    state String
    A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    ticketNumbers 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 String
    Requested access start time in UTC.
    timeCreated String
    Time when the Delegated Resource Access Request was created in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
    timeUpdated String
    Time when the Delegated Resource Access Request was last modified in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
    approvalInfos GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo[]
    In case of single approval, this will have only one item. Else, a list of approvals.
    auditTypes string[]
    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 string
    The comment entered by the support operator while closing the request.
    compartmentId string
    The OCID of the compartment.
    databaseNameLists 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 {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    delegationControlId string
    unique Delegation Control identifier
    delegationSubscriptionIds string[]
    List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested.
    description string
    Detailed description of this Delegated Resource Access Request.
    displayName string
    Display name. This is generated by the system automatically.
    durationInHours number
    Duration in hours for which access is sought on the target resource.
    extendDurationInHours number
    Duration in hours for which extension access is sought on the target resource.
    freeformTags {[key: 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"}
    id string
    The OCID of the Delegated Resource Access Request.
    isAutoApproved boolean
    Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control.
    isPendingMoreInfo boolean
    Indicates if the delegated resource access request is waiting on more information from the operator
    lifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    numExtensionApprovals number
    Number of extension approvals that have been obtained so far.
    numInitialApprovals number
    Number of initial approvals that have been obtained so far.
    providedServiceTypes string[]
    List of Service Provider Service Types being provided by the support operator user.
    reasonForRequest string
    A short description explaining why this Delegated Resource Access Request is needed by the support operator.
    requestStatus string
    A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status.
    requestedActionNames 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 string
    Requester type
    resourceId string
    A filter to return only Delegated Resource Access Requests for the given resource identifier.
    resourceName 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 string
    Resource type for which the associated Delegation Control is applicable to.
    severity string
    Priority assigned to the Delegated Resource Access Request by the support operator
    state string
    A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    ticketNumbers string[]
    A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number.
    timeAccessRequested string
    Requested access start time in UTC.
    timeCreated string
    Time when the Delegated Resource Access Request was created in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
    timeUpdated string
    Time when the Delegated Resource Access Request was last modified in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
    approval_infos Sequence[delegateaccesscontrol.GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo]
    In case of single approval, this will have only one item. Else, a list of approvals.
    audit_types Sequence[str]
    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.
    closure_comment str
    The comment entered by the support operator while closing the request.
    compartment_id str
    The OCID of the compartment.
    database_name_lists Sequence[str]
    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.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    delegation_control_id str
    unique Delegation Control identifier
    delegation_subscription_ids Sequence[str]
    List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested.
    description str
    Detailed description of this Delegated Resource Access Request.
    display_name str
    Display name. This is generated by the system automatically.
    duration_in_hours int
    Duration in hours for which access is sought on the target resource.
    extend_duration_in_hours int
    Duration in hours for which extension access is sought on the target resource.
    freeform_tags Mapping[str, str]
    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"}
    id str
    The OCID of the Delegated Resource Access Request.
    is_auto_approved bool
    Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control.
    is_pending_more_info bool
    Indicates if the delegated resource access request is waiting on more information from the operator
    lifecycle_state_details str
    Description of the current lifecycle state in more detail.
    num_extension_approvals int
    Number of extension approvals that have been obtained so far.
    num_initial_approvals int
    Number of initial approvals that have been obtained so far.
    provided_service_types Sequence[str]
    List of Service Provider Service Types being provided by the support operator user.
    reason_for_request str
    A short description explaining why this Delegated Resource Access Request is needed by the support operator.
    request_status str
    A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status.
    requested_action_names Sequence[str]
    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.
    requester_type str
    Requester type
    resource_id str
    A filter to return only Delegated Resource Access Requests for the given resource identifier.
    resource_name str
    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.
    resource_type str
    Resource type for which the associated Delegation Control is applicable to.
    severity str
    Priority assigned to the Delegated Resource Access Request by the support operator
    state str
    A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    ticket_numbers Sequence[str]
    A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number.
    time_access_requested str
    Requested access start time in UTC.
    time_created str
    Time when the Delegated Resource Access Request was created in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
    time_updated str
    Time when the Delegated Resource Access Request was last modified in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
    approvalInfos List<Property Map>
    In case of single approval, this will have only one item. Else, a list of approvals.
    auditTypes List<String>
    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 String
    The comment entered by the support operator while closing the request.
    compartmentId String
    The OCID of the compartment.
    databaseNameLists 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 Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    delegationControlId String
    unique Delegation Control identifier
    delegationSubscriptionIds List<String>
    List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested.
    description String
    Detailed description of this Delegated Resource Access Request.
    displayName String
    Display name. This is generated by the system automatically.
    durationInHours Number
    Duration in hours for which access is sought on the target resource.
    extendDurationInHours Number
    Duration in hours for which extension access is sought on the target resource.
    freeformTags Map<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"}
    id String
    The OCID of the Delegated Resource Access Request.
    isAutoApproved Boolean
    Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control.
    isPendingMoreInfo Boolean
    Indicates if the delegated resource access request is waiting on more information from the operator
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    numExtensionApprovals Number
    Number of extension approvals that have been obtained so far.
    numInitialApprovals Number
    Number of initial approvals that have been obtained so far.
    providedServiceTypes List<String>
    List of Service Provider Service Types being provided by the support operator user.
    reasonForRequest String
    A short description explaining why this Delegated Resource Access Request is needed by the support operator.
    requestStatus String
    A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status.
    requestedActionNames 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 String
    Requester type
    resourceId String
    A filter to return only Delegated Resource Access Requests for the given resource identifier.
    resourceName 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 String
    Resource type for which the associated Delegation Control is applicable to.
    severity String
    Priority assigned to the Delegated Resource Access Request by the support operator
    state String
    A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    ticketNumbers 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 String
    Requested access start time in UTC.
    timeCreated String
    Time when the Delegated Resource Access Request was created in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
    timeUpdated String
    Time when the Delegated Resource Access Request was last modified in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.

    GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo

    ApprovalAction string
    Indicated whether the request is approved or rejected.
    ApprovalType string
    approval type, initial or extension
    ApproverAdditionalMessage string
    Additional message specified by the approver of the request.
    ApproverComment string
    Comment specified by the approver of the request.
    ApproverId string
    User ID of the approver.
    TimeApprovedForAccess string
    Access start time that is actually approved by the customer in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
    ApprovalAction string
    Indicated whether the request is approved or rejected.
    ApprovalType string
    approval type, initial or extension
    ApproverAdditionalMessage string
    Additional message specified by the approver of the request.
    ApproverComment string
    Comment specified by the approver of the request.
    ApproverId string
    User ID of the approver.
    TimeApprovedForAccess string
    Access start time that is actually approved by the customer in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
    approvalAction String
    Indicated whether the request is approved or rejected.
    approvalType String
    approval type, initial or extension
    approverAdditionalMessage String
    Additional message specified by the approver of the request.
    approverComment String
    Comment specified by the approver of the request.
    approverId String
    User ID of the approver.
    timeApprovedForAccess String
    Access start time that is actually approved by the customer in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
    approvalAction string
    Indicated whether the request is approved or rejected.
    approvalType string
    approval type, initial or extension
    approverAdditionalMessage string
    Additional message specified by the approver of the request.
    approverComment string
    Comment specified by the approver of the request.
    approverId string
    User ID of the approver.
    timeApprovedForAccess string
    Access start time that is actually approved by the customer in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
    approval_action str
    Indicated whether the request is approved or rejected.
    approval_type str
    approval type, initial or extension
    approver_additional_message str
    Additional message specified by the approver of the request.
    approver_comment str
    Comment specified by the approver of the request.
    approver_id str
    User ID of the approver.
    time_approved_for_access str
    Access start time that is actually approved by the customer in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.
    approvalAction String
    Indicated whether the request is approved or rejected.
    approvalType String
    approval type, initial or extension
    approverAdditionalMessage String
    Additional message specified by the approver of the request.
    approverComment String
    Comment specified by the approver of the request.
    approverId String
    User ID of the approver.
    timeApprovedForAccess String
    Access start time that is actually approved by the customer in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'.

    GetDelegatedResourceAccessRequestsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values 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.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi