Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.OperatorAccessControl.getAction
Explore with Pulumi AI
This data source provides details about a specific Operator Action resource in Oracle Cloud Infrastructure Operator Access Control service.
Gets the operator action associated with the specified operator action ID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testOperatorAction = oci.OperatorAccessControl.getAction({
operatorActionId: testOperatorActionOciOperatorAccessControlOperatorAction.id,
});
import pulumi
import pulumi_oci as oci
test_operator_action = oci.OperatorAccessControl.get_action(operator_action_id=test_operator_action_oci_operator_access_control_operator_action["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.GetAction(ctx, &operatoraccesscontrol.GetActionArgs{
OperatorActionId: testOperatorActionOciOperatorAccessControlOperatorAction.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 testOperatorAction = Oci.OperatorAccessControl.GetAction.Invoke(new()
{
OperatorActionId = testOperatorActionOciOperatorAccessControlOperatorAction.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.GetActionArgs;
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 testOperatorAction = OperatorAccessControlFunctions.getAction(GetActionArgs.builder()
.operatorActionId(testOperatorActionOciOperatorAccessControlOperatorAction.id())
.build());
}
}
variables:
testOperatorAction:
fn::invoke:
Function: oci:OperatorAccessControl:getAction
Arguments:
operatorActionId: ${testOperatorActionOciOperatorAccessControlOperatorAction.id}
Using getAction
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 getAction(args: GetActionArgs, opts?: InvokeOptions): Promise<GetActionResult>
function getActionOutput(args: GetActionOutputArgs, opts?: InvokeOptions): Output<GetActionResult>
def get_action(operator_action_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetActionResult
def get_action_output(operator_action_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetActionResult]
func GetAction(ctx *Context, args *GetActionArgs, opts ...InvokeOption) (*GetActionResult, error)
func GetActionOutput(ctx *Context, args *GetActionOutputArgs, opts ...InvokeOption) GetActionResultOutput
> Note: This function is named GetAction
in the Go SDK.
public static class GetAction
{
public static Task<GetActionResult> InvokeAsync(GetActionArgs args, InvokeOptions? opts = null)
public static Output<GetActionResult> Invoke(GetActionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetActionResult> getAction(GetActionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:OperatorAccessControl/getAction:getAction
arguments:
# arguments dictionary
The following arguments are supported:
- Operator
Action stringId - Unique Oracle supplied identifier associated with the operator action.
- Operator
Action stringId - Unique Oracle supplied identifier associated with the operator action.
- operator
Action StringId - Unique Oracle supplied identifier associated with the operator action.
- operator
Action stringId - Unique Oracle supplied identifier associated with the operator action.
- operator_
action_ strid - Unique Oracle supplied identifier associated with the operator action.
- operator
Action StringId - Unique Oracle supplied identifier associated with the operator action.
getAction Result
The following output properties are available:
- Component string
- Name of the infrastructure layer associated with the operator action.
- Customer
Display stringName - Display Name of the operator action.
- Description string
- Description of the operator action in terms of associated risk profile, and characteristics of the operating system commands made available to the operator under this operator action.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the property
- Operator
Action stringId - Properties
List<Get
Action Property> - Fine grained properties associated with the operator control.
- Resource
Type string - resourceType for which the OperatorAction is applicable
- Component string
- Name of the infrastructure layer associated with the operator action.
- Customer
Display stringName - Display Name of the operator action.
- Description string
- Description of the operator action in terms of associated risk profile, and characteristics of the operating system commands made available to the operator under this operator action.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the property
- Operator
Action stringId - Properties
[]Get
Action Property - Fine grained properties associated with the operator control.
- Resource
Type string - resourceType for which the OperatorAction is applicable
- component String
- Name of the infrastructure layer associated with the operator action.
- customer
Display StringName - Display Name of the operator action.
- description String
- Description of the operator action in terms of associated risk profile, and characteristics of the operating system commands made available to the operator under this operator action.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the property
- operator
Action StringId - properties
List<Get
Action Property> - Fine grained properties associated with the operator control.
- resource
Type String - resourceType for which the OperatorAction is applicable
- component string
- Name of the infrastructure layer associated with the operator action.
- customer
Display stringName - Display Name of the operator action.
- description string
- Description of the operator action in terms of associated risk profile, and characteristics of the operating system commands made available to the operator under this operator action.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of the property
- operator
Action stringId - properties
Get
Action Property[] - Fine grained properties associated with the operator control.
- resource
Type string - resourceType for which the OperatorAction is applicable
- component str
- Name of the infrastructure layer associated with the operator action.
- customer_
display_ strname - Display Name of the operator action.
- description str
- Description of the operator action in terms of associated risk profile, and characteristics of the operating system commands made available to the operator under this operator action.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name of the property
- operator_
action_ strid - properties
Sequence[operatoraccesscontrol.
Get Action Property] - Fine grained properties associated with the operator control.
- resource_
type str - resourceType for which the OperatorAction is applicable
- component String
- Name of the infrastructure layer associated with the operator action.
- customer
Display StringName - Display Name of the operator action.
- description String
- Description of the operator action in terms of associated risk profile, and characteristics of the operating system commands made available to the operator under this operator action.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the property
- operator
Action StringId - properties List<Property Map>
- Fine grained properties associated with the operator control.
- resource
Type String - resourceType for which the OperatorAction is applicable
Supporting Types
GetActionProperty
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.