Viewing docs for Oracle Cloud Infrastructure v4.5.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.5.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
This data source provides details about a specific Privileged Api Control resource in Oracle Cloud Infrastructure Apiaccesscontrol service.
Gets information about a PrivilegedApiControl.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPrivilegedApiControl = oci.oci.getApiaccesscontrolPrivilegedApiControl({
privilegedApiControlId: testPrivilegedApiControlOciApiaccesscontrolPrivilegedApiControl.id,
});
import pulumi
import pulumi_oci as oci
test_privileged_api_control = oci.oci.get_apiaccesscontrol_privileged_api_control(privileged_api_control_id=test_privileged_api_control_oci_apiaccesscontrol_privileged_api_control["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/oci"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := oci.LookupApiaccesscontrolPrivilegedApiControl(ctx, &oci.LookupApiaccesscontrolPrivilegedApiControlArgs{
PrivilegedApiControlId: testPrivilegedApiControlOciApiaccesscontrolPrivilegedApiControl.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testPrivilegedApiControl = Oci.Oci.GetApiaccesscontrolPrivilegedApiControl.Invoke(new()
{
PrivilegedApiControlId = testPrivilegedApiControlOciApiaccesscontrolPrivilegedApiControl.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.oci.OciFunctions;
import com.pulumi.oci.oci.inputs.GetApiaccesscontrolPrivilegedApiControlArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testPrivilegedApiControl = OciFunctions.getApiaccesscontrolPrivilegedApiControl(GetApiaccesscontrolPrivilegedApiControlArgs.builder()
.privilegedApiControlId(testPrivilegedApiControlOciApiaccesscontrolPrivilegedApiControl.id())
.build());
}
}
variables:
testPrivilegedApiControl:
fn::invoke:
function: oci:oci:getApiaccesscontrolPrivilegedApiControl
arguments:
privilegedApiControlId: ${testPrivilegedApiControlOciApiaccesscontrolPrivilegedApiControl.id}
Using getApiaccesscontrolPrivilegedApiControl
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getApiaccesscontrolPrivilegedApiControl(args: GetApiaccesscontrolPrivilegedApiControlArgs, opts?: InvokeOptions): Promise<GetApiaccesscontrolPrivilegedApiControlResult>
function getApiaccesscontrolPrivilegedApiControlOutput(args: GetApiaccesscontrolPrivilegedApiControlOutputArgs, opts?: InvokeOptions): Output<GetApiaccesscontrolPrivilegedApiControlResult>def get_apiaccesscontrol_privileged_api_control(privileged_api_control_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApiaccesscontrolPrivilegedApiControlResult
def get_apiaccesscontrol_privileged_api_control_output(privileged_api_control_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApiaccesscontrolPrivilegedApiControlResult]func LookupApiaccesscontrolPrivilegedApiControl(ctx *Context, args *LookupApiaccesscontrolPrivilegedApiControlArgs, opts ...InvokeOption) (*LookupApiaccesscontrolPrivilegedApiControlResult, error)
func LookupApiaccesscontrolPrivilegedApiControlOutput(ctx *Context, args *LookupApiaccesscontrolPrivilegedApiControlOutputArgs, opts ...InvokeOption) LookupApiaccesscontrolPrivilegedApiControlResultOutput> Note: This function is named LookupApiaccesscontrolPrivilegedApiControl in the Go SDK.
public static class GetApiaccesscontrolPrivilegedApiControl
{
public static Task<GetApiaccesscontrolPrivilegedApiControlResult> InvokeAsync(GetApiaccesscontrolPrivilegedApiControlArgs args, InvokeOptions? opts = null)
public static Output<GetApiaccesscontrolPrivilegedApiControlResult> Invoke(GetApiaccesscontrolPrivilegedApiControlInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetApiaccesscontrolPrivilegedApiControlResult> getApiaccesscontrolPrivilegedApiControl(GetApiaccesscontrolPrivilegedApiControlArgs args, InvokeOptions options)
public static Output<GetApiaccesscontrolPrivilegedApiControlResult> getApiaccesscontrolPrivilegedApiControl(GetApiaccesscontrolPrivilegedApiControlArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getApiaccesscontrolPrivilegedApiControl:getApiaccesscontrolPrivilegedApiControl
arguments:
# arguments dictionaryThe following arguments are supported:
- Privileged
Api stringControl Id - The OCID of the PrivilegedApiControl.
- Privileged
Api stringControl Id - The OCID of the PrivilegedApiControl.
- privileged
Api StringControl Id - The OCID of the PrivilegedApiControl.
- privileged
Api stringControl Id - The OCID of the PrivilegedApiControl.
- privileged_
api_ strcontrol_ id - The OCID of the PrivilegedApiControl.
- privileged
Api StringControl Id - The OCID of the PrivilegedApiControl.
getApiaccesscontrolPrivilegedApiControl Result
The following output properties are available:
- Approver
Group List<string>Id Lists - List of IAM user group ids who can approve an privilegedApi request associated with a target resource under the governance of this operator control.
- 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"} - Description string
- Description of privilegedApi control.
- Display
Name string - Name of the privilegedApi control. The name must be unique.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Id string
- The OCID of the PrivilegedApiControl.
- Lifecycle
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.
- Notification
Topic stringId - The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Control.
- Number
Of intApprovers - Number of approvers required to approve an privilegedApi request.
- Privileged
Api stringControl Id - Privileged
Operation List<GetLists Apiaccesscontrol Privileged Api Control Privileged Operation List> - List of privileged operations/apis. These operations/apis will be treaated as secured, once enabled by the Privileged API Managment for a resource. Any of these operations, if needs to be executed, needs to be raised as a PrivilegedApi Request which needs to be approved by customers or it can be pre-approved.
- Resource
Type string - resourceType for which the PrivilegedApiControl is applicable
- Resources List<string>
- contains Resource details
- State string
- The current state of the PrivilegedApiControl.
- 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 - The date and time the PrivilegedApiControl was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Deleted string - The date and time the PrivilegedApiControl was marked for delete, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the PrivilegedApiControl was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Approver
Group []stringId Lists - List of IAM user group ids who can approve an privilegedApi request associated with a target resource under the governance of this operator control.
- 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"} - Description string
- Description of privilegedApi control.
- Display
Name string - Name of the privilegedApi control. The name must be unique.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Id string
- The OCID of the PrivilegedApiControl.
- Lifecycle
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.
- Notification
Topic stringId - The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Control.
- Number
Of intApprovers - Number of approvers required to approve an privilegedApi request.
- Privileged
Api stringControl Id - Privileged
Operation []GetLists Apiaccesscontrol Privileged Api Control Privileged Operation List - List of privileged operations/apis. These operations/apis will be treaated as secured, once enabled by the Privileged API Managment for a resource. Any of these operations, if needs to be executed, needs to be raised as a PrivilegedApi Request which needs to be approved by customers or it can be pre-approved.
- Resource
Type string - resourceType for which the PrivilegedApiControl is applicable
- Resources []string
- contains Resource details
- State string
- The current state of the PrivilegedApiControl.
- 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 - The date and time the PrivilegedApiControl was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Deleted string - The date and time the PrivilegedApiControl was marked for delete, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the PrivilegedApiControl was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- approver
Group List<String>Id Lists - List of IAM user group ids who can approve an privilegedApi request associated with a target resource under the governance of this operator control.
- 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"} - description String
- Description of privilegedApi control.
- display
Name String - Name of the privilegedApi control. The name must be unique.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id String
- The OCID of the PrivilegedApiControl.
- lifecycle
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.
- notification
Topic StringId - The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Control.
- number
Of IntegerApprovers - Number of approvers required to approve an privilegedApi request.
- privileged
Api StringControl Id - privileged
Operation List<GetLists Apiaccesscontrol Privileged Api Control Privileged Operation List> - List of privileged operations/apis. These operations/apis will be treaated as secured, once enabled by the Privileged API Managment for a resource. Any of these operations, if needs to be executed, needs to be raised as a PrivilegedApi Request which needs to be approved by customers or it can be pre-approved.
- resource
Type String - resourceType for which the PrivilegedApiControl is applicable
- resources List<String>
- contains Resource details
- state String
- The current state of the PrivilegedApiControl.
- 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 - The date and time the PrivilegedApiControl was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Deleted String - The date and time the PrivilegedApiControl was marked for delete, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the PrivilegedApiControl was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- approver
Group string[]Id Lists - List of IAM user group ids who can approve an privilegedApi request associated with a target resource under the governance of this operator control.
- 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"} - description string
- Description of privilegedApi control.
- display
Name string - Name of the privilegedApi control. The name must be unique.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id string
- The OCID of the PrivilegedApiControl.
- lifecycle
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.
- notification
Topic stringId - The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Control.
- number
Of numberApprovers - Number of approvers required to approve an privilegedApi request.
- privileged
Api stringControl Id - privileged
Operation GetLists Apiaccesscontrol Privileged Api Control Privileged Operation List[] - List of privileged operations/apis. These operations/apis will be treaated as secured, once enabled by the Privileged API Managment for a resource. Any of these operations, if needs to be executed, needs to be raised as a PrivilegedApi Request which needs to be approved by customers or it can be pre-approved.
- resource
Type string - resourceType for which the PrivilegedApiControl is applicable
- resources string[]
- contains Resource details
- state string
- The current state of the PrivilegedApiControl.
- 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 - The date and time the PrivilegedApiControl was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Deleted string - The date and time the PrivilegedApiControl was marked for delete, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated string - The date and time the PrivilegedApiControl was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- approver_
group_ Sequence[str]id_ lists - List of IAM user group ids who can approve an privilegedApi request associated with a target resource under the governance of this operator control.
- 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"} - description str
- Description of privilegedApi control.
- display_
name str - Name of the privilegedApi control. The name must be unique.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id str
- The OCID of the PrivilegedApiControl.
- lifecycle_
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.
- notification_
topic_ strid - The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Control.
- number_
of_ intapprovers - Number of approvers required to approve an privilegedApi request.
- privileged_
api_ strcontrol_ id - privileged_
operation_ Sequence[Getlists Apiaccesscontrol Privileged Api Control Privileged Operation List] - List of privileged operations/apis. These operations/apis will be treaated as secured, once enabled by the Privileged API Managment for a resource. Any of these operations, if needs to be executed, needs to be raised as a PrivilegedApi Request which needs to be approved by customers or it can be pre-approved.
- resource_
type str - resourceType for which the PrivilegedApiControl is applicable
- resources Sequence[str]
- contains Resource details
- state str
- The current state of the PrivilegedApiControl.
- 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 - The date and time the PrivilegedApiControl was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time_
deleted str - The date and time the PrivilegedApiControl was marked for delete, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time_
updated str - The date and time the PrivilegedApiControl was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- approver
Group List<String>Id Lists - List of IAM user group ids who can approve an privilegedApi request associated with a target resource under the governance of this operator control.
- 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"} - description String
- Description of privilegedApi control.
- display
Name String - Name of the privilegedApi control. The name must be unique.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id String
- The OCID of the PrivilegedApiControl.
- lifecycle
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.
- notification
Topic StringId - The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Privileged Api Control.
- number
Of NumberApprovers - Number of approvers required to approve an privilegedApi request.
- privileged
Api StringControl Id - privileged
Operation List<Property Map>Lists - List of privileged operations/apis. These operations/apis will be treaated as secured, once enabled by the Privileged API Managment for a resource. Any of these operations, if needs to be executed, needs to be raised as a PrivilegedApi Request which needs to be approved by customers or it can be pre-approved.
- resource
Type String - resourceType for which the PrivilegedApiControl is applicable
- resources List<String>
- contains Resource details
- state String
- The current state of the PrivilegedApiControl.
- 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 - The date and time the PrivilegedApiControl was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Deleted String - The date and time the PrivilegedApiControl was marked for delete, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the PrivilegedApiControl was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
Supporting Types
GetApiaccesscontrolPrivilegedApiControlPrivilegedOperationList
- 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.
- Entity
Type string - type of the entity 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.
- Entity
Type string - type of the entity 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.
- entity
Type String - type of the entity 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.
- entity
Type string - type of the entity 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.
- entity_
type str - type of the entity 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.
- entity
Type String - type of the entity which needs to be protected.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.5.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
