zitadel v0.2.0 published on Monday, Mar 24, 2025 by pulumiverse
zitadel v0.2.0 published on Monday, Mar 24, 2025 by pulumiverse
Datasource representing an action belonging to an organization.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zitadel = Pulumi.Zitadel;
return await Deployment.RunAsync(() =>
{
var @default = Zitadel.GetAction.Invoke(new()
{
OrgId = defaultZitadelOrg.Id,
ActionId = "123456789012345678",
});
return new Dictionary<string, object?>
{
["action"] = @default,
};
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_default, err := zitadel.LookupAction(ctx, &zitadel.LookupActionArgs{
OrgId: pulumi.StringRef(defaultZitadelOrg.Id),
ActionId: "123456789012345678",
}, nil)
if err != nil {
return err
}
ctx.Export("action", _default)
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zitadel.ZitadelFunctions;
import com.pulumi.zitadel.inputs.GetActionArgs;
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 default = ZitadelFunctions.getAction(GetActionArgs.builder()
.orgId(defaultZitadelOrg.id())
.actionId("123456789012345678")
.build());
ctx.export("action", default_);
}
}
import * as pulumi from "@pulumi/pulumi";
import * as zitadel from "@pulumi/zitadel";
const default = zitadel.getAction({
orgId: defaultZitadelOrg.id,
actionId: "123456789012345678",
});
export const action = _default;
import pulumi
import pulumi_zitadel as zitadel
default = zitadel.get_action(org_id=default_zitadel_org["id"],
action_id="123456789012345678")
pulumi.export("action", default)
variables:
default:
fn::invoke:
Function: zitadel:getAction
Arguments:
orgId: ${defaultZitadelOrg.id}
actionId: '123456789012345678'
outputs:
action: ${default}
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,
org_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetActionResult
def get_action_output(action_id: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[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: zitadel:index/getAction:getAction
arguments:
# arguments dictionaryThe following arguments are supported:
getAction Result
The following output properties are available:
- Action
Id string - The ID of this resource.
- Allowed
To boolFail - when true, the next action will be called even if this action fails
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Script string
- State int
- the state of the action
- Timeout string
- after which time the action will be terminated if not finished
- Org
Id string - ID of the organization
- Action
Id string - The ID of this resource.
- Allowed
To boolFail - when true, the next action will be called even if this action fails
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Script string
- State int
- the state of the action
- Timeout string
- after which time the action will be terminated if not finished
- Org
Id string - ID of the organization
- action
Id String - The ID of this resource.
- allowed
To BooleanFail - when true, the next action will be called even if this action fails
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- script String
- state Integer
- the state of the action
- timeout String
- after which time the action will be terminated if not finished
- org
Id String - ID of the organization
- action
Id string - The ID of this resource.
- allowed
To booleanFail - when true, the next action will be called even if this action fails
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- script string
- state number
- the state of the action
- timeout string
- after which time the action will be terminated if not finished
- org
Id string - ID of the organization
- action_
id str - The ID of this resource.
- allowed_
to_ boolfail - when true, the next action will be called even if this action fails
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- script str
- state int
- the state of the action
- timeout str
- after which time the action will be terminated if not finished
- org_
id str - ID of the organization
- action
Id String - The ID of this resource.
- allowed
To BooleanFail - when true, the next action will be called even if this action fails
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- script String
- state Number
- the state of the action
- timeout String
- after which time the action will be terminated if not finished
- org
Id String - ID of the organization
Package Details
- Repository
- zitadel pulumiverse/pulumi-zitadel
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
zitadelTerraform Provider.
zitadel v0.2.0 published on Monday, Mar 24, 2025 by pulumiverse
