ClientUser

class ClientUser : KotlinCustomResource

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

Properties

Link copied to clipboard
val bandwidth: Output<Int>

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>?

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 id: Output<String>
Link copied to clipboard

The password of the KMS Encryption.

Link copied to clipboard

The context of the KMS Encryption.

Link copied to clipboard
val password: Output<String>

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 pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val sagId: Output<String>

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

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val userMail: Output<String>

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>

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.