Client User
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
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.