qdrant-cloud.AccountsAuthKey
Explore with Pulumi AI
Deprecated: The
qdrant-cloud_accounts_auth_key
resource is deprecated and will be removed in a future version. Please use theqdrant-cloud_accounts_database_api_key_v2
resource instead.
Create AccountsAuthKey Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AccountsAuthKey(name: string, args: AccountsAuthKeyArgs, opts?: CustomResourceOptions);
@overload
def AccountsAuthKey(resource_name: str,
args: AccountsAuthKeyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AccountsAuthKey(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_ids: Optional[Sequence[str]] = None)
func NewAccountsAuthKey(ctx *Context, name string, args AccountsAuthKeyArgs, opts ...ResourceOption) (*AccountsAuthKey, error)
public AccountsAuthKey(string name, AccountsAuthKeyArgs args, CustomResourceOptions? opts = null)
public AccountsAuthKey(String name, AccountsAuthKeyArgs args)
public AccountsAuthKey(String name, AccountsAuthKeyArgs args, CustomResourceOptions options)
type: qdrant-cloud:AccountsAuthKey
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 AccountsAuthKeyArgs
- 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 AccountsAuthKeyArgs
- 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 AccountsAuthKeyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccountsAuthKeyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AccountsAuthKeyArgs
- 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 accountsAuthKeyResource = new QdrantCloud.AccountsAuthKey("accountsAuthKeyResource", new()
{
ClusterIds = new[]
{
"string",
},
});
example, err := qdrantcloud.NewAccountsAuthKey(ctx, "accountsAuthKeyResource", &qdrantcloud.AccountsAuthKeyArgs{
ClusterIds: pulumi.StringArray{
pulumi.String("string"),
},
})
var accountsAuthKeyResource = new AccountsAuthKey("accountsAuthKeyResource", AccountsAuthKeyArgs.builder()
.clusterIds("string")
.build());
accounts_auth_key_resource = qdrant_cloud.AccountsAuthKey("accountsAuthKeyResource", cluster_ids=["string"])
const accountsAuthKeyResource = new qdrant_cloud.AccountsAuthKey("accountsAuthKeyResource", {clusterIds: ["string"]});
type: qdrant-cloud:AccountsAuthKey
properties:
clusterIds:
- string
AccountsAuthKey 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 AccountsAuthKey resource accepts the following input properties:
- Cluster
Ids List<string> - Auth Keys Keys Schema Cluster Identifiers for which this Auth Key is attached field
- Cluster
Ids []string - Auth Keys Keys Schema Cluster Identifiers for which this Auth Key is attached field
- cluster
Ids List<String> - Auth Keys Keys Schema Cluster Identifiers for which this Auth Key is attached field
- cluster
Ids string[] - Auth Keys Keys Schema Cluster Identifiers for which this Auth Key is attached field
- cluster_
ids Sequence[str] - Auth Keys Keys Schema Cluster Identifiers for which this Auth Key is attached field
- cluster
Ids List<String> - Auth Keys Keys Schema Cluster Identifiers for which this Auth Key is attached field
Outputs
All input properties are implicitly available as output properties. Additionally, the AccountsAuthKey resource produces the following output properties:
- Created
At string - Auth Keys Keys Schema Timestamp when the Auth Key is created field
- Id string
- The provider-assigned unique ID for this managed resource.
- Prefix string
- Auth Keys Keys Schema Prefix of the Auth Key (the first few bytes from the token) field
- Token string
- Auth Keys Keys Schema Secret token for this Auth Key (handle with care!) field
- Created
At string - Auth Keys Keys Schema Timestamp when the Auth Key is created field
- Id string
- The provider-assigned unique ID for this managed resource.
- Prefix string
- Auth Keys Keys Schema Prefix of the Auth Key (the first few bytes from the token) field
- Token string
- Auth Keys Keys Schema Secret token for this Auth Key (handle with care!) field
- created
At String - Auth Keys Keys Schema Timestamp when the Auth Key is created field
- id String
- The provider-assigned unique ID for this managed resource.
- prefix String
- Auth Keys Keys Schema Prefix of the Auth Key (the first few bytes from the token) field
- token String
- Auth Keys Keys Schema Secret token for this Auth Key (handle with care!) field
- created
At string - Auth Keys Keys Schema Timestamp when the Auth Key is created field
- id string
- The provider-assigned unique ID for this managed resource.
- prefix string
- Auth Keys Keys Schema Prefix of the Auth Key (the first few bytes from the token) field
- token string
- Auth Keys Keys Schema Secret token for this Auth Key (handle with care!) field
- created_
at str - Auth Keys Keys Schema Timestamp when the Auth Key is created field
- id str
- The provider-assigned unique ID for this managed resource.
- prefix str
- Auth Keys Keys Schema Prefix of the Auth Key (the first few bytes from the token) field
- token str
- Auth Keys Keys Schema Secret token for this Auth Key (handle with care!) field
- created
At String - Auth Keys Keys Schema Timestamp when the Auth Key is created field
- id String
- The provider-assigned unique ID for this managed resource.
- prefix String
- Auth Keys Keys Schema Prefix of the Auth Key (the first few bytes from the token) field
- token String
- Auth Keys Keys Schema Secret token for this Auth Key (handle with care!) field
Look up Existing AccountsAuthKey Resource
Get an existing AccountsAuthKey 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?: AccountsAuthKeyState, opts?: CustomResourceOptions): AccountsAuthKey
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_ids: Optional[Sequence[str]] = None,
created_at: Optional[str] = None,
prefix: Optional[str] = None,
token: Optional[str] = None) -> AccountsAuthKey
func GetAccountsAuthKey(ctx *Context, name string, id IDInput, state *AccountsAuthKeyState, opts ...ResourceOption) (*AccountsAuthKey, error)
public static AccountsAuthKey Get(string name, Input<string> id, AccountsAuthKeyState? state, CustomResourceOptions? opts = null)
public static AccountsAuthKey get(String name, Output<String> id, AccountsAuthKeyState state, CustomResourceOptions options)
resources: _: type: qdrant-cloud:AccountsAuthKey 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.
- Cluster
Ids List<string> - Auth Keys Keys Schema Cluster Identifiers for which this Auth Key is attached field
- Created
At string - Auth Keys Keys Schema Timestamp when the Auth Key is created field
- Prefix string
- Auth Keys Keys Schema Prefix of the Auth Key (the first few bytes from the token) field
- Token string
- Auth Keys Keys Schema Secret token for this Auth Key (handle with care!) field
- Cluster
Ids []string - Auth Keys Keys Schema Cluster Identifiers for which this Auth Key is attached field
- Created
At string - Auth Keys Keys Schema Timestamp when the Auth Key is created field
- Prefix string
- Auth Keys Keys Schema Prefix of the Auth Key (the first few bytes from the token) field
- Token string
- Auth Keys Keys Schema Secret token for this Auth Key (handle with care!) field
- cluster
Ids List<String> - Auth Keys Keys Schema Cluster Identifiers for which this Auth Key is attached field
- created
At String - Auth Keys Keys Schema Timestamp when the Auth Key is created field
- prefix String
- Auth Keys Keys Schema Prefix of the Auth Key (the first few bytes from the token) field
- token String
- Auth Keys Keys Schema Secret token for this Auth Key (handle with care!) field
- cluster
Ids string[] - Auth Keys Keys Schema Cluster Identifiers for which this Auth Key is attached field
- created
At string - Auth Keys Keys Schema Timestamp when the Auth Key is created field
- prefix string
- Auth Keys Keys Schema Prefix of the Auth Key (the first few bytes from the token) field
- token string
- Auth Keys Keys Schema Secret token for this Auth Key (handle with care!) field
- cluster_
ids Sequence[str] - Auth Keys Keys Schema Cluster Identifiers for which this Auth Key is attached field
- created_
at str - Auth Keys Keys Schema Timestamp when the Auth Key is created field
- prefix str
- Auth Keys Keys Schema Prefix of the Auth Key (the first few bytes from the token) field
- token str
- Auth Keys Keys Schema Secret token for this Auth Key (handle with care!) field
- cluster
Ids List<String> - Auth Keys Keys Schema Cluster Identifiers for which this Auth Key is attached field
- created
At String - Auth Keys Keys Schema Timestamp when the Auth Key is created field
- prefix String
- Auth Keys Keys Schema Prefix of the Auth Key (the first few bytes from the token) field
- token String
- Auth Keys Keys Schema Secret token for this Auth Key (handle with care!) field
Import
qdrant-cloud_accounts_auth_key
can be imported using the auth key ID, e.g.
$ pulumi import qdrant-cloud:index/accountsAuthKey:AccountsAuthKey example 12345678-0000-0000-0000-1234567890ab
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- qdrant-cloud qdrant/terraform-provider-qdrant-cloud
- License
- Notes
- This Pulumi package is based on the
qdrant-cloud
Terraform Provider.