Viewing docs for juju 2.2.1
published on Monday, Jul 27, 2026 by juju
published on Monday, Jul 27, 2026 by juju
Viewing docs for juju 2.2.1
published on Monday, Jul 27, 2026 by juju
published on Monday, Jul 27, 2026 by juju
Example Usage
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(action_id: Optional[str] = None,
model_uuid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetActionResult
def get_action_output(action_id: pulumi.Input[Optional[str]] = None,
model_uuid: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetActionResult]func LookupAction(ctx *Context, args *LookupActionArgs, opts ...InvokeOption) (*LookupActionResult, error)
func LookupActionOutput(ctx *Context, args *LookupActionOutputArgs, opts ...InvokeOption) LookupActionResultOutput> Note: This function is named LookupAction 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)
public static Output<GetActionResult> getAction(GetActionArgs args, InvokeOptions options)
fn::invoke:
function: juju:index/getAction:getAction
arguments:
# arguments dictionarydata "juju_get_action" "name" {
# arguments
}The following arguments are supported:
- action_
id string - The ID of the action whose result is fetched.
- model_
uuid string - The UUID of the model where the action was run.
- action_
id str - The ID of the action whose result is fetched.
- model_
uuid str - The UUID of the model where the action was run.
getAction Result
The following output properties are available:
- action_
id string - The ID of the action whose result is fetched.
- id string
- The ID of this resource.
- model_
uuid string - The UUID of the model where the action was run.
- output string
- The output of the action as a JSON string. Use jsondecode() to extract values from it.
- action_
id str - The ID of the action whose result is fetched.
- id str
- The ID of this resource.
- model_
uuid str - The UUID of the model where the action was run.
- output str
- The output of the action as a JSON string. Use jsondecode() to extract values from it.
Package Details
- Repository
- juju juju/terraform-provider-juju
- License
- Notes
- This Pulumi package is based on the
jujuTerraform Provider.
Viewing docs for juju 2.2.1
published on Monday, Jul 27, 2026 by juju
published on Monday, Jul 27, 2026 by juju