1. Packages
  2. Authentik Provider
  3. API Docs
  4. RbacInitialPermissions
authentik 2025.4.0 published on Friday, May 2, 2025 by goauthentik

authentik.RbacInitialPermissions

Explore with Pulumi AI

authentik logo
authentik 2025.4.0 published on Friday, May 2, 2025 by goauthentik

    Create RbacInitialPermissions Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RbacInitialPermissions(name: string, args: RbacInitialPermissionsArgs, opts?: CustomResourceOptions);
    @overload
    def RbacInitialPermissions(resource_name: str,
                               args: RbacInitialPermissionsArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def RbacInitialPermissions(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               mode: Optional[str] = None,
                               permissions: Optional[Sequence[float]] = None,
                               role: Optional[str] = None,
                               name: Optional[str] = None,
                               rbac_initial_permissions_id: Optional[str] = None)
    func NewRbacInitialPermissions(ctx *Context, name string, args RbacInitialPermissionsArgs, opts ...ResourceOption) (*RbacInitialPermissions, error)
    public RbacInitialPermissions(string name, RbacInitialPermissionsArgs args, CustomResourceOptions? opts = null)
    public RbacInitialPermissions(String name, RbacInitialPermissionsArgs args)
    public RbacInitialPermissions(String name, RbacInitialPermissionsArgs args, CustomResourceOptions options)
    
    type: authentik:RbacInitialPermissions
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RbacInitialPermissionsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RbacInitialPermissionsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RbacInitialPermissionsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RbacInitialPermissionsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RbacInitialPermissionsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var rbacInitialPermissionsResource = new Authentik.RbacInitialPermissions("rbacInitialPermissionsResource", new()
    {
        Mode = "string",
        Permissions = new[]
        {
            0,
        },
        Role = "string",
        Name = "string",
        RbacInitialPermissionsId = "string",
    });
    
    example, err := authentik.NewRbacInitialPermissions(ctx, "rbacInitialPermissionsResource", &authentik.RbacInitialPermissionsArgs{
    	Mode: pulumi.String("string"),
    	Permissions: pulumi.Float64Array{
    		pulumi.Float64(0),
    	},
    	Role:                     pulumi.String("string"),
    	Name:                     pulumi.String("string"),
    	RbacInitialPermissionsId: pulumi.String("string"),
    })
    
    var rbacInitialPermissionsResource = new RbacInitialPermissions("rbacInitialPermissionsResource", RbacInitialPermissionsArgs.builder()
        .mode("string")
        .permissions(0.0)
        .role("string")
        .name("string")
        .rbacInitialPermissionsId("string")
        .build());
    
    rbac_initial_permissions_resource = authentik.RbacInitialPermissions("rbacInitialPermissionsResource",
        mode="string",
        permissions=[0],
        role="string",
        name="string",
        rbac_initial_permissions_id="string")
    
    const rbacInitialPermissionsResource = new authentik.RbacInitialPermissions("rbacInitialPermissionsResource", {
        mode: "string",
        permissions: [0],
        role: "string",
        name: "string",
        rbacInitialPermissionsId: "string",
    });
    
    type: authentik:RbacInitialPermissions
    properties:
        mode: string
        name: string
        permissions:
            - 0
        rbacInitialPermissionsId: string
        role: string
    

    RbacInitialPermissions Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The RbacInitialPermissions resource accepts the following input properties:

    Mode string
    Allowed values: - user - role
    Permissions List<double>
    Role string
    Name string
    RbacInitialPermissionsId string
    Mode string
    Allowed values: - user - role
    Permissions []float64
    Role string
    Name string
    RbacInitialPermissionsId string
    mode String
    Allowed values: - user - role
    permissions List<Double>
    role String
    name String
    rbacInitialPermissionsId String
    mode string
    Allowed values: - user - role
    permissions number[]
    role string
    name string
    rbacInitialPermissionsId string
    mode str
    Allowed values: - user - role
    permissions Sequence[float]
    role str
    name str
    rbac_initial_permissions_id str
    mode String
    Allowed values: - user - role
    permissions List<Number>
    role String
    name String
    rbacInitialPermissionsId String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RbacInitialPermissions resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing RbacInitialPermissions Resource

    Get an existing RbacInitialPermissions resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: RbacInitialPermissionsState, opts?: CustomResourceOptions): RbacInitialPermissions
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            mode: Optional[str] = None,
            name: Optional[str] = None,
            permissions: Optional[Sequence[float]] = None,
            rbac_initial_permissions_id: Optional[str] = None,
            role: Optional[str] = None) -> RbacInitialPermissions
    func GetRbacInitialPermissions(ctx *Context, name string, id IDInput, state *RbacInitialPermissionsState, opts ...ResourceOption) (*RbacInitialPermissions, error)
    public static RbacInitialPermissions Get(string name, Input<string> id, RbacInitialPermissionsState? state, CustomResourceOptions? opts = null)
    public static RbacInitialPermissions get(String name, Output<String> id, RbacInitialPermissionsState state, CustomResourceOptions options)
    resources:  _:    type: authentik:RbacInitialPermissions    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Mode string
    Allowed values: - user - role
    Name string
    Permissions List<double>
    RbacInitialPermissionsId string
    Role string
    Mode string
    Allowed values: - user - role
    Name string
    Permissions []float64
    RbacInitialPermissionsId string
    Role string
    mode String
    Allowed values: - user - role
    name String
    permissions List<Double>
    rbacInitialPermissionsId String
    role String
    mode string
    Allowed values: - user - role
    name string
    permissions number[]
    rbacInitialPermissionsId string
    role string
    mode str
    Allowed values: - user - role
    name str
    permissions Sequence[float]
    rbac_initial_permissions_id str
    role str
    mode String
    Allowed values: - user - role
    name String
    permissions List<Number>
    rbacInitialPermissionsId String
    role String

    Package Details

    Repository
    authentik goauthentik/terraform-provider-authentik
    License
    Notes
    This Pulumi package is based on the authentik Terraform Provider.
    authentik logo
    authentik 2025.4.0 published on Friday, May 2, 2025 by goauthentik