Class CreateKafkaClusterDetails
The data to create a KafkaCluster.
Inherited Members
Namespace: Oci.ManagedkafkaService.Models
Assembly: OCI.DotNetSDK.Managedkafka.dll
Syntax
public class CreateKafkaClusterDetails
Properties
AccessSubnets
Declaration
[Required(ErrorMessage = "AccessSubnets is required.")]
[JsonProperty(PropertyName = "accessSubnets")]
public List<SubnetSet> AccessSubnets { get; set; }
Property Value
Type | Description |
---|---|
List<SubnetSet> | Subnets where broker/coordinator VNICs will be created. |
Remarks
Required
BrokerShape
Declaration
[Required(ErrorMessage = "BrokerShape is required.")]
[JsonProperty(PropertyName = "brokerShape")]
public BrokerShape BrokerShape { get; set; }
Property Value
Type | Description |
---|---|
BrokerShape |
Remarks
Required
ClientCertificateBundle
Declaration
[JsonProperty(PropertyName = "clientCertificateBundle")]
public string ClientCertificateBundle { get; set; }
Property Value
Type | Description |
---|---|
string | CA certificate bundle for mTLS broker authentication. |
ClusterConfigId
Declaration
[Required(ErrorMessage = "ClusterConfigId is required.")]
[JsonProperty(PropertyName = "clusterConfigId")]
public string ClusterConfigId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of Kafka Cluster configuration object |
Remarks
Required
ClusterConfigVersion
Declaration
[Required(ErrorMessage = "ClusterConfigVersion is required.")]
[JsonProperty(PropertyName = "clusterConfigVersion")]
public int? ClusterConfigVersion { get; set; }
Property Value
Type | Description |
---|---|
int? | The version of configuration object |
Remarks
Required
ClusterType
Declaration
[Required(ErrorMessage = "ClusterType is required.")]
[JsonProperty(PropertyName = "clusterType")]
[JsonConverter(typeof(StringEnumConverter))]
public KafkaCluster.ClusterTypeEnum? ClusterType { get; set; }
Property Value
Type | Description |
---|---|
KafkaCluster.ClusterTypeEnum? | Type of the cluster to spin up. DEVELOPMENT - setting that allows to sacrifice HA and spin up cluster on single node PRODUCTION - Minimum allowed broker count is 3 |
Remarks
Required
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment to create the KafkaCluster in. |
Remarks
Required
CoordinationType
Declaration
[Required(ErrorMessage = "CoordinationType is required.")]
[JsonProperty(PropertyName = "coordinationType")]
[JsonConverter(typeof(StringEnumConverter))]
public KafkaCluster.CoordinationTypeEnum? CoordinationType { get; set; }
Property Value
Type | Description |
---|---|
KafkaCluster.CoordinationTypeEnum? | Kafka coordination type. Set of available types depends on Kafka version |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace.
For more information, see Resource Tags.
|
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
For more information, see Resource Tags.
|
KafkaVersion
Declaration
[Required(ErrorMessage = "KafkaVersion is required.")]
[JsonProperty(PropertyName = "kafkaVersion")]
public string KafkaVersion { get; set; }
Property Value
Type | Description |
---|---|
string | Version of Kafka to use to spin up the cluster |
Remarks
Required