clickhouse.Service
Explore with Pulumi AI
You can use the clickhouse_service resource to deploy ClickHouse cloud instances on supported cloud providers.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as clickhouse from "@pulumiverse/clickhouse";
const service = new clickhouse.Service("service", {
    cloudProvider: "aws",
    idleScaling: true,
    idleTimeoutMinutes: 5,
    ipAccesses: [{
        description: "Test IP",
        source: "192.168.2.63",
    }],
    maxTotalMemoryGb: 360,
    minTotalMemoryGb: 24,
    passwordHash: "n4bQgYhMfWWaL+qgxVrQFaO/TxsrC4Is0V1sFbDwCgg=",
    region: "us-east-1",
    tier: "production",
});
import pulumi
import pulumiverse_clickhouse as clickhouse
service = clickhouse.Service("service",
    cloud_provider="aws",
    idle_scaling=True,
    idle_timeout_minutes=5,
    ip_accesses=[{
        "description": "Test IP",
        "source": "192.168.2.63",
    }],
    max_total_memory_gb=360,
    min_total_memory_gb=24,
    password_hash="n4bQgYhMfWWaL+qgxVrQFaO/TxsrC4Is0V1sFbDwCgg=",
    region="us-east-1",
    tier="production")
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-clickhouse/sdk/go/clickhouse"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := clickhouse.NewService(ctx, "service", &clickhouse.ServiceArgs{
			CloudProvider:      pulumi.String("aws"),
			IdleScaling:        pulumi.Bool(true),
			IdleTimeoutMinutes: pulumi.Int(5),
			IpAccesses: clickhouse.ServiceIpAccessArray{
				&clickhouse.ServiceIpAccessArgs{
					Description: pulumi.String("Test IP"),
					Source:      pulumi.String("192.168.2.63"),
				},
			},
			MaxTotalMemoryGb: pulumi.Int(360),
			MinTotalMemoryGb: pulumi.Int(24),
			PasswordHash:     pulumi.String("n4bQgYhMfWWaL+qgxVrQFaO/TxsrC4Is0V1sFbDwCgg="),
			Region:           pulumi.String("us-east-1"),
			Tier:             pulumi.String("production"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Clickhouse = Pulumiverse.Clickhouse;
return await Deployment.RunAsync(() => 
{
    var service = new Clickhouse.Service("service", new()
    {
        CloudProvider = "aws",
        IdleScaling = true,
        IdleTimeoutMinutes = 5,
        IpAccesses = new[]
        {
            new Clickhouse.Inputs.ServiceIpAccessArgs
            {
                Description = "Test IP",
                Source = "192.168.2.63",
            },
        },
        MaxTotalMemoryGb = 360,
        MinTotalMemoryGb = 24,
        PasswordHash = "n4bQgYhMfWWaL+qgxVrQFaO/TxsrC4Is0V1sFbDwCgg=",
        Region = "us-east-1",
        Tier = "production",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.clickhouse.Service;
import com.pulumi.clickhouse.ServiceArgs;
import com.pulumi.clickhouse.inputs.ServiceIpAccessArgs;
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) {
        var service = new Service("service", ServiceArgs.builder()
            .cloudProvider("aws")
            .idleScaling(true)
            .idleTimeoutMinutes(5)
            .ipAccesses(ServiceIpAccessArgs.builder()
                .description("Test IP")
                .source("192.168.2.63")
                .build())
            .maxTotalMemoryGb(360)
            .minTotalMemoryGb(24)
            .passwordHash("n4bQgYhMfWWaL+qgxVrQFaO/TxsrC4Is0V1sFbDwCgg=")
            .region("us-east-1")
            .tier("production")
            .build());
    }
}
resources:
  service:
    type: clickhouse:Service
    properties:
      cloudProvider: aws
      idleScaling: true
      idleTimeoutMinutes: 5
      ipAccesses:
        - description: Test IP
          source: 192.168.2.63
      maxTotalMemoryGb: 360
      minTotalMemoryGb: 24
      passwordHash: n4bQgYhMfWWaL+qgxVrQFaO/TxsrC4Is0V1sFbDwCgg=
      # base64 encoded sha256 hash of "test"
      region: us-east-1
      tier: production
Create Service Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Service(name: string, args: ServiceArgs, opts?: CustomResourceOptions);@overload
def Service(resource_name: str,
            args: ServiceArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Service(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            ip_accesses: Optional[Sequence[ServiceIpAccessArgs]] = None,
            tier: Optional[str] = None,
            region: Optional[str] = None,
            cloud_provider: Optional[str] = None,
            encryption_key: Optional[str] = None,
            idle_timeout_minutes: Optional[int] = None,
            idle_scaling: Optional[bool] = None,
            max_total_memory_gb: Optional[int] = None,
            min_total_memory_gb: Optional[int] = None,
            name: Optional[str] = None,
            num_replicas: Optional[int] = None,
            password: Optional[str] = None,
            password_hash: Optional[str] = None,
            encryption_assumed_role_identifier: Optional[str] = None,
            double_sha1_password_hash: Optional[str] = None)func NewService(ctx *Context, name string, args ServiceArgs, opts ...ResourceOption) (*Service, error)public Service(string name, ServiceArgs args, CustomResourceOptions? opts = null)
public Service(String name, ServiceArgs args)
public Service(String name, ServiceArgs args, CustomResourceOptions options)
type: clickhouse:Service
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ServiceArgs
- 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 ServiceArgs
- 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 ServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServiceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var serviceResource = new Clickhouse.Service("serviceResource", new()
{
    IpAccesses = new[]
    {
        new Clickhouse.Inputs.ServiceIpAccessArgs
        {
            Source = "string",
            Description = "string",
        },
    },
    Tier = "string",
    Region = "string",
    CloudProvider = "string",
    EncryptionKey = "string",
    IdleTimeoutMinutes = 0,
    IdleScaling = false,
    MaxTotalMemoryGb = 0,
    MinTotalMemoryGb = 0,
    Name = "string",
    NumReplicas = 0,
    Password = "string",
    PasswordHash = "string",
    EncryptionAssumedRoleIdentifier = "string",
    DoubleSha1PasswordHash = "string",
});
example, err := clickhouse.NewService(ctx, "serviceResource", &clickhouse.ServiceArgs{
	IpAccesses: clickhouse.ServiceIpAccessArray{
		&clickhouse.ServiceIpAccessArgs{
			Source:      pulumi.String("string"),
			Description: pulumi.String("string"),
		},
	},
	Tier:                            pulumi.String("string"),
	Region:                          pulumi.String("string"),
	CloudProvider:                   pulumi.String("string"),
	EncryptionKey:                   pulumi.String("string"),
	IdleTimeoutMinutes:              pulumi.Int(0),
	IdleScaling:                     pulumi.Bool(false),
	MaxTotalMemoryGb:                pulumi.Int(0),
	MinTotalMemoryGb:                pulumi.Int(0),
	Name:                            pulumi.String("string"),
	NumReplicas:                     pulumi.Int(0),
	Password:                        pulumi.String("string"),
	PasswordHash:                    pulumi.String("string"),
	EncryptionAssumedRoleIdentifier: pulumi.String("string"),
	DoubleSha1PasswordHash:          pulumi.String("string"),
})
var serviceResource = new Service("serviceResource", ServiceArgs.builder()
    .ipAccesses(ServiceIpAccessArgs.builder()
        .source("string")
        .description("string")
        .build())
    .tier("string")
    .region("string")
    .cloudProvider("string")
    .encryptionKey("string")
    .idleTimeoutMinutes(0)
    .idleScaling(false)
    .maxTotalMemoryGb(0)
    .minTotalMemoryGb(0)
    .name("string")
    .numReplicas(0)
    .password("string")
    .passwordHash("string")
    .encryptionAssumedRoleIdentifier("string")
    .doubleSha1PasswordHash("string")
    .build());
service_resource = clickhouse.Service("serviceResource",
    ip_accesses=[{
        "source": "string",
        "description": "string",
    }],
    tier="string",
    region="string",
    cloud_provider="string",
    encryption_key="string",
    idle_timeout_minutes=0,
    idle_scaling=False,
    max_total_memory_gb=0,
    min_total_memory_gb=0,
    name="string",
    num_replicas=0,
    password="string",
    password_hash="string",
    encryption_assumed_role_identifier="string",
    double_sha1_password_hash="string")
const serviceResource = new clickhouse.Service("serviceResource", {
    ipAccesses: [{
        source: "string",
        description: "string",
    }],
    tier: "string",
    region: "string",
    cloudProvider: "string",
    encryptionKey: "string",
    idleTimeoutMinutes: 0,
    idleScaling: false,
    maxTotalMemoryGb: 0,
    minTotalMemoryGb: 0,
    name: "string",
    numReplicas: 0,
    password: "string",
    passwordHash: "string",
    encryptionAssumedRoleIdentifier: "string",
    doubleSha1PasswordHash: "string",
});
type: clickhouse:Service
properties:
    cloudProvider: string
    doubleSha1PasswordHash: string
    encryptionAssumedRoleIdentifier: string
    encryptionKey: string
    idleScaling: false
    idleTimeoutMinutes: 0
    ipAccesses:
        - description: string
          source: string
    maxTotalMemoryGb: 0
    minTotalMemoryGb: 0
    name: string
    numReplicas: 0
    password: string
    passwordHash: string
    region: string
    tier: string
Service Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Service resource accepts the following input properties:
- CloudProvider string
- Cloud provider ('aws', 'gcp', or 'azure') in which the service is deployed in.
- IpAccesses List<Pulumiverse.Clickhouse. Inputs. Service Ip Access> 
- List of IP addresses allowed to access the service.
- Region string
- Region within the cloud provider in which the service is deployed in.
- Tier string
- Tier of the service: 'development', 'production'. Production services scale, Development are fixed size.
- DoubleSha1Password stringHash 
- Double SHA1 hash of password for connecting with the MySQL protocol. Cannot be specified if passwordis specified.
- EncryptionAssumed stringRole Identifier 
- Custom role identifier arn
- EncryptionKey string
- Custom encryption key arn
- IdleScaling bool
- When set to true the service is allowed to scale down to zero when idle.
- IdleTimeout intMinutes 
- Set minimum idling timeout (in minutes). Must be greater than or equal to 5 minutes. Must be set if idle_scaling is enabled
- MaxTotal intMemory Gb 
- Maximum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and lower than 360 for non paid services or 720 for paid services.
- MinTotal intMemory Gb 
- Minimum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and greater than 24.
- Name string
- User defined identifier for the service.
- NumReplicas int
- Number of replicas for the service. Available only for 'production' services. Must be between 3 and 20. Contact support to enable this feature.
- Password string
- Password for the default user. One of either passwordorpassword_hashmust be specified.
- PasswordHash string
- SHA256 hash of password for the default user. One of either passwordorpassword_hashmust be specified.
- CloudProvider string
- Cloud provider ('aws', 'gcp', or 'azure') in which the service is deployed in.
- IpAccesses []ServiceIp Access Args 
- List of IP addresses allowed to access the service.
- Region string
- Region within the cloud provider in which the service is deployed in.
- Tier string
- Tier of the service: 'development', 'production'. Production services scale, Development are fixed size.
- DoubleSha1Password stringHash 
- Double SHA1 hash of password for connecting with the MySQL protocol. Cannot be specified if passwordis specified.
- EncryptionAssumed stringRole Identifier 
- Custom role identifier arn
- EncryptionKey string
- Custom encryption key arn
- IdleScaling bool
- When set to true the service is allowed to scale down to zero when idle.
- IdleTimeout intMinutes 
- Set minimum idling timeout (in minutes). Must be greater than or equal to 5 minutes. Must be set if idle_scaling is enabled
- MaxTotal intMemory Gb 
- Maximum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and lower than 360 for non paid services or 720 for paid services.
- MinTotal intMemory Gb 
- Minimum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and greater than 24.
- Name string
- User defined identifier for the service.
- NumReplicas int
- Number of replicas for the service. Available only for 'production' services. Must be between 3 and 20. Contact support to enable this feature.
- Password string
- Password for the default user. One of either passwordorpassword_hashmust be specified.
- PasswordHash string
- SHA256 hash of password for the default user. One of either passwordorpassword_hashmust be specified.
- cloudProvider String
- Cloud provider ('aws', 'gcp', or 'azure') in which the service is deployed in.
- ipAccesses List<ServiceIp Access> 
- List of IP addresses allowed to access the service.
- region String
- Region within the cloud provider in which the service is deployed in.
- tier String
- Tier of the service: 'development', 'production'. Production services scale, Development are fixed size.
- doubleSha1Password StringHash 
- Double SHA1 hash of password for connecting with the MySQL protocol. Cannot be specified if passwordis specified.
- encryptionAssumed StringRole Identifier 
- Custom role identifier arn
- encryptionKey String
- Custom encryption key arn
- idleScaling Boolean
- When set to true the service is allowed to scale down to zero when idle.
- idleTimeout IntegerMinutes 
- Set minimum idling timeout (in minutes). Must be greater than or equal to 5 minutes. Must be set if idle_scaling is enabled
- maxTotal IntegerMemory Gb 
- Maximum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and lower than 360 for non paid services or 720 for paid services.
- minTotal IntegerMemory Gb 
- Minimum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and greater than 24.
- name String
- User defined identifier for the service.
- numReplicas Integer
- Number of replicas for the service. Available only for 'production' services. Must be between 3 and 20. Contact support to enable this feature.
- password String
- Password for the default user. One of either passwordorpassword_hashmust be specified.
- passwordHash String
- SHA256 hash of password for the default user. One of either passwordorpassword_hashmust be specified.
- cloudProvider string
- Cloud provider ('aws', 'gcp', or 'azure') in which the service is deployed in.
- ipAccesses ServiceIp Access[] 
- List of IP addresses allowed to access the service.
- region string
- Region within the cloud provider in which the service is deployed in.
- tier string
- Tier of the service: 'development', 'production'. Production services scale, Development are fixed size.
- doubleSha1Password stringHash 
- Double SHA1 hash of password for connecting with the MySQL protocol. Cannot be specified if passwordis specified.
- encryptionAssumed stringRole Identifier 
- Custom role identifier arn
- encryptionKey string
- Custom encryption key arn
- idleScaling boolean
- When set to true the service is allowed to scale down to zero when idle.
- idleTimeout numberMinutes 
- Set minimum idling timeout (in minutes). Must be greater than or equal to 5 minutes. Must be set if idle_scaling is enabled
- maxTotal numberMemory Gb 
- Maximum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and lower than 360 for non paid services or 720 for paid services.
- minTotal numberMemory Gb 
- Minimum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and greater than 24.
- name string
- User defined identifier for the service.
- numReplicas number
- Number of replicas for the service. Available only for 'production' services. Must be between 3 and 20. Contact support to enable this feature.
- password string
- Password for the default user. One of either passwordorpassword_hashmust be specified.
- passwordHash string
- SHA256 hash of password for the default user. One of either passwordorpassword_hashmust be specified.
- cloud_provider str
- Cloud provider ('aws', 'gcp', or 'azure') in which the service is deployed in.
- ip_accesses Sequence[ServiceIp Access Args] 
- List of IP addresses allowed to access the service.
- region str
- Region within the cloud provider in which the service is deployed in.
- tier str
- Tier of the service: 'development', 'production'. Production services scale, Development are fixed size.
- double_sha1_ strpassword_ hash 
- Double SHA1 hash of password for connecting with the MySQL protocol. Cannot be specified if passwordis specified.
- encryption_assumed_ strrole_ identifier 
- Custom role identifier arn
- encryption_key str
- Custom encryption key arn
- idle_scaling bool
- When set to true the service is allowed to scale down to zero when idle.
- idle_timeout_ intminutes 
- Set minimum idling timeout (in minutes). Must be greater than or equal to 5 minutes. Must be set if idle_scaling is enabled
- max_total_ intmemory_ gb 
- Maximum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and lower than 360 for non paid services or 720 for paid services.
- min_total_ intmemory_ gb 
- Minimum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and greater than 24.
- name str
- User defined identifier for the service.
- num_replicas int
- Number of replicas for the service. Available only for 'production' services. Must be between 3 and 20. Contact support to enable this feature.
- password str
- Password for the default user. One of either passwordorpassword_hashmust be specified.
- password_hash str
- SHA256 hash of password for the default user. One of either passwordorpassword_hashmust be specified.
- cloudProvider String
- Cloud provider ('aws', 'gcp', or 'azure') in which the service is deployed in.
- ipAccesses List<Property Map>
- List of IP addresses allowed to access the service.
- region String
- Region within the cloud provider in which the service is deployed in.
- tier String
- Tier of the service: 'development', 'production'. Production services scale, Development are fixed size.
- doubleSha1Password StringHash 
- Double SHA1 hash of password for connecting with the MySQL protocol. Cannot be specified if passwordis specified.
- encryptionAssumed StringRole Identifier 
- Custom role identifier arn
- encryptionKey String
- Custom encryption key arn
- idleScaling Boolean
- When set to true the service is allowed to scale down to zero when idle.
- idleTimeout NumberMinutes 
- Set minimum idling timeout (in minutes). Must be greater than or equal to 5 minutes. Must be set if idle_scaling is enabled
- maxTotal NumberMemory Gb 
- Maximum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and lower than 360 for non paid services or 720 for paid services.
- minTotal NumberMemory Gb 
- Minimum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and greater than 24.
- name String
- User defined identifier for the service.
- numReplicas Number
- Number of replicas for the service. Available only for 'production' services. Must be between 3 and 20. Contact support to enable this feature.
- password String
- Password for the default user. One of either passwordorpassword_hashmust be specified.
- passwordHash String
- SHA256 hash of password for the default user. One of either passwordorpassword_hashmust be specified.
Outputs
All input properties are implicitly available as output properties. Additionally, the Service resource produces the following output properties:
- Endpoints
List<Pulumiverse.Clickhouse. Outputs. Service Endpoint> 
- List of public endpoints.
- IamRole string
- IAM role used for accessing objects in s3.
- Id string
- The provider-assigned unique ID for this managed resource.
- PrivateEndpoint Pulumiverse.Config Clickhouse. Outputs. Service Private Endpoint Config 
- Service config for private endpoints
- Endpoints
[]ServiceEndpoint 
- List of public endpoints.
- IamRole string
- IAM role used for accessing objects in s3.
- Id string
- The provider-assigned unique ID for this managed resource.
- PrivateEndpoint ServiceConfig Private Endpoint Config 
- Service config for private endpoints
- endpoints
List<ServiceEndpoint> 
- List of public endpoints.
- iamRole String
- IAM role used for accessing objects in s3.
- id String
- The provider-assigned unique ID for this managed resource.
- privateEndpoint ServiceConfig Private Endpoint Config 
- Service config for private endpoints
- endpoints
ServiceEndpoint[] 
- List of public endpoints.
- iamRole string
- IAM role used for accessing objects in s3.
- id string
- The provider-assigned unique ID for this managed resource.
- privateEndpoint ServiceConfig Private Endpoint Config 
- Service config for private endpoints
- endpoints
Sequence[ServiceEndpoint] 
- List of public endpoints.
- iam_role str
- IAM role used for accessing objects in s3.
- id str
- The provider-assigned unique ID for this managed resource.
- private_endpoint_ Serviceconfig Private Endpoint Config 
- Service config for private endpoints
- endpoints List<Property Map>
- List of public endpoints.
- iamRole String
- IAM role used for accessing objects in s3.
- id String
- The provider-assigned unique ID for this managed resource.
- privateEndpoint Property MapConfig 
- Service config for private endpoints
Look up Existing Service Resource
Get an existing Service 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?: ServiceState, opts?: CustomResourceOptions): Service@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cloud_provider: Optional[str] = None,
        double_sha1_password_hash: Optional[str] = None,
        encryption_assumed_role_identifier: Optional[str] = None,
        encryption_key: Optional[str] = None,
        endpoints: Optional[Sequence[ServiceEndpointArgs]] = None,
        iam_role: Optional[str] = None,
        idle_scaling: Optional[bool] = None,
        idle_timeout_minutes: Optional[int] = None,
        ip_accesses: Optional[Sequence[ServiceIpAccessArgs]] = None,
        max_total_memory_gb: Optional[int] = None,
        min_total_memory_gb: Optional[int] = None,
        name: Optional[str] = None,
        num_replicas: Optional[int] = None,
        password: Optional[str] = None,
        password_hash: Optional[str] = None,
        private_endpoint_config: Optional[ServicePrivateEndpointConfigArgs] = None,
        region: Optional[str] = None,
        tier: Optional[str] = None) -> Servicefunc GetService(ctx *Context, name string, id IDInput, state *ServiceState, opts ...ResourceOption) (*Service, error)public static Service Get(string name, Input<string> id, ServiceState? state, CustomResourceOptions? opts = null)public static Service get(String name, Output<String> id, ServiceState state, CustomResourceOptions options)resources:  _:    type: clickhouse:Service    get:      id: ${id}- 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.
- CloudProvider string
- Cloud provider ('aws', 'gcp', or 'azure') in which the service is deployed in.
- DoubleSha1Password stringHash 
- Double SHA1 hash of password for connecting with the MySQL protocol. Cannot be specified if passwordis specified.
- EncryptionAssumed stringRole Identifier 
- Custom role identifier arn
- EncryptionKey string
- Custom encryption key arn
- Endpoints
List<Pulumiverse.Clickhouse. Inputs. Service Endpoint> 
- List of public endpoints.
- IamRole string
- IAM role used for accessing objects in s3.
- IdleScaling bool
- When set to true the service is allowed to scale down to zero when idle.
- IdleTimeout intMinutes 
- Set minimum idling timeout (in minutes). Must be greater than or equal to 5 minutes. Must be set if idle_scaling is enabled
- IpAccesses List<Pulumiverse.Clickhouse. Inputs. Service Ip Access> 
- List of IP addresses allowed to access the service.
- MaxTotal intMemory Gb 
- Maximum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and lower than 360 for non paid services or 720 for paid services.
- MinTotal intMemory Gb 
- Minimum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and greater than 24.
- Name string
- User defined identifier for the service.
- NumReplicas int
- Number of replicas for the service. Available only for 'production' services. Must be between 3 and 20. Contact support to enable this feature.
- Password string
- Password for the default user. One of either passwordorpassword_hashmust be specified.
- PasswordHash string
- SHA256 hash of password for the default user. One of either passwordorpassword_hashmust be specified.
- PrivateEndpoint Pulumiverse.Config Clickhouse. Inputs. Service Private Endpoint Config 
- Service config for private endpoints
- Region string
- Region within the cloud provider in which the service is deployed in.
- Tier string
- Tier of the service: 'development', 'production'. Production services scale, Development are fixed size.
- CloudProvider string
- Cloud provider ('aws', 'gcp', or 'azure') in which the service is deployed in.
- DoubleSha1Password stringHash 
- Double SHA1 hash of password for connecting with the MySQL protocol. Cannot be specified if passwordis specified.
- EncryptionAssumed stringRole Identifier 
- Custom role identifier arn
- EncryptionKey string
- Custom encryption key arn
- Endpoints
[]ServiceEndpoint Args 
- List of public endpoints.
- IamRole string
- IAM role used for accessing objects in s3.
- IdleScaling bool
- When set to true the service is allowed to scale down to zero when idle.
- IdleTimeout intMinutes 
- Set minimum idling timeout (in minutes). Must be greater than or equal to 5 minutes. Must be set if idle_scaling is enabled
- IpAccesses []ServiceIp Access Args 
- List of IP addresses allowed to access the service.
- MaxTotal intMemory Gb 
- Maximum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and lower than 360 for non paid services or 720 for paid services.
- MinTotal intMemory Gb 
- Minimum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and greater than 24.
- Name string
- User defined identifier for the service.
- NumReplicas int
- Number of replicas for the service. Available only for 'production' services. Must be between 3 and 20. Contact support to enable this feature.
- Password string
- Password for the default user. One of either passwordorpassword_hashmust be specified.
- PasswordHash string
- SHA256 hash of password for the default user. One of either passwordorpassword_hashmust be specified.
- PrivateEndpoint ServiceConfig Private Endpoint Config Args 
- Service config for private endpoints
- Region string
- Region within the cloud provider in which the service is deployed in.
- Tier string
- Tier of the service: 'development', 'production'. Production services scale, Development are fixed size.
- cloudProvider String
- Cloud provider ('aws', 'gcp', or 'azure') in which the service is deployed in.
- doubleSha1Password StringHash 
- Double SHA1 hash of password for connecting with the MySQL protocol. Cannot be specified if passwordis specified.
- encryptionAssumed StringRole Identifier 
- Custom role identifier arn
- encryptionKey String
- Custom encryption key arn
- endpoints
List<ServiceEndpoint> 
- List of public endpoints.
- iamRole String
- IAM role used for accessing objects in s3.
- idleScaling Boolean
- When set to true the service is allowed to scale down to zero when idle.
- idleTimeout IntegerMinutes 
- Set minimum idling timeout (in minutes). Must be greater than or equal to 5 minutes. Must be set if idle_scaling is enabled
- ipAccesses List<ServiceIp Access> 
- List of IP addresses allowed to access the service.
- maxTotal IntegerMemory Gb 
- Maximum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and lower than 360 for non paid services or 720 for paid services.
- minTotal IntegerMemory Gb 
- Minimum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and greater than 24.
- name String
- User defined identifier for the service.
- numReplicas Integer
- Number of replicas for the service. Available only for 'production' services. Must be between 3 and 20. Contact support to enable this feature.
- password String
- Password for the default user. One of either passwordorpassword_hashmust be specified.
- passwordHash String
- SHA256 hash of password for the default user. One of either passwordorpassword_hashmust be specified.
- privateEndpoint ServiceConfig Private Endpoint Config 
- Service config for private endpoints
- region String
- Region within the cloud provider in which the service is deployed in.
- tier String
- Tier of the service: 'development', 'production'. Production services scale, Development are fixed size.
- cloudProvider string
- Cloud provider ('aws', 'gcp', or 'azure') in which the service is deployed in.
- doubleSha1Password stringHash 
- Double SHA1 hash of password for connecting with the MySQL protocol. Cannot be specified if passwordis specified.
- encryptionAssumed stringRole Identifier 
- Custom role identifier arn
- encryptionKey string
- Custom encryption key arn
- endpoints
ServiceEndpoint[] 
- List of public endpoints.
- iamRole string
- IAM role used for accessing objects in s3.
- idleScaling boolean
- When set to true the service is allowed to scale down to zero when idle.
- idleTimeout numberMinutes 
- Set minimum idling timeout (in minutes). Must be greater than or equal to 5 minutes. Must be set if idle_scaling is enabled
- ipAccesses ServiceIp Access[] 
- List of IP addresses allowed to access the service.
- maxTotal numberMemory Gb 
- Maximum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and lower than 360 for non paid services or 720 for paid services.
- minTotal numberMemory Gb 
- Minimum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and greater than 24.
- name string
- User defined identifier for the service.
- numReplicas number
- Number of replicas for the service. Available only for 'production' services. Must be between 3 and 20. Contact support to enable this feature.
- password string
- Password for the default user. One of either passwordorpassword_hashmust be specified.
- passwordHash string
- SHA256 hash of password for the default user. One of either passwordorpassword_hashmust be specified.
- privateEndpoint ServiceConfig Private Endpoint Config 
- Service config for private endpoints
- region string
- Region within the cloud provider in which the service is deployed in.
- tier string
- Tier of the service: 'development', 'production'. Production services scale, Development are fixed size.
- cloud_provider str
- Cloud provider ('aws', 'gcp', or 'azure') in which the service is deployed in.
- double_sha1_ strpassword_ hash 
- Double SHA1 hash of password for connecting with the MySQL protocol. Cannot be specified if passwordis specified.
- encryption_assumed_ strrole_ identifier 
- Custom role identifier arn
- encryption_key str
- Custom encryption key arn
- endpoints
Sequence[ServiceEndpoint Args] 
- List of public endpoints.
- iam_role str
- IAM role used for accessing objects in s3.
- idle_scaling bool
- When set to true the service is allowed to scale down to zero when idle.
- idle_timeout_ intminutes 
- Set minimum idling timeout (in minutes). Must be greater than or equal to 5 minutes. Must be set if idle_scaling is enabled
- ip_accesses Sequence[ServiceIp Access Args] 
- List of IP addresses allowed to access the service.
- max_total_ intmemory_ gb 
- Maximum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and lower than 360 for non paid services or 720 for paid services.
- min_total_ intmemory_ gb 
- Minimum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and greater than 24.
- name str
- User defined identifier for the service.
- num_replicas int
- Number of replicas for the service. Available only for 'production' services. Must be between 3 and 20. Contact support to enable this feature.
- password str
- Password for the default user. One of either passwordorpassword_hashmust be specified.
- password_hash str
- SHA256 hash of password for the default user. One of either passwordorpassword_hashmust be specified.
- private_endpoint_ Serviceconfig Private Endpoint Config Args 
- Service config for private endpoints
- region str
- Region within the cloud provider in which the service is deployed in.
- tier str
- Tier of the service: 'development', 'production'. Production services scale, Development are fixed size.
- cloudProvider String
- Cloud provider ('aws', 'gcp', or 'azure') in which the service is deployed in.
- doubleSha1Password StringHash 
- Double SHA1 hash of password for connecting with the MySQL protocol. Cannot be specified if passwordis specified.
- encryptionAssumed StringRole Identifier 
- Custom role identifier arn
- encryptionKey String
- Custom encryption key arn
- endpoints List<Property Map>
- List of public endpoints.
- iamRole String
- IAM role used for accessing objects in s3.
- idleScaling Boolean
- When set to true the service is allowed to scale down to zero when idle.
- idleTimeout NumberMinutes 
- Set minimum idling timeout (in minutes). Must be greater than or equal to 5 minutes. Must be set if idle_scaling is enabled
- ipAccesses List<Property Map>
- List of IP addresses allowed to access the service.
- maxTotal NumberMemory Gb 
- Maximum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and lower than 360 for non paid services or 720 for paid services.
- minTotal NumberMemory Gb 
- Minimum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and greater than 24.
- name String
- User defined identifier for the service.
- numReplicas Number
- Number of replicas for the service. Available only for 'production' services. Must be between 3 and 20. Contact support to enable this feature.
- password String
- Password for the default user. One of either passwordorpassword_hashmust be specified.
- passwordHash String
- SHA256 hash of password for the default user. One of either passwordorpassword_hashmust be specified.
- privateEndpoint Property MapConfig 
- Service config for private endpoints
- region String
- Region within the cloud provider in which the service is deployed in.
- tier String
- Tier of the service: 'development', 'production'. Production services scale, Development are fixed size.
Supporting Types
ServiceEndpoint, ServiceEndpointArgs    
ServiceIpAccess, ServiceIpAccessArgs      
- Source string
- IP address allowed to access the service. In case you want to set the ip_access to anywhere you should set source to 0.0.0.0/0
- Description string
- Description of the IP address.
- Source string
- IP address allowed to access the service. In case you want to set the ip_access to anywhere you should set source to 0.0.0.0/0
- Description string
- Description of the IP address.
- source String
- IP address allowed to access the service. In case you want to set the ip_access to anywhere you should set source to 0.0.0.0/0
- description String
- Description of the IP address.
- source string
- IP address allowed to access the service. In case you want to set the ip_access to anywhere you should set source to 0.0.0.0/0
- description string
- Description of the IP address.
- source str
- IP address allowed to access the service. In case you want to set the ip_access to anywhere you should set source to 0.0.0.0/0
- description str
- Description of the IP address.
- source String
- IP address allowed to access the service. In case you want to set the ip_access to anywhere you should set source to 0.0.0.0/0
- description String
- Description of the IP address.
ServicePrivateEndpointConfig, ServicePrivateEndpointConfigArgs        
- EndpointService stringId 
- Unique identifier of the interface endpoint you created in your VPC with the AWS(Service Name) or GCP(Target Service) resource
- PrivateDns stringHostname 
- Private DNS Hostname of the VPC you created
- EndpointService stringId 
- Unique identifier of the interface endpoint you created in your VPC with the AWS(Service Name) or GCP(Target Service) resource
- PrivateDns stringHostname 
- Private DNS Hostname of the VPC you created
- endpointService StringId 
- Unique identifier of the interface endpoint you created in your VPC with the AWS(Service Name) or GCP(Target Service) resource
- privateDns StringHostname 
- Private DNS Hostname of the VPC you created
- endpointService stringId 
- Unique identifier of the interface endpoint you created in your VPC with the AWS(Service Name) or GCP(Target Service) resource
- privateDns stringHostname 
- Private DNS Hostname of the VPC you created
- endpoint_service_ strid 
- Unique identifier of the interface endpoint you created in your VPC with the AWS(Service Name) or GCP(Target Service) resource
- private_dns_ strhostname 
- Private DNS Hostname of the VPC you created
- endpointService StringId 
- Unique identifier of the interface endpoint you created in your VPC with the AWS(Service Name) or GCP(Target Service) resource
- privateDns StringHostname 
- Private DNS Hostname of the VPC you created
Import
Services can be imported by specifying the UUID.
$ pulumi import clickhouse:index/service:Service example xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- clickhouse pulumiverse/pulumi-clickhouse
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the clickhouseTerraform Provider.