import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Privileged Api Requests in Oracle Cloud Infrastructure Apiaccesscontrol service. * * Lists all privilegedApi requests in the compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPrivilegedApiRequests = oci.oci.getApiaccesscontrolPrivilegedApiRequests({ * compartmentId: compartmentId, * displayName: privilegedApiRequestDisplayName, * id: privilegedApiRequestId, * resourceId: testResource.id, * resourceType: privilegedApiRequestResourceType, * state: privilegedApiRequestState, * }); * ``` */ export declare function getApiaccesscontrolPrivilegedApiRequests(args?: GetApiaccesscontrolPrivilegedApiRequestsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getApiaccesscontrolPrivilegedApiRequests. */ export interface GetApiaccesscontrolPrivilegedApiRequestsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId?: string; /** * A filter to return only resources that match the given display name exactly. */ displayName?: string; filters?: inputs.oci.GetApiaccesscontrolPrivilegedApiRequestsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PrivilegedApiRequest. */ id?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource . */ resourceId?: string; /** * A filter to return only lists of resources that match the entire given service type. */ resourceType?: string; /** * A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. */ state?: string; } /** * A collection of values returned by getApiaccesscontrolPrivilegedApiRequests. */ export interface GetApiaccesscontrolPrivilegedApiRequestsResult { /** * The OCID of the compartment that contains the access request. */ readonly compartmentId?: string; /** * Name of the privilegedApi control. The name must be unique. */ readonly displayName?: string; readonly filters?: outputs.oci.GetApiaccesscontrolPrivilegedApiRequestsFilter[]; /** * The OCID of the privilegedApi request. */ readonly id?: string; /** * The list of privileged_api_request_collection. */ readonly privilegedApiRequestCollections: outputs.oci.GetApiaccesscontrolPrivilegedApiRequestsPrivilegedApiRequestCollection[]; /** * 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. */ readonly resourceId?: string; /** * resourceType for which the AccessRequest is applicable */ readonly resourceType?: string; /** * The current state of the PrivilegedApiRequest. */ readonly state?: string; } /** * This data source provides the list of Privileged Api Requests in Oracle Cloud Infrastructure Apiaccesscontrol service. * * Lists all privilegedApi requests in the compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPrivilegedApiRequests = oci.oci.getApiaccesscontrolPrivilegedApiRequests({ * compartmentId: compartmentId, * displayName: privilegedApiRequestDisplayName, * id: privilegedApiRequestId, * resourceId: testResource.id, * resourceType: privilegedApiRequestResourceType, * state: privilegedApiRequestState, * }); * ``` */ export declare function getApiaccesscontrolPrivilegedApiRequestsOutput(args?: GetApiaccesscontrolPrivilegedApiRequestsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getApiaccesscontrolPrivilegedApiRequests. */ export interface GetApiaccesscontrolPrivilegedApiRequestsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId?: pulumi.Input; /** * A filter to return only resources that match the given display name exactly. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PrivilegedApiRequest. */ id?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource . */ resourceId?: pulumi.Input; /** * A filter to return only lists of resources that match the entire given service type. */ resourceType?: pulumi.Input; /** * A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. */ state?: pulumi.Input; } //# sourceMappingURL=getApiaccesscontrolPrivilegedApiRequests.d.ts.map