Skip to content

InfluxDBUserProps

Properties for defining a InfluxDBUser.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-tsdb-influxdbuser

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdktsdb"
&alicloudroscdktsdb.InfluxDBUserProps {
    InstanceId: interface{},
    Password: interface{},
    UserName: interface{},
    UserType: interface{},
    DatabasePermissions: interface{},
}

Properties

Name Type Description
InstanceId interface{} Property instanceId: The ID of TSDB for InfluxDB.
Password interface{} Property password: The password must be 8 to 32 characters in length and contain letters, digits, and special characters.!@#$%^&*()_+-=.
UserName interface{} Property userName: The name of user.
UserType interface{} Property userType: The type of user.
DatabasePermissions interface{} Property databasePermissions: The list of databases that the user can access.

InstanceIdRequired

InstanceId interface{}
  • Type: interface{}

Property instanceId: The ID of TSDB for InfluxDB.


PasswordRequired

Password interface{}
  • Type: interface{}

Property password: The password must be 8 to 32 characters in length and contain letters, digits, and special characters.!@#$%^&*()_+-=.


UserNameRequired

UserName interface{}
  • Type: interface{}

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.


UserTypeRequired

UserType interface{}
  • Type: interface{}

Property userType: The type of user.

Valid values: normal: normal user admin: administrator user.


DatabasePermissionsOptional

DatabasePermissions interface{}
  • Type: interface{}

Property databasePermissions: The list of databases that the user can access.

If the user type is admin, do not specify this parameter.