Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getAction

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

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testOperatorAction = Output.Create(Oci.OperatorAccessControl.GetAction.InvokeAsync(new Oci.OperatorAccessControl.GetActionArgs
        {
            OperatorActionId = oci_operator_access_control_operator_action.Test_operator_action.Id,
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/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: oci_operator_access_control_operator_action.Test_operator_action.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_operator_action = oci.OperatorAccessControl.get_action(operator_action_id=oci_operator_access_control_operator_action["test_operator_action"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testOperatorAction = oci.OperatorAccessControl.getAction({
    operatorActionId: oci_operator_access_control_operator_action.test_operator_action.id,
});

Coming soon!

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:

OperatorActionId string

Unique Oracle supplied identifier associated with the operator action.

OperatorActionId string

Unique Oracle supplied identifier associated with the operator action.

operatorActionId String

Unique Oracle supplied identifier associated with the operator action.

operatorActionId string

Unique Oracle supplied identifier associated with the operator action.

operator_action_id str

Unique Oracle supplied identifier associated with the operator action.

operatorActionId String

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.

CustomerDisplayName string

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

OperatorActionId string
Properties List<GetActionProperty>

Fine grained properties associated with the operator control.

ResourceType string

resourceType for which the OperatorAction is applicable

Component string

Name of the infrastructure layer associated with the operator action.

CustomerDisplayName string

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

OperatorActionId string
Properties []GetActionProperty

Fine grained properties associated with the operator control.

ResourceType string

resourceType for which the OperatorAction is applicable

component String

Name of the infrastructure layer associated with the operator action.

customerDisplayName String

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

operatorActionId String
properties List<GetActionProperty>

Fine grained properties associated with the operator control.

resourceType String

resourceType for which the OperatorAction is applicable

component string

Name of the infrastructure layer associated with the operator action.

customerDisplayName string

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

operatorActionId string
properties GetActionProperty[]

Fine grained properties associated with the operator control.

resourceType string

resourceType for which the OperatorAction is applicable

component str

Name of the infrastructure layer associated with the operator action.

customer_display_name str

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_id str
properties GetActionProperty]

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.

customerDisplayName String

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

operatorActionId String
properties List<Property Map>

Fine grained properties associated with the operator control.

resourceType String

resourceType for which the OperatorAction is applicable

Supporting Types

GetActionProperty

Name string

Name of the property

Value string

value of the property

Name string

Name of the property

Value string

value of the property

name String

Name of the property

value String

value of the property

name string

Name of the property

value string

value of the property

name str

Name of the property

value str

value of the property

name String

Name of the property

value String

value of the property

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.