Oracle Cloud Infrastructure

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

getActions

This data source provides the list of Operator Actions in Oracle Cloud Infrastructure Operator Access Control service.

Lists all the OperatorActions available in the system.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testOperatorActions = Output.Create(Oci.OperatorAccessControl.GetActions.InvokeAsync(new Oci.OperatorAccessControl.GetActionsArgs
        {
            CompartmentId = @var.Compartment_id,
            Name = @var.Operator_action_name,
            ResourceType = @var.Operator_action_resource_type,
            State = @var.Operator_action_state,
        }));
    }

}
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.GetActions(ctx, &operatoraccesscontrol.GetActionsArgs{
			CompartmentId: _var.Compartment_id,
			Name:          pulumi.StringRef(_var.Operator_action_name),
			ResourceType:  pulumi.StringRef(_var.Operator_action_resource_type),
			State:         pulumi.StringRef(_var.Operator_action_state),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_operator_actions = oci.OperatorAccessControl.get_actions(compartment_id=var["compartment_id"],
    name=var["operator_action_name"],
    resource_type=var["operator_action_resource_type"],
    state=var["operator_action_state"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testOperatorActions = oci.OperatorAccessControl.getActions({
    compartmentId: _var.compartment_id,
    name: _var.operator_action_name,
    resourceType: _var.operator_action_resource_type,
    state: _var.operator_action_state,
});

Coming soon!

Using getActions

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 getActions(args: GetActionsArgs, opts?: InvokeOptions): Promise<GetActionsResult>
function getActionsOutput(args: GetActionsOutputArgs, opts?: InvokeOptions): Output<GetActionsResult>
def get_actions(compartment_id: Optional[str] = None,
                filters: Optional[Sequence[_operatoraccesscontrol.GetActionsFilter]] = None,
                name: Optional[str] = None,
                resource_type: Optional[str] = None,
                state: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetActionsResult
def get_actions_output(compartment_id: Optional[pulumi.Input[str]] = None,
                filters: Optional[pulumi.Input[Sequence[pulumi.Input[_operatoraccesscontrol.GetActionsFilterArgs]]]] = None,
                name: Optional[pulumi.Input[str]] = None,
                resource_type: Optional[pulumi.Input[str]] = None,
                state: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetActionsResult]
func GetActions(ctx *Context, args *GetActionsArgs, opts ...InvokeOption) (*GetActionsResult, error)
func GetActionsOutput(ctx *Context, args *GetActionsOutputArgs, opts ...InvokeOption) GetActionsResultOutput

> Note: This function is named GetActions in the Go SDK.

public static class GetActions 
{
    public static Task<GetActionsResult> InvokeAsync(GetActionsArgs args, InvokeOptions? opts = null)
    public static Output<GetActionsResult> Invoke(GetActionsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetActionsResult> getActions(GetActionsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:OperatorAccessControl/getActions:getActions
  Arguments:
    # Arguments dictionary

The following arguments are supported:

CompartmentId string

The ID of the compartment in which to list resources.

Filters List<GetActionsFilter>
Name string

A filter to return only resources that match the entire display name given.

ResourceType string

A filter to return only lists of resources that match the entire given service type.

State string

A filter to return only resources whose lifecycleState matches the given OperatorAction lifecycleState.

CompartmentId string

The ID of the compartment in which to list resources.

Filters []GetActionsFilter
Name string

A filter to return only resources that match the entire display name given.

ResourceType string

A filter to return only lists of resources that match the entire given service type.

State string

A filter to return only resources whose lifecycleState matches the given OperatorAction lifecycleState.

compartmentId String

The ID of the compartment in which to list resources.

filters List<GetActionsFilter>
name String

A filter to return only resources that match the entire display name given.

resourceType String

A filter to return only lists of resources that match the entire given service type.

state String

A filter to return only resources whose lifecycleState matches the given OperatorAction lifecycleState.

compartmentId string

The ID of the compartment in which to list resources.

filters GetActionsFilter[]
name string

A filter to return only resources that match the entire display name given.

resourceType string

A filter to return only lists of resources that match the entire given service type.

state string

A filter to return only resources whose lifecycleState matches the given OperatorAction lifecycleState.

compartment_id str

The ID of the compartment in which to list resources.

filters GetActionsFilter]
name str

A filter to return only resources that match the entire display name given.

resource_type str

A filter to return only lists of resources that match the entire given service type.

state str

A filter to return only resources whose lifecycleState matches the given OperatorAction lifecycleState.

compartmentId String

The ID of the compartment in which to list resources.

filters List<Property Map>
name String

A filter to return only resources that match the entire display name given.

resourceType String

A filter to return only lists of resources that match the entire given service type.

state String

A filter to return only resources whose lifecycleState matches the given OperatorAction lifecycleState.

getActions Result

The following output properties are available:

CompartmentId string
Id string

The provider-assigned unique ID for this managed resource.

OperatorActionCollections List<GetActionsOperatorActionCollection>

The list of operator_action_collection.

Filters List<GetActionsFilter>
Name string

Name of the property

ResourceType string

resourceType for which the OperatorAction is applicable

State string
CompartmentId string
Id string

The provider-assigned unique ID for this managed resource.

OperatorActionCollections []GetActionsOperatorActionCollection

The list of operator_action_collection.

Filters []GetActionsFilter
Name string

Name of the property

ResourceType string

resourceType for which the OperatorAction is applicable

State string
compartmentId String
id String

The provider-assigned unique ID for this managed resource.

operatorActionCollections List<GetActionsOperatorActionCollection>

The list of operator_action_collection.

filters List<GetActionsFilter>
name String

Name of the property

resourceType String

resourceType for which the OperatorAction is applicable

state String
compartmentId string
id string

The provider-assigned unique ID for this managed resource.

operatorActionCollections GetActionsOperatorActionCollection[]

The list of operator_action_collection.

filters GetActionsFilter[]
name string

Name of the property

resourceType string

resourceType for which the OperatorAction is applicable

state string
compartment_id str
id str

The provider-assigned unique ID for this managed resource.

operator_action_collections GetActionsOperatorActionCollection]

The list of operator_action_collection.

filters GetActionsFilter]
name str

Name of the property

resource_type str

resourceType for which the OperatorAction is applicable

state str
compartmentId String
id String

The provider-assigned unique ID for this managed resource.

operatorActionCollections List<Property Map>

The list of operator_action_collection.

filters List<Property Map>
name String

Name of the property

resourceType String

resourceType for which the OperatorAction is applicable

state String

Supporting Types

GetActionsFilter

Name string

A filter to return only resources that match the entire display name given.

Values List<string>
Regex bool
Name string

A filter to return only resources that match the entire display name given.

Values []string
Regex bool
name String

A filter to return only resources that match the entire display name given.

values List<String>
regex Boolean
name string

A filter to return only resources that match the entire display name given.

values string[]
regex boolean
name str

A filter to return only resources that match the entire display name given.

values Sequence[str]
regex bool
name String

A filter to return only resources that match the entire display name given.

values List<String>
regex Boolean

GetActionsOperatorActionCollection

GetActionsOperatorActionCollectionItem

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

Unique Oracle assigned identifier for the operator action.

Name string

A filter to return only resources that match the entire display name given.

Properties List<GetActionsOperatorActionCollectionItemProperty>

Fine grained properties associated with the operator control.

ResourceType string

A filter to return only lists of resources that match the entire given service type.

CompartmentId string

The ID of the compartment in which to list resources.

State string

A filter to return only resources whose lifecycleState matches the given OperatorAction lifecycleState.

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

Unique Oracle assigned identifier for the operator action.

Name string

A filter to return only resources that match the entire display name given.

Properties []GetActionsOperatorActionCollectionItemProperty

Fine grained properties associated with the operator control.

ResourceType string

A filter to return only lists of resources that match the entire given service type.

CompartmentId string

The ID of the compartment in which to list resources.

State string

A filter to return only resources whose lifecycleState matches the given OperatorAction lifecycleState.

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

Unique Oracle assigned identifier for the operator action.

name String

A filter to return only resources that match the entire display name given.

properties List<GetActionsOperatorActionCollectionItemProperty>

Fine grained properties associated with the operator control.

resourceType String

A filter to return only lists of resources that match the entire given service type.

compartmentId String

The ID of the compartment in which to list resources.

state String

A filter to return only resources whose lifecycleState matches the given OperatorAction lifecycleState.

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

Unique Oracle assigned identifier for the operator action.

name string

A filter to return only resources that match the entire display name given.

properties GetActionsOperatorActionCollectionItemProperty[]

Fine grained properties associated with the operator control.

resourceType string

A filter to return only lists of resources that match the entire given service type.

compartmentId string

The ID of the compartment in which to list resources.

state string

A filter to return only resources whose lifecycleState matches the given OperatorAction lifecycleState.

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

Unique Oracle assigned identifier for the operator action.

name str

A filter to return only resources that match the entire display name given.

properties GetActionsOperatorActionCollectionItemProperty]

Fine grained properties associated with the operator control.

resource_type str

A filter to return only lists of resources that match the entire given service type.

compartment_id str

The ID of the compartment in which to list resources.

state str

A filter to return only resources whose lifecycleState matches the given OperatorAction lifecycleState.

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

Unique Oracle assigned identifier for the operator action.

name String

A filter to return only resources that match the entire display name given.

properties List<Property Map>

Fine grained properties associated with the operator control.

resourceType String

A filter to return only lists of resources that match the entire given service type.

compartmentId String

The ID of the compartment in which to list resources.

state String

A filter to return only resources whose lifecycleState matches the given OperatorAction lifecycleState.

GetActionsOperatorActionCollectionItemProperty

Name string

A filter to return only resources that match the entire display name given.

Value string

value of the property

Name string

A filter to return only resources that match the entire display name given.

Value string

value of the property

name String

A filter to return only resources that match the entire display name given.

value String

value of the property

name string

A filter to return only resources that match the entire display name given.

value string

value of the property

name str

A filter to return only resources that match the entire display name given.

value str

value of the property

name String

A filter to return only resources that match the entire display name given.

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.