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:
- Privileged
Operation List<ApiaccesscontrolLists Privileged Api Request Privileged Operation List> - List of api names, attributes for which approval is sought by the user.
- Reason
Summary string - Summary comment by the operator creating the access request.
- Resource
Id 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.
- Compartment
Id string - The OCID of the compartment.
- 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"} - Duration
In intHrs - Duration in hours for which access is sought on the target resource.
- 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"} - Notification
Topic stringId - The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
- Reason
Detail 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
- Sub
Resource List<string>Name Lists - The subresource names requested for approval.
- Ticket
Numbers List<string> - A list of ticket numbers related to this Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
- Time
Requested stringFor Future Access 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 []ApiaccesscontrolLists Privileged Api Request Privileged Operation List Args - List of api names, attributes for which approval is sought by the user.
- Reason
Summary string - Summary comment by the operator creating the access request.
- Resource
Id 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.
- Compartment
Id string - The OCID of the compartment.
- 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"} - Duration
In intHrs - Duration in hours for which access is sought on the target resource.
- 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"} - Notification
Topic stringId - The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
- Reason
Detail 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
- Sub
Resource []stringName Lists - The subresource names requested for approval.
- Ticket
Numbers []string - A list of ticket numbers related to this Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
- Time
Requested stringFor Future Access 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 List<ApiaccesscontrolLists Privileged Api Request Privileged Operation List> - List of api names, attributes for which approval is sought by the user.
- reason
Summary String - Summary comment by the operator creating the access request.
- resource
Id 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.
- compartment
Id String - The OCID of the compartment.
- 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"} - duration
In IntegerHrs - Duration in hours for which access is sought on the target resource.
- 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"} - notification
Topic StringId - The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
- reason
Detail 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
- sub
Resource List<String>Name Lists - The subresource names requested for approval.
- ticket
Numbers List<String> - A list of ticket numbers related to this Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
- time
Requested StringFor Future Access 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 ApiaccesscontrolLists Privileged Api Request Privileged Operation List[] - List of api names, attributes for which approval is sought by the user.
- reason
Summary string - Summary comment by the operator creating the access request.
- resource
Id 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.
- compartment
Id string - The OCID of the compartment.
- {[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"} - duration
In numberHrs - Duration in hours for which access is sought on the target resource.
- {[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"} - notification
Topic stringId - The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
- reason
Detail 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
- sub
Resource string[]Name Lists - The subresource names requested for approval.
- ticket
Numbers string[] - A list of ticket numbers related to this Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
- time
Requested stringFor Future Access 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_ Sequence[Apiaccesscontrollists Privileged Api Request Privileged Operation List Args] - 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.
- 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_ inthrs - Duration in hours for which access is sought on the target resource.
- 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_ strid - 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_ Sequence[str]name_ lists - 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_ strfor_ future_ access 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 List<Property Map>Lists - List of api names, attributes for which approval is sought by the user.
- reason
Summary String - Summary comment by the operator creating the access request.
- resource
Id 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.
- compartment
Id String - The OCID of the compartment.
- 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"} - duration
In NumberHrs - Duration in hours for which access is sought on the target resource.
- 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"} - notification
Topic StringId - The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
- reason
Detail 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
- sub
Resource List<String>Name Lists - The subresource names requested for approval.
- ticket
Numbers List<String> - A list of ticket numbers related to this Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
- time
Requested StringFor Future Access 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:
- Approver
Details List<ApiaccesscontrolPrivileged Api Request Approver Detail> - Contains the approver details who have approved the privilegedApi Request during the initial request.
- Closure
Comment string - The comment entered by the operator while closing the request.
- Display
Name string - Name of the privilegedApi control. The name must be unique.
- Entity
Type string - entityType of resource for which the AccessRequest is applicable
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - more in detail about the lifeCycleState.
- Number
Of intApprovers Required - Number of approvers required to approve an privilegedApi request.
- Privileged
Api stringControl Id - The OCID of the privilegedApi control governing the target resource.
- Privileged
Api stringControl Name - Name of the privilegedApi control governing the target resource.
- Request
Id string - This is an automatic identifier generated by the system which is easier for human comprehension.
- Requested
Bies List<string> - List of Users who has created this privilegedApiRequest.
- Resource
Name string - resourceName for which the PrivilegedApiRequest is applicable
- Resource
Type string - resourceType for which the AccessRequest is applicable
- State string
- The current state of the PrivilegedApiRequest.
- State
Details 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.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- Time
Updated string - Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- Approver
Details []ApiaccesscontrolPrivileged Api Request Approver Detail - Contains the approver details who have approved the privilegedApi Request during the initial request.
- Closure
Comment string - The comment entered by the operator while closing the request.
- Display
Name string - Name of the privilegedApi control. The name must be unique.
- Entity
Type string - entityType of resource for which the AccessRequest is applicable
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - more in detail about the lifeCycleState.
- Number
Of intApprovers Required - Number of approvers required to approve an privilegedApi request.
- Privileged
Api stringControl Id - The OCID of the privilegedApi control governing the target resource.
- Privileged
Api stringControl Name - Name of the privilegedApi control governing the target resource.
- Request
Id string - This is an automatic identifier generated by the system which is easier for human comprehension.
- Requested
Bies []string - List of Users who has created this privilegedApiRequest.
- Resource
Name string - resourceName for which the PrivilegedApiRequest is applicable
- Resource
Type string - resourceType for which the AccessRequest is applicable
- State string
- The current state of the PrivilegedApiRequest.
- State
Details 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.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- Time
Updated string - Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- approver
Details List<ApiaccesscontrolPrivileged Api Request Approver Detail> - Contains the approver details who have approved the privilegedApi Request during the initial request.
- closure
Comment String - The comment entered by the operator while closing the request.
- display
Name String - Name of the privilegedApi control. The name must be unique.
- entity
Type String - entityType of resource for which the AccessRequest is applicable
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - more in detail about the lifeCycleState.
- number
Of IntegerApprovers Required - Number of approvers required to approve an privilegedApi request.
- privileged
Api StringControl Id - The OCID of the privilegedApi control governing the target resource.
- privileged
Api StringControl Name - Name of the privilegedApi control governing the target resource.
- request
Id String - This is an automatic identifier generated by the system which is easier for human comprehension.
- requested
Bies List<String> - List of Users who has created this privilegedApiRequest.
- resource
Name String - resourceName for which the PrivilegedApiRequest is applicable
- resource
Type String - resourceType for which the AccessRequest is applicable
- state String
- The current state of the PrivilegedApiRequest.
- state
Details 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.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Updated String - Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- approver
Details ApiaccesscontrolPrivileged Api Request Approver Detail[] - Contains the approver details who have approved the privilegedApi Request during the initial request.
- closure
Comment string - The comment entered by the operator while closing the request.
- display
Name string - Name of the privilegedApi control. The name must be unique.
- entity
Type string - entityType of resource for which the AccessRequest is applicable
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - more in detail about the lifeCycleState.
- number
Of numberApprovers Required - Number of approvers required to approve an privilegedApi request.
- privileged
Api stringControl Id - The OCID of the privilegedApi control governing the target resource.
- privileged
Api stringControl Name - Name of the privilegedApi control governing the target resource.
- request
Id string - This is an automatic identifier generated by the system which is easier for human comprehension.
- requested
Bies string[] - List of Users who has created this privilegedApiRequest.
- resource
Name string - resourceName for which the PrivilegedApiRequest is applicable
- resource
Type string - resourceType for which the AccessRequest is applicable
- state string
- The current state of the PrivilegedApiRequest.
- state
Details 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.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Updated string - Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- approver_
details Sequence[ApiaccesscontrolPrivileged Api Request Approver Detail] - 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_ intapprovers_ required - Number of approvers required to approve an privilegedApi request.
- privileged_
api_ strcontrol_ id - The OCID of the privilegedApi control governing the target resource.
- privileged_
api_ strcontrol_ name - 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.
- 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'
- approver
Details List<Property Map> - Contains the approver details who have approved the privilegedApi Request during the initial request.
- closure
Comment String - The comment entered by the operator while closing the request.
- display
Name String - Name of the privilegedApi control. The name must be unique.
- entity
Type String - entityType of resource for which the AccessRequest is applicable
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - more in detail about the lifeCycleState.
- number
Of NumberApprovers Required - Number of approvers required to approve an privilegedApi request.
- privileged
Api StringControl Id - The OCID of the privilegedApi control governing the target resource.
- privileged
Api StringControl Name - Name of the privilegedApi control governing the target resource.
- request
Id String - This is an automatic identifier generated by the system which is easier for human comprehension.
- requested
Bies List<String> - List of Users who has created this privilegedApiRequest.
- resource
Name String - resourceName for which the PrivilegedApiRequest is applicable
- resource
Type String - resourceType for which the AccessRequest is applicable
- state String
- The current state of the PrivilegedApiRequest.
- state
Details 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.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Updated 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) -> ApiaccesscontrolPrivilegedApiRequestfunc 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.
- Approver
Details List<ApiaccesscontrolPrivileged Api Request Approver Detail> - Contains the approver details who have approved the privilegedApi Request during the initial request.
- Closure
Comment string - The comment entered by the operator while closing the request.
- Compartment
Id string - The OCID of the compartment.
- 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"} - Display
Name string - Name of the privilegedApi control. The name must be unique.
- Duration
In intHrs - Duration in hours for which access is sought on the target resource.
- Entity
Type string - entityType of resource for which the AccessRequest is applicable
- 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"} - Lifecycle
Details string - more in detail about the lifeCycleState.
- Notification
Topic stringId - The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
- Number
Of intApprovers Required - Number of approvers required to approve an privilegedApi request.
- Privileged
Api stringControl Id - The OCID of the privilegedApi control governing the target resource.
- Privileged
Api stringControl Name - Name of the privilegedApi control governing the target resource.
- Privileged
Operation List<ApiaccesscontrolLists Privileged Api Request Privileged Operation List> - List of api names, attributes for which approval is sought by the user.
- Reason
Detail string - Reason in detail for which the operator is requesting access on the target resource.
- Reason
Summary string - Summary comment by the operator creating the access request.
- Request
Id string - This is an automatic identifier generated by the system which is easier for human comprehension.
- Requested
Bies List<string> - List of Users who has created this privilegedApiRequest.
- Resource
Id 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.
- Resource
Name string - resourceName for which the PrivilegedApiRequest is applicable
- Resource
Type 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.
- State
Details 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.
- Sub
Resource List<string>Name Lists - The subresource names requested for approval.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Ticket
Numbers List<string> - A list of ticket numbers related to this Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
- Time
Created string - Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- Time
Requested stringFor Future Access 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 string - Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- Approver
Details []ApiaccesscontrolPrivileged Api Request Approver Detail Args - Contains the approver details who have approved the privilegedApi Request during the initial request.
- Closure
Comment string - The comment entered by the operator while closing the request.
- Compartment
Id string - The OCID of the compartment.
- 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"} - Display
Name string - Name of the privilegedApi control. The name must be unique.
- Duration
In intHrs - Duration in hours for which access is sought on the target resource.
- Entity
Type string - entityType of resource for which the AccessRequest is applicable
- 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"} - Lifecycle
Details string - more in detail about the lifeCycleState.
- Notification
Topic stringId - The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
- Number
Of intApprovers Required - Number of approvers required to approve an privilegedApi request.
- Privileged
Api stringControl Id - The OCID of the privilegedApi control governing the target resource.
- Privileged
Api stringControl Name - Name of the privilegedApi control governing the target resource.
- Privileged
Operation []ApiaccesscontrolLists Privileged Api Request Privileged Operation List Args - List of api names, attributes for which approval is sought by the user.
- Reason
Detail string - Reason in detail for which the operator is requesting access on the target resource.
- Reason
Summary string - Summary comment by the operator creating the access request.
- Request
Id string - This is an automatic identifier generated by the system which is easier for human comprehension.
- Requested
Bies []string - List of Users who has created this privilegedApiRequest.
- Resource
Id 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.
- Resource
Name string - resourceName for which the PrivilegedApiRequest is applicable
- Resource
Type 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.
- State
Details 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.
- Sub
Resource []stringName Lists - The subresource names requested for approval.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Ticket
Numbers []string - A list of ticket numbers related to this Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
- Time
Created string - Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- Time
Requested stringFor Future Access 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 string - Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- approver
Details List<ApiaccesscontrolPrivileged Api Request Approver Detail> - Contains the approver details who have approved the privilegedApi Request during the initial request.
- closure
Comment String - The comment entered by the operator while closing the request.
- compartment
Id String - The OCID of the compartment.
- 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"} - display
Name String - Name of the privilegedApi control. The name must be unique.
- duration
In IntegerHrs - Duration in hours for which access is sought on the target resource.
- entity
Type String - entityType of resource for which the AccessRequest is applicable
- 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"} - lifecycle
Details String - more in detail about the lifeCycleState.
- notification
Topic StringId - The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
- number
Of IntegerApprovers Required - Number of approvers required to approve an privilegedApi request.
- privileged
Api StringControl Id - The OCID of the privilegedApi control governing the target resource.
- privileged
Api StringControl Name - Name of the privilegedApi control governing the target resource.
- privileged
Operation List<ApiaccesscontrolLists Privileged Api Request Privileged Operation List> - List of api names, attributes for which approval is sought by the user.
- reason
Detail String - Reason in detail for which the operator is requesting access on the target resource.
- reason
Summary String - Summary comment by the operator creating the access request.
- request
Id String - This is an automatic identifier generated by the system which is easier for human comprehension.
- requested
Bies List<String> - List of Users who has created this privilegedApiRequest.
- resource
Id 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.
- resource
Name String - resourceName for which the PrivilegedApiRequest is applicable
- resource
Type 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.
- state
Details 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.
- sub
Resource List<String>Name Lists - The subresource names requested for approval.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - ticket
Numbers List<String> - A list of ticket numbers related to this Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
- time
Created String - Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Requested StringFor Future Access 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 String - Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- approver
Details ApiaccesscontrolPrivileged Api Request Approver Detail[] - Contains the approver details who have approved the privilegedApi Request during the initial request.
- closure
Comment string - The comment entered by the operator while closing the request.
- compartment
Id string - The OCID of the compartment.
- {[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"} - display
Name string - Name of the privilegedApi control. The name must be unique.
- duration
In numberHrs - Duration in hours for which access is sought on the target resource.
- entity
Type string - entityType of resource for which the AccessRequest is applicable
- {[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"} - lifecycle
Details string - more in detail about the lifeCycleState.
- notification
Topic stringId - The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
- number
Of numberApprovers Required - Number of approvers required to approve an privilegedApi request.
- privileged
Api stringControl Id - The OCID of the privilegedApi control governing the target resource.
- privileged
Api stringControl Name - Name of the privilegedApi control governing the target resource.
- privileged
Operation ApiaccesscontrolLists Privileged Api Request Privileged Operation List[] - List of api names, attributes for which approval is sought by the user.
- reason
Detail string - Reason in detail for which the operator is requesting access on the target resource.
- reason
Summary string - Summary comment by the operator creating the access request.
- request
Id string - This is an automatic identifier generated by the system which is easier for human comprehension.
- requested
Bies string[] - List of Users who has created this privilegedApiRequest.
- resource
Id 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.
- resource
Name string - resourceName for which the PrivilegedApiRequest is applicable
- resource
Type 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.
- state
Details 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.
- sub
Resource string[]Name Lists - The subresource names requested for approval.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - ticket
Numbers string[] - A list of ticket numbers related to this Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
- time
Created string - Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Requested stringFor Future Access 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 string - Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- approver_
details Sequence[ApiaccesscontrolPrivileged Api Request Approver Detail Args] - 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.
- 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_ inthrs - Duration in hours for which access is sought on the target resource.
- entity_
type str - entityType of resource for which the AccessRequest is applicable
- 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_ strid - The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
- number_
of_ intapprovers_ required - Number of approvers required to approve an privilegedApi request.
- privileged_
api_ strcontrol_ id - The OCID of the privilegedApi control governing the target resource.
- privileged_
api_ strcontrol_ name - Name of the privilegedApi control governing the target resource.
- privileged_
operation_ Sequence[Apiaccesscontrollists Privileged Api Request Privileged Operation List Args] - 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_ Sequence[str]name_ lists - The subresource names requested for approval.
- 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_ strfor_ future_ access 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'
- approver
Details List<Property Map> - Contains the approver details who have approved the privilegedApi Request during the initial request.
- closure
Comment String - The comment entered by the operator while closing the request.
- compartment
Id String - The OCID of the compartment.
- 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"} - display
Name String - Name of the privilegedApi control. The name must be unique.
- duration
In NumberHrs - Duration in hours for which access is sought on the target resource.
- entity
Type String - entityType of resource for which the AccessRequest is applicable
- 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"} - lifecycle
Details String - more in detail about the lifeCycleState.
- notification
Topic StringId - The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Request.
- number
Of NumberApprovers Required - Number of approvers required to approve an privilegedApi request.
- privileged
Api StringControl Id - The OCID of the privilegedApi control governing the target resource.
- privileged
Api StringControl Name - Name of the privilegedApi control governing the target resource.
- privileged
Operation List<Property Map>Lists - List of api names, attributes for which approval is sought by the user.
- reason
Detail String - Reason in detail for which the operator is requesting access on the target resource.
- reason
Summary String - Summary comment by the operator creating the access request.
- request
Id String - This is an automatic identifier generated by the system which is easier for human comprehension.
- requested
Bies List<String> - List of Users who has created this privilegedApiRequest.
- resource
Id 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.
- resource
Name String - resourceName for which the PrivilegedApiRequest is applicable
- resource
Type 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.
- state
Details 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.
- sub
Resource List<String>Name Lists - The subresource names requested for approval.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - ticket
Numbers List<String> - A list of ticket numbers related to this Privileged Api Access Request, e.g. Service Request (SR) number and JIRA ticket number.
- time
Created String - Time when the privilegedApi request was created in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Requested StringFor Future Access 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 String - Time when the privilegedApi request was last modified in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'
Supporting Types
ApiaccesscontrolPrivilegedApiRequestApproverDetail, ApiaccesscontrolPrivilegedApiRequestApproverDetailArgs
- Approval
Action string - The action done by the approver.
- Approval
Comment string - Comment specified by the approver of the request.
- Approver
Id string - The userId of the approver.
- Time
Approved stringFor Access - 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'
- 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 string - The action done by the approver.
- Approval
Comment string - Comment specified by the approver of the request.
- Approver
Id string - The userId of the approver.
- Time
Approved stringFor Access - 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'
- 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 String - The action done by the approver.
- approval
Comment String - Comment specified by the approver of the request.
- approver
Id String - The userId of the approver.
- time
Approved StringFor Access - 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'
- 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 string - The action done by the approver.
- approval
Comment string - Comment specified by the approver of the request.
- approver
Id string - The userId of the approver.
- time
Approved stringFor Access - 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'
- 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_ strfor_ access - 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'
- str
- Time when the privilegedApi request was authorized by the customer in RFC 3339 timestamp format.Example: '2020-05-22T21:10:29.600Z'
- approval
Action String - The action done by the approver.
- approval
Comment String - Comment specified by the approver of the request.
- approver
Id String - The userId of the approver.
- time
Approved StringFor Access - 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'
- 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
- Api
Name string - name of the api which needs to be protected.
- Attribute
Names List<string> - list of attributes belonging to the above api which needs to be protected.
- Api
Name string - name of the api which needs to be protected.
- Attribute
Names []string - list of attributes belonging to the above api which needs to be protected.
- api
Name String - name of the api which needs to be protected.
- attribute
Names List<String> - list of attributes belonging to the above api which needs to be protected.
- api
Name string - name of the api which needs to be protected.
- attribute
Names 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.
- api
Name String - name of the api which needs to be protected.
- attribute
Names 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
ociTerraform Provider.
