1. Packages
  2. OVH
  3. API Docs
  4. Iam
  5. getReferenceActions
OVHCloud v2.1.1 published on Thursday, Apr 10, 2025 by OVHcloud

ovh.Iam.getReferenceActions

Explore with Pulumi AI

OVHCloud v2.1.1 published on Thursday, Apr 10, 2025 by OVHcloud

Use this data source to list the IAM action associated with a resource type.

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
variables:
  vpsActions:
    fn::invoke:
      function: ovh:Iam:getReferenceActions
      arguments:
        resourceType: vps
Copy

Using getReferenceActions

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 getReferenceActions(args: GetReferenceActionsArgs, opts?: InvokeOptions): Promise<GetReferenceActionsResult>
function getReferenceActionsOutput(args: GetReferenceActionsOutputArgs, opts?: InvokeOptions): Output<GetReferenceActionsResult>
Copy
def get_reference_actions(type: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetReferenceActionsResult
def get_reference_actions_output(type: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetReferenceActionsResult]
Copy
func GetReferenceActions(ctx *Context, args *GetReferenceActionsArgs, opts ...InvokeOption) (*GetReferenceActionsResult, error)
func GetReferenceActionsOutput(ctx *Context, args *GetReferenceActionsOutputArgs, opts ...InvokeOption) GetReferenceActionsResultOutput
Copy

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

public static class GetReferenceActions 
{
    public static Task<GetReferenceActionsResult> InvokeAsync(GetReferenceActionsArgs args, InvokeOptions? opts = null)
    public static Output<GetReferenceActionsResult> Invoke(GetReferenceActionsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetReferenceActionsResult> getReferenceActions(GetReferenceActionsArgs args, InvokeOptions options)
public static Output<GetReferenceActionsResult> getReferenceActions(GetReferenceActionsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ovh:Iam/getReferenceActions:getReferenceActions
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Type This property is required. string
Kind of resource we want the actions for
Type This property is required. string
Kind of resource we want the actions for
type This property is required. String
Kind of resource we want the actions for
type This property is required. string
Kind of resource we want the actions for
type This property is required. str
Kind of resource we want the actions for
type This property is required. String
Kind of resource we want the actions for

getReferenceActions Result

The following output properties are available:

Actions List<GetReferenceActionsAction>
List of actions
Id string
The provider-assigned unique ID for this managed resource.
Type string
Actions []GetReferenceActionsAction
List of actions
Id string
The provider-assigned unique ID for this managed resource.
Type string
actions List<GetReferenceActionsAction>
List of actions
id String
The provider-assigned unique ID for this managed resource.
type String
actions GetReferenceActionsAction[]
List of actions
id string
The provider-assigned unique ID for this managed resource.
type string
actions Sequence[iam.GetReferenceActionsAction]
List of actions
id str
The provider-assigned unique ID for this managed resource.
type str
actions List<Property Map>
List of actions
id String
The provider-assigned unique ID for this managed resource.
type String

Supporting Types

GetReferenceActionsAction

Action This property is required. string
Name of the action
Categories This property is required. List<string>
List of the categories of the action
Description This property is required. string
Description of the action
ResourceType This property is required. string
Resource type the action is related to
Action This property is required. string
Name of the action
Categories This property is required. []string
List of the categories of the action
Description This property is required. string
Description of the action
ResourceType This property is required. string
Resource type the action is related to
action This property is required. String
Name of the action
categories This property is required. List<String>
List of the categories of the action
description This property is required. String
Description of the action
resourceType This property is required. String
Resource type the action is related to
action This property is required. string
Name of the action
categories This property is required. string[]
List of the categories of the action
description This property is required. string
Description of the action
resourceType This property is required. string
Resource type the action is related to
action This property is required. str
Name of the action
categories This property is required. Sequence[str]
List of the categories of the action
description This property is required. str
Description of the action
resource_type This property is required. str
Resource type the action is related to
action This property is required. String
Name of the action
categories This property is required. List<String>
List of the categories of the action
description This property is required. String
Description of the action
resourceType This property is required. String
Resource type the action is related to

Package Details

Repository
ovh ovh/pulumi-ovh
License
Apache-2.0
Notes
This Pulumi package is based on the ovh Terraform Provider.
OVHCloud v2.1.1 published on Thursday, Apr 10, 2025 by OVHcloud