qdrant-cloud.AccountsUserRoles
Create AccountsUserRoles Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AccountsUserRoles(name: string, args: AccountsUserRolesArgs, opts?: CustomResourceOptions);@overload
def AccountsUserRoles(resource_name: str,
args: AccountsUserRolesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AccountsUserRoles(resource_name: str,
opts: Optional[ResourceOptions] = None,
role_ids: Optional[Sequence[str]] = None,
user_email: Optional[str] = None,
account_id: Optional[str] = None,
accounts_user_roles_id: Optional[str] = None,
keep_on_destroy: Optional[bool] = None)func NewAccountsUserRoles(ctx *Context, name string, args AccountsUserRolesArgs, opts ...ResourceOption) (*AccountsUserRoles, error)public AccountsUserRoles(string name, AccountsUserRolesArgs args, CustomResourceOptions? opts = null)
public AccountsUserRoles(String name, AccountsUserRolesArgs args)
public AccountsUserRoles(String name, AccountsUserRolesArgs args, CustomResourceOptions options)
type: qdrant-cloud:AccountsUserRoles
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 AccountsUserRolesArgs
- 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 AccountsUserRolesArgs
- 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 AccountsUserRolesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccountsUserRolesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AccountsUserRolesArgs
- 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 accountsUserRolesResource = new QdrantCloud.AccountsUserRoles("accountsUserRolesResource", new()
{
RoleIds = new[]
{
"string",
},
UserEmail = "string",
AccountId = "string",
AccountsUserRolesId = "string",
KeepOnDestroy = false,
});
example, err := qdrantcloud.NewAccountsUserRoles(ctx, "accountsUserRolesResource", &qdrantcloud.AccountsUserRolesArgs{
RoleIds: pulumi.StringArray{
pulumi.String("string"),
},
UserEmail: pulumi.String("string"),
AccountId: pulumi.String("string"),
AccountsUserRolesId: pulumi.String("string"),
KeepOnDestroy: pulumi.Bool(false),
})
var accountsUserRolesResource = new AccountsUserRoles("accountsUserRolesResource", AccountsUserRolesArgs.builder()
.roleIds("string")
.userEmail("string")
.accountId("string")
.accountsUserRolesId("string")
.keepOnDestroy(false)
.build());
accounts_user_roles_resource = qdrant_cloud.AccountsUserRoles("accountsUserRolesResource",
role_ids=["string"],
user_email="string",
account_id="string",
accounts_user_roles_id="string",
keep_on_destroy=False)
const accountsUserRolesResource = new qdrant_cloud.AccountsUserRoles("accountsUserRolesResource", {
roleIds: ["string"],
userEmail: "string",
accountId: "string",
accountsUserRolesId: "string",
keepOnDestroy: false,
});
type: qdrant-cloud:AccountsUserRoles
properties:
accountId: string
accountsUserRolesId: string
keepOnDestroy: false
roleIds:
- string
userEmail: string
AccountsUserRoles 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 AccountsUserRoles resource accepts the following input properties:
- Role
Ids List<string> - Authoritative set of role IDs assigned to this user (unordered).
- User
Email string - User Roles Schema User email (will be resolved to user_id via AccountService.ListAccountMembers) field
- Account
Id string - User Roles Schema Account ID field
- Accounts
User stringRoles Id - The ID of this resource.
- Keep
On boolDestroy - If true, the provider will not revoke roles on destroy.
- Role
Ids []string - Authoritative set of role IDs assigned to this user (unordered).
- User
Email string - User Roles Schema User email (will be resolved to user_id via AccountService.ListAccountMembers) field
- Account
Id string - User Roles Schema Account ID field
- Accounts
User stringRoles Id - The ID of this resource.
- Keep
On boolDestroy - If true, the provider will not revoke roles on destroy.
- role
Ids List<String> - Authoritative set of role IDs assigned to this user (unordered).
- user
Email String - User Roles Schema User email (will be resolved to user_id via AccountService.ListAccountMembers) field
- account
Id String - User Roles Schema Account ID field
- accounts
User StringRoles Id - The ID of this resource.
- keep
On BooleanDestroy - If true, the provider will not revoke roles on destroy.
- role
Ids string[] - Authoritative set of role IDs assigned to this user (unordered).
- user
Email string - User Roles Schema User email (will be resolved to user_id via AccountService.ListAccountMembers) field
- account
Id string - User Roles Schema Account ID field
- accounts
User stringRoles Id - The ID of this resource.
- keep
On booleanDestroy - If true, the provider will not revoke roles on destroy.
- role_
ids Sequence[str] - Authoritative set of role IDs assigned to this user (unordered).
- user_
email str - User Roles Schema User email (will be resolved to user_id via AccountService.ListAccountMembers) field
- account_
id str - User Roles Schema Account ID field
- accounts_
user_ strroles_ id - The ID of this resource.
- keep_
on_ booldestroy - If true, the provider will not revoke roles on destroy.
- role
Ids List<String> - Authoritative set of role IDs assigned to this user (unordered).
- user
Email String - User Roles Schema User email (will be resolved to user_id via AccountService.ListAccountMembers) field
- account
Id String - User Roles Schema Account ID field
- accounts
User StringRoles Id - The ID of this resource.
- keep
On BooleanDestroy - If true, the provider will not revoke roles on destroy.
Outputs
All input properties are implicitly available as output properties. Additionally, the AccountsUserRoles resource produces the following output properties:
Look up Existing AccountsUserRoles Resource
Get an existing AccountsUserRoles 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?: AccountsUserRolesState, opts?: CustomResourceOptions): AccountsUserRoles@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
accounts_user_roles_id: Optional[str] = None,
keep_on_destroy: Optional[bool] = None,
role_ids: Optional[Sequence[str]] = None,
user_email: Optional[str] = None,
user_id: Optional[str] = None) -> AccountsUserRolesfunc GetAccountsUserRoles(ctx *Context, name string, id IDInput, state *AccountsUserRolesState, opts ...ResourceOption) (*AccountsUserRoles, error)public static AccountsUserRoles Get(string name, Input<string> id, AccountsUserRolesState? state, CustomResourceOptions? opts = null)public static AccountsUserRoles get(String name, Output<String> id, AccountsUserRolesState state, CustomResourceOptions options)resources: _: type: qdrant-cloud:AccountsUserRoles 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.
- Account
Id string - User Roles Schema Account ID field
- Accounts
User stringRoles Id - The ID of this resource.
- Keep
On boolDestroy - If true, the provider will not revoke roles on destroy.
- Role
Ids List<string> - Authoritative set of role IDs assigned to this user (unordered).
- User
Email string - User Roles Schema User email (will be resolved to user_id via AccountService.ListAccountMembers) field
- User
Id string - User Roles Schema Resolved User ID field
- Account
Id string - User Roles Schema Account ID field
- Accounts
User stringRoles Id - The ID of this resource.
- Keep
On boolDestroy - If true, the provider will not revoke roles on destroy.
- Role
Ids []string - Authoritative set of role IDs assigned to this user (unordered).
- User
Email string - User Roles Schema User email (will be resolved to user_id via AccountService.ListAccountMembers) field
- User
Id string - User Roles Schema Resolved User ID field
- account
Id String - User Roles Schema Account ID field
- accounts
User StringRoles Id - The ID of this resource.
- keep
On BooleanDestroy - If true, the provider will not revoke roles on destroy.
- role
Ids List<String> - Authoritative set of role IDs assigned to this user (unordered).
- user
Email String - User Roles Schema User email (will be resolved to user_id via AccountService.ListAccountMembers) field
- user
Id String - User Roles Schema Resolved User ID field
- account
Id string - User Roles Schema Account ID field
- accounts
User stringRoles Id - The ID of this resource.
- keep
On booleanDestroy - If true, the provider will not revoke roles on destroy.
- role
Ids string[] - Authoritative set of role IDs assigned to this user (unordered).
- user
Email string - User Roles Schema User email (will be resolved to user_id via AccountService.ListAccountMembers) field
- user
Id string - User Roles Schema Resolved User ID field
- account_
id str - User Roles Schema Account ID field
- accounts_
user_ strroles_ id - The ID of this resource.
- keep_
on_ booldestroy - If true, the provider will not revoke roles on destroy.
- role_
ids Sequence[str] - Authoritative set of role IDs assigned to this user (unordered).
- user_
email str - User Roles Schema User email (will be resolved to user_id via AccountService.ListAccountMembers) field
- user_
id str - User Roles Schema Resolved User ID field
- account
Id String - User Roles Schema Account ID field
- accounts
User StringRoles Id - The ID of this resource.
- keep
On BooleanDestroy - If true, the provider will not revoke roles on destroy.
- role
Ids List<String> - Authoritative set of role IDs assigned to this user (unordered).
- user
Email String - User Roles Schema User email (will be resolved to user_id via AccountService.ListAccountMembers) field
- user
Id String - User Roles Schema Resolved User ID field
Package Details
- Repository
- qdrant-cloud qdrant/terraform-provider-qdrant-cloud
- License
- Notes
- This Pulumi package is based on the
qdrant-cloudTerraform Provider.
