1. Packages
  2. Qdrant-Cloud Provider
  3. API Docs
  4. AccountsRole
qdrant-cloud 1.13.0 published on Tuesday, Oct 21, 2025 by qdrant

qdrant-cloud.AccountsRole

Get Started
qdrant-cloud logo
qdrant-cloud 1.13.0 published on Tuesday, Oct 21, 2025 by qdrant

    Import

    qdrant-cloud_accounts_role can be imported using the role ID:

    bash

    $ pulumi import qdrant-cloud:index/accountsRole:AccountsRole example 00000000-0000-0000-0000-000000000000
    

    Create AccountsRole Resource

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

    Constructor syntax

    new AccountsRole(name: string, args: AccountsRoleArgs, opts?: CustomResourceOptions);
    @overload
    def AccountsRole(resource_name: str,
                     args: AccountsRoleArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def AccountsRole(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     permissions: Optional[Sequence[AccountsRolePermissionArgs]] = None,
                     account_id: Optional[str] = None,
                     description: Optional[str] = None,
                     name: Optional[str] = None)
    func NewAccountsRole(ctx *Context, name string, args AccountsRoleArgs, opts ...ResourceOption) (*AccountsRole, error)
    public AccountsRole(string name, AccountsRoleArgs args, CustomResourceOptions? opts = null)
    public AccountsRole(String name, AccountsRoleArgs args)
    public AccountsRole(String name, AccountsRoleArgs args, CustomResourceOptions options)
    
    type: qdrant-cloud:AccountsRole
    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 AccountsRoleArgs
    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 AccountsRoleArgs
    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 AccountsRoleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AccountsRoleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AccountsRoleArgs
    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 accountsRoleResource = new QdrantCloud.AccountsRole("accountsRoleResource", new()
    {
        Permissions = new[]
        {
            new QdrantCloud.Inputs.AccountsRolePermissionArgs
            {
                Value = "string",
                Category = "string",
            },
        },
        AccountId = "string",
        Description = "string",
        Name = "string",
    });
    
    example, err := qdrantcloud.NewAccountsRole(ctx, "accountsRoleResource", &qdrantcloud.AccountsRoleArgs{
    	Permissions: qdrantcloud.AccountsRolePermissionArray{
    		&qdrantcloud.AccountsRolePermissionArgs{
    			Value:    pulumi.String("string"),
    			Category: pulumi.String("string"),
    		},
    	},
    	AccountId:   pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    })
    
    var accountsRoleResource = new AccountsRole("accountsRoleResource", AccountsRoleArgs.builder()
        .permissions(AccountsRolePermissionArgs.builder()
            .value("string")
            .category("string")
            .build())
        .accountId("string")
        .description("string")
        .name("string")
        .build());
    
    accounts_role_resource = qdrant_cloud.AccountsRole("accountsRoleResource",
        permissions=[{
            "value": "string",
            "category": "string",
        }],
        account_id="string",
        description="string",
        name="string")
    
    const accountsRoleResource = new qdrant_cloud.AccountsRole("accountsRoleResource", {
        permissions: [{
            value: "string",
            category: "string",
        }],
        accountId: "string",
        description: "string",
        name: "string",
    });
    
    type: qdrant-cloud:AccountsRole
    properties:
        accountId: string
        description: string
        name: string
        permissions:
            - category: string
              value: string
    

    AccountsRole 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 AccountsRole resource accepts the following input properties:

    Permissions List<Pulumi.QdrantCloud.Inputs.AccountsRolePermission>
    Permissions assigned to this role (unordered).
    AccountId string
    Role Schema Account ID field
    Description string
    Role Schema Human-readable description (<=256 chars) field
    Name string
    Role Schema Role name (printable, length 4-64) field
    Permissions []AccountsRolePermissionArgs
    Permissions assigned to this role (unordered).
    AccountId string
    Role Schema Account ID field
    Description string
    Role Schema Human-readable description (<=256 chars) field
    Name string
    Role Schema Role name (printable, length 4-64) field
    permissions List<AccountsRolePermission>
    Permissions assigned to this role (unordered).
    accountId String
    Role Schema Account ID field
    description String
    Role Schema Human-readable description (<=256 chars) field
    name String
    Role Schema Role name (printable, length 4-64) field
    permissions AccountsRolePermission[]
    Permissions assigned to this role (unordered).
    accountId string
    Role Schema Account ID field
    description string
    Role Schema Human-readable description (<=256 chars) field
    name string
    Role Schema Role name (printable, length 4-64) field
    permissions Sequence[AccountsRolePermissionArgs]
    Permissions assigned to this role (unordered).
    account_id str
    Role Schema Account ID field
    description str
    Role Schema Human-readable description (<=256 chars) field
    name str
    Role Schema Role name (printable, length 4-64) field
    permissions List<Property Map>
    Permissions assigned to this role (unordered).
    accountId String
    Role Schema Account ID field
    description String
    Role Schema Human-readable description (<=256 chars) field
    name String
    Role Schema Role name (printable, length 4-64) field

    Outputs

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

    CreatedAt string
    Role Schema Creation timestamp field
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedAt string
    Role Schema Last modification timestamp field
    RoleType string
    Role Schema Role type field
    SubType string
    Role Schema System role sub-type (if any) field
    CreatedAt string
    Role Schema Creation timestamp field
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedAt string
    Role Schema Last modification timestamp field
    RoleType string
    Role Schema Role type field
    SubType string
    Role Schema System role sub-type (if any) field
    createdAt String
    Role Schema Creation timestamp field
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedAt String
    Role Schema Last modification timestamp field
    roleType String
    Role Schema Role type field
    subType String
    Role Schema System role sub-type (if any) field
    createdAt string
    Role Schema Creation timestamp field
    id string
    The provider-assigned unique ID for this managed resource.
    lastModifiedAt string
    Role Schema Last modification timestamp field
    roleType string
    Role Schema Role type field
    subType string
    Role Schema System role sub-type (if any) field
    created_at str
    Role Schema Creation timestamp field
    id str
    The provider-assigned unique ID for this managed resource.
    last_modified_at str
    Role Schema Last modification timestamp field
    role_type str
    Role Schema Role type field
    sub_type str
    Role Schema System role sub-type (if any) field
    createdAt String
    Role Schema Creation timestamp field
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedAt String
    Role Schema Last modification timestamp field
    roleType String
    Role Schema Role type field
    subType String
    Role Schema System role sub-type (if any) field

    Look up Existing AccountsRole Resource

    Get an existing AccountsRole 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?: AccountsRoleState, opts?: CustomResourceOptions): AccountsRole
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            last_modified_at: Optional[str] = None,
            name: Optional[str] = None,
            permissions: Optional[Sequence[AccountsRolePermissionArgs]] = None,
            role_type: Optional[str] = None,
            sub_type: Optional[str] = None) -> AccountsRole
    func GetAccountsRole(ctx *Context, name string, id IDInput, state *AccountsRoleState, opts ...ResourceOption) (*AccountsRole, error)
    public static AccountsRole Get(string name, Input<string> id, AccountsRoleState? state, CustomResourceOptions? opts = null)
    public static AccountsRole get(String name, Output<String> id, AccountsRoleState state, CustomResourceOptions options)
    resources:  _:    type: qdrant-cloud:AccountsRole    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:
    AccountId string
    Role Schema Account ID field
    CreatedAt string
    Role Schema Creation timestamp field
    Description string
    Role Schema Human-readable description (<=256 chars) field
    LastModifiedAt string
    Role Schema Last modification timestamp field
    Name string
    Role Schema Role name (printable, length 4-64) field
    Permissions List<Pulumi.QdrantCloud.Inputs.AccountsRolePermission>
    Permissions assigned to this role (unordered).
    RoleType string
    Role Schema Role type field
    SubType string
    Role Schema System role sub-type (if any) field
    AccountId string
    Role Schema Account ID field
    CreatedAt string
    Role Schema Creation timestamp field
    Description string
    Role Schema Human-readable description (<=256 chars) field
    LastModifiedAt string
    Role Schema Last modification timestamp field
    Name string
    Role Schema Role name (printable, length 4-64) field
    Permissions []AccountsRolePermissionArgs
    Permissions assigned to this role (unordered).
    RoleType string
    Role Schema Role type field
    SubType string
    Role Schema System role sub-type (if any) field
    accountId String
    Role Schema Account ID field
    createdAt String
    Role Schema Creation timestamp field
    description String
    Role Schema Human-readable description (<=256 chars) field
    lastModifiedAt String
    Role Schema Last modification timestamp field
    name String
    Role Schema Role name (printable, length 4-64) field
    permissions List<AccountsRolePermission>
    Permissions assigned to this role (unordered).
    roleType String
    Role Schema Role type field
    subType String
    Role Schema System role sub-type (if any) field
    accountId string
    Role Schema Account ID field
    createdAt string
    Role Schema Creation timestamp field
    description string
    Role Schema Human-readable description (<=256 chars) field
    lastModifiedAt string
    Role Schema Last modification timestamp field
    name string
    Role Schema Role name (printable, length 4-64) field
    permissions AccountsRolePermission[]
    Permissions assigned to this role (unordered).
    roleType string
    Role Schema Role type field
    subType string
    Role Schema System role sub-type (if any) field
    account_id str
    Role Schema Account ID field
    created_at str
    Role Schema Creation timestamp field
    description str
    Role Schema Human-readable description (<=256 chars) field
    last_modified_at str
    Role Schema Last modification timestamp field
    name str
    Role Schema Role name (printable, length 4-64) field
    permissions Sequence[AccountsRolePermissionArgs]
    Permissions assigned to this role (unordered).
    role_type str
    Role Schema Role type field
    sub_type str
    Role Schema System role sub-type (if any) field
    accountId String
    Role Schema Account ID field
    createdAt String
    Role Schema Creation timestamp field
    description String
    Role Schema Human-readable description (<=256 chars) field
    lastModifiedAt String
    Role Schema Last modification timestamp field
    name String
    Role Schema Role name (printable, length 4-64) field
    permissions List<Property Map>
    Permissions assigned to this role (unordered).
    roleType String
    Role Schema Role type field
    subType String
    Role Schema System role sub-type (if any) field

    Supporting Types

    AccountsRolePermission, AccountsRolePermissionArgs

    Value string
    Permission value (e.g., "read:backups").
    Category string
    Permission category (e.g., "Cluster", "Account").
    Value string
    Permission value (e.g., "read:backups").
    Category string
    Permission category (e.g., "Cluster", "Account").
    value String
    Permission value (e.g., "read:backups").
    category String
    Permission category (e.g., "Cluster", "Account").
    value string
    Permission value (e.g., "read:backups").
    category string
    Permission category (e.g., "Cluster", "Account").
    value str
    Permission value (e.g., "read:backups").
    category str
    Permission category (e.g., "Cluster", "Account").
    value String
    Permission value (e.g., "read:backups").
    category String
    Permission category (e.g., "Cluster", "Account").

    Package Details

    Repository
    qdrant-cloud qdrant/terraform-provider-qdrant-cloud
    License
    Notes
    This Pulumi package is based on the qdrant-cloud Terraform Provider.
    qdrant-cloud logo
    qdrant-cloud 1.13.0 published on Tuesday, Oct 21, 2025 by qdrant
      Meet Neo: Your AI Platform Teammate