InfluxDBUserProps
Properties for defining a InfluxDBUser
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-tsdb-influxdbuser
Initializer
import { InfluxDBUserProps } from '@alicloud/ros-cdk-tsdb'
const influxDBUserProps: InfluxDBUserProps = { ... }
Properties
Name | Type | Description |
---|---|---|
instanceId |
string | @alicloud/ros-cdk-core.IResolvable |
Property instanceId: The ID of TSDB for InfluxDB. |
password |
string | @alicloud/ros-cdk-core.IResolvable |
Property password: The password must be 8 to 32 characters in length and contain letters, digits, and special characters.!@#$%^&*()_+-=. |
userName |
string | @alicloud/ros-cdk-core.IResolvable |
Property userName: The name of user. |
userType |
string | @alicloud/ros-cdk-core.IResolvable |
Property userType: The type of user. |
databasePermissions |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | DatabasePermissionsProperty[] |
Property databasePermissions: The list of databases that the user can access. |
instanceId
Required
public readonly instanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceId: The ID of TSDB for InfluxDB.
password
Required
public readonly password: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property password: The password must be 8 to 32 characters in length and contain letters, digits, and special characters.!@#$%^&*()_+-=.
userName
Required
public readonly userName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property userName: The name of user.
The name can at must be 16 characters in length and can contain lowercase letters, digits, and underscores (_). It must start with a letter and end with a letter or digit.
userType
Required
public readonly userType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property userType: The type of user.
Valid values: normal: normal user admin: administrator user.
databasePermissions
Optional
public readonly databasePermissions: IResolvable | IResolvable | DatabasePermissionsProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | DatabasePermissionsProperty[]
Property databasePermissions: The list of databases that the user can access.
If the user type is admin, do not specify this parameter.