Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.OperatorAccessControl.getControl
Explore with Pulumi AI
This data source provides details about a specific Operator Control resource in Oracle Cloud Infrastructure Operator Access Control service.
Gets the Operator Control associated with the specified Operator Control ID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOperatorControl = oci.OperatorAccessControl.getControl({
operatorControlId: testOperatorControlOciOperatorAccessControlOperatorControl.id,
});
import pulumi
import pulumi_oci as oci
test_operator_control = oci.OperatorAccessControl.get_control(operator_control_id=test_operator_control_oci_operator_access_control_operator_control["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/OperatorAccessControl"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := OperatorAccessControl.GetControl(ctx, &operatoraccesscontrol.GetControlArgs{
OperatorControlId: testOperatorControlOciOperatorAccessControlOperatorControl.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 testOperatorControl = Oci.OperatorAccessControl.GetControl.Invoke(new()
{
OperatorControlId = testOperatorControlOciOperatorAccessControlOperatorControl.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.OperatorAccessControl.OperatorAccessControlFunctions;
import com.pulumi.oci.OperatorAccessControl.inputs.GetControlArgs;
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 testOperatorControl = OperatorAccessControlFunctions.getControl(GetControlArgs.builder()
.operatorControlId(testOperatorControlOciOperatorAccessControlOperatorControl.id())
.build());
}
}
variables:
testOperatorControl:
fn::invoke:
Function: oci:OperatorAccessControl:getControl
Arguments:
operatorControlId: ${testOperatorControlOciOperatorAccessControlOperatorControl.id}
Using getControl
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 getControl(args: GetControlArgs, opts?: InvokeOptions): Promise<GetControlResult>
function getControlOutput(args: GetControlOutputArgs, opts?: InvokeOptions): Output<GetControlResult>
def get_control(operator_control_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetControlResult
def get_control_output(operator_control_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetControlResult]
func GetControl(ctx *Context, args *GetControlArgs, opts ...InvokeOption) (*GetControlResult, error)
func GetControlOutput(ctx *Context, args *GetControlOutputArgs, opts ...InvokeOption) GetControlResultOutput
> Note: This function is named GetControl
in the Go SDK.
public static class GetControl
{
public static Task<GetControlResult> InvokeAsync(GetControlArgs args, InvokeOptions? opts = null)
public static Output<GetControlResult> Invoke(GetControlInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetControlResult> getControl(GetControlArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:OperatorAccessControl/getControl:getControl
arguments:
# arguments dictionary
The following arguments are supported:
- Operator
Control stringId - unique OperatorControl identifier
- Operator
Control stringId - unique OperatorControl identifier
- operator
Control StringId - unique OperatorControl identifier
- operator
Control stringId - unique OperatorControl identifier
- operator_
control_ strid - unique OperatorControl identifier
- operator
Control StringId - unique OperatorControl identifier
getControl Result
The following output properties are available:
- Approval
Required List<string>Op Action Lists - List of operator actions that need explicit approval. Any operator action not in the pre-approved list will require explicit approval. Access requests associated with a resource governed by this operator control will be require explicit approval if the access request contains any operator action in this list.
- Approver
Groups List<string>Lists - List of user groups who can approve an access request associated with a target resource under the governance of this operator control.
- Approvers
Lists List<string> - List of users who can approve an access request associated with a target resource under the governance of this operator control.
- Compartment
Id string - The OCID of the compartment that contains the operator control.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace.
- Description string
- Description of operator control.
- Email
Id List<string>Lists - List of emailId.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- Id string
- The OCID of the operator control.
- Is
Default boolOperator Control - Whether the operator control is a default Operator Control.
- Is
Fully boolPre Approved - Whether all the operator actions have been pre-approved. If yes, all access requests associated with a resource governed by this operator control will be auto-approved.
- Last
Modified stringInfo - Description associated with the latest modification of the operator control.
- Number
Of intApprovers - Number of approvers required to approve an access request.
- Operator
Control stringId - Operator
Control stringName - Name of the operator control. The name must be unique.
- Pre
Approved List<string>Op Action Lists - List of pre-approved operator actions. Access requests associated with a resource governed by this operator control will be automatically approved if the access request only contain operator actions in the pre-approved list.
- Resource
Type string - resourceType for which the OperatorControl is applicable
- State string
- The current lifecycle state of the operator control.
- System
Message string - System message that would be displayed to the operator users on accessing the target resource under the governance of this operator control.
- Time
Of stringCreation - Time when the operator control was created expressed in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- Time
Of stringDeletion - Time when deleted expressed in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'. Note a deleted operator control still stays in the system, so that you can still audit operator actions associated with access requests raised on target resources governed by the deleted operator control.
- Time
Of stringModification - Time when the operator control was last modified expressed in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- Approval
Required []stringOp Action Lists - List of operator actions that need explicit approval. Any operator action not in the pre-approved list will require explicit approval. Access requests associated with a resource governed by this operator control will be require explicit approval if the access request contains any operator action in this list.
- Approver
Groups []stringLists - List of user groups who can approve an access request associated with a target resource under the governance of this operator control.
- Approvers
Lists []string - List of users who can approve an access request associated with a target resource under the governance of this operator control.
- Compartment
Id string - The OCID of the compartment that contains the operator control.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace.
- Description string
- Description of operator control.
- Email
Id []stringLists - List of emailId.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- Id string
- The OCID of the operator control.
- Is
Default boolOperator Control - Whether the operator control is a default Operator Control.
- Is
Fully boolPre Approved - Whether all the operator actions have been pre-approved. If yes, all access requests associated with a resource governed by this operator control will be auto-approved.
- Last
Modified stringInfo - Description associated with the latest modification of the operator control.
- Number
Of intApprovers - Number of approvers required to approve an access request.
- Operator
Control stringId - Operator
Control stringName - Name of the operator control. The name must be unique.
- Pre
Approved []stringOp Action Lists - List of pre-approved operator actions. Access requests associated with a resource governed by this operator control will be automatically approved if the access request only contain operator actions in the pre-approved list.
- Resource
Type string - resourceType for which the OperatorControl is applicable
- State string
- The current lifecycle state of the operator control.
- System
Message string - System message that would be displayed to the operator users on accessing the target resource under the governance of this operator control.
- Time
Of stringCreation - Time when the operator control was created expressed in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- Time
Of stringDeletion - Time when deleted expressed in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'. Note a deleted operator control still stays in the system, so that you can still audit operator actions associated with access requests raised on target resources governed by the deleted operator control.
- Time
Of stringModification - Time when the operator control was last modified expressed in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- approval
Required List<String>Op Action Lists - List of operator actions that need explicit approval. Any operator action not in the pre-approved list will require explicit approval. Access requests associated with a resource governed by this operator control will be require explicit approval if the access request contains any operator action in this list.
- approver
Groups List<String>Lists - List of user groups who can approve an access request associated with a target resource under the governance of this operator control.
- approvers
Lists List<String> - List of users who can approve an access request associated with a target resource under the governance of this operator control.
- compartment
Id String - The OCID of the compartment that contains the operator control.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace.
- description String
- Description of operator control.
- email
Id List<String>Lists - List of emailId.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- id String
- The OCID of the operator control.
- is
Default BooleanOperator Control - Whether the operator control is a default Operator Control.
- is
Fully BooleanPre Approved - Whether all the operator actions have been pre-approved. If yes, all access requests associated with a resource governed by this operator control will be auto-approved.
- last
Modified StringInfo - Description associated with the latest modification of the operator control.
- number
Of IntegerApprovers - Number of approvers required to approve an access request.
- operator
Control StringId - operator
Control StringName - Name of the operator control. The name must be unique.
- pre
Approved List<String>Op Action Lists - List of pre-approved operator actions. Access requests associated with a resource governed by this operator control will be automatically approved if the access request only contain operator actions in the pre-approved list.
- resource
Type String - resourceType for which the OperatorControl is applicable
- state String
- The current lifecycle state of the operator control.
- system
Message String - System message that would be displayed to the operator users on accessing the target resource under the governance of this operator control.
- time
Of StringCreation - Time when the operator control was created expressed in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Of StringDeletion - Time when deleted expressed in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'. Note a deleted operator control still stays in the system, so that you can still audit operator actions associated with access requests raised on target resources governed by the deleted operator control.
- time
Of StringModification - Time when the operator control was last modified expressed in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- approval
Required string[]Op Action Lists - List of operator actions that need explicit approval. Any operator action not in the pre-approved list will require explicit approval. Access requests associated with a resource governed by this operator control will be require explicit approval if the access request contains any operator action in this list.
- approver
Groups string[]Lists - List of user groups who can approve an access request associated with a target resource under the governance of this operator control.
- approvers
Lists string[] - List of users who can approve an access request associated with a target resource under the governance of this operator control.
- compartment
Id string - The OCID of the compartment that contains the operator control.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace.
- description string
- Description of operator control.
- email
Id string[]Lists - List of emailId.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- id string
- The OCID of the operator control.
- is
Default booleanOperator Control - Whether the operator control is a default Operator Control.
- is
Fully booleanPre Approved - Whether all the operator actions have been pre-approved. If yes, all access requests associated with a resource governed by this operator control will be auto-approved.
- last
Modified stringInfo - Description associated with the latest modification of the operator control.
- number
Of numberApprovers - Number of approvers required to approve an access request.
- operator
Control stringId - operator
Control stringName - Name of the operator control. The name must be unique.
- pre
Approved string[]Op Action Lists - List of pre-approved operator actions. Access requests associated with a resource governed by this operator control will be automatically approved if the access request only contain operator actions in the pre-approved list.
- resource
Type string - resourceType for which the OperatorControl is applicable
- state string
- The current lifecycle state of the operator control.
- system
Message string - System message that would be displayed to the operator users on accessing the target resource under the governance of this operator control.
- time
Of stringCreation - Time when the operator control was created expressed in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Of stringDeletion - Time when deleted expressed in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'. Note a deleted operator control still stays in the system, so that you can still audit operator actions associated with access requests raised on target resources governed by the deleted operator control.
- time
Of stringModification - Time when the operator control was last modified expressed in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- approval_
required_ Sequence[str]op_ action_ lists - List of operator actions that need explicit approval. Any operator action not in the pre-approved list will require explicit approval. Access requests associated with a resource governed by this operator control will be require explicit approval if the access request contains any operator action in this list.
- approver_
groups_ Sequence[str]lists - List of user groups who can approve an access request associated with a target resource under the governance of this operator control.
- approvers_
lists Sequence[str] - List of users who can approve an access request associated with a target resource under the governance of this operator control.
- compartment_
id str - The OCID of the compartment that contains the operator control.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace.
- description str
- Description of operator control.
- email_
id_ Sequence[str]lists - List of emailId.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- id str
- The OCID of the operator control.
- is_
default_ booloperator_ control - Whether the operator control is a default Operator Control.
- is_
fully_ boolpre_ approved - Whether all the operator actions have been pre-approved. If yes, all access requests associated with a resource governed by this operator control will be auto-approved.
- last_
modified_ strinfo - Description associated with the latest modification of the operator control.
- number_
of_ intapprovers - Number of approvers required to approve an access request.
- operator_
control_ strid - operator_
control_ strname - Name of the operator control. The name must be unique.
- pre_
approved_ Sequence[str]op_ action_ lists - List of pre-approved operator actions. Access requests associated with a resource governed by this operator control will be automatically approved if the access request only contain operator actions in the pre-approved list.
- resource_
type str - resourceType for which the OperatorControl is applicable
- state str
- The current lifecycle state of the operator control.
- system_
message str - System message that would be displayed to the operator users on accessing the target resource under the governance of this operator control.
- time_
of_ strcreation - Time when the operator control was created expressed in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time_
of_ strdeletion - Time when deleted expressed in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'. Note a deleted operator control still stays in the system, so that you can still audit operator actions associated with access requests raised on target resources governed by the deleted operator control.
- time_
of_ strmodification - Time when the operator control was last modified expressed in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- approval
Required List<String>Op Action Lists - List of operator actions that need explicit approval. Any operator action not in the pre-approved list will require explicit approval. Access requests associated with a resource governed by this operator control will be require explicit approval if the access request contains any operator action in this list.
- approver
Groups List<String>Lists - List of user groups who can approve an access request associated with a target resource under the governance of this operator control.
- approvers
Lists List<String> - List of users who can approve an access request associated with a target resource under the governance of this operator control.
- compartment
Id String - The OCID of the compartment that contains the operator control.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace.
- description String
- Description of operator control.
- email
Id List<String>Lists - List of emailId.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- id String
- The OCID of the operator control.
- is
Default BooleanOperator Control - Whether the operator control is a default Operator Control.
- is
Fully BooleanPre Approved - Whether all the operator actions have been pre-approved. If yes, all access requests associated with a resource governed by this operator control will be auto-approved.
- last
Modified StringInfo - Description associated with the latest modification of the operator control.
- number
Of NumberApprovers - Number of approvers required to approve an access request.
- operator
Control StringId - operator
Control StringName - Name of the operator control. The name must be unique.
- pre
Approved List<String>Op Action Lists - List of pre-approved operator actions. Access requests associated with a resource governed by this operator control will be automatically approved if the access request only contain operator actions in the pre-approved list.
- resource
Type String - resourceType for which the OperatorControl is applicable
- state String
- The current lifecycle state of the operator control.
- system
Message String - System message that would be displayed to the operator users on accessing the target resource under the governance of this operator control.
- time
Of StringCreation - Time when the operator control was created expressed in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
- time
Of StringDeletion - Time when deleted expressed in RFC 3339timestamp format. Example: '2020-05-22T21:10:29.600Z'. Note a deleted operator control still stays in the system, so that you can still audit operator actions associated with access requests raised on target resources governed by the deleted operator control.
- time
Of StringModification - Time when the operator control was last modified expressed in RFC 3339 timestamp format. Example: '2020-05-22T21:10:29.600Z'
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.