oci.oci.ApiaccesscontrolPrivilegedApiControl
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPrivilegedApiControl = new oci.oci.ApiaccesscontrolPrivilegedApiControl("test_privileged_api_control", {
approverGroupIdLists: privilegedApiControlApproverGroupIdList,
compartmentId: compartmentId,
notificationTopicId: testNotificationTopic.id,
privilegedOperationLists: [{
apiName: testApi.name,
attributeNames: privilegedApiControlPrivilegedOperationListAttributeNames,
entityType: privilegedApiControlPrivilegedOperationListEntityType,
}],
resourceType: privilegedApiControlResourceType,
resources: privilegedApiControlResources,
definedTags: {
"Operations.CostCenter": "42",
},
description: privilegedApiControlDescription,
displayName: privilegedApiControlDisplayName,
freeformTags: {
Department: "Finance",
},
numberOfApprovers: privilegedApiControlNumberOfApprovers,
});
import pulumi
import pulumi_oci as oci
test_privileged_api_control = oci.oci.ApiaccesscontrolPrivilegedApiControl("test_privileged_api_control",
approver_group_id_lists=privileged_api_control_approver_group_id_list,
compartment_id=compartment_id,
notification_topic_id=test_notification_topic["id"],
privileged_operation_lists=[{
"api_name": test_api["name"],
"attribute_names": privileged_api_control_privileged_operation_list_attribute_names,
"entity_type": privileged_api_control_privileged_operation_list_entity_type,
}],
resource_type=privileged_api_control_resource_type,
resources=privileged_api_control_resources,
defined_tags={
"Operations.CostCenter": "42",
},
description=privileged_api_control_description,
display_name=privileged_api_control_display_name,
freeform_tags={
"Department": "Finance",
},
number_of_approvers=privileged_api_control_number_of_approvers)
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.NewApiaccesscontrolPrivilegedApiControl(ctx, "test_privileged_api_control", &oci.ApiaccesscontrolPrivilegedApiControlArgs{
ApproverGroupIdLists: pulumi.Any(privilegedApiControlApproverGroupIdList),
CompartmentId: pulumi.Any(compartmentId),
NotificationTopicId: pulumi.Any(testNotificationTopic.Id),
PrivilegedOperationLists: oci.ApiaccesscontrolPrivilegedApiControlPrivilegedOperationListArray{
&oci.ApiaccesscontrolPrivilegedApiControlPrivilegedOperationListArgs{
ApiName: pulumi.Any(testApi.Name),
AttributeNames: pulumi.Any(privilegedApiControlPrivilegedOperationListAttributeNames),
EntityType: pulumi.Any(privilegedApiControlPrivilegedOperationListEntityType),
},
},
ResourceType: pulumi.Any(privilegedApiControlResourceType),
Resources: pulumi.Any(privilegedApiControlResources),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
Description: pulumi.Any(privilegedApiControlDescription),
DisplayName: pulumi.Any(privilegedApiControlDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
NumberOfApprovers: pulumi.Any(privilegedApiControlNumberOfApprovers),
})
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 = new Oci.Oci.ApiaccesscontrolPrivilegedApiControl("test_privileged_api_control", new()
{
ApproverGroupIdLists = privilegedApiControlApproverGroupIdList,
CompartmentId = compartmentId,
NotificationTopicId = testNotificationTopic.Id,
PrivilegedOperationLists = new[]
{
new Oci.Oci.Inputs.ApiaccesscontrolPrivilegedApiControlPrivilegedOperationListArgs
{
ApiName = testApi.Name,
AttributeNames = privilegedApiControlPrivilegedOperationListAttributeNames,
EntityType = privilegedApiControlPrivilegedOperationListEntityType,
},
},
ResourceType = privilegedApiControlResourceType,
Resources = privilegedApiControlResources,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
Description = privilegedApiControlDescription,
DisplayName = privilegedApiControlDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
NumberOfApprovers = privilegedApiControlNumberOfApprovers,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.oci.ApiaccesscontrolPrivilegedApiControl;
import com.pulumi.oci.oci.ApiaccesscontrolPrivilegedApiControlArgs;
import com.pulumi.oci.oci.inputs.ApiaccesscontrolPrivilegedApiControlPrivilegedOperationListArgs;
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 testPrivilegedApiControl = new ApiaccesscontrolPrivilegedApiControl("testPrivilegedApiControl", ApiaccesscontrolPrivilegedApiControlArgs.builder()
.approverGroupIdLists(privilegedApiControlApproverGroupIdList)
.compartmentId(compartmentId)
.notificationTopicId(testNotificationTopic.id())
.privilegedOperationLists(ApiaccesscontrolPrivilegedApiControlPrivilegedOperationListArgs.builder()
.apiName(testApi.name())
.attributeNames(privilegedApiControlPrivilegedOperationListAttributeNames)
.entityType(privilegedApiControlPrivilegedOperationListEntityType)
.build())
.resourceType(privilegedApiControlResourceType)
.resources(privilegedApiControlResources)
.definedTags(Map.of("Operations.CostCenter", "42"))
.description(privilegedApiControlDescription)
.displayName(privilegedApiControlDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.numberOfApprovers(privilegedApiControlNumberOfApprovers)
.build());
}
}
resources:
testPrivilegedApiControl:
type: oci:oci:ApiaccesscontrolPrivilegedApiControl
name: test_privileged_api_control
properties:
approverGroupIdLists: ${privilegedApiControlApproverGroupIdList}
compartmentId: ${compartmentId}
notificationTopicId: ${testNotificationTopic.id}
privilegedOperationLists:
- apiName: ${testApi.name}
attributeNames: ${privilegedApiControlPrivilegedOperationListAttributeNames}
entityType: ${privilegedApiControlPrivilegedOperationListEntityType}
resourceType: ${privilegedApiControlResourceType}
resources: ${privilegedApiControlResources}
definedTags:
Operations.CostCenter: '42'
description: ${privilegedApiControlDescription}
displayName: ${privilegedApiControlDisplayName}
freeformTags:
Department: Finance
numberOfApprovers: ${privilegedApiControlNumberOfApprovers}
Create ApiaccesscontrolPrivilegedApiControl Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApiaccesscontrolPrivilegedApiControl(name: string, args: ApiaccesscontrolPrivilegedApiControlArgs, opts?: CustomResourceOptions);@overload
def ApiaccesscontrolPrivilegedApiControl(resource_name: str,
args: ApiaccesscontrolPrivilegedApiControlArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ApiaccesscontrolPrivilegedApiControl(resource_name: str,
opts: Optional[ResourceOptions] = None,
approver_group_id_lists: Optional[Sequence[str]] = None,
compartment_id: Optional[str] = None,
notification_topic_id: Optional[str] = None,
privileged_operation_lists: Optional[Sequence[ApiaccesscontrolPrivilegedApiControlPrivilegedOperationListArgs]] = None,
resource_type: Optional[str] = None,
resources: Optional[Sequence[str]] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
number_of_approvers: Optional[int] = None)func NewApiaccesscontrolPrivilegedApiControl(ctx *Context, name string, args ApiaccesscontrolPrivilegedApiControlArgs, opts ...ResourceOption) (*ApiaccesscontrolPrivilegedApiControl, error)public ApiaccesscontrolPrivilegedApiControl(string name, ApiaccesscontrolPrivilegedApiControlArgs args, CustomResourceOptions? opts = null)
public ApiaccesscontrolPrivilegedApiControl(String name, ApiaccesscontrolPrivilegedApiControlArgs args)
public ApiaccesscontrolPrivilegedApiControl(String name, ApiaccesscontrolPrivilegedApiControlArgs args, CustomResourceOptions options)
type: oci:oci:ApiaccesscontrolPrivilegedApiControl
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 ApiaccesscontrolPrivilegedApiControlArgs
- 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 ApiaccesscontrolPrivilegedApiControlArgs
- 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 ApiaccesscontrolPrivilegedApiControlArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApiaccesscontrolPrivilegedApiControlArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApiaccesscontrolPrivilegedApiControlArgs
- 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 apiaccesscontrolPrivilegedApiControlResource = new Oci.Oci.ApiaccesscontrolPrivilegedApiControl("apiaccesscontrolPrivilegedApiControlResource", new()
{
ApproverGroupIdLists = new[]
{
"string",
},
CompartmentId = "string",
NotificationTopicId = "string",
PrivilegedOperationLists = new[]
{
new Oci.Oci.Inputs.ApiaccesscontrolPrivilegedApiControlPrivilegedOperationListArgs
{
ApiName = "string",
AttributeNames = new[]
{
"string",
},
EntityType = "string",
},
},
ResourceType = "string",
Resources = new[]
{
"string",
},
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
NumberOfApprovers = 0,
});
example, err := oci.NewApiaccesscontrolPrivilegedApiControl(ctx, "apiaccesscontrolPrivilegedApiControlResource", &oci.ApiaccesscontrolPrivilegedApiControlArgs{
ApproverGroupIdLists: pulumi.StringArray{
pulumi.String("string"),
},
CompartmentId: pulumi.String("string"),
NotificationTopicId: pulumi.String("string"),
PrivilegedOperationLists: oci.ApiaccesscontrolPrivilegedApiControlPrivilegedOperationListArray{
&oci.ApiaccesscontrolPrivilegedApiControlPrivilegedOperationListArgs{
ApiName: pulumi.String("string"),
AttributeNames: pulumi.StringArray{
pulumi.String("string"),
},
EntityType: pulumi.String("string"),
},
},
ResourceType: pulumi.String("string"),
Resources: pulumi.StringArray{
pulumi.String("string"),
},
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
NumberOfApprovers: pulumi.Int(0),
})
var apiaccesscontrolPrivilegedApiControlResource = new ApiaccesscontrolPrivilegedApiControl("apiaccesscontrolPrivilegedApiControlResource", ApiaccesscontrolPrivilegedApiControlArgs.builder()
.approverGroupIdLists("string")
.compartmentId("string")
.notificationTopicId("string")
.privilegedOperationLists(ApiaccesscontrolPrivilegedApiControlPrivilegedOperationListArgs.builder()
.apiName("string")
.attributeNames("string")
.entityType("string")
.build())
.resourceType("string")
.resources("string")
.definedTags(Map.of("string", "string"))
.description("string")
.displayName("string")
.freeformTags(Map.of("string", "string"))
.numberOfApprovers(0)
.build());
apiaccesscontrol_privileged_api_control_resource = oci.oci.ApiaccesscontrolPrivilegedApiControl("apiaccesscontrolPrivilegedApiControlResource",
approver_group_id_lists=["string"],
compartment_id="string",
notification_topic_id="string",
privileged_operation_lists=[{
"api_name": "string",
"attribute_names": ["string"],
"entity_type": "string",
}],
resource_type="string",
resources=["string"],
defined_tags={
"string": "string",
},
description="string",
display_name="string",
freeform_tags={
"string": "string",
},
number_of_approvers=0)
const apiaccesscontrolPrivilegedApiControlResource = new oci.oci.ApiaccesscontrolPrivilegedApiControl("apiaccesscontrolPrivilegedApiControlResource", {
approverGroupIdLists: ["string"],
compartmentId: "string",
notificationTopicId: "string",
privilegedOperationLists: [{
apiName: "string",
attributeNames: ["string"],
entityType: "string",
}],
resourceType: "string",
resources: ["string"],
definedTags: {
string: "string",
},
description: "string",
displayName: "string",
freeformTags: {
string: "string",
},
numberOfApprovers: 0,
});
type: oci:oci:ApiaccesscontrolPrivilegedApiControl
properties:
approverGroupIdLists:
- string
compartmentId: string
definedTags:
string: string
description: string
displayName: string
freeformTags:
string: string
notificationTopicId: string
numberOfApprovers: 0
privilegedOperationLists:
- apiName: string
attributeNames:
- string
entityType: string
resourceType: string
resources:
- string
ApiaccesscontrolPrivilegedApiControl 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 ApiaccesscontrolPrivilegedApiControl resource accepts the following input properties:
- Approver
Group List<string>Id Lists - (Updatable) List of user IAM group ids who can approve an privilegedApi request associated with a resource governed by this operator control.
- Compartment
Id string - (Updatable) The OCID of the compartment to create the PrivilegedApiControl in.
- Notification
Topic stringId - (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
- Privileged
Operation List<ApiaccesscontrolLists Privileged Api Control Privileged Operation List> - (Updatable) List of privileged operator operations. If Privileged API Managment is enabled for a resource it will be validated whether the operation done by the operator is a part of privileged operation.
- Resource
Type string - (Updatable) resourceType for which the PrivilegedApiControl is applicable
- Resources List<string>
(Updatable) contains Resource details
** 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
- Dictionary<string, string>
- (Updatable) 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
- (Updatable) Description of the privilegedApi control.
- Display
Name string - (Updatable) Name of the privilegedApi control It has to be unique.
- Dictionary<string, string>
- (Updatable) 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"} - Number
Of intApprovers - (Updatable) Number of approvers required to approve an privilegedApi request.
- Approver
Group []stringId Lists - (Updatable) List of user IAM group ids who can approve an privilegedApi request associated with a resource governed by this operator control.
- Compartment
Id string - (Updatable) The OCID of the compartment to create the PrivilegedApiControl in.
- Notification
Topic stringId - (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
- Privileged
Operation []ApiaccesscontrolLists Privileged Api Control Privileged Operation List Args - (Updatable) List of privileged operator operations. If Privileged API Managment is enabled for a resource it will be validated whether the operation done by the operator is a part of privileged operation.
- Resource
Type string - (Updatable) resourceType for which the PrivilegedApiControl is applicable
- Resources []string
(Updatable) contains Resource details
** 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
- map[string]string
- (Updatable) 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
- (Updatable) Description of the privilegedApi control.
- Display
Name string - (Updatable) Name of the privilegedApi control It has to be unique.
- map[string]string
- (Updatable) 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"} - Number
Of intApprovers - (Updatable) Number of approvers required to approve an privilegedApi request.
- approver
Group List<String>Id Lists - (Updatable) List of user IAM group ids who can approve an privilegedApi request associated with a resource governed by this operator control.
- compartment
Id String - (Updatable) The OCID of the compartment to create the PrivilegedApiControl in.
- notification
Topic StringId - (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
- privileged
Operation List<ApiaccesscontrolLists Privileged Api Control Privileged Operation List> - (Updatable) List of privileged operator operations. If Privileged API Managment is enabled for a resource it will be validated whether the operation done by the operator is a part of privileged operation.
- resource
Type String - (Updatable) resourceType for which the PrivilegedApiControl is applicable
- resources List<String>
(Updatable) contains Resource details
** 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
- Map<String,String>
- (Updatable) 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
- (Updatable) Description of the privilegedApi control.
- display
Name String - (Updatable) Name of the privilegedApi control It has to be unique.
- Map<String,String>
- (Updatable) 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"} - number
Of IntegerApprovers - (Updatable) Number of approvers required to approve an privilegedApi request.
- approver
Group string[]Id Lists - (Updatable) List of user IAM group ids who can approve an privilegedApi request associated with a resource governed by this operator control.
- compartment
Id string - (Updatable) The OCID of the compartment to create the PrivilegedApiControl in.
- notification
Topic stringId - (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
- privileged
Operation ApiaccesscontrolLists Privileged Api Control Privileged Operation List[] - (Updatable) List of privileged operator operations. If Privileged API Managment is enabled for a resource it will be validated whether the operation done by the operator is a part of privileged operation.
- resource
Type string - (Updatable) resourceType for which the PrivilegedApiControl is applicable
- resources string[]
(Updatable) contains Resource details
** 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
- {[key: string]: string}
- (Updatable) 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
- (Updatable) Description of the privilegedApi control.
- display
Name string - (Updatable) Name of the privilegedApi control It has to be unique.
- {[key: string]: string}
- (Updatable) 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"} - number
Of numberApprovers - (Updatable) Number of approvers required to approve an privilegedApi request.
- approver_
group_ Sequence[str]id_ lists - (Updatable) List of user IAM group ids who can approve an privilegedApi request associated with a resource governed by this operator control.
- compartment_
id str - (Updatable) The OCID of the compartment to create the PrivilegedApiControl in.
- notification_
topic_ strid - (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
- privileged_
operation_ Sequence[Apiaccesscontrollists Privileged Api Control Privileged Operation List Args] - (Updatable) List of privileged operator operations. If Privileged API Managment is enabled for a resource it will be validated whether the operation done by the operator is a part of privileged operation.
- resource_
type str - (Updatable) resourceType for which the PrivilegedApiControl is applicable
- resources Sequence[str]
(Updatable) contains Resource details
** 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
- Mapping[str, str]
- (Updatable) 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
- (Updatable) Description of the privilegedApi control.
- display_
name str - (Updatable) Name of the privilegedApi control It has to be unique.
- Mapping[str, str]
- (Updatable) 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"} - number_
of_ intapprovers - (Updatable) Number of approvers required to approve an privilegedApi request.
- approver
Group List<String>Id Lists - (Updatable) List of user IAM group ids who can approve an privilegedApi request associated with a resource governed by this operator control.
- compartment
Id String - (Updatable) The OCID of the compartment to create the PrivilegedApiControl in.
- notification
Topic StringId - (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
- privileged
Operation List<Property Map>Lists - (Updatable) List of privileged operator operations. If Privileged API Managment is enabled for a resource it will be validated whether the operation done by the operator is a part of privileged operation.
- resource
Type String - (Updatable) resourceType for which the PrivilegedApiControl is applicable
- resources List<String>
(Updatable) contains Resource details
** 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
- Map<String>
- (Updatable) 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
- (Updatable) Description of the privilegedApi control.
- display
Name String - (Updatable) Name of the privilegedApi control It has to be unique.
- Map<String>
- (Updatable) 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"} - number
Of NumberApprovers - (Updatable) Number of approvers required to approve an privilegedApi request.
Outputs
All input properties are implicitly available as output properties. Additionally, the ApiaccesscontrolPrivilegedApiControl resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- 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
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- 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
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- 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
- id string
- The provider-assigned unique ID for this managed resource.
- 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.
- 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
- id str
- The provider-assigned unique ID for this managed resource.
- 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.
- 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
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- 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
Look up Existing ApiaccesscontrolPrivilegedApiControl Resource
Get an existing ApiaccesscontrolPrivilegedApiControl 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?: ApiaccesscontrolPrivilegedApiControlState, opts?: CustomResourceOptions): ApiaccesscontrolPrivilegedApiControl@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
approver_group_id_lists: Optional[Sequence[str]] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
lifecycle_details: Optional[str] = None,
notification_topic_id: Optional[str] = None,
number_of_approvers: Optional[int] = None,
privileged_operation_lists: Optional[Sequence[ApiaccesscontrolPrivilegedApiControlPrivilegedOperationListArgs]] = None,
resource_type: Optional[str] = None,
resources: Optional[Sequence[str]] = None,
state: Optional[str] = None,
state_details: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_deleted: Optional[str] = None,
time_updated: Optional[str] = None) -> ApiaccesscontrolPrivilegedApiControlfunc GetApiaccesscontrolPrivilegedApiControl(ctx *Context, name string, id IDInput, state *ApiaccesscontrolPrivilegedApiControlState, opts ...ResourceOption) (*ApiaccesscontrolPrivilegedApiControl, error)public static ApiaccesscontrolPrivilegedApiControl Get(string name, Input<string> id, ApiaccesscontrolPrivilegedApiControlState? state, CustomResourceOptions? opts = null)public static ApiaccesscontrolPrivilegedApiControl get(String name, Output<String> id, ApiaccesscontrolPrivilegedApiControlState state, CustomResourceOptions options)resources: _: type: oci:oci:ApiaccesscontrolPrivilegedApiControl 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
Group List<string>Id Lists - (Updatable) List of user IAM group ids who can approve an privilegedApi request associated with a resource governed by this operator control.
- Compartment
Id string - (Updatable) The OCID of the compartment to create the PrivilegedApiControl in.
- Dictionary<string, string>
- (Updatable) 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
- (Updatable) Description of the privilegedApi control.
- Display
Name string - (Updatable) Name of the privilegedApi control It has to be unique.
- Dictionary<string, string>
- (Updatable) 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 - 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 - (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
- Number
Of intApprovers - (Updatable) Number of approvers required to approve an privilegedApi request.
- Privileged
Operation List<ApiaccesscontrolLists Privileged Api Control Privileged Operation List> - (Updatable) List of privileged operator operations. If Privileged API Managment is enabled for a resource it will be validated whether the operation done by the operator is a part of privileged operation.
- Resource
Type string - (Updatable) resourceType for which the PrivilegedApiControl is applicable
- Resources List<string>
(Updatable) contains Resource details
** 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
- 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 - (Updatable) List of user IAM group ids who can approve an privilegedApi request associated with a resource governed by this operator control.
- Compartment
Id string - (Updatable) The OCID of the compartment to create the PrivilegedApiControl in.
- map[string]string
- (Updatable) 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
- (Updatable) Description of the privilegedApi control.
- Display
Name string - (Updatable) Name of the privilegedApi control It has to be unique.
- map[string]string
- (Updatable) 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 - 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 - (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
- Number
Of intApprovers - (Updatable) Number of approvers required to approve an privilegedApi request.
- Privileged
Operation []ApiaccesscontrolLists Privileged Api Control Privileged Operation List Args - (Updatable) List of privileged operator operations. If Privileged API Managment is enabled for a resource it will be validated whether the operation done by the operator is a part of privileged operation.
- Resource
Type string - (Updatable) resourceType for which the PrivilegedApiControl is applicable
- Resources []string
(Updatable) contains Resource details
** 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
- 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 - (Updatable) List of user IAM group ids who can approve an privilegedApi request associated with a resource governed by this operator control.
- compartment
Id String - (Updatable) The OCID of the compartment to create the PrivilegedApiControl in.
- Map<String,String>
- (Updatable) 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
- (Updatable) Description of the privilegedApi control.
- display
Name String - (Updatable) Name of the privilegedApi control It has to be unique.
- Map<String,String>
- (Updatable) 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 - 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 - (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
- number
Of IntegerApprovers - (Updatable) Number of approvers required to approve an privilegedApi request.
- privileged
Operation List<ApiaccesscontrolLists Privileged Api Control Privileged Operation List> - (Updatable) List of privileged operator operations. If Privileged API Managment is enabled for a resource it will be validated whether the operation done by the operator is a part of privileged operation.
- resource
Type String - (Updatable) resourceType for which the PrivilegedApiControl is applicable
- resources List<String>
(Updatable) contains Resource details
** 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
- 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 - (Updatable) List of user IAM group ids who can approve an privilegedApi request associated with a resource governed by this operator control.
- compartment
Id string - (Updatable) The OCID of the compartment to create the PrivilegedApiControl in.
- {[key: string]: string}
- (Updatable) 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
- (Updatable) Description of the privilegedApi control.
- display
Name string - (Updatable) Name of the privilegedApi control It has to be unique.
- {[key: string]: string}
- (Updatable) 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 - 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 - (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
- number
Of numberApprovers - (Updatable) Number of approvers required to approve an privilegedApi request.
- privileged
Operation ApiaccesscontrolLists Privileged Api Control Privileged Operation List[] - (Updatable) List of privileged operator operations. If Privileged API Managment is enabled for a resource it will be validated whether the operation done by the operator is a part of privileged operation.
- resource
Type string - (Updatable) resourceType for which the PrivilegedApiControl is applicable
- resources string[]
(Updatable) contains Resource details
** 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
- 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 - (Updatable) List of user IAM group ids who can approve an privilegedApi request associated with a resource governed by this operator control.
- compartment_
id str - (Updatable) The OCID of the compartment to create the PrivilegedApiControl in.
- Mapping[str, str]
- (Updatable) 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
- (Updatable) Description of the privilegedApi control.
- display_
name str - (Updatable) Name of the privilegedApi control It has to be unique.
- Mapping[str, str]
- (Updatable) 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 - 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 - (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
- number_
of_ intapprovers - (Updatable) Number of approvers required to approve an privilegedApi request.
- privileged_
operation_ Sequence[Apiaccesscontrollists Privileged Api Control Privileged Operation List Args] - (Updatable) List of privileged operator operations. If Privileged API Managment is enabled for a resource it will be validated whether the operation done by the operator is a part of privileged operation.
- resource_
type str - (Updatable) resourceType for which the PrivilegedApiControl is applicable
- resources Sequence[str]
(Updatable) contains Resource details
** 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
- 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 - (Updatable) List of user IAM group ids who can approve an privilegedApi request associated with a resource governed by this operator control.
- compartment
Id String - (Updatable) The OCID of the compartment to create the PrivilegedApiControl in.
- Map<String>
- (Updatable) 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
- (Updatable) Description of the privilegedApi control.
- display
Name String - (Updatable) Name of the privilegedApi control It has to be unique.
- Map<String>
- (Updatable) 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 - 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 - (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
- number
Of NumberApprovers - (Updatable) Number of approvers required to approve an privilegedApi request.
- privileged
Operation List<Property Map>Lists - (Updatable) List of privileged operator operations. If Privileged API Managment is enabled for a resource it will be validated whether the operation done by the operator is a part of privileged operation.
- resource
Type String - (Updatable) resourceType for which the PrivilegedApiControl is applicable
- resources List<String>
(Updatable) contains Resource details
** 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
- 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
ApiaccesscontrolPrivilegedApiControlPrivilegedOperationList, ApiaccesscontrolPrivilegedApiControlPrivilegedOperationListArgs
- Api
Name string - (Updatable) name of the api which needs to be protected.
- Attribute
Names List<string> - (Updatable) list of attributes belonging to the above api which needs to be protected.
- Entity
Type string - (Updatable) type of the entity which needs to be protected.
- Api
Name string - (Updatable) name of the api which needs to be protected.
- Attribute
Names []string - (Updatable) list of attributes belonging to the above api which needs to be protected.
- Entity
Type string - (Updatable) type of the entity which needs to be protected.
- api
Name String - (Updatable) name of the api which needs to be protected.
- attribute
Names List<String> - (Updatable) list of attributes belonging to the above api which needs to be protected.
- entity
Type String - (Updatable) type of the entity which needs to be protected.
- api
Name string - (Updatable) name of the api which needs to be protected.
- attribute
Names string[] - (Updatable) list of attributes belonging to the above api which needs to be protected.
- entity
Type string - (Updatable) type of the entity which needs to be protected.
- api_
name str - (Updatable) name of the api which needs to be protected.
- attribute_
names Sequence[str] - (Updatable) list of attributes belonging to the above api which needs to be protected.
- entity_
type str - (Updatable) type of the entity which needs to be protected.
- api
Name String - (Updatable) name of the api which needs to be protected.
- attribute
Names List<String> - (Updatable) list of attributes belonging to the above api which needs to be protected.
- entity
Type String - (Updatable) type of the entity which needs to be protected.
Import
PrivilegedApiControls can be imported using the id, e.g.
$ pulumi import oci:oci/apiaccesscontrolPrivilegedApiControl:ApiaccesscontrolPrivilegedApiControl test_privileged_api_control "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.
