alicloud.clickhouse.Account
Explore with Pulumi AI
Provides a Click House Account resource.
For information about Click House Account and how to use it, see What is Account.
NOTE: Available since v1.134.0.
Example Usage
Basic Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "tf-example";
var defaultRegions = AliCloud.ClickHouse.GetRegions.Invoke(new()
{
Current = true,
});
var defaultNetwork = new AliCloud.Vpc.Network("defaultNetwork", new()
{
VpcName = name,
CidrBlock = "10.4.0.0/16",
});
var defaultSwitch = new AliCloud.Vpc.Switch("defaultSwitch", new()
{
VswitchName = name,
CidrBlock = "10.4.0.0/24",
VpcId = defaultNetwork.Id,
ZoneId = defaultRegions.Apply(getRegionsResult => getRegionsResult.Regions[0]?.ZoneIds[0]?.ZoneId),
});
var defaultDbCluster = new AliCloud.ClickHouse.DbCluster("defaultDbCluster", new()
{
DbClusterVersion = "22.8.5.29",
Category = "Basic",
DbClusterClass = "S8",
DbClusterNetworkType = "vpc",
DbNodeGroupCount = 1,
PaymentType = "PayAsYouGo",
DbNodeStorage = "500",
StorageType = "cloud_essd",
VswitchId = defaultSwitch.Id,
VpcId = defaultNetwork.Id,
});
var defaultAccount = new AliCloud.ClickHouse.Account("defaultAccount", new()
{
DbClusterId = defaultDbCluster.Id,
AccountDescription = "tf-example-description",
AccountName = "examplename",
AccountPassword = "Example1234",
});
});
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/clickhouse"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "tf-example"
if param := cfg.Get("name"); param != "" {
name = param
}
defaultRegions, err := clickhouse.GetRegions(ctx, &clickhouse.GetRegionsArgs{
Current: pulumi.BoolRef(true),
}, nil)
if err != nil {
return err
}
defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{
VpcName: pulumi.String(name),
CidrBlock: pulumi.String("10.4.0.0/16"),
})
if err != nil {
return err
}
defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{
VswitchName: pulumi.String(name),
CidrBlock: pulumi.String("10.4.0.0/24"),
VpcId: defaultNetwork.ID(),
ZoneId: *pulumi.String(defaultRegions.Regions[0].ZoneIds[0].ZoneId),
})
if err != nil {
return err
}
defaultDbCluster, err := clickhouse.NewDbCluster(ctx, "defaultDbCluster", &clickhouse.DbClusterArgs{
DbClusterVersion: pulumi.String("22.8.5.29"),
Category: pulumi.String("Basic"),
DbClusterClass: pulumi.String("S8"),
DbClusterNetworkType: pulumi.String("vpc"),
DbNodeGroupCount: pulumi.Int(1),
PaymentType: pulumi.String("PayAsYouGo"),
DbNodeStorage: pulumi.String("500"),
StorageType: pulumi.String("cloud_essd"),
VswitchId: defaultSwitch.ID(),
VpcId: defaultNetwork.ID(),
})
if err != nil {
return err
}
_, err = clickhouse.NewAccount(ctx, "defaultAccount", &clickhouse.AccountArgs{
DbClusterId: defaultDbCluster.ID(),
AccountDescription: pulumi.String("tf-example-description"),
AccountName: pulumi.String("examplename"),
AccountPassword: pulumi.String("Example1234"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.clickhouse.ClickhouseFunctions;
import com.pulumi.alicloud.clickhouse.inputs.GetRegionsArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.clickhouse.DbCluster;
import com.pulumi.alicloud.clickhouse.DbClusterArgs;
import com.pulumi.alicloud.clickhouse.Account;
import com.pulumi.alicloud.clickhouse.AccountArgs;
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 defaultRegions = ClickhouseFunctions.getRegions(GetRegionsArgs.builder()
.current(true)
.build());
var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
.vpcName(name)
.cidrBlock("10.4.0.0/16")
.build());
var defaultSwitch = new Switch("defaultSwitch", SwitchArgs.builder()
.vswitchName(name)
.cidrBlock("10.4.0.0/24")
.vpcId(defaultNetwork.id())
.zoneId(defaultRegions.applyValue(getRegionsResult -> getRegionsResult.regions()[0].zoneIds()[0].zoneId()))
.build());
var defaultDbCluster = new DbCluster("defaultDbCluster", DbClusterArgs.builder()
.dbClusterVersion("22.8.5.29")
.category("Basic")
.dbClusterClass("S8")
.dbClusterNetworkType("vpc")
.dbNodeGroupCount("1")
.paymentType("PayAsYouGo")
.dbNodeStorage("500")
.storageType("cloud_essd")
.vswitchId(defaultSwitch.id())
.vpcId(defaultNetwork.id())
.build());
var defaultAccount = new Account("defaultAccount", AccountArgs.builder()
.dbClusterId(defaultDbCluster.id())
.accountDescription("tf-example-description")
.accountName("examplename")
.accountPassword("Example1234")
.build());
}
}
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "tf-example"
default_regions = alicloud.clickhouse.get_regions(current=True)
default_network = alicloud.vpc.Network("defaultNetwork",
vpc_name=name,
cidr_block="10.4.0.0/16")
default_switch = alicloud.vpc.Switch("defaultSwitch",
vswitch_name=name,
cidr_block="10.4.0.0/24",
vpc_id=default_network.id,
zone_id=default_regions.regions[0].zone_ids[0].zone_id)
default_db_cluster = alicloud.clickhouse.DbCluster("defaultDbCluster",
db_cluster_version="22.8.5.29",
category="Basic",
db_cluster_class="S8",
db_cluster_network_type="vpc",
db_node_group_count=1,
payment_type="PayAsYouGo",
db_node_storage="500",
storage_type="cloud_essd",
vswitch_id=default_switch.id,
vpc_id=default_network.id)
default_account = alicloud.clickhouse.Account("defaultAccount",
db_cluster_id=default_db_cluster.id,
account_description="tf-example-description",
account_name="examplename",
account_password="Example1234")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "tf-example";
const defaultRegions = alicloud.clickhouse.getRegions({
current: true,
});
const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
vpcName: name,
cidrBlock: "10.4.0.0/16",
});
const defaultSwitch = new alicloud.vpc.Switch("defaultSwitch", {
vswitchName: name,
cidrBlock: "10.4.0.0/24",
vpcId: defaultNetwork.id,
zoneId: defaultRegions.then(defaultRegions => defaultRegions.regions?.[0]?.zoneIds?.[0]?.zoneId),
});
const defaultDbCluster = new alicloud.clickhouse.DbCluster("defaultDbCluster", {
dbClusterVersion: "22.8.5.29",
category: "Basic",
dbClusterClass: "S8",
dbClusterNetworkType: "vpc",
dbNodeGroupCount: 1,
paymentType: "PayAsYouGo",
dbNodeStorage: "500",
storageType: "cloud_essd",
vswitchId: defaultSwitch.id,
vpcId: defaultNetwork.id,
});
const defaultAccount = new alicloud.clickhouse.Account("defaultAccount", {
dbClusterId: defaultDbCluster.id,
accountDescription: "tf-example-description",
accountName: "examplename",
accountPassword: "Example1234",
});
configuration:
name:
type: string
default: tf-example
resources:
defaultNetwork:
type: alicloud:vpc:Network
properties:
vpcName: ${name}
cidrBlock: 10.4.0.0/16
defaultSwitch:
type: alicloud:vpc:Switch
properties:
vswitchName: ${name}
cidrBlock: 10.4.0.0/24
vpcId: ${defaultNetwork.id}
zoneId: ${defaultRegions.regions[0].zoneIds[0].zoneId}
defaultDbCluster:
type: alicloud:clickhouse:DbCluster
properties:
dbClusterVersion: 22.8.5.29
category: Basic
dbClusterClass: S8
dbClusterNetworkType: vpc
dbNodeGroupCount: '1'
paymentType: PayAsYouGo
dbNodeStorage: '500'
storageType: cloud_essd
vswitchId: ${defaultSwitch.id}
vpcId: ${defaultNetwork.id}
defaultAccount:
type: alicloud:clickhouse:Account
properties:
dbClusterId: ${defaultDbCluster.id}
accountDescription: tf-example-description
accountName: examplename
accountPassword: Example1234
variables:
defaultRegions:
fn::invoke:
Function: alicloud:clickhouse:getRegions
Arguments:
current: true
Create Account Resource
new Account(name: string, args: AccountArgs, opts?: CustomResourceOptions);
@overload
def Account(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_description: Optional[str] = None,
account_name: Optional[str] = None,
account_password: Optional[str] = None,
allow_databases: Optional[str] = None,
allow_dictionaries: Optional[str] = None,
db_cluster_id: Optional[str] = None,
ddl_authority: Optional[bool] = None,
dml_authority: Optional[str] = None,
total_databases: Optional[str] = None,
total_dictionaries: Optional[str] = None)
@overload
def Account(resource_name: str,
args: AccountArgs,
opts: Optional[ResourceOptions] = None)
func NewAccount(ctx *Context, name string, args AccountArgs, opts ...ResourceOption) (*Account, error)
public Account(string name, AccountArgs args, CustomResourceOptions? opts = null)
public Account(String name, AccountArgs args)
public Account(String name, AccountArgs args, CustomResourceOptions options)
type: alicloud:clickhouse:Account
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Account Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Account resource accepts the following input properties:
- Account
Name string Account name: lowercase letters, numbers, underscores, lowercase letter; length no more than 16 characters.
- Account
Password string The account password: uppercase letters, lowercase letters, lowercase letters, numbers, and special characters (special character! #$%^& author (s):_+-=) in a length of 8-32 bit.
- Db
Cluster stringId The db cluster id.
- Account
Description string In Chinese, English letter. May contain Chinese and English characters, lowercase letters, numbers, and underscores (_), the dash (-). Cannot start with http:// and https:// at the beginning. Length is from 2 to 256 characters.
- Allow
Databases string The list of databases to which you want to grant permissions. Separate databases with commas (,).
- Allow
Dictionaries string The list of dictionaries to which you want to grant permissions. Separate dictionaries with commas (,).
- bool
Specifies whether to grant DDL permissions to the database account. Valid values:
true
andfalse
.- string
Specifies whether to grant DML permissions to the database account. Valid values:
all
andreadOnly,modify
.- Total
Databases string The list of all databases. Separate databases with commas (,).
- Total
Dictionaries string The list of all dictionaries. Separate dictionaries with commas (,).
- Account
Name string Account name: lowercase letters, numbers, underscores, lowercase letter; length no more than 16 characters.
- Account
Password string The account password: uppercase letters, lowercase letters, lowercase letters, numbers, and special characters (special character! #$%^& author (s):_+-=) in a length of 8-32 bit.
- Db
Cluster stringId The db cluster id.
- Account
Description string In Chinese, English letter. May contain Chinese and English characters, lowercase letters, numbers, and underscores (_), the dash (-). Cannot start with http:// and https:// at the beginning. Length is from 2 to 256 characters.
- Allow
Databases string The list of databases to which you want to grant permissions. Separate databases with commas (,).
- Allow
Dictionaries string The list of dictionaries to which you want to grant permissions. Separate dictionaries with commas (,).
- bool
Specifies whether to grant DDL permissions to the database account. Valid values:
true
andfalse
.- string
Specifies whether to grant DML permissions to the database account. Valid values:
all
andreadOnly,modify
.- Total
Databases string The list of all databases. Separate databases with commas (,).
- Total
Dictionaries string The list of all dictionaries. Separate dictionaries with commas (,).
- account
Name String Account name: lowercase letters, numbers, underscores, lowercase letter; length no more than 16 characters.
- account
Password String The account password: uppercase letters, lowercase letters, lowercase letters, numbers, and special characters (special character! #$%^& author (s):_+-=) in a length of 8-32 bit.
- db
Cluster StringId The db cluster id.
- account
Description String In Chinese, English letter. May contain Chinese and English characters, lowercase letters, numbers, and underscores (_), the dash (-). Cannot start with http:// and https:// at the beginning. Length is from 2 to 256 characters.
- allow
Databases String The list of databases to which you want to grant permissions. Separate databases with commas (,).
- allow
Dictionaries String The list of dictionaries to which you want to grant permissions. Separate dictionaries with commas (,).
- Boolean
Specifies whether to grant DDL permissions to the database account. Valid values:
true
andfalse
.- String
Specifies whether to grant DML permissions to the database account. Valid values:
all
andreadOnly,modify
.- total
Databases String The list of all databases. Separate databases with commas (,).
- total
Dictionaries String The list of all dictionaries. Separate dictionaries with commas (,).
- account
Name string Account name: lowercase letters, numbers, underscores, lowercase letter; length no more than 16 characters.
- account
Password string The account password: uppercase letters, lowercase letters, lowercase letters, numbers, and special characters (special character! #$%^& author (s):_+-=) in a length of 8-32 bit.
- db
Cluster stringId The db cluster id.
- account
Description string In Chinese, English letter. May contain Chinese and English characters, lowercase letters, numbers, and underscores (_), the dash (-). Cannot start with http:// and https:// at the beginning. Length is from 2 to 256 characters.
- allow
Databases string The list of databases to which you want to grant permissions. Separate databases with commas (,).
- allow
Dictionaries string The list of dictionaries to which you want to grant permissions. Separate dictionaries with commas (,).
- boolean
Specifies whether to grant DDL permissions to the database account. Valid values:
true
andfalse
.- string
Specifies whether to grant DML permissions to the database account. Valid values:
all
andreadOnly,modify
.- total
Databases string The list of all databases. Separate databases with commas (,).
- total
Dictionaries string The list of all dictionaries. Separate dictionaries with commas (,).
- account_
name str Account name: lowercase letters, numbers, underscores, lowercase letter; length no more than 16 characters.
- account_
password str The account password: uppercase letters, lowercase letters, lowercase letters, numbers, and special characters (special character! #$%^& author (s):_+-=) in a length of 8-32 bit.
- db_
cluster_ strid The db cluster id.
- account_
description str In Chinese, English letter. May contain Chinese and English characters, lowercase letters, numbers, and underscores (_), the dash (-). Cannot start with http:// and https:// at the beginning. Length is from 2 to 256 characters.
- allow_
databases str The list of databases to which you want to grant permissions. Separate databases with commas (,).
- allow_
dictionaries str The list of dictionaries to which you want to grant permissions. Separate dictionaries with commas (,).
- bool
Specifies whether to grant DDL permissions to the database account. Valid values:
true
andfalse
.- str
Specifies whether to grant DML permissions to the database account. Valid values:
all
andreadOnly,modify
.- total_
databases str The list of all databases. Separate databases with commas (,).
- total_
dictionaries str The list of all dictionaries. Separate dictionaries with commas (,).
- account
Name String Account name: lowercase letters, numbers, underscores, lowercase letter; length no more than 16 characters.
- account
Password String The account password: uppercase letters, lowercase letters, lowercase letters, numbers, and special characters (special character! #$%^& author (s):_+-=) in a length of 8-32 bit.
- db
Cluster StringId The db cluster id.
- account
Description String In Chinese, English letter. May contain Chinese and English characters, lowercase letters, numbers, and underscores (_), the dash (-). Cannot start with http:// and https:// at the beginning. Length is from 2 to 256 characters.
- allow
Databases String The list of databases to which you want to grant permissions. Separate databases with commas (,).
- allow
Dictionaries String The list of dictionaries to which you want to grant permissions. Separate dictionaries with commas (,).
- Boolean
Specifies whether to grant DDL permissions to the database account. Valid values:
true
andfalse
.- String
Specifies whether to grant DML permissions to the database account. Valid values:
all
andreadOnly,modify
.- total
Databases String The list of all databases. Separate databases with commas (,).
- total
Dictionaries String The list of all dictionaries. Separate dictionaries with commas (,).
Outputs
All input properties are implicitly available as output properties. Additionally, the Account resource produces the following output properties:
Look up Existing Account Resource
Get an existing Account resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AccountState, opts?: CustomResourceOptions): Account
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_description: Optional[str] = None,
account_name: Optional[str] = None,
account_password: Optional[str] = None,
allow_databases: Optional[str] = None,
allow_dictionaries: Optional[str] = None,
db_cluster_id: Optional[str] = None,
ddl_authority: Optional[bool] = None,
dml_authority: Optional[str] = None,
status: Optional[str] = None,
total_databases: Optional[str] = None,
total_dictionaries: Optional[str] = None,
type: Optional[str] = None) -> Account
func GetAccount(ctx *Context, name string, id IDInput, state *AccountState, opts ...ResourceOption) (*Account, error)
public static Account Get(string name, Input<string> id, AccountState? state, CustomResourceOptions? opts = null)
public static Account get(String name, Output<String> id, AccountState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Description string In Chinese, English letter. May contain Chinese and English characters, lowercase letters, numbers, and underscores (_), the dash (-). Cannot start with http:// and https:// at the beginning. Length is from 2 to 256 characters.
- Account
Name string Account name: lowercase letters, numbers, underscores, lowercase letter; length no more than 16 characters.
- Account
Password string The account password: uppercase letters, lowercase letters, lowercase letters, numbers, and special characters (special character! #$%^& author (s):_+-=) in a length of 8-32 bit.
- Allow
Databases string The list of databases to which you want to grant permissions. Separate databases with commas (,).
- Allow
Dictionaries string The list of dictionaries to which you want to grant permissions. Separate dictionaries with commas (,).
- Db
Cluster stringId The db cluster id.
- bool
Specifies whether to grant DDL permissions to the database account. Valid values:
true
andfalse
.- string
Specifies whether to grant DML permissions to the database account. Valid values:
all
andreadOnly,modify
.- Status string
The status of the resource. Valid Status:
Creating
,Available
,Deleting
.- Total
Databases string The list of all databases. Separate databases with commas (,).
- Total
Dictionaries string The list of all dictionaries. Separate dictionaries with commas (,).
- Type string
The type of the database account. Valid values:
Normal
orSuper
.
- Account
Description string In Chinese, English letter. May contain Chinese and English characters, lowercase letters, numbers, and underscores (_), the dash (-). Cannot start with http:// and https:// at the beginning. Length is from 2 to 256 characters.
- Account
Name string Account name: lowercase letters, numbers, underscores, lowercase letter; length no more than 16 characters.
- Account
Password string The account password: uppercase letters, lowercase letters, lowercase letters, numbers, and special characters (special character! #$%^& author (s):_+-=) in a length of 8-32 bit.
- Allow
Databases string The list of databases to which you want to grant permissions. Separate databases with commas (,).
- Allow
Dictionaries string The list of dictionaries to which you want to grant permissions. Separate dictionaries with commas (,).
- Db
Cluster stringId The db cluster id.
- bool
Specifies whether to grant DDL permissions to the database account. Valid values:
true
andfalse
.- string
Specifies whether to grant DML permissions to the database account. Valid values:
all
andreadOnly,modify
.- Status string
The status of the resource. Valid Status:
Creating
,Available
,Deleting
.- Total
Databases string The list of all databases. Separate databases with commas (,).
- Total
Dictionaries string The list of all dictionaries. Separate dictionaries with commas (,).
- Type string
The type of the database account. Valid values:
Normal
orSuper
.
- account
Description String In Chinese, English letter. May contain Chinese and English characters, lowercase letters, numbers, and underscores (_), the dash (-). Cannot start with http:// and https:// at the beginning. Length is from 2 to 256 characters.
- account
Name String Account name: lowercase letters, numbers, underscores, lowercase letter; length no more than 16 characters.
- account
Password String The account password: uppercase letters, lowercase letters, lowercase letters, numbers, and special characters (special character! #$%^& author (s):_+-=) in a length of 8-32 bit.
- allow
Databases String The list of databases to which you want to grant permissions. Separate databases with commas (,).
- allow
Dictionaries String The list of dictionaries to which you want to grant permissions. Separate dictionaries with commas (,).
- db
Cluster StringId The db cluster id.
- Boolean
Specifies whether to grant DDL permissions to the database account. Valid values:
true
andfalse
.- String
Specifies whether to grant DML permissions to the database account. Valid values:
all
andreadOnly,modify
.- status String
The status of the resource. Valid Status:
Creating
,Available
,Deleting
.- total
Databases String The list of all databases. Separate databases with commas (,).
- total
Dictionaries String The list of all dictionaries. Separate dictionaries with commas (,).
- type String
The type of the database account. Valid values:
Normal
orSuper
.
- account
Description string In Chinese, English letter. May contain Chinese and English characters, lowercase letters, numbers, and underscores (_), the dash (-). Cannot start with http:// and https:// at the beginning. Length is from 2 to 256 characters.
- account
Name string Account name: lowercase letters, numbers, underscores, lowercase letter; length no more than 16 characters.
- account
Password string The account password: uppercase letters, lowercase letters, lowercase letters, numbers, and special characters (special character! #$%^& author (s):_+-=) in a length of 8-32 bit.
- allow
Databases string The list of databases to which you want to grant permissions. Separate databases with commas (,).
- allow
Dictionaries string The list of dictionaries to which you want to grant permissions. Separate dictionaries with commas (,).
- db
Cluster stringId The db cluster id.
- boolean
Specifies whether to grant DDL permissions to the database account. Valid values:
true
andfalse
.- string
Specifies whether to grant DML permissions to the database account. Valid values:
all
andreadOnly,modify
.- status string
The status of the resource. Valid Status:
Creating
,Available
,Deleting
.- total
Databases string The list of all databases. Separate databases with commas (,).
- total
Dictionaries string The list of all dictionaries. Separate dictionaries with commas (,).
- type string
The type of the database account. Valid values:
Normal
orSuper
.
- account_
description str In Chinese, English letter. May contain Chinese and English characters, lowercase letters, numbers, and underscores (_), the dash (-). Cannot start with http:// and https:// at the beginning. Length is from 2 to 256 characters.
- account_
name str Account name: lowercase letters, numbers, underscores, lowercase letter; length no more than 16 characters.
- account_
password str The account password: uppercase letters, lowercase letters, lowercase letters, numbers, and special characters (special character! #$%^& author (s):_+-=) in a length of 8-32 bit.
- allow_
databases str The list of databases to which you want to grant permissions. Separate databases with commas (,).
- allow_
dictionaries str The list of dictionaries to which you want to grant permissions. Separate dictionaries with commas (,).
- db_
cluster_ strid The db cluster id.
- bool
Specifies whether to grant DDL permissions to the database account. Valid values:
true
andfalse
.- str
Specifies whether to grant DML permissions to the database account. Valid values:
all
andreadOnly,modify
.- status str
The status of the resource. Valid Status:
Creating
,Available
,Deleting
.- total_
databases str The list of all databases. Separate databases with commas (,).
- total_
dictionaries str The list of all dictionaries. Separate dictionaries with commas (,).
- type str
The type of the database account. Valid values:
Normal
orSuper
.
- account
Description String In Chinese, English letter. May contain Chinese and English characters, lowercase letters, numbers, and underscores (_), the dash (-). Cannot start with http:// and https:// at the beginning. Length is from 2 to 256 characters.
- account
Name String Account name: lowercase letters, numbers, underscores, lowercase letter; length no more than 16 characters.
- account
Password String The account password: uppercase letters, lowercase letters, lowercase letters, numbers, and special characters (special character! #$%^& author (s):_+-=) in a length of 8-32 bit.
- allow
Databases String The list of databases to which you want to grant permissions. Separate databases with commas (,).
- allow
Dictionaries String The list of dictionaries to which you want to grant permissions. Separate dictionaries with commas (,).
- db
Cluster StringId The db cluster id.
- Boolean
Specifies whether to grant DDL permissions to the database account. Valid values:
true
andfalse
.- String
Specifies whether to grant DML permissions to the database account. Valid values:
all
andreadOnly,modify
.- status String
The status of the resource. Valid Status:
Creating
,Available
,Deleting
.- total
Databases String The list of all databases. Separate databases with commas (,).
- total
Dictionaries String The list of all dictionaries. Separate dictionaries with commas (,).
- type String
The type of the database account. Valid values:
Normal
orSuper
.
Import
Click House Account can be imported using the id, e.g.
$ pulumi import alicloud:clickhouse/account:Account example <db_cluster_id>:<account_name>
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.