1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. ApiaccesscontrolPrivilegedApiRequest
Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
oci logo
Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testPrivilegedApiRequest = new oci.oci.ApiaccesscontrolPrivilegedApiRequest("test_privileged_api_request", {
        privilegedOperationLists: [{
            apiName: testApi.name,
            attributeNames: privilegedApiRequestPrivilegedOperationListAttributeNames,
        }],
        reasonSummary: privilegedApiRequestReasonSummary,
        resourceId: testResource.id,
        compartmentId: compartmentId,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        durationInHrs: privilegedApiRequestDurationInHrs,
        freeformTags: {
            Department: "Finance",
        },
        notificationTopicId: testNotificationTopic.id,
        reasonDetail: privilegedApiRequestReasonDetail,
        severity: privilegedApiRequestSeverity,
        subResourceNameLists: privilegedApiRequestSubResourceNameList,
        ticketNumbers: privilegedApiRequestTicketNumbers,
        timeRequestedForFutureAccess: privilegedApiRequestTimeRequestedForFutureAccess,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_privileged_api_request = oci.oci.ApiaccesscontrolPrivilegedApiRequest("test_privileged_api_request",
        privileged_operation_lists=[{
            "api_name": test_api["name"],
            "attribute_names": privileged_api_request_privileged_operation_list_attribute_names,
        }],
        reason_summary=privileged_api_request_reason_summary,
        resource_id=test_resource["id"],
        compartment_id=compartment_id,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        duration_in_hrs=privileged_api_request_duration_in_hrs,
        freeform_tags={
            "Department": "Finance",
        },
        notification_topic_id=test_notification_topic["id"],
        reason_detail=privileged_api_request_reason_detail,
        severity=privileged_api_request_severity,
        sub_resource_name_lists=privileged_api_request_sub_resource_name_list,
        ticket_numbers=privileged_api_request_ticket_numbers,
        time_requested_for_future_access=privileged_api_request_time_requested_for_future_access)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.NewApiaccesscontrolPrivilegedApiRequest(ctx, "test_privileged_api_request", &oci.ApiaccesscontrolPrivilegedApiRequestArgs{
    			PrivilegedOperationLists: oci.ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationListArray{
    				&oci.ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationListArgs{
    					ApiName:        pulumi.Any(testApi.Name),
    					AttributeNames: pulumi.Any(privilegedApiRequestPrivilegedOperationListAttributeNames),
    				},
    			},
    			ReasonSummary: pulumi.Any(privilegedApiRequestReasonSummary),
    			ResourceId:    pulumi.Any(testResource.Id),
    			CompartmentId: pulumi.Any(compartmentId),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			DurationInHrs: pulumi.Any(privilegedApiRequestDurationInHrs),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			NotificationTopicId:          pulumi.Any(testNotificationTopic.Id),
    			ReasonDetail:                 pulumi.Any(privilegedApiRequestReasonDetail),
    			Severity:                     pulumi.Any(privilegedApiRequestSeverity),
    			SubResourceNameLists:         pulumi.Any(privilegedApiRequestSubResourceNameList),
    			TicketNumbers:                pulumi.Any(privilegedApiRequestTicketNumbers),
    			TimeRequestedForFutureAccess: pulumi.Any(privilegedApiRequestTimeRequestedForFutureAccess),
    		})
    		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 testPrivilegedApiRequest = new Oci.Oci.ApiaccesscontrolPrivilegedApiRequest("test_privileged_api_request", new()
        {
            PrivilegedOperationLists = new[]
            {
                new Oci.Oci.Inputs.ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationListArgs
                {
                    ApiName = testApi.Name,
                    AttributeNames = privilegedApiRequestPrivilegedOperationListAttributeNames,
                },
            },
            ReasonSummary = privilegedApiRequestReasonSummary,
            ResourceId = testResource.Id,
            CompartmentId = compartmentId,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DurationInHrs = privilegedApiRequestDurationInHrs,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            NotificationTopicId = testNotificationTopic.Id,
            ReasonDetail = privilegedApiRequestReasonDetail,
            Severity = privilegedApiRequestSeverity,
            SubResourceNameLists = privilegedApiRequestSubResourceNameList,
            TicketNumbers = privilegedApiRequestTicketNumbers,
            TimeRequestedForFutureAccess = privilegedApiRequestTimeRequestedForFutureAccess,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.ApiaccesscontrolPrivilegedApiRequest;
    import com.pulumi.oci.oci.ApiaccesscontrolPrivilegedApiRequestArgs;
    import com.pulumi.oci.oci.inputs.ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationListArgs;
    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) {
            var testPrivilegedApiRequest = new ApiaccesscontrolPrivilegedApiRequest("testPrivilegedApiRequest", ApiaccesscontrolPrivilegedApiRequestArgs.builder()
                .privilegedOperationLists(ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationListArgs.builder()
                    .apiName(testApi.name())
                    .attributeNames(privilegedApiRequestPrivilegedOperationListAttributeNames)
                    .build())
                .reasonSummary(privilegedApiRequestReasonSummary)
                .resourceId(testResource.id())
                .compartmentId(compartmentId)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .durationInHrs(privilegedApiRequestDurationInHrs)
                .freeformTags(Map.of("Department", "Finance"))
                .notificationTopicId(testNotificationTopic.id())
                .reasonDetail(privilegedApiRequestReasonDetail)
                .severity(privilegedApiRequestSeverity)
                .subResourceNameLists(privilegedApiRequestSubResourceNameList)
                .ticketNumbers(privilegedApiRequestTicketNumbers)
                .timeRequestedForFutureAccess(privilegedApiRequestTimeRequestedForFutureAccess)
                .build());
    
        }
    }
    
    resources:
      testPrivilegedApiRequest:
        type: oci:oci:ApiaccesscontrolPrivilegedApiRequest
        name: test_privileged_api_request
        properties:
          privilegedOperationLists:
            - apiName: ${testApi.name}
              attributeNames: ${privilegedApiRequestPrivilegedOperationListAttributeNames}
          reasonSummary: ${privilegedApiRequestReasonSummary}
          resourceId: ${testResource.id}
          compartmentId: ${compartmentId}
          definedTags:
            Operations.CostCenter: '42'
          durationInHrs: ${privilegedApiRequestDurationInHrs}
          freeformTags:
            Department: Finance
          notificationTopicId: ${testNotificationTopic.id}
          reasonDetail: ${privilegedApiRequestReasonDetail}
          severity: ${privilegedApiRequestSeverity}
          subResourceNameLists: ${privilegedApiRequestSubResourceNameList}
          ticketNumbers: ${privilegedApiRequestTicketNumbers}
          timeRequestedForFutureAccess: ${privilegedApiRequestTimeRequestedForFutureAccess}
    

    Create ApiaccesscontrolPrivilegedApiRequest Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ApiaccesscontrolPrivilegedApiRequest(name: string, args: ApiaccesscontrolPrivilegedApiRequestArgs, opts?: CustomResourceOptions);
    @overload
    def ApiaccesscontrolPrivilegedApiRequest(resource_name: str,
                                             args: ApiaccesscontrolPrivilegedApiRequestArgs,
                                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApiaccesscontrolPrivilegedApiRequest(resource_name: str,
                                             opts: Optional[ResourceOptions] = None,
                                             privileged_operation_lists: Optional[Sequence[ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationListArgs]] = None,
                                             resource_id: Optional[str] = None,
                                             reason_summary: Optional[str] = None,
                                             reason_detail: Optional[str] = None,
                                             notification_topic_id: Optional[str] = None,
                                             freeform_tags: Optional[Mapping[str, str]] = None,
                                             compartment_id: Optional[str] = None,
                                             duration_in_hrs: Optional[int] = None,
                                             defined_tags: Optional[Mapping[str, str]] = None,
                                             severity: Optional[str] = None,
                                             sub_resource_name_lists: Optional[Sequence[str]] = None,
                                             ticket_numbers: Optional[Sequence[str]] = None,
                                             time_requested_for_future_access: Optional[str] = None)
    func NewApiaccesscontrolPrivilegedApiRequest(ctx *Context, name string, args ApiaccesscontrolPrivilegedApiRequestArgs, opts ...ResourceOption) (*ApiaccesscontrolPrivilegedApiRequest, error)
    public ApiaccesscontrolPrivilegedApiRequest(string name, ApiaccesscontrolPrivilegedApiRequestArgs args, CustomResourceOptions? opts = null)
    public ApiaccesscontrolPrivilegedApiRequest(String name, ApiaccesscontrolPrivilegedApiRequestArgs args)
    public ApiaccesscontrolPrivilegedApiRequest(String name, ApiaccesscontrolPrivilegedApiRequestArgs args, CustomResourceOptions options)
    
    type: oci:oci:ApiaccesscontrolPrivilegedApiRequest
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ApiaccesscontrolPrivilegedApiRequestArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ApiaccesscontrolPrivilegedApiRequestArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ApiaccesscontrolPrivilegedApiRequestArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApiaccesscontrolPrivilegedApiRequestArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApiaccesscontrolPrivilegedApiRequestArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var apiaccesscontrolPrivilegedApiRequestResource = new Oci.Oci.ApiaccesscontrolPrivilegedApiRequest("apiaccesscontrolPrivilegedApiRequestResource", new()
    {
        PrivilegedOperationLists = new[]
        {
            new Oci.Oci.Inputs.ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationListArgs
            {
                ApiName = "string",
                AttributeNames = new[]
                {
                    "string",
                },
            },
        },
        ResourceId = "string",
        ReasonSummary = "string",
        ReasonDetail = "string",
        NotificationTopicId = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        CompartmentId = "string",
        DurationInHrs = 0,
        DefinedTags = 
        {
            { "string", "string" },
        },
        Severity = "string",
        SubResourceNameLists = new[]
        {
            "string",
        },
        TicketNumbers = new[]
        {
            "string",
        },
        TimeRequestedForFutureAccess = "string",
    });
    
    example, err := oci.NewApiaccesscontrolPrivilegedApiRequest(ctx, "apiaccesscontrolPrivilegedApiRequestResource", &oci.ApiaccesscontrolPrivilegedApiRequestArgs{
    	PrivilegedOperationLists: oci.ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationListArray{
    		&oci.ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationListArgs{
    			ApiName: pulumi.String("string"),
    			AttributeNames: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	ResourceId:          pulumi.String("string"),
    	ReasonSummary:       pulumi.String("string"),
    	ReasonDetail:        pulumi.String("string"),
    	NotificationTopicId: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	CompartmentId: pulumi.String("string"),
    	DurationInHrs: pulumi.Int(0),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Severity: pulumi.String("string"),
    	SubResourceNameLists: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TicketNumbers: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TimeRequestedForFutureAccess: pulumi.String("string"),
    })
    
    var apiaccesscontrolPrivilegedApiRequestResource = new ApiaccesscontrolPrivilegedApiRequest("apiaccesscontrolPrivilegedApiRequestResource", ApiaccesscontrolPrivilegedApiRequestArgs.builder()
        .privilegedOperationLists(ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationListArgs.builder()
            .apiName("string")
            .attributeNames("string")
            .build())
        .resourceId("string")
        .reasonSummary("string")
        .reasonDetail("string")
        .notificationTopicId("string")
        .freeformTags(Map.of("string", "string"))
        .compartmentId("string")
        .durationInHrs(0)
        .definedTags(Map.of("string", "string"))
        .severity("string")
        .subResourceNameLists("string")
        .ticketNumbers("string")
        .timeRequestedForFutureAccess("string")
        .build());
    
    apiaccesscontrol_privileged_api_request_resource = oci.oci.ApiaccesscontrolPrivilegedApiRequest("apiaccesscontrolPrivilegedApiRequestResource",
        privileged_operation_lists=[{
            "api_name": "string",
            "attribute_names": ["string"],
        }],
        resource_id="string",
        reason_summary="string",
        reason_detail="string",
        notification_topic_id="string",
        freeform_tags={
            "string": "string",
        },
        compartment_id="string",
        duration_in_hrs=0,
        defined_tags={
            "string": "string",
        },
        severity="string",
        sub_resource_name_lists=["string"],
        ticket_numbers=["string"],
        time_requested_for_future_access="string")
    
    const apiaccesscontrolPrivilegedApiRequestResource = new oci.oci.ApiaccesscontrolPrivilegedApiRequest("apiaccesscontrolPrivilegedApiRequestResource", {
        privilegedOperationLists: [{
            apiName: "string",
            attributeNames: ["string"],
        }],
        resourceId: "string",
        reasonSummary: "string",
        reasonDetail: "string",
        notificationTopicId: "string",
        freeformTags: {
            string: "string",
        },
        compartmentId: "string",
        durationInHrs: 0,
        definedTags: {
            string: "string",
        },
        severity: "string",
        subResourceNameLists: ["string"],
        ticketNumbers: ["string"],
        timeRequestedForFutureAccess: "string",
    });
    
    type: oci:oci:ApiaccesscontrolPrivilegedApiRequest
    properties:
        compartmentId: string
        definedTags:
            string: string
        durationInHrs: 0
        freeformTags:
            string: string
        notificationTopicId: string
        privilegedOperationLists:
            - apiName: string
              attributeNames:
                - string
        reasonDetail: string
        reasonSummary: string
        resourceId: string
        severity: string
        subResourceNameLists:
            - string
        ticketNumbers:
            - string
        timeRequestedForFutureAccess: string
    

    ApiaccesscontrolPrivilegedApiRequest Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ApiaccesscontrolPrivilegedApiRequest resource accepts the following input properties:

    PrivilegedOperationLists List<ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationList>
    List of api names, attributes for which approval is sought by the user.
    ReasonSummary string
    Summary comment by the operator creating the access request.
    ResourceId 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.
    CompartmentId string
    The OCID of the compartment.
    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"}
    DurationInHrs int
    Duration in hours for which 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"}
    NotificationTopicId string
    The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
    ReasonDetail string
    Reason in detail for which the operator is requesting access on the target resource.
    Severity string
    Priority assigned to the access request by the operator
    SubResourceNameLists List<string>
    The subresource names requested for approval.
    TicketNumbers List<string>
    A list of ticket numbers related to this Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
    TimeRequestedForFutureAccess string

    Time in future when the user for the privilegedApi request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    PrivilegedOperationLists []ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationListArgs
    List of api names, attributes for which approval is sought by the user.
    ReasonSummary string
    Summary comment by the operator creating the access request.
    ResourceId 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.
    CompartmentId string
    The OCID of the compartment.
    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"}
    DurationInHrs int
    Duration in hours for which 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"}
    NotificationTopicId string
    The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
    ReasonDetail string
    Reason in detail for which the operator is requesting access on the target resource.
    Severity string
    Priority assigned to the access request by the operator
    SubResourceNameLists []string
    The subresource names requested for approval.
    TicketNumbers []string
    A list of ticket numbers related to this Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
    TimeRequestedForFutureAccess string

    Time in future when the user for the privilegedApi request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    privilegedOperationLists List<ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationList>
    List of api names, attributes for which approval is sought by the user.
    reasonSummary String
    Summary comment by the operator creating the access request.
    resourceId 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.
    compartmentId String
    The OCID of the compartment.
    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"}
    durationInHrs Integer
    Duration in hours for which 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"}
    notificationTopicId String
    The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
    reasonDetail String
    Reason in detail for which the operator is requesting access on the target resource.
    severity String
    Priority assigned to the access request by the operator
    subResourceNameLists List<String>
    The subresource names requested for approval.
    ticketNumbers List<String>
    A list of ticket numbers related to this Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
    timeRequestedForFutureAccess String

    Time in future when the user for the privilegedApi request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    privilegedOperationLists ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationList[]
    List of api names, attributes for which approval is sought by the user.
    reasonSummary string
    Summary comment by the operator creating the access request.
    resourceId 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.
    compartmentId string
    The OCID of the compartment.
    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"}
    durationInHrs number
    Duration in hours for which 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"}
    notificationTopicId string
    The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
    reasonDetail string
    Reason in detail for which the operator is requesting access on the target resource.
    severity string
    Priority assigned to the access request by the operator
    subResourceNameLists string[]
    The subresource names requested for approval.
    ticketNumbers string[]
    A list of ticket numbers related to this Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
    timeRequestedForFutureAccess string

    Time in future when the user for the privilegedApi request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    privileged_operation_lists Sequence[ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationListArgs]
    List of api names, attributes for which approval is sought by the user.
    reason_summary str
    Summary comment by the operator creating the access request.
    resource_id 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.
    compartment_id str
    The OCID of the compartment.
    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"}
    duration_in_hrs int
    Duration in hours for which 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"}
    notification_topic_id str
    The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
    reason_detail str
    Reason in detail for which the operator is requesting access on the target resource.
    severity str
    Priority assigned to the access request by the operator
    sub_resource_name_lists Sequence[str]
    The subresource names requested for approval.
    ticket_numbers Sequence[str]
    A list of ticket numbers related to this Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
    time_requested_for_future_access str

    Time in future when the user for the privilegedApi request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    privilegedOperationLists List<Property Map>
    List of api names, attributes for which approval is sought by the user.
    reasonSummary String
    Summary comment by the operator creating the access request.
    resourceId 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.
    compartmentId String
    The OCID of the compartment.
    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"}
    durationInHrs Number
    Duration in hours for which 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"}
    notificationTopicId String
    The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
    reasonDetail String
    Reason in detail for which the operator is requesting access on the target resource.
    severity String
    Priority assigned to the access request by the operator
    subResourceNameLists List<String>
    The subresource names requested for approval.
    ticketNumbers List<String>
    A list of ticket numbers related to this Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
    timeRequestedForFutureAccess String

    Time in future when the user for the privilegedApi request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ApiaccesscontrolPrivilegedApiRequest resource produces the following output properties:

    ApproverDetails List<ApiaccesscontrolPrivilegedApiRequestApproverDetail>
    Contains the approver details who have approved the privilegedApi Request during the initial request.
    ClosureComment string
    The comment entered by the operator while closing the request.
    DisplayName string
    Name of the privilegedApi control. The name must be unique.
    EntityType string
    entityType of resource for which the AccessRequest is applicable
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    more in detail about the lifeCycleState.
    NumberOfApproversRequired int
    Number of approvers required to approve an privilegedApi request.
    PrivilegedApiControlId string
    The OCID of the privilegedApi control governing the target resource.
    PrivilegedApiControlName string
    Name of the privilegedApi control governing the target resource.
    RequestId string
    This is an automatic identifier generated by the system which is easier for human comprehension.
    RequestedBies List<string>
    List of Users who has created this privilegedApiRequest.
    ResourceName string
    resourceName for which the PrivilegedApiRequest is applicable
    ResourceType string
    resourceType for which the AccessRequest is applicable
    State string
    The current state of the PrivilegedApiRequest.
    StateDetails string
    A message that describes the current state of the PrivilegedApiControl in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    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"}
    TimeCreated string
    Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeUpdated string
    Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    ApproverDetails []ApiaccesscontrolPrivilegedApiRequestApproverDetail
    Contains the approver details who have approved the privilegedApi Request during the initial request.
    ClosureComment string
    The comment entered by the operator while closing the request.
    DisplayName string
    Name of the privilegedApi control. The name must be unique.
    EntityType string
    entityType of resource for which the AccessRequest is applicable
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    more in detail about the lifeCycleState.
    NumberOfApproversRequired int
    Number of approvers required to approve an privilegedApi request.
    PrivilegedApiControlId string
    The OCID of the privilegedApi control governing the target resource.
    PrivilegedApiControlName string
    Name of the privilegedApi control governing the target resource.
    RequestId string
    This is an automatic identifier generated by the system which is easier for human comprehension.
    RequestedBies []string
    List of Users who has created this privilegedApiRequest.
    ResourceName string
    resourceName for which the PrivilegedApiRequest is applicable
    ResourceType string
    resourceType for which the AccessRequest is applicable
    State string
    The current state of the PrivilegedApiRequest.
    StateDetails string
    A message that describes the current state of the PrivilegedApiControl in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    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"}
    TimeCreated string
    Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeUpdated string
    Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    approverDetails List<ApiaccesscontrolPrivilegedApiRequestApproverDetail>
    Contains the approver details who have approved the privilegedApi Request during the initial request.
    closureComment String
    The comment entered by the operator while closing the request.
    displayName String
    Name of the privilegedApi control. The name must be unique.
    entityType String
    entityType of resource for which the AccessRequest is applicable
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    more in detail about the lifeCycleState.
    numberOfApproversRequired Integer
    Number of approvers required to approve an privilegedApi request.
    privilegedApiControlId String
    The OCID of the privilegedApi control governing the target resource.
    privilegedApiControlName String
    Name of the privilegedApi control governing the target resource.
    requestId String
    This is an automatic identifier generated by the system which is easier for human comprehension.
    requestedBies List<String>
    List of Users who has created this privilegedApiRequest.
    resourceName String
    resourceName for which the PrivilegedApiRequest is applicable
    resourceType String
    resourceType for which the AccessRequest is applicable
    state String
    The current state of the PrivilegedApiRequest.
    stateDetails String
    A message that describes the current state of the PrivilegedApiControl in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    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"}
    timeCreated String
    Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    timeUpdated String
    Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    approverDetails ApiaccesscontrolPrivilegedApiRequestApproverDetail[]
    Contains the approver details who have approved the privilegedApi Request during the initial request.
    closureComment string
    The comment entered by the operator while closing the request.
    displayName string
    Name of the privilegedApi control. The name must be unique.
    entityType string
    entityType of resource for which the AccessRequest is applicable
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    more in detail about the lifeCycleState.
    numberOfApproversRequired number
    Number of approvers required to approve an privilegedApi request.
    privilegedApiControlId string
    The OCID of the privilegedApi control governing the target resource.
    privilegedApiControlName string
    Name of the privilegedApi control governing the target resource.
    requestId string
    This is an automatic identifier generated by the system which is easier for human comprehension.
    requestedBies string[]
    List of Users who has created this privilegedApiRequest.
    resourceName string
    resourceName for which the PrivilegedApiRequest is applicable
    resourceType string
    resourceType for which the AccessRequest is applicable
    state string
    The current state of the PrivilegedApiRequest.
    stateDetails string
    A message that describes the current state of the PrivilegedApiControl in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    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"}
    timeCreated string
    Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    timeUpdated string
    Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    approver_details Sequence[ApiaccesscontrolPrivilegedApiRequestApproverDetail]
    Contains the approver details who have approved the privilegedApi Request during the initial request.
    closure_comment str
    The comment entered by the operator while closing the request.
    display_name str
    Name of the privilegedApi control. The name must be unique.
    entity_type str
    entityType of resource for which the AccessRequest is applicable
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    more in detail about the lifeCycleState.
    number_of_approvers_required int
    Number of approvers required to approve an privilegedApi request.
    privileged_api_control_id str
    The OCID of the privilegedApi control governing the target resource.
    privileged_api_control_name str
    Name of the privilegedApi control governing the target resource.
    request_id str
    This is an automatic identifier generated by the system which is easier for human comprehension.
    requested_bies Sequence[str]
    List of Users who has created this privilegedApiRequest.
    resource_name str
    resourceName for which the PrivilegedApiRequest is applicable
    resource_type str
    resourceType for which the AccessRequest is applicable
    state str
    The current state of the PrivilegedApiRequest.
    state_details str
    A message that describes the current state of the PrivilegedApiControl in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    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"}
    time_created str
    Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    time_updated str
    Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    approverDetails List<Property Map>
    Contains the approver details who have approved the privilegedApi Request during the initial request.
    closureComment String
    The comment entered by the operator while closing the request.
    displayName String
    Name of the privilegedApi control. The name must be unique.
    entityType String
    entityType of resource for which the AccessRequest is applicable
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    more in detail about the lifeCycleState.
    numberOfApproversRequired Number
    Number of approvers required to approve an privilegedApi request.
    privilegedApiControlId String
    The OCID of the privilegedApi control governing the target resource.
    privilegedApiControlName String
    Name of the privilegedApi control governing the target resource.
    requestId String
    This is an automatic identifier generated by the system which is easier for human comprehension.
    requestedBies List<String>
    List of Users who has created this privilegedApiRequest.
    resourceName String
    resourceName for which the PrivilegedApiRequest is applicable
    resourceType String
    resourceType for which the AccessRequest is applicable
    state String
    The current state of the PrivilegedApiRequest.
    stateDetails String
    A message that describes the current state of the PrivilegedApiControl in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    timeUpdated String
    Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'

    Look up Existing ApiaccesscontrolPrivilegedApiRequest Resource

    Get an existing ApiaccesscontrolPrivilegedApiRequest resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ApiaccesscontrolPrivilegedApiRequestState, opts?: CustomResourceOptions): ApiaccesscontrolPrivilegedApiRequest
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            approver_details: Optional[Sequence[ApiaccesscontrolPrivilegedApiRequestApproverDetailArgs]] = None,
            closure_comment: Optional[str] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            duration_in_hrs: Optional[int] = None,
            entity_type: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            lifecycle_details: Optional[str] = None,
            notification_topic_id: Optional[str] = None,
            number_of_approvers_required: Optional[int] = None,
            privileged_api_control_id: Optional[str] = None,
            privileged_api_control_name: Optional[str] = None,
            privileged_operation_lists: Optional[Sequence[ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationListArgs]] = None,
            reason_detail: Optional[str] = None,
            reason_summary: Optional[str] = None,
            request_id: Optional[str] = None,
            requested_bies: Optional[Sequence[str]] = None,
            resource_id: Optional[str] = None,
            resource_name: Optional[str] = None,
            resource_type: Optional[str] = None,
            severity: Optional[str] = None,
            state: Optional[str] = None,
            state_details: Optional[str] = None,
            sub_resource_name_lists: Optional[Sequence[str]] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            ticket_numbers: Optional[Sequence[str]] = None,
            time_created: Optional[str] = None,
            time_requested_for_future_access: Optional[str] = None,
            time_updated: Optional[str] = None) -> ApiaccesscontrolPrivilegedApiRequest
    func GetApiaccesscontrolPrivilegedApiRequest(ctx *Context, name string, id IDInput, state *ApiaccesscontrolPrivilegedApiRequestState, opts ...ResourceOption) (*ApiaccesscontrolPrivilegedApiRequest, error)
    public static ApiaccesscontrolPrivilegedApiRequest Get(string name, Input<string> id, ApiaccesscontrolPrivilegedApiRequestState? state, CustomResourceOptions? opts = null)
    public static ApiaccesscontrolPrivilegedApiRequest get(String name, Output<String> id, ApiaccesscontrolPrivilegedApiRequestState state, CustomResourceOptions options)
    resources:  _:    type: oci:oci:ApiaccesscontrolPrivilegedApiRequest    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ApproverDetails List<ApiaccesscontrolPrivilegedApiRequestApproverDetail>
    Contains the approver details who have approved the privilegedApi Request during the initial request.
    ClosureComment string
    The comment entered by the operator while closing the request.
    CompartmentId string
    The OCID of the compartment.
    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"}
    DisplayName string
    Name of the privilegedApi control. The name must be unique.
    DurationInHrs int
    Duration in hours for which access is sought on the target resource.
    EntityType string
    entityType of resource for which the AccessRequest is applicable
    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"}
    LifecycleDetails string
    more in detail about the lifeCycleState.
    NotificationTopicId string
    The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
    NumberOfApproversRequired int
    Number of approvers required to approve an privilegedApi request.
    PrivilegedApiControlId string
    The OCID of the privilegedApi control governing the target resource.
    PrivilegedApiControlName string
    Name of the privilegedApi control governing the target resource.
    PrivilegedOperationLists List<ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationList>
    List of api names, attributes for which approval is sought by the user.
    ReasonDetail string
    Reason in detail for which the operator is requesting access on the target resource.
    ReasonSummary string
    Summary comment by the operator creating the access request.
    RequestId string
    This is an automatic identifier generated by the system which is easier for human comprehension.
    RequestedBies List<string>
    List of Users who has created this privilegedApiRequest.
    ResourceId 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 string
    resourceName for which the PrivilegedApiRequest is applicable
    ResourceType string
    resourceType for which the AccessRequest is applicable
    Severity string
    Priority assigned to the access request by the operator
    State string
    The current state of the PrivilegedApiRequest.
    StateDetails string
    A message that describes the current state of the PrivilegedApiControl in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    SubResourceNameLists List<string>
    The subresource names requested for approval.
    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 Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
    TimeCreated string
    Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeRequestedForFutureAccess string

    Time in future when the user for the privilegedApi request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    TimeUpdated string
    Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    ApproverDetails []ApiaccesscontrolPrivilegedApiRequestApproverDetailArgs
    Contains the approver details who have approved the privilegedApi Request during the initial request.
    ClosureComment string
    The comment entered by the operator while closing the request.
    CompartmentId string
    The OCID of the compartment.
    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"}
    DisplayName string
    Name of the privilegedApi control. The name must be unique.
    DurationInHrs int
    Duration in hours for which access is sought on the target resource.
    EntityType string
    entityType of resource for which the AccessRequest is applicable
    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"}
    LifecycleDetails string
    more in detail about the lifeCycleState.
    NotificationTopicId string
    The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
    NumberOfApproversRequired int
    Number of approvers required to approve an privilegedApi request.
    PrivilegedApiControlId string
    The OCID of the privilegedApi control governing the target resource.
    PrivilegedApiControlName string
    Name of the privilegedApi control governing the target resource.
    PrivilegedOperationLists []ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationListArgs
    List of api names, attributes for which approval is sought by the user.
    ReasonDetail string
    Reason in detail for which the operator is requesting access on the target resource.
    ReasonSummary string
    Summary comment by the operator creating the access request.
    RequestId string
    This is an automatic identifier generated by the system which is easier for human comprehension.
    RequestedBies []string
    List of Users who has created this privilegedApiRequest.
    ResourceId 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 string
    resourceName for which the PrivilegedApiRequest is applicable
    ResourceType string
    resourceType for which the AccessRequest is applicable
    Severity string
    Priority assigned to the access request by the operator
    State string
    The current state of the PrivilegedApiRequest.
    StateDetails string
    A message that describes the current state of the PrivilegedApiControl in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    SubResourceNameLists []string
    The subresource names requested for approval.
    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 Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
    TimeCreated string
    Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeRequestedForFutureAccess string

    Time in future when the user for the privilegedApi request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    TimeUpdated string
    Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    approverDetails List<ApiaccesscontrolPrivilegedApiRequestApproverDetail>
    Contains the approver details who have approved the privilegedApi Request during the initial request.
    closureComment String
    The comment entered by the operator while closing the request.
    compartmentId String
    The OCID of the compartment.
    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"}
    displayName String
    Name of the privilegedApi control. The name must be unique.
    durationInHrs Integer
    Duration in hours for which access is sought on the target resource.
    entityType String
    entityType of resource for which the AccessRequest is applicable
    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"}
    lifecycleDetails String
    more in detail about the lifeCycleState.
    notificationTopicId String
    The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
    numberOfApproversRequired Integer
    Number of approvers required to approve an privilegedApi request.
    privilegedApiControlId String
    The OCID of the privilegedApi control governing the target resource.
    privilegedApiControlName String
    Name of the privilegedApi control governing the target resource.
    privilegedOperationLists List<ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationList>
    List of api names, attributes for which approval is sought by the user.
    reasonDetail String
    Reason in detail for which the operator is requesting access on the target resource.
    reasonSummary String
    Summary comment by the operator creating the access request.
    requestId String
    This is an automatic identifier generated by the system which is easier for human comprehension.
    requestedBies List<String>
    List of Users who has created this privilegedApiRequest.
    resourceId 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 String
    resourceName for which the PrivilegedApiRequest is applicable
    resourceType String
    resourceType for which the AccessRequest is applicable
    severity String
    Priority assigned to the access request by the operator
    state String
    The current state of the PrivilegedApiRequest.
    stateDetails String
    A message that describes the current state of the PrivilegedApiControl in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    subResourceNameLists List<String>
    The subresource names requested for approval.
    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 Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
    timeCreated String
    Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    timeRequestedForFutureAccess String

    Time in future when the user for the privilegedApi request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    timeUpdated String
    Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    approverDetails ApiaccesscontrolPrivilegedApiRequestApproverDetail[]
    Contains the approver details who have approved the privilegedApi Request during the initial request.
    closureComment string
    The comment entered by the operator while closing the request.
    compartmentId string
    The OCID of the compartment.
    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"}
    displayName string
    Name of the privilegedApi control. The name must be unique.
    durationInHrs number
    Duration in hours for which access is sought on the target resource.
    entityType string
    entityType of resource for which the AccessRequest is applicable
    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"}
    lifecycleDetails string
    more in detail about the lifeCycleState.
    notificationTopicId string
    The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
    numberOfApproversRequired number
    Number of approvers required to approve an privilegedApi request.
    privilegedApiControlId string
    The OCID of the privilegedApi control governing the target resource.
    privilegedApiControlName string
    Name of the privilegedApi control governing the target resource.
    privilegedOperationLists ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationList[]
    List of api names, attributes for which approval is sought by the user.
    reasonDetail string
    Reason in detail for which the operator is requesting access on the target resource.
    reasonSummary string
    Summary comment by the operator creating the access request.
    requestId string
    This is an automatic identifier generated by the system which is easier for human comprehension.
    requestedBies string[]
    List of Users who has created this privilegedApiRequest.
    resourceId 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 string
    resourceName for which the PrivilegedApiRequest is applicable
    resourceType string
    resourceType for which the AccessRequest is applicable
    severity string
    Priority assigned to the access request by the operator
    state string
    The current state of the PrivilegedApiRequest.
    stateDetails string
    A message that describes the current state of the PrivilegedApiControl in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    subResourceNameLists string[]
    The subresource names requested for approval.
    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 Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
    timeCreated string
    Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    timeRequestedForFutureAccess string

    Time in future when the user for the privilegedApi request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    timeUpdated string
    Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    approver_details Sequence[ApiaccesscontrolPrivilegedApiRequestApproverDetailArgs]
    Contains the approver details who have approved the privilegedApi Request during the initial request.
    closure_comment str
    The comment entered by the operator while closing the request.
    compartment_id str
    The OCID of the compartment.
    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"}
    display_name str
    Name of the privilegedApi control. The name must be unique.
    duration_in_hrs int
    Duration in hours for which access is sought on the target resource.
    entity_type str
    entityType of resource for which the AccessRequest is applicable
    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"}
    lifecycle_details str
    more in detail about the lifeCycleState.
    notification_topic_id str
    The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
    number_of_approvers_required int
    Number of approvers required to approve an privilegedApi request.
    privileged_api_control_id str
    The OCID of the privilegedApi control governing the target resource.
    privileged_api_control_name str
    Name of the privilegedApi control governing the target resource.
    privileged_operation_lists Sequence[ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationListArgs]
    List of api names, attributes for which approval is sought by the user.
    reason_detail str
    Reason in detail for which the operator is requesting access on the target resource.
    reason_summary str
    Summary comment by the operator creating the access request.
    request_id str
    This is an automatic identifier generated by the system which is easier for human comprehension.
    requested_bies Sequence[str]
    List of Users who has created this privilegedApiRequest.
    resource_id 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 str
    resourceName for which the PrivilegedApiRequest is applicable
    resource_type str
    resourceType for which the AccessRequest is applicable
    severity str
    Priority assigned to the access request by the operator
    state str
    The current state of the PrivilegedApiRequest.
    state_details str
    A message that describes the current state of the PrivilegedApiControl in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    sub_resource_name_lists Sequence[str]
    The subresource names requested for approval.
    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 Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
    time_created str
    Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    time_requested_for_future_access str

    Time in future when the user for the privilegedApi request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    time_updated str
    Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    approverDetails List<Property Map>
    Contains the approver details who have approved the privilegedApi Request during the initial request.
    closureComment String
    The comment entered by the operator while closing the request.
    compartmentId String
    The OCID of the compartment.
    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"}
    displayName String
    Name of the privilegedApi control. The name must be unique.
    durationInHrs Number
    Duration in hours for which access is sought on the target resource.
    entityType String
    entityType of resource for which the AccessRequest is applicable
    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"}
    lifecycleDetails String
    more in detail about the lifeCycleState.
    notificationTopicId String
    The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
    numberOfApproversRequired Number
    Number of approvers required to approve an privilegedApi request.
    privilegedApiControlId String
    The OCID of the privilegedApi control governing the target resource.
    privilegedApiControlName String
    Name of the privilegedApi control governing the target resource.
    privilegedOperationLists List<Property Map>
    List of api names, attributes for which approval is sought by the user.
    reasonDetail String
    Reason in detail for which the operator is requesting access on the target resource.
    reasonSummary String
    Summary comment by the operator creating the access request.
    requestId String
    This is an automatic identifier generated by the system which is easier for human comprehension.
    requestedBies List<String>
    List of Users who has created this privilegedApiRequest.
    resourceId 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 String
    resourceName for which the PrivilegedApiRequest is applicable
    resourceType String
    resourceType for which the AccessRequest is applicable
    severity String
    Priority assigned to the access request by the operator
    state String
    The current state of the PrivilegedApiRequest.
    stateDetails String
    A message that describes the current state of the PrivilegedApiControl in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    subResourceNameLists List<String>
    The subresource names requested for approval.
    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 Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
    timeCreated String
    Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
    timeRequestedForFutureAccess String

    Time in future when the user for the privilegedApi request needs to be created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    timeUpdated String
    Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'

    Supporting Types

    ApiaccesscontrolPrivilegedApiRequestApproverDetail, ApiaccesscontrolPrivilegedApiRequestApproverDetailArgs

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

    ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationList, ApiaccesscontrolPrivilegedApiRequestPrivilegedOperationListArgs

    ApiName string
    name of the api which needs to be protected.
    AttributeNames List<string>
    list of attributes belonging to the above api which needs to be protected.
    ApiName string
    name of the api which needs to be protected.
    AttributeNames []string
    list of attributes belonging to the above api which needs to be protected.
    apiName String
    name of the api which needs to be protected.
    attributeNames List<String>
    list of attributes belonging to the above api which needs to be protected.
    apiName string
    name of the api which needs to be protected.
    attributeNames string[]
    list of attributes belonging to the above api which needs to be protected.
    api_name str
    name of the api which needs to be protected.
    attribute_names Sequence[str]
    list of attributes belonging to the above api which needs to be protected.
    apiName String
    name of the api which needs to be protected.
    attributeNames List<String>
    list of attributes belonging to the above api which needs to be protected.

    Import

    PrivilegedApiRequests can be imported using the id, e.g.

    $ pulumi import oci:oci/apiaccesscontrolPrivilegedApiRequest:ApiaccesscontrolPrivilegedApiRequest test_privileged_api_request "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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 v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate