OVHCloud v0.45.0 published on Tuesday, Jun 4, 2024 by OVHcloud
ovh.Iam.getReferenceActions
Explore with Pulumi AI
Use this data source to list the IAM action associated with a resource type.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.Iam.IamFunctions;
import com.pulumi.ovh.Iam.inputs.GetReferenceActionsArgs;
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 vpsActions = IamFunctions.getReferenceActions(GetReferenceActionsArgs.builder()
.resourceType("vps")
.build());
}
}
variables:
vpsActions:
fn::invoke:
Function: ovh:Iam:getReferenceActions
Arguments:
resourceType: vps
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>
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]
func GetReferenceActions(ctx *Context, args *GetReferenceActionsArgs, opts ...InvokeOption) (*GetReferenceActionsResult, error)
func GetReferenceActionsOutput(ctx *Context, args *GetReferenceActionsOutputArgs, opts ...InvokeOption) GetReferenceActionsResultOutput
> 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)
}
public static CompletableFuture<GetReferenceActionsResult> getReferenceActions(GetReferenceActionsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: ovh:Iam/getReferenceActions:getReferenceActions
arguments:
# arguments dictionary
The following arguments are supported:
- Type string
- Kind of resource we want the actions for
- Type string
- Kind of resource we want the actions for
- type String
- Kind of resource we want the actions for
- type string
- Kind of resource we want the actions for
- type str
- Kind of resource we want the actions for
- type String
- Kind of resource we want the actions for
getReferenceActions Result
The following output properties are available:
- Actions
List<Get
Reference Actions Action> - List of actions
- Id string
- The provider-assigned unique ID for this managed resource.
- Type string
- Actions
[]Get
Reference Actions Action - List of actions
- Id string
- The provider-assigned unique ID for this managed resource.
- Type string
- actions
List<Get
Reference Actions Action> - List of actions
- id String
- The provider-assigned unique ID for this managed resource.
- type String
- actions
Get
Reference Actions Action[] - List of actions
- id string
- The provider-assigned unique ID for this managed resource.
- type string
- actions
Sequence[iam.
Get Reference Actions Action] - 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 string
- Name of the action
- Categories List<string>
- List of the categories of the action
- Description string
- Description of the action
- Resource
Type string - Resource type the action is related to
- Action string
- Name of the action
- Categories []string
- List of the categories of the action
- Description string
- Description of the action
- Resource
Type string - Resource type the action is related to
- action String
- Name of the action
- categories List<String>
- List of the categories of the action
- description String
- Description of the action
- resource
Type String - Resource type the action is related to
- action string
- Name of the action
- categories string[]
- List of the categories of the action
- description string
- Description of the action
- resource
Type string - Resource type the action is related to
- action str
- Name of the action
- categories Sequence[str]
- List of the categories of the action
- description str
- Description of the action
- resource_
type str - Resource type the action is related to
- action String
- Name of the action
- categories List<String>
- List of the categories of the action
- description String
- Description of the action
- resource
Type 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.