ClientUserArgs

data class ClientUserArgs(val bandwidth: Output<Int>? = null, val clientIp: Output<String>? = null, val kmsEncryptedPassword: Output<String>? = null, val kmsEncryptionContext: Output<Map<String, Any>>? = null, val password: Output<String>? = null, val sagId: Output<String>? = null, val userMail: Output<String>? = null, val userName: Output<String>? = null) : ConvertibleToJava<ClientUserArgs>

Provides a Sag ClientUser resource. This topic describes how to manage accounts as an administrator. After you configure the network, you can create multiple accounts and distribute them to end users so that clients can access Alibaba Cloud. For information about Sag ClientUser and how to use it, see What is Sag ClientUser.

NOTE: Available since v1.65.0. NOTE: Only the following regions support. `cn-shanghai`, `cn-shanghai-finance-1`, `cn-hongkong`, `ap-southeast-1`, `ap-southeast-2`, `ap-southeast-3`, `ap-southeast-5`, `ap-northeast-1`, `eu-central-1`

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.rocketmq.ClientUser;
import com.pulumi.alicloud.rocketmq.ClientUserArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var name = config.get("name").orElse("tf-example");
final var sagId = config.get("sagId").orElse("sag-9bifkfaz4fg***");
var default_ = new ClientUser("default", ClientUserArgs.builder()
.sagId(sagId)
.bandwidth("20")
.userMail("tf-example@abc.com")
.userName(name)
.password("example1234")
.clientIp("192.1.10.0")
.build());
}
}

Import

The Sag ClientUser can be imported using the name, e.g.

$ pulumi import alicloud:rocketmq/clientUser:ClientUser example sag-abc123456:tf-username-abc123456

Constructors

Link copied to clipboard
fun ClientUserArgs(bandwidth: Output<Int>? = null, clientIp: Output<String>? = null, kmsEncryptedPassword: Output<String>? = null, kmsEncryptionContext: Output<Map<String, Any>>? = null, password: Output<String>? = null, sagId: Output<String>? = null, userMail: Output<String>? = null, userName: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ClientUserArgs

Properties

Link copied to clipboard
val bandwidth: Output<Int>? = null

The SAG APP bandwidth that the user can use. Unit: Kbit/s. Maximum value: 2000 Kbit/s.

Link copied to clipboard
val clientIp: Output<String>? = null

The IP address of the SAG APP. If you specify this parameter, the current account always uses the specified IP address.Note The IP address must be in the private CIDR block of the SAG client.If you do not specify this parameter, the system automatically allocates an IP address from the private CIDR block of the SAG client. In this case, each re-connection uses a different IP address.

Link copied to clipboard
val kmsEncryptedPassword: Output<String>? = null

The password of the KMS Encryption.

Link copied to clipboard
val kmsEncryptionContext: Output<Map<String, Any>>? = null

The context of the KMS Encryption.

Link copied to clipboard
val password: Output<String>? = null

The password used to log on to the SAG APP.Both the user name and the password must be specified. If you specify the user name, the password must be specified, too.

Link copied to clipboard
val sagId: Output<String>? = null

The ID of the SAG instance created for the SAG APP.

Link copied to clipboard
val userMail: Output<String>? = null

The email address of the user. The administrator uses this address to send the account information for logging on to the APP to the user.

Link copied to clipboard
val userName: Output<String>? = null

The user name. User names in the same SAG APP must be unique.Both the user name and the password must be specified. If you specify the user name, the password must be specified, too.