Skip to content

InfluxDBUserProps

Properties for defining a InfluxDBUser.

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

Initializer

import com.aliyun.ros.cdk.tsdb.InfluxDBUserProps;
InfluxDBUserProps.builder()
    .instanceId(java.lang.String)
    .instanceId(IResolvable)
    .password(java.lang.String)
    .password(IResolvable)
    .userName(java.lang.String)
    .userName(IResolvable)
    .userType(java.lang.String)
    .userType(IResolvable)
//  .databasePermissions(IResolvable)
//  .databasePermissions(java.util.List<IResolvable)
//  .databasePermissions(DatabasePermissionsProperty>)
    .build();

Properties

Name Type Description
instanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceId: The ID of TSDB for InfluxDB.
password java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property password: The password must be 8 to 32 characters in length and contain letters, digits, and special characters.!@#$%^&*()_+-=.
userName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property userName: The name of user.
userType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property userType: The type of user.
databasePermissions com.aliyun.ros.cdk.core.IResolvable OR java.util.ListDatabasePermissionsProperty> Property databasePermissions: The list of databases that the user can access.

instanceIdRequired

public java.lang.Object getInstanceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property instanceId: The ID of TSDB for InfluxDB.


passwordRequired

public java.lang.Object getPassword();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


userNameRequired

public java.lang.Object getUserName();
  • Type: java.lang.String OR com.aliyun.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.


userTypeRequired

public java.lang.Object getUserType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property userType: The type of user.

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


databasePermissionsOptional

public java.lang.Object getDatabasePermissions();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListDatabasePermissionsProperty>

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

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