qdrant-cloud.AccountsRole
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.
Qdrant Cloud. Inputs. Accounts Role Permission> - Permissions assigned to this role (unordered).
- Account
Id 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
[]Accounts
Role Permission Args - Permissions assigned to this role (unordered).
- Account
Id 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<Accounts
Role Permission> - Permissions assigned to this role (unordered).
- account
Id 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
Accounts
Role Permission[] - Permissions assigned to this role (unordered).
- account
Id 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[Accounts
Role Permission Args] - 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).
- account
Id 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:
- Created
At string - Role Schema Creation timestamp field
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringAt - Role Schema Last modification timestamp field
- Role
Type string - Role Schema Role type field
- Sub
Type string - Role Schema System role sub-type (if any) field
- Created
At string - Role Schema Creation timestamp field
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringAt - Role Schema Last modification timestamp field
- Role
Type string - Role Schema Role type field
- Sub
Type string - Role Schema System role sub-type (if any) field
- created
At String - Role Schema Creation timestamp field
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringAt - Role Schema Last modification timestamp field
- role
Type String - Role Schema Role type field
- sub
Type String - Role Schema System role sub-type (if any) field
- created
At string - Role Schema Creation timestamp field
- id string
- The provider-assigned unique ID for this managed resource.
- last
Modified stringAt - Role Schema Last modification timestamp field
- role
Type string - Role Schema Role type field
- sub
Type 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_ strat - 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
- created
At String - Role Schema Creation timestamp field
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringAt - Role Schema Last modification timestamp field
- role
Type String - Role Schema Role type field
- sub
Type 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) -> AccountsRolefunc 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.
- Account
Id string - Role Schema Account ID field
- Created
At string - Role Schema Creation timestamp field
- Description string
- Role Schema Human-readable description (<=256 chars) field
- Last
Modified stringAt - Role Schema Last modification timestamp field
- Name string
- Role Schema Role name (printable, length 4-64) field
- Permissions
List<Pulumi.
Qdrant Cloud. Inputs. Accounts Role Permission> - Permissions assigned to this role (unordered).
- Role
Type string - Role Schema Role type field
- Sub
Type string - Role Schema System role sub-type (if any) field
- Account
Id string - Role Schema Account ID field
- Created
At string - Role Schema Creation timestamp field
- Description string
- Role Schema Human-readable description (<=256 chars) field
- Last
Modified stringAt - Role Schema Last modification timestamp field
- Name string
- Role Schema Role name (printable, length 4-64) field
- Permissions
[]Accounts
Role Permission Args - Permissions assigned to this role (unordered).
- Role
Type string - Role Schema Role type field
- Sub
Type string - Role Schema System role sub-type (if any) field
- account
Id String - Role Schema Account ID field
- created
At String - Role Schema Creation timestamp field
- description String
- Role Schema Human-readable description (<=256 chars) field
- last
Modified StringAt - Role Schema Last modification timestamp field
- name String
- Role Schema Role name (printable, length 4-64) field
- permissions
List<Accounts
Role Permission> - Permissions assigned to this role (unordered).
- role
Type String - Role Schema Role type field
- sub
Type String - Role Schema System role sub-type (if any) field
- account
Id string - Role Schema Account ID field
- created
At string - Role Schema Creation timestamp field
- description string
- Role Schema Human-readable description (<=256 chars) field
- last
Modified stringAt - Role Schema Last modification timestamp field
- name string
- Role Schema Role name (printable, length 4-64) field
- permissions
Accounts
Role Permission[] - Permissions assigned to this role (unordered).
- role
Type string - Role Schema Role type field
- sub
Type 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_ strat - Role Schema Last modification timestamp field
- name str
- Role Schema Role name (printable, length 4-64) field
- permissions
Sequence[Accounts
Role Permission Args] - 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
- account
Id String - Role Schema Account ID field
- created
At String - Role Schema Creation timestamp field
- description String
- Role Schema Human-readable description (<=256 chars) field
- last
Modified StringAt - 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).
- role
Type String - Role Schema Role type field
- sub
Type String - Role Schema System role sub-type (if any) field
Supporting Types
AccountsRolePermission, AccountsRolePermissionArgs
Package Details
- Repository
- qdrant-cloud qdrant/terraform-provider-qdrant-cloud
- License
- Notes
- This Pulumi package is based on the
qdrant-cloudTerraform Provider.
