1. Packages
  2. Linode
  3. API Docs
  4. User
Linode v4.17.0 published on Wednesday, Mar 27, 2024 by Pulumi

linode.User

Explore with Pulumi AI

linode logo
Linode v4.17.0 published on Wednesday, Mar 27, 2024 by Pulumi

    Manages a Linode User.

    Example Usage

    Create an unrestricted user:

    import * as pulumi from "@pulumi/pulumi";
    import * as linode from "@pulumi/linode";
    
    const john = new linode.User("john", {
        email: "john@acme.io",
        username: "john123",
    });
    
    import pulumi
    import pulumi_linode as linode
    
    john = linode.User("john",
        email="john@acme.io",
        username="john123")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-linode/sdk/v4/go/linode"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := linode.NewUser(ctx, "john", &linode.UserArgs{
    			Email:    pulumi.String("john@acme.io"),
    			Username: pulumi.String("john123"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Linode = Pulumi.Linode;
    
    return await Deployment.RunAsync(() => 
    {
        var john = new Linode.User("john", new()
        {
            Email = "john@acme.io",
            Username = "john123",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.linode.User;
    import com.pulumi.linode.UserArgs;
    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) {
            var john = new User("john", UserArgs.builder()        
                .email("john@acme.io")
                .username("john123")
                .build());
    
        }
    }
    
    resources:
      john:
        type: linode:User
        properties:
          email: john@acme.io
          username: john123
    

    Create a restricted user with grants:

    import * as pulumi from "@pulumi/pulumi";
    import * as linode from "@pulumi/linode";
    
    const fooser = new linode.User("fooser", {
        email: "cool@acme.io",
        globalGrants: {
            addImages: true,
            addLinodes: true,
        },
        linodeGrants: [{
            id: 12345,
            permissions: "read_write",
        }],
        restricted: true,
        username: "cooluser123",
    });
    
    import pulumi
    import pulumi_linode as linode
    
    fooser = linode.User("fooser",
        email="cool@acme.io",
        global_grants=linode.UserGlobalGrantsArgs(
            add_images=True,
            add_linodes=True,
        ),
        linode_grants=[linode.UserLinodeGrantArgs(
            id=12345,
            permissions="read_write",
        )],
        restricted=True,
        username="cooluser123")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-linode/sdk/v4/go/linode"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := linode.NewUser(ctx, "fooser", &linode.UserArgs{
    			Email: pulumi.String("cool@acme.io"),
    			GlobalGrants: &linode.UserGlobalGrantsArgs{
    				AddImages:  pulumi.Bool(true),
    				AddLinodes: pulumi.Bool(true),
    			},
    			LinodeGrants: linode.UserLinodeGrantArray{
    				&linode.UserLinodeGrantArgs{
    					Id:          pulumi.Int(12345),
    					Permissions: pulumi.String("read_write"),
    				},
    			},
    			Restricted: pulumi.Bool(true),
    			Username:   pulumi.String("cooluser123"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Linode = Pulumi.Linode;
    
    return await Deployment.RunAsync(() => 
    {
        var fooser = new Linode.User("fooser", new()
        {
            Email = "cool@acme.io",
            GlobalGrants = new Linode.Inputs.UserGlobalGrantsArgs
            {
                AddImages = true,
                AddLinodes = true,
            },
            LinodeGrants = new[]
            {
                new Linode.Inputs.UserLinodeGrantArgs
                {
                    Id = 12345,
                    Permissions = "read_write",
                },
            },
            Restricted = true,
            Username = "cooluser123",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.linode.User;
    import com.pulumi.linode.UserArgs;
    import com.pulumi.linode.inputs.UserGlobalGrantsArgs;
    import com.pulumi.linode.inputs.UserLinodeGrantArgs;
    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) {
            var fooser = new User("fooser", UserArgs.builder()        
                .email("cool@acme.io")
                .globalGrants(UserGlobalGrantsArgs.builder()
                    .addImages(true)
                    .addLinodes(true)
                    .build())
                .linodeGrants(UserLinodeGrantArgs.builder()
                    .id(12345)
                    .permissions("read_write")
                    .build())
                .restricted(true)
                .username("cooluser123")
                .build());
    
        }
    }
    
    resources:
      fooser:
        type: linode:User
        properties:
          email: cool@acme.io
          globalGrants:
            addImages: true
            addLinodes: true
          linodeGrants:
            - id: 12345
              permissions: read_write
          restricted: true
          username: cooluser123
    

    Global Grants

    • account_access - (optional) The level of access this User has to Account-level actions, like billing information. (read_only, read_write)

    • add_domains - (optional) If true, this User may add Domains.

    • add_databases - (optional) If true, this User may add Databases.

    • add_firewalls - (optional) If true, this User may add Firewalls.

    • add_images - (optional) If true, this User may add Images.

    • add_linodes - (optional) If true, this User may create Linodes.

    • add_longview - (optional) If true, this User may create Longview clients and view the current plan.

    • add_nodebalancers - (optional) If true, this User may add NodeBalancers.

    • add_stackscripts - (optional) If true, this User may add StackScripts.

    • cancel_account - (optional) If true, this User may cancel the entire Account.

    • longview_subscription - (optional) If true, this User may manage the Account’s Longview subscription.

    Entity Grants

    • id - (required) The ID of the entity this grant applies to.

    • permissions - (required) The level of access this User has to this entity. (read_only, read_write)

    Create User Resource

    new User(name: string, args: UserArgs, opts?: CustomResourceOptions);
    @overload
    def User(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             domain_grants: Optional[Sequence[UserDomainGrantArgs]] = None,
             email: Optional[str] = None,
             firewall_grants: Optional[Sequence[UserFirewallGrantArgs]] = None,
             global_grants: Optional[UserGlobalGrantsArgs] = None,
             image_grants: Optional[Sequence[UserImageGrantArgs]] = None,
             linode_grants: Optional[Sequence[UserLinodeGrantArgs]] = None,
             longview_grants: Optional[Sequence[UserLongviewGrantArgs]] = None,
             nodebalancer_grants: Optional[Sequence[UserNodebalancerGrantArgs]] = None,
             restricted: Optional[bool] = None,
             stackscript_grants: Optional[Sequence[UserStackscriptGrantArgs]] = None,
             username: Optional[str] = None,
             volume_grants: Optional[Sequence[UserVolumeGrantArgs]] = None)
    @overload
    def User(resource_name: str,
             args: UserArgs,
             opts: Optional[ResourceOptions] = None)
    func NewUser(ctx *Context, name string, args UserArgs, opts ...ResourceOption) (*User, error)
    public User(string name, UserArgs args, CustomResourceOptions? opts = null)
    public User(String name, UserArgs args)
    public User(String name, UserArgs args, CustomResourceOptions options)
    
    type: linode:User
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args UserArgs
    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 UserArgs
    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 UserArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args UserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args UserArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    User Resource Properties

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

    Inputs

    The User resource accepts the following input properties:

    Email string
    The email address of the user.
    Username string
    The username of the user.
    DomainGrants List<UserDomainGrant>
    The domains the user has permissions access to.
    FirewallGrants List<UserFirewallGrant>
    The firewalls the user has permissions access to.
    GlobalGrants UserGlobalGrants
    A structure containing the Account-level grants a User has.
    ImageGrants List<UserImageGrant>
    The images the user has permissions access to.
    LinodeGrants List<UserLinodeGrant>
    The Linodes the user has permissions access to.
    LongviewGrants List<UserLongviewGrant>
    The longview the user has permissions access to.
    NodebalancerGrants List<UserNodebalancerGrant>
    The NodeBalancers the user has permissions access to.
    Restricted bool

    If true, this user will only have explicit permissions granted.

    • global_grants - (optional) A structure containing the Account-level grants a User has.

    The following arguments are sets of entity grants:

    StackscriptGrants List<UserStackscriptGrant>
    The StackScripts the user has permissions access to.
    VolumeGrants List<UserVolumeGrant>
    The volumes the user has permissions access to.
    Email string
    The email address of the user.
    Username string
    The username of the user.
    DomainGrants []UserDomainGrantArgs
    The domains the user has permissions access to.
    FirewallGrants []UserFirewallGrantArgs
    The firewalls the user has permissions access to.
    GlobalGrants UserGlobalGrantsArgs
    A structure containing the Account-level grants a User has.
    ImageGrants []UserImageGrantArgs
    The images the user has permissions access to.
    LinodeGrants []UserLinodeGrantArgs
    The Linodes the user has permissions access to.
    LongviewGrants []UserLongviewGrantArgs
    The longview the user has permissions access to.
    NodebalancerGrants []UserNodebalancerGrantArgs
    The NodeBalancers the user has permissions access to.
    Restricted bool

    If true, this user will only have explicit permissions granted.

    • global_grants - (optional) A structure containing the Account-level grants a User has.

    The following arguments are sets of entity grants:

    StackscriptGrants []UserStackscriptGrantArgs
    The StackScripts the user has permissions access to.
    VolumeGrants []UserVolumeGrantArgs
    The volumes the user has permissions access to.
    email String
    The email address of the user.
    username String
    The username of the user.
    domainGrants List<UserDomainGrant>
    The domains the user has permissions access to.
    firewallGrants List<UserFirewallGrant>
    The firewalls the user has permissions access to.
    globalGrants UserGlobalGrants
    A structure containing the Account-level grants a User has.
    imageGrants List<UserImageGrant>
    The images the user has permissions access to.
    linodeGrants List<UserLinodeGrant>
    The Linodes the user has permissions access to.
    longviewGrants List<UserLongviewGrant>
    The longview the user has permissions access to.
    nodebalancerGrants List<UserNodebalancerGrant>
    The NodeBalancers the user has permissions access to.
    restricted Boolean

    If true, this user will only have explicit permissions granted.

    • global_grants - (optional) A structure containing the Account-level grants a User has.

    The following arguments are sets of entity grants:

    stackscriptGrants List<UserStackscriptGrant>
    The StackScripts the user has permissions access to.
    volumeGrants List<UserVolumeGrant>
    The volumes the user has permissions access to.
    email string
    The email address of the user.
    username string
    The username of the user.
    domainGrants UserDomainGrant[]
    The domains the user has permissions access to.
    firewallGrants UserFirewallGrant[]
    The firewalls the user has permissions access to.
    globalGrants UserGlobalGrants
    A structure containing the Account-level grants a User has.
    imageGrants UserImageGrant[]
    The images the user has permissions access to.
    linodeGrants UserLinodeGrant[]
    The Linodes the user has permissions access to.
    longviewGrants UserLongviewGrant[]
    The longview the user has permissions access to.
    nodebalancerGrants UserNodebalancerGrant[]
    The NodeBalancers the user has permissions access to.
    restricted boolean

    If true, this user will only have explicit permissions granted.

    • global_grants - (optional) A structure containing the Account-level grants a User has.

    The following arguments are sets of entity grants:

    stackscriptGrants UserStackscriptGrant[]
    The StackScripts the user has permissions access to.
    volumeGrants UserVolumeGrant[]
    The volumes the user has permissions access to.
    email str
    The email address of the user.
    username str
    The username of the user.
    domain_grants Sequence[UserDomainGrantArgs]
    The domains the user has permissions access to.
    firewall_grants Sequence[UserFirewallGrantArgs]
    The firewalls the user has permissions access to.
    global_grants UserGlobalGrantsArgs
    A structure containing the Account-level grants a User has.
    image_grants Sequence[UserImageGrantArgs]
    The images the user has permissions access to.
    linode_grants Sequence[UserLinodeGrantArgs]
    The Linodes the user has permissions access to.
    longview_grants Sequence[UserLongviewGrantArgs]
    The longview the user has permissions access to.
    nodebalancer_grants Sequence[UserNodebalancerGrantArgs]
    The NodeBalancers the user has permissions access to.
    restricted bool

    If true, this user will only have explicit permissions granted.

    • global_grants - (optional) A structure containing the Account-level grants a User has.

    The following arguments are sets of entity grants:

    stackscript_grants Sequence[UserStackscriptGrantArgs]
    The StackScripts the user has permissions access to.
    volume_grants Sequence[UserVolumeGrantArgs]
    The volumes the user has permissions access to.
    email String
    The email address of the user.
    username String
    The username of the user.
    domainGrants List<Property Map>
    The domains the user has permissions access to.
    firewallGrants List<Property Map>
    The firewalls the user has permissions access to.
    globalGrants Property Map
    A structure containing the Account-level grants a User has.
    imageGrants List<Property Map>
    The images the user has permissions access to.
    linodeGrants List<Property Map>
    The Linodes the user has permissions access to.
    longviewGrants List<Property Map>
    The longview the user has permissions access to.
    nodebalancerGrants List<Property Map>
    The NodeBalancers the user has permissions access to.
    restricted Boolean

    If true, this user will only have explicit permissions granted.

    • global_grants - (optional) A structure containing the Account-level grants a User has.

    The following arguments are sets of entity grants:

    stackscriptGrants List<Property Map>
    The StackScripts the user has permissions access to.
    volumeGrants List<Property Map>
    The volumes the user has permissions access to.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    SshKeys List<string>
    A list of the User's SSH keys.
    TfaEnabled bool
    Whether the user has two-factor-authentication enabled.
    Id string
    The provider-assigned unique ID for this managed resource.
    SshKeys []string
    A list of the User's SSH keys.
    TfaEnabled bool
    Whether the user has two-factor-authentication enabled.
    id String
    The provider-assigned unique ID for this managed resource.
    sshKeys List<String>
    A list of the User's SSH keys.
    tfaEnabled Boolean
    Whether the user has two-factor-authentication enabled.
    id string
    The provider-assigned unique ID for this managed resource.
    sshKeys string[]
    A list of the User's SSH keys.
    tfaEnabled boolean
    Whether the user has two-factor-authentication enabled.
    id str
    The provider-assigned unique ID for this managed resource.
    ssh_keys Sequence[str]
    A list of the User's SSH keys.
    tfa_enabled bool
    Whether the user has two-factor-authentication enabled.
    id String
    The provider-assigned unique ID for this managed resource.
    sshKeys List<String>
    A list of the User's SSH keys.
    tfaEnabled Boolean
    Whether the user has two-factor-authentication enabled.

    Look up Existing User Resource

    Get an existing User 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?: UserState, opts?: CustomResourceOptions): User
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            domain_grants: Optional[Sequence[UserDomainGrantArgs]] = None,
            email: Optional[str] = None,
            firewall_grants: Optional[Sequence[UserFirewallGrantArgs]] = None,
            global_grants: Optional[UserGlobalGrantsArgs] = None,
            image_grants: Optional[Sequence[UserImageGrantArgs]] = None,
            linode_grants: Optional[Sequence[UserLinodeGrantArgs]] = None,
            longview_grants: Optional[Sequence[UserLongviewGrantArgs]] = None,
            nodebalancer_grants: Optional[Sequence[UserNodebalancerGrantArgs]] = None,
            restricted: Optional[bool] = None,
            ssh_keys: Optional[Sequence[str]] = None,
            stackscript_grants: Optional[Sequence[UserStackscriptGrantArgs]] = None,
            tfa_enabled: Optional[bool] = None,
            username: Optional[str] = None,
            volume_grants: Optional[Sequence[UserVolumeGrantArgs]] = None) -> User
    func GetUser(ctx *Context, name string, id IDInput, state *UserState, opts ...ResourceOption) (*User, error)
    public static User Get(string name, Input<string> id, UserState? state, CustomResourceOptions? opts = null)
    public static User get(String name, Output<String> id, UserState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    DomainGrants List<UserDomainGrant>
    The domains the user has permissions access to.
    Email string
    The email address of the user.
    FirewallGrants List<UserFirewallGrant>
    The firewalls the user has permissions access to.
    GlobalGrants UserGlobalGrants
    A structure containing the Account-level grants a User has.
    ImageGrants List<UserImageGrant>
    The images the user has permissions access to.
    LinodeGrants List<UserLinodeGrant>
    The Linodes the user has permissions access to.
    LongviewGrants List<UserLongviewGrant>
    The longview the user has permissions access to.
    NodebalancerGrants List<UserNodebalancerGrant>
    The NodeBalancers the user has permissions access to.
    Restricted bool

    If true, this user will only have explicit permissions granted.

    • global_grants - (optional) A structure containing the Account-level grants a User has.

    The following arguments are sets of entity grants:

    SshKeys List<string>
    A list of the User's SSH keys.
    StackscriptGrants List<UserStackscriptGrant>
    The StackScripts the user has permissions access to.
    TfaEnabled bool
    Whether the user has two-factor-authentication enabled.
    Username string
    The username of the user.
    VolumeGrants List<UserVolumeGrant>
    The volumes the user has permissions access to.
    DomainGrants []UserDomainGrantArgs
    The domains the user has permissions access to.
    Email string
    The email address of the user.
    FirewallGrants []UserFirewallGrantArgs
    The firewalls the user has permissions access to.
    GlobalGrants UserGlobalGrantsArgs
    A structure containing the Account-level grants a User has.
    ImageGrants []UserImageGrantArgs
    The images the user has permissions access to.
    LinodeGrants []UserLinodeGrantArgs
    The Linodes the user has permissions access to.
    LongviewGrants []UserLongviewGrantArgs
    The longview the user has permissions access to.
    NodebalancerGrants []UserNodebalancerGrantArgs
    The NodeBalancers the user has permissions access to.
    Restricted bool

    If true, this user will only have explicit permissions granted.

    • global_grants - (optional) A structure containing the Account-level grants a User has.

    The following arguments are sets of entity grants:

    SshKeys []string
    A list of the User's SSH keys.
    StackscriptGrants []UserStackscriptGrantArgs
    The StackScripts the user has permissions access to.
    TfaEnabled bool
    Whether the user has two-factor-authentication enabled.
    Username string
    The username of the user.
    VolumeGrants []UserVolumeGrantArgs
    The volumes the user has permissions access to.
    domainGrants List<UserDomainGrant>
    The domains the user has permissions access to.
    email String
    The email address of the user.
    firewallGrants List<UserFirewallGrant>
    The firewalls the user has permissions access to.
    globalGrants UserGlobalGrants
    A structure containing the Account-level grants a User has.
    imageGrants List<UserImageGrant>
    The images the user has permissions access to.
    linodeGrants List<UserLinodeGrant>
    The Linodes the user has permissions access to.
    longviewGrants List<UserLongviewGrant>
    The longview the user has permissions access to.
    nodebalancerGrants List<UserNodebalancerGrant>
    The NodeBalancers the user has permissions access to.
    restricted Boolean

    If true, this user will only have explicit permissions granted.

    • global_grants - (optional) A structure containing the Account-level grants a User has.

    The following arguments are sets of entity grants:

    sshKeys List<String>
    A list of the User's SSH keys.
    stackscriptGrants List<UserStackscriptGrant>
    The StackScripts the user has permissions access to.
    tfaEnabled Boolean
    Whether the user has two-factor-authentication enabled.
    username String
    The username of the user.
    volumeGrants List<UserVolumeGrant>
    The volumes the user has permissions access to.
    domainGrants UserDomainGrant[]
    The domains the user has permissions access to.
    email string
    The email address of the user.
    firewallGrants UserFirewallGrant[]
    The firewalls the user has permissions access to.
    globalGrants UserGlobalGrants
    A structure containing the Account-level grants a User has.
    imageGrants UserImageGrant[]
    The images the user has permissions access to.
    linodeGrants UserLinodeGrant[]
    The Linodes the user has permissions access to.
    longviewGrants UserLongviewGrant[]
    The longview the user has permissions access to.
    nodebalancerGrants UserNodebalancerGrant[]
    The NodeBalancers the user has permissions access to.
    restricted boolean

    If true, this user will only have explicit permissions granted.

    • global_grants - (optional) A structure containing the Account-level grants a User has.

    The following arguments are sets of entity grants:

    sshKeys string[]
    A list of the User's SSH keys.
    stackscriptGrants UserStackscriptGrant[]
    The StackScripts the user has permissions access to.
    tfaEnabled boolean
    Whether the user has two-factor-authentication enabled.
    username string
    The username of the user.
    volumeGrants UserVolumeGrant[]
    The volumes the user has permissions access to.
    domain_grants Sequence[UserDomainGrantArgs]
    The domains the user has permissions access to.
    email str
    The email address of the user.
    firewall_grants Sequence[UserFirewallGrantArgs]
    The firewalls the user has permissions access to.
    global_grants UserGlobalGrantsArgs
    A structure containing the Account-level grants a User has.
    image_grants Sequence[UserImageGrantArgs]
    The images the user has permissions access to.
    linode_grants Sequence[UserLinodeGrantArgs]
    The Linodes the user has permissions access to.
    longview_grants Sequence[UserLongviewGrantArgs]
    The longview the user has permissions access to.
    nodebalancer_grants Sequence[UserNodebalancerGrantArgs]
    The NodeBalancers the user has permissions access to.
    restricted bool

    If true, this user will only have explicit permissions granted.

    • global_grants - (optional) A structure containing the Account-level grants a User has.

    The following arguments are sets of entity grants:

    ssh_keys Sequence[str]
    A list of the User's SSH keys.
    stackscript_grants Sequence[UserStackscriptGrantArgs]
    The StackScripts the user has permissions access to.
    tfa_enabled bool
    Whether the user has two-factor-authentication enabled.
    username str
    The username of the user.
    volume_grants Sequence[UserVolumeGrantArgs]
    The volumes the user has permissions access to.
    domainGrants List<Property Map>
    The domains the user has permissions access to.
    email String
    The email address of the user.
    firewallGrants List<Property Map>
    The firewalls the user has permissions access to.
    globalGrants Property Map
    A structure containing the Account-level grants a User has.
    imageGrants List<Property Map>
    The images the user has permissions access to.
    linodeGrants List<Property Map>
    The Linodes the user has permissions access to.
    longviewGrants List<Property Map>
    The longview the user has permissions access to.
    nodebalancerGrants List<Property Map>
    The NodeBalancers the user has permissions access to.
    restricted Boolean

    If true, this user will only have explicit permissions granted.

    • global_grants - (optional) A structure containing the Account-level grants a User has.

    The following arguments are sets of entity grants:

    sshKeys List<String>
    A list of the User's SSH keys.
    stackscriptGrants List<Property Map>
    The StackScripts the user has permissions access to.
    tfaEnabled Boolean
    Whether the user has two-factor-authentication enabled.
    username String
    The username of the user.
    volumeGrants List<Property Map>
    The volumes the user has permissions access to.

    Supporting Types

    UserDomainGrant, UserDomainGrantArgs

    Id int
    The ID of the entity this grant applies to.
    Permissions string
    The level of access this User has to this entity. If null, this User has no access.
    Id int
    The ID of the entity this grant applies to.
    Permissions string
    The level of access this User has to this entity. If null, this User has no access.
    id Integer
    The ID of the entity this grant applies to.
    permissions String
    The level of access this User has to this entity. If null, this User has no access.
    id number
    The ID of the entity this grant applies to.
    permissions string
    The level of access this User has to this entity. If null, this User has no access.
    id int
    The ID of the entity this grant applies to.
    permissions str
    The level of access this User has to this entity. If null, this User has no access.
    id Number
    The ID of the entity this grant applies to.
    permissions String
    The level of access this User has to this entity. If null, this User has no access.

    UserFirewallGrant, UserFirewallGrantArgs

    Id int
    The ID of the entity this grant applies to.
    Permissions string
    The level of access this User has to this entity. If null, this User has no access.
    Id int
    The ID of the entity this grant applies to.
    Permissions string
    The level of access this User has to this entity. If null, this User has no access.
    id Integer
    The ID of the entity this grant applies to.
    permissions String
    The level of access this User has to this entity. If null, this User has no access.
    id number
    The ID of the entity this grant applies to.
    permissions string
    The level of access this User has to this entity. If null, this User has no access.
    id int
    The ID of the entity this grant applies to.
    permissions str
    The level of access this User has to this entity. If null, this User has no access.
    id Number
    The ID of the entity this grant applies to.
    permissions String
    The level of access this User has to this entity. If null, this User has no access.

    UserGlobalGrants, UserGlobalGrantsArgs

    AccountAccess string
    The level of access this User has to Account-level actions, like billing information. A restricted User will never be able to manage users.
    AddDatabases bool
    If true, this User may add Databases.
    AddDomains bool
    If true, this User may add Domains.
    AddFirewalls bool
    If true, this User may add Firewalls.
    AddImages bool
    If true, this User may add Images.
    AddLinodes bool
    If true, this User may create Linodes.
    AddLongview bool
    If true, this User may create Longview clients and view the current plan.
    AddNodebalancers bool
    If true, this User may add NodeBalancers.
    AddStackscripts bool
    If true, this User may add StackScripts.
    AddVolumes bool
    If true, this User may add Volumes.
    CancelAccount bool
    If true, this User may cancel the entire Account.
    LongviewSubscription bool
    If true, this User may manage the Account’s Longview subscription.
    AccountAccess string
    The level of access this User has to Account-level actions, like billing information. A restricted User will never be able to manage users.
    AddDatabases bool
    If true, this User may add Databases.
    AddDomains bool
    If true, this User may add Domains.
    AddFirewalls bool
    If true, this User may add Firewalls.
    AddImages bool
    If true, this User may add Images.
    AddLinodes bool
    If true, this User may create Linodes.
    AddLongview bool
    If true, this User may create Longview clients and view the current plan.
    AddNodebalancers bool
    If true, this User may add NodeBalancers.
    AddStackscripts bool
    If true, this User may add StackScripts.
    AddVolumes bool
    If true, this User may add Volumes.
    CancelAccount bool
    If true, this User may cancel the entire Account.
    LongviewSubscription bool
    If true, this User may manage the Account’s Longview subscription.
    accountAccess String
    The level of access this User has to Account-level actions, like billing information. A restricted User will never be able to manage users.
    addDatabases Boolean
    If true, this User may add Databases.
    addDomains Boolean
    If true, this User may add Domains.
    addFirewalls Boolean
    If true, this User may add Firewalls.
    addImages Boolean
    If true, this User may add Images.
    addLinodes Boolean
    If true, this User may create Linodes.
    addLongview Boolean
    If true, this User may create Longview clients and view the current plan.
    addNodebalancers Boolean
    If true, this User may add NodeBalancers.
    addStackscripts Boolean
    If true, this User may add StackScripts.
    addVolumes Boolean
    If true, this User may add Volumes.
    cancelAccount Boolean
    If true, this User may cancel the entire Account.
    longviewSubscription Boolean
    If true, this User may manage the Account’s Longview subscription.
    accountAccess string
    The level of access this User has to Account-level actions, like billing information. A restricted User will never be able to manage users.
    addDatabases boolean
    If true, this User may add Databases.
    addDomains boolean
    If true, this User may add Domains.
    addFirewalls boolean
    If true, this User may add Firewalls.
    addImages boolean
    If true, this User may add Images.
    addLinodes boolean
    If true, this User may create Linodes.
    addLongview boolean
    If true, this User may create Longview clients and view the current plan.
    addNodebalancers boolean
    If true, this User may add NodeBalancers.
    addStackscripts boolean
    If true, this User may add StackScripts.
    addVolumes boolean
    If true, this User may add Volumes.
    cancelAccount boolean
    If true, this User may cancel the entire Account.
    longviewSubscription boolean
    If true, this User may manage the Account’s Longview subscription.
    account_access str
    The level of access this User has to Account-level actions, like billing information. A restricted User will never be able to manage users.
    add_databases bool
    If true, this User may add Databases.
    add_domains bool
    If true, this User may add Domains.
    add_firewalls bool
    If true, this User may add Firewalls.
    add_images bool
    If true, this User may add Images.
    add_linodes bool
    If true, this User may create Linodes.
    add_longview bool
    If true, this User may create Longview clients and view the current plan.
    add_nodebalancers bool
    If true, this User may add NodeBalancers.
    add_stackscripts bool
    If true, this User may add StackScripts.
    add_volumes bool
    If true, this User may add Volumes.
    cancel_account bool
    If true, this User may cancel the entire Account.
    longview_subscription bool
    If true, this User may manage the Account’s Longview subscription.
    accountAccess String
    The level of access this User has to Account-level actions, like billing information. A restricted User will never be able to manage users.
    addDatabases Boolean
    If true, this User may add Databases.
    addDomains Boolean
    If true, this User may add Domains.
    addFirewalls Boolean
    If true, this User may add Firewalls.
    addImages Boolean
    If true, this User may add Images.
    addLinodes Boolean
    If true, this User may create Linodes.
    addLongview Boolean
    If true, this User may create Longview clients and view the current plan.
    addNodebalancers Boolean
    If true, this User may add NodeBalancers.
    addStackscripts Boolean
    If true, this User may add StackScripts.
    addVolumes Boolean
    If true, this User may add Volumes.
    cancelAccount Boolean
    If true, this User may cancel the entire Account.
    longviewSubscription Boolean
    If true, this User may manage the Account’s Longview subscription.

    UserImageGrant, UserImageGrantArgs

    Id int
    The ID of the entity this grant applies to.
    Permissions string
    The level of access this User has to this entity. If null, this User has no access.
    Id int
    The ID of the entity this grant applies to.
    Permissions string
    The level of access this User has to this entity. If null, this User has no access.
    id Integer
    The ID of the entity this grant applies to.
    permissions String
    The level of access this User has to this entity. If null, this User has no access.
    id number
    The ID of the entity this grant applies to.
    permissions string
    The level of access this User has to this entity. If null, this User has no access.
    id int
    The ID of the entity this grant applies to.
    permissions str
    The level of access this User has to this entity. If null, this User has no access.
    id Number
    The ID of the entity this grant applies to.
    permissions String
    The level of access this User has to this entity. If null, this User has no access.

    UserLinodeGrant, UserLinodeGrantArgs

    Id int
    The ID of the entity this grant applies to.
    Permissions string
    The level of access this User has to this entity. If null, this User has no access.
    Id int
    The ID of the entity this grant applies to.
    Permissions string
    The level of access this User has to this entity. If null, this User has no access.
    id Integer
    The ID of the entity this grant applies to.
    permissions String
    The level of access this User has to this entity. If null, this User has no access.
    id number
    The ID of the entity this grant applies to.
    permissions string
    The level of access this User has to this entity. If null, this User has no access.
    id int
    The ID of the entity this grant applies to.
    permissions str
    The level of access this User has to this entity. If null, this User has no access.
    id Number
    The ID of the entity this grant applies to.
    permissions String
    The level of access this User has to this entity. If null, this User has no access.

    UserLongviewGrant, UserLongviewGrantArgs

    Id int
    The ID of the entity this grant applies to.
    Permissions string
    The level of access this User has to this entity. If null, this User has no access.
    Id int
    The ID of the entity this grant applies to.
    Permissions string
    The level of access this User has to this entity. If null, this User has no access.
    id Integer
    The ID of the entity this grant applies to.
    permissions String
    The level of access this User has to this entity. If null, this User has no access.
    id number
    The ID of the entity this grant applies to.
    permissions string
    The level of access this User has to this entity. If null, this User has no access.
    id int
    The ID of the entity this grant applies to.
    permissions str
    The level of access this User has to this entity. If null, this User has no access.
    id Number
    The ID of the entity this grant applies to.
    permissions String
    The level of access this User has to this entity. If null, this User has no access.

    UserNodebalancerGrant, UserNodebalancerGrantArgs

    Id int
    The ID of the entity this grant applies to.
    Permissions string
    The level of access this User has to this entity. If null, this User has no access.
    Id int
    The ID of the entity this grant applies to.
    Permissions string
    The level of access this User has to this entity. If null, this User has no access.
    id Integer
    The ID of the entity this grant applies to.
    permissions String
    The level of access this User has to this entity. If null, this User has no access.
    id number
    The ID of the entity this grant applies to.
    permissions string
    The level of access this User has to this entity. If null, this User has no access.
    id int
    The ID of the entity this grant applies to.
    permissions str
    The level of access this User has to this entity. If null, this User has no access.
    id Number
    The ID of the entity this grant applies to.
    permissions String
    The level of access this User has to this entity. If null, this User has no access.

    UserStackscriptGrant, UserStackscriptGrantArgs

    Id int
    The ID of the entity this grant applies to.
    Permissions string
    The level of access this User has to this entity. If null, this User has no access.
    Id int
    The ID of the entity this grant applies to.
    Permissions string
    The level of access this User has to this entity. If null, this User has no access.
    id Integer
    The ID of the entity this grant applies to.
    permissions String
    The level of access this User has to this entity. If null, this User has no access.
    id number
    The ID of the entity this grant applies to.
    permissions string
    The level of access this User has to this entity. If null, this User has no access.
    id int
    The ID of the entity this grant applies to.
    permissions str
    The level of access this User has to this entity. If null, this User has no access.
    id Number
    The ID of the entity this grant applies to.
    permissions String
    The level of access this User has to this entity. If null, this User has no access.

    UserVolumeGrant, UserVolumeGrantArgs

    Id int
    The ID of the entity this grant applies to.
    Permissions string
    The level of access this User has to this entity. If null, this User has no access.
    Id int
    The ID of the entity this grant applies to.
    Permissions string
    The level of access this User has to this entity. If null, this User has no access.
    id Integer
    The ID of the entity this grant applies to.
    permissions String
    The level of access this User has to this entity. If null, this User has no access.
    id number
    The ID of the entity this grant applies to.
    permissions string
    The level of access this User has to this entity. If null, this User has no access.
    id int
    The ID of the entity this grant applies to.
    permissions str
    The level of access this User has to this entity. If null, this User has no access.
    id Number
    The ID of the entity this grant applies to.
    permissions String
    The level of access this User has to this entity. If null, this User has no access.

    Package Details

    Repository
    Linode pulumi/pulumi-linode
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the linode Terraform Provider.
    linode logo
    Linode v4.17.0 published on Wednesday, Mar 27, 2024 by Pulumi