This package is deprecated. We recommend using the new Confluent Cloud package.
confluent.KafkaCluster
Explore with Pulumi AI
This package is deprecated. We recommend using the new Confluent Cloud package.
Create KafkaCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new KafkaCluster(name: string, args: KafkaClusterArgs, opts?: CustomResourceOptions);
@overload
def KafkaCluster(resource_name: str,
args: KafkaClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def KafkaCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
availability: Optional[str] = None,
environment_id: Optional[str] = None,
region: Optional[str] = None,
service_provider: Optional[str] = None,
cku: Optional[int] = None,
deployment: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
network_egress: Optional[int] = None,
network_ingress: Optional[int] = None,
storage: Optional[int] = None)
func NewKafkaCluster(ctx *Context, name string, args KafkaClusterArgs, opts ...ResourceOption) (*KafkaCluster, error)
public KafkaCluster(string name, KafkaClusterArgs args, CustomResourceOptions? opts = null)
public KafkaCluster(String name, KafkaClusterArgs args)
public KafkaCluster(String name, KafkaClusterArgs args, CustomResourceOptions options)
type: confluent:KafkaCluster
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 KafkaClusterArgs
- 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 KafkaClusterArgs
- 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 KafkaClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KafkaClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KafkaClusterArgs
- 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 kafkaClusterResource = new Confluent.KafkaCluster("kafkaClusterResource", new()
{
Availability = "string",
EnvironmentId = "string",
Region = "string",
ServiceProvider = "string",
Cku = 0,
Deployment =
{
{ "string", "string" },
},
Name = "string",
NetworkEgress = 0,
NetworkIngress = 0,
Storage = 0,
});
example, err := confluent.NewKafkaCluster(ctx, "kafkaClusterResource", &confluent.KafkaClusterArgs{
Availability: pulumi.String("string"),
EnvironmentId: pulumi.String("string"),
Region: pulumi.String("string"),
ServiceProvider: pulumi.String("string"),
Cku: pulumi.Int(0),
Deployment: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
NetworkEgress: pulumi.Int(0),
NetworkIngress: pulumi.Int(0),
Storage: pulumi.Int(0),
})
var kafkaClusterResource = new KafkaCluster("kafkaClusterResource", KafkaClusterArgs.builder()
.availability("string")
.environmentId("string")
.region("string")
.serviceProvider("string")
.cku(0)
.deployment(Map.of("string", "string"))
.name("string")
.networkEgress(0)
.networkIngress(0)
.storage(0)
.build());
kafka_cluster_resource = confluent.KafkaCluster("kafkaClusterResource",
availability="string",
environment_id="string",
region="string",
service_provider="string",
cku=0,
deployment={
"string": "string",
},
name="string",
network_egress=0,
network_ingress=0,
storage=0)
const kafkaClusterResource = new confluent.KafkaCluster("kafkaClusterResource", {
availability: "string",
environmentId: "string",
region: "string",
serviceProvider: "string",
cku: 0,
deployment: {
string: "string",
},
name: "string",
networkEgress: 0,
networkIngress: 0,
storage: 0,
});
type: confluent:KafkaCluster
properties:
availability: string
cku: 0
deployment:
string: string
environmentId: string
name: string
networkEgress: 0
networkIngress: 0
region: string
serviceProvider: string
storage: 0
KafkaCluster 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 KafkaCluster resource accepts the following input properties:
- Availability string
- LOW(single-zone) or HIGH(multi-zone)
- Environment
Id string - Environment ID
- Region string
- where
- Service
Provider string - AWS / GCP
- Cku int
- cku
- Deployment Dictionary<string, string>
- Deployment settings. Currently only
sku
is supported. - Name string
- The name of the cluster
- Network
Egress int - Network egress limit(MBps)
- Network
Ingress int - Network ingress limit(MBps)
- Storage int
- Storage limit(GB)
- Availability string
- LOW(single-zone) or HIGH(multi-zone)
- Environment
Id string - Environment ID
- Region string
- where
- Service
Provider string - AWS / GCP
- Cku int
- cku
- Deployment map[string]string
- Deployment settings. Currently only
sku
is supported. - Name string
- The name of the cluster
- Network
Egress int - Network egress limit(MBps)
- Network
Ingress int - Network ingress limit(MBps)
- Storage int
- Storage limit(GB)
- availability String
- LOW(single-zone) or HIGH(multi-zone)
- environment
Id String - Environment ID
- region String
- where
- service
Provider String - AWS / GCP
- cku Integer
- cku
- deployment Map<String,String>
- Deployment settings. Currently only
sku
is supported. - name String
- The name of the cluster
- network
Egress Integer - Network egress limit(MBps)
- network
Ingress Integer - Network ingress limit(MBps)
- storage Integer
- Storage limit(GB)
- availability string
- LOW(single-zone) or HIGH(multi-zone)
- environment
Id string - Environment ID
- region string
- where
- service
Provider string - AWS / GCP
- cku number
- cku
- deployment {[key: string]: string}
- Deployment settings. Currently only
sku
is supported. - name string
- The name of the cluster
- network
Egress number - Network egress limit(MBps)
- network
Ingress number - Network ingress limit(MBps)
- storage number
- Storage limit(GB)
- availability str
- LOW(single-zone) or HIGH(multi-zone)
- environment_
id str - Environment ID
- region str
- where
- service_
provider str - AWS / GCP
- cku int
- cku
- deployment Mapping[str, str]
- Deployment settings. Currently only
sku
is supported. - name str
- The name of the cluster
- network_
egress int - Network egress limit(MBps)
- network_
ingress int - Network ingress limit(MBps)
- storage int
- Storage limit(GB)
- availability String
- LOW(single-zone) or HIGH(multi-zone)
- environment
Id String - Environment ID
- region String
- where
- service
Provider String - AWS / GCP
- cku Number
- cku
- deployment Map<String>
- Deployment settings. Currently only
sku
is supported. - name String
- The name of the cluster
- network
Egress Number - Network egress limit(MBps)
- network
Ingress Number - Network ingress limit(MBps)
- storage Number
- Storage limit(GB)
Outputs
All input properties are implicitly available as output properties. Additionally, the KafkaCluster resource produces the following output properties:
- Bootstrap
Servers string - Id string
- The provider-assigned unique ID for this managed resource.
- Bootstrap
Servers string - Id string
- The provider-assigned unique ID for this managed resource.
- bootstrap
Servers String - id String
- The provider-assigned unique ID for this managed resource.
- bootstrap
Servers string - id string
- The provider-assigned unique ID for this managed resource.
- bootstrap_
servers str - id str
- The provider-assigned unique ID for this managed resource.
- bootstrap
Servers String - id String
- The provider-assigned unique ID for this managed resource.
Look up Existing KafkaCluster Resource
Get an existing KafkaCluster 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?: KafkaClusterState, opts?: CustomResourceOptions): KafkaCluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
availability: Optional[str] = None,
bootstrap_servers: Optional[str] = None,
cku: Optional[int] = None,
deployment: Optional[Mapping[str, str]] = None,
environment_id: Optional[str] = None,
name: Optional[str] = None,
network_egress: Optional[int] = None,
network_ingress: Optional[int] = None,
region: Optional[str] = None,
service_provider: Optional[str] = None,
storage: Optional[int] = None) -> KafkaCluster
func GetKafkaCluster(ctx *Context, name string, id IDInput, state *KafkaClusterState, opts ...ResourceOption) (*KafkaCluster, error)
public static KafkaCluster Get(string name, Input<string> id, KafkaClusterState? state, CustomResourceOptions? opts = null)
public static KafkaCluster get(String name, Output<String> id, KafkaClusterState 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.
- Availability string
- LOW(single-zone) or HIGH(multi-zone)
- Bootstrap
Servers string - Cku int
- cku
- Deployment Dictionary<string, string>
- Deployment settings. Currently only
sku
is supported. - Environment
Id string - Environment ID
- Name string
- The name of the cluster
- Network
Egress int - Network egress limit(MBps)
- Network
Ingress int - Network ingress limit(MBps)
- Region string
- where
- Service
Provider string - AWS / GCP
- Storage int
- Storage limit(GB)
- Availability string
- LOW(single-zone) or HIGH(multi-zone)
- Bootstrap
Servers string - Cku int
- cku
- Deployment map[string]string
- Deployment settings. Currently only
sku
is supported. - Environment
Id string - Environment ID
- Name string
- The name of the cluster
- Network
Egress int - Network egress limit(MBps)
- Network
Ingress int - Network ingress limit(MBps)
- Region string
- where
- Service
Provider string - AWS / GCP
- Storage int
- Storage limit(GB)
- availability String
- LOW(single-zone) or HIGH(multi-zone)
- bootstrap
Servers String - cku Integer
- cku
- deployment Map<String,String>
- Deployment settings. Currently only
sku
is supported. - environment
Id String - Environment ID
- name String
- The name of the cluster
- network
Egress Integer - Network egress limit(MBps)
- network
Ingress Integer - Network ingress limit(MBps)
- region String
- where
- service
Provider String - AWS / GCP
- storage Integer
- Storage limit(GB)
- availability string
- LOW(single-zone) or HIGH(multi-zone)
- bootstrap
Servers string - cku number
- cku
- deployment {[key: string]: string}
- Deployment settings. Currently only
sku
is supported. - environment
Id string - Environment ID
- name string
- The name of the cluster
- network
Egress number - Network egress limit(MBps)
- network
Ingress number - Network ingress limit(MBps)
- region string
- where
- service
Provider string - AWS / GCP
- storage number
- Storage limit(GB)
- availability str
- LOW(single-zone) or HIGH(multi-zone)
- bootstrap_
servers str - cku int
- cku
- deployment Mapping[str, str]
- Deployment settings. Currently only
sku
is supported. - environment_
id str - Environment ID
- name str
- The name of the cluster
- network_
egress int - Network egress limit(MBps)
- network_
ingress int - Network ingress limit(MBps)
- region str
- where
- service_
provider str - AWS / GCP
- storage int
- Storage limit(GB)
- availability String
- LOW(single-zone) or HIGH(multi-zone)
- bootstrap
Servers String - cku Number
- cku
- deployment Map<String>
- Deployment settings. Currently only
sku
is supported. - environment
Id String - Environment ID
- name String
- The name of the cluster
- network
Egress Number - Network egress limit(MBps)
- network
Ingress Number - Network ingress limit(MBps)
- region String
- where
- service
Provider String - AWS / GCP
- storage Number
- Storage limit(GB)
Package Details
- Repository
- Confluent Cloud (Deprecated) pulumi/pulumi-confluent
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
confluent
Terraform Provider.
This package is deprecated. We recommend using the new Confluent Cloud package.