KafkaConnectorArgs

data class KafkaConnectorArgs(val clientIdPrefix: Output<String>? = null, val extendedLocation: Output<ExtendedLocationPropertyArgs>? = null, val image: Output<ContainerImageArgs>? = null, val instances: Output<Int>? = null, val kafkaConnection: Output<KafkaRemoteBrokerConnectionSpecArgs>? = null, val kafkaConnectorName: Output<String>? = null, val localBrokerConnection: Output<LocalBrokerConnectionSpecArgs>? = null, val location: Output<String>? = null, val logLevel: Output<String>? = null, val mqName: Output<String>? = null, val nodeTolerations: Output<NodeTolerationsArgs>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<KafkaConnectorArgs>

MQ kafkaConnector resource Uses Azure REST API version 2023-10-04-preview. In version 2.x of the Azure Native provider, it used API version 2023-10-04-preview.

Example Usage

KafkaConnector_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var kafkaConnector = new AzureNative.IoTOperationsMQ.KafkaConnector("kafkaConnector", new()
{
ClientIdPrefix = "yybbbeowkw",
ExtendedLocation = new AzureNative.IoTOperationsMQ.Inputs.ExtendedLocationPropertyArgs
{
Name = "an",
Type = AzureNative.IoTOperationsMQ.ExtendedLocationType.CustomLocation,
},
Image = new AzureNative.IoTOperationsMQ.Inputs.ContainerImageArgs
{
PullPolicy = "imfuzvqxgbdwliqnn",
PullSecrets = "klnqimxqsrdwhcqldjvdtsrs",
Repository = "m",
Tag = "jygfdiamhhm",
},
Instances = 55252,
KafkaConnection = new AzureNative.IoTOperationsMQ.Inputs.KafkaRemoteBrokerConnectionSpecArgs
{
Authentication = new AzureNative.IoTOperationsMQ.Inputs.KafkaRemoteBrokerAuthenticationPropertiesArgs
{
AuthType = new AzureNative.IoTOperationsMQ.Inputs.KafkaRemoteBrokerAuthenticationTypesArgs
{
Sasl = new AzureNative.IoTOperationsMQ.Inputs.SaslRemoteBrokerBasicAuthenticationArgs
{
SaslType = AzureNative.IoTOperationsMQ.KafkaSaslType.Plain,
Token = new AzureNative.IoTOperationsMQ.Inputs.SaslRemoteBrokerBasicAuthenticationTokenArgs
{
KeyVault = new AzureNative.IoTOperationsMQ.Inputs.KafkaTokenKeyVaultPropertiesArgs
{
Username = "fb",
Vault = new AzureNative.IoTOperationsMQ.Inputs.KeyVaultConnectionPropertiesArgs
{
Credentials = new AzureNative.IoTOperationsMQ.Inputs.KeyVaultCredentialsPropertiesArgs
{
ServicePrincipalLocalSecretName = "wuimjwpbhoglbsxxa",
},
DirectoryId = "eyjniptiykzcgbzok",
Name = "lxmwfan",
},
VaultSecret = new AzureNative.IoTOperationsMQ.Inputs.KeyVaultSecretObjectArgs
{
Name = "bmectskddmpjxnsogwooexj",
Version = "unjfbf",
},
},
SecretName = "hxmqokubwldgjdtjv",
},
},
SystemAssignedManagedIdentity = new AzureNative.IoTOperationsMQ.Inputs.ManagedIdentityAuthenticationArgs
{
Audience = "kjderojhpehosgfcrxxbh",
ExtensionName = "cyckjqqzspleajbtkniwrfsqygjfhe",
},
X509 = new AzureNative.IoTOperationsMQ.Inputs.KafkaX509AuthenticationArgs
{
KeyVault = new AzureNative.IoTOperationsMQ.Inputs.KeyVaultCertificatePropertiesArgs
{
Vault = new AzureNative.IoTOperationsMQ.Inputs.KeyVaultConnectionPropertiesArgs
{
Credentials = new AzureNative.IoTOperationsMQ.Inputs.KeyVaultCredentialsPropertiesArgs
{
ServicePrincipalLocalSecretName = "wuimjwpbhoglbsxxa",
},
DirectoryId = "eyjniptiykzcgbzok",
Name = "lxmwfan",
},
VaultCaChainSecret = new AzureNative.IoTOperationsMQ.Inputs.KeyVaultSecretObjectArgs
{
Name = "bmectskddmpjxnsogwooexj",
Version = "unjfbf",
},
VaultCert = new AzureNative.IoTOperationsMQ.Inputs.KeyVaultSecretObjectArgs
{
Name = "bmectskddmpjxnsogwooexj",
Version = "unjfbf",
},
},
SecretName = "jlrjvqyoygynlpsekfbvyrpu",
},
},
Enabled = true,
},
Endpoint = "odxpssuhjkbonjmbhbebfjcah",
Tls = new AzureNative.IoTOperationsMQ.Inputs.KafkaRemoteBrokerConnectionTlsArgs
{
TlsEnabled = true,
TrustedCaCertificateConfigMap = "kndjozglnxsgnzxq",
},
},
KafkaConnectorName = "V5--OL8-R",
LocalBrokerConnection = new AzureNative.IoTOperationsMQ.Inputs.LocalBrokerConnectionSpecArgs
{
Authentication = new AzureNative.IoTOperationsMQ.Inputs.LocalBrokerAuthenticationMethodsArgs
{
Kubernetes = new AzureNative.IoTOperationsMQ.Inputs.LocalBrokerKubernetesAuthenticationArgs
{
SecretPath = "soukzfkouir",
ServiceAccountTokenName = "suwetviuhmhorhvsidlznnufe",
},
},
Endpoint = "xc",
Tls = new AzureNative.IoTOperationsMQ.Inputs.LocalBrokerConnectionTlsArgs
{
TlsEnabled = true,
TrustedCaCertificateConfigMap = "rinkomfeznsfedbmllxlbmmhc",
},
},
Location = "mpbupgmqssnb",
LogLevel = "g",
MqName = "s47Lj-S2S-Q-XY",
NodeTolerations = new AzureNative.IoTOperationsMQ.Inputs.NodeTolerationsArgs
{
Effect = "eeswvciblqmmaeesjoflyvxqbz",
Key = "wbrstdwxgm",
Operator = "lbegegneekwnyodtzraarivtwhmzep",
Value = "sfafsjdcezdmkwibxeluukxgl",
},
ResourceGroupName = "rgiotoperationsmq",
Tags = null,
});
});
package main
import (
iotoperationsmq "github.com/pulumi/pulumi-azure-native-sdk/iotoperationsmq/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iotoperationsmq.NewKafkaConnector(ctx, "kafkaConnector", &iotoperationsmq.KafkaConnectorArgs{
ClientIdPrefix: pulumi.String("yybbbeowkw"),
ExtendedLocation: &iotoperationsmq.ExtendedLocationPropertyArgs{
Name: pulumi.String("an"),
Type: pulumi.String(iotoperationsmq.ExtendedLocationTypeCustomLocation),
},
Image: &iotoperationsmq.ContainerImageArgs{
PullPolicy: pulumi.String("imfuzvqxgbdwliqnn"),
PullSecrets: pulumi.String("klnqimxqsrdwhcqldjvdtsrs"),
Repository: pulumi.String("m"),
Tag: pulumi.String("jygfdiamhhm"),
},
Instances: pulumi.Int(55252),
KafkaConnection: &iotoperationsmq.KafkaRemoteBrokerConnectionSpecArgs{
Authentication: &iotoperationsmq.KafkaRemoteBrokerAuthenticationPropertiesArgs{
AuthType: &iotoperationsmq.KafkaRemoteBrokerAuthenticationTypesArgs{
Sasl: &iotoperationsmq.SaslRemoteBrokerBasicAuthenticationArgs{
SaslType: pulumi.String(iotoperationsmq.KafkaSaslTypePlain),
Token: &iotoperationsmq.SaslRemoteBrokerBasicAuthenticationTokenArgs{
KeyVault: &iotoperationsmq.KafkaTokenKeyVaultPropertiesArgs{
Username: pulumi.String("fb"),
Vault: &iotoperationsmq.KeyVaultConnectionPropertiesArgs{
Credentials: &iotoperationsmq.KeyVaultCredentialsPropertiesArgs{
ServicePrincipalLocalSecretName: pulumi.String("wuimjwpbhoglbsxxa"),
},
DirectoryId: pulumi.String("eyjniptiykzcgbzok"),
Name: pulumi.String("lxmwfan"),
},
VaultSecret: &iotoperationsmq.KeyVaultSecretObjectArgs{
Name: pulumi.String("bmectskddmpjxnsogwooexj"),
Version: pulumi.String("unjfbf"),
},
},
SecretName: pulumi.String("hxmqokubwldgjdtjv"),
},
},
SystemAssignedManagedIdentity: &iotoperationsmq.ManagedIdentityAuthenticationArgs{
Audience: pulumi.String("kjderojhpehosgfcrxxbh"),
ExtensionName: pulumi.String("cyckjqqzspleajbtkniwrfsqygjfhe"),
},
X509: &iotoperationsmq.KafkaX509AuthenticationArgs{
KeyVault: &iotoperationsmq.KeyVaultCertificatePropertiesArgs{
Vault: &iotoperationsmq.KeyVaultConnectionPropertiesArgs{
Credentials: &iotoperationsmq.KeyVaultCredentialsPropertiesArgs{
ServicePrincipalLocalSecretName: pulumi.String("wuimjwpbhoglbsxxa"),
},
DirectoryId: pulumi.String("eyjniptiykzcgbzok"),
Name: pulumi.String("lxmwfan"),
},
VaultCaChainSecret: &iotoperationsmq.KeyVaultSecretObjectArgs{
Name: pulumi.String("bmectskddmpjxnsogwooexj"),
Version: pulumi.String("unjfbf"),
},
VaultCert: &iotoperationsmq.KeyVaultSecretObjectArgs{
Name: pulumi.String("bmectskddmpjxnsogwooexj"),
Version: pulumi.String("unjfbf"),
},
},
SecretName: pulumi.String("jlrjvqyoygynlpsekfbvyrpu"),
},
},
Enabled: pulumi.Bool(true),
},
Endpoint: pulumi.String("odxpssuhjkbonjmbhbebfjcah"),
Tls: &iotoperationsmq.KafkaRemoteBrokerConnectionTlsArgs{
TlsEnabled: pulumi.Bool(true),
TrustedCaCertificateConfigMap: pulumi.String("kndjozglnxsgnzxq"),
},
},
KafkaConnectorName: pulumi.String("V5--OL8-R"),
LocalBrokerConnection: &iotoperationsmq.LocalBrokerConnectionSpecArgs{
Authentication: &iotoperationsmq.LocalBrokerAuthenticationMethodsArgs{
Kubernetes: &iotoperationsmq.LocalBrokerKubernetesAuthenticationArgs{
SecretPath: pulumi.String("soukzfkouir"),
ServiceAccountTokenName: pulumi.String("suwetviuhmhorhvsidlznnufe"),
},
},
Endpoint: pulumi.String("xc"),
Tls: &iotoperationsmq.LocalBrokerConnectionTlsArgs{
TlsEnabled: pulumi.Bool(true),
TrustedCaCertificateConfigMap: pulumi.String("rinkomfeznsfedbmllxlbmmhc"),
},
},
Location: pulumi.String("mpbupgmqssnb"),
LogLevel: pulumi.String("g"),
MqName: pulumi.String("s47Lj-S2S-Q-XY"),
NodeTolerations: &iotoperationsmq.NodeTolerationsArgs{
Effect: pulumi.String("eeswvciblqmmaeesjoflyvxqbz"),
Key: pulumi.String("wbrstdwxgm"),
Operator: pulumi.String("lbegegneekwnyodtzraarivtwhmzep"),
Value: pulumi.String("sfafsjdcezdmkwibxeluukxgl"),
},
ResourceGroupName: pulumi.String("rgiotoperationsmq"),
Tags: pulumi.StringMap{},
})
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.azurenative.iotoperationsmq.KafkaConnector;
import com.pulumi.azurenative.iotoperationsmq.KafkaConnectorArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.ExtendedLocationPropertyArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.ContainerImageArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.KafkaRemoteBrokerConnectionSpecArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.KafkaRemoteBrokerAuthenticationPropertiesArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.KafkaRemoteBrokerAuthenticationTypesArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.SaslRemoteBrokerBasicAuthenticationArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.SaslRemoteBrokerBasicAuthenticationTokenArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.KafkaTokenKeyVaultPropertiesArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.KeyVaultConnectionPropertiesArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.KeyVaultCredentialsPropertiesArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.KeyVaultSecretObjectArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.ManagedIdentityAuthenticationArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.KafkaX509AuthenticationArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.KeyVaultCertificatePropertiesArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.KafkaRemoteBrokerConnectionTlsArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.LocalBrokerConnectionSpecArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.LocalBrokerAuthenticationMethodsArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.LocalBrokerKubernetesAuthenticationArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.LocalBrokerConnectionTlsArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.NodeTolerationsArgs;
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 kafkaConnector = new KafkaConnector("kafkaConnector", KafkaConnectorArgs.builder()
.clientIdPrefix("yybbbeowkw")
.extendedLocation(ExtendedLocationPropertyArgs.builder()
.name("an")
.type("CustomLocation")
.build())
.image(ContainerImageArgs.builder()
.pullPolicy("imfuzvqxgbdwliqnn")
.pullSecrets("klnqimxqsrdwhcqldjvdtsrs")
.repository("m")
.tag("jygfdiamhhm")
.build())
.instances(55252)
.kafkaConnection(KafkaRemoteBrokerConnectionSpecArgs.builder()
.authentication(KafkaRemoteBrokerAuthenticationPropertiesArgs.builder()
.authType(KafkaRemoteBrokerAuthenticationTypesArgs.builder()
.sasl(SaslRemoteBrokerBasicAuthenticationArgs.builder()
.saslType("plain")
.token(SaslRemoteBrokerBasicAuthenticationTokenArgs.builder()
.keyVault(KafkaTokenKeyVaultPropertiesArgs.builder()
.username("fb")
.vault(KeyVaultConnectionPropertiesArgs.builder()
.credentials(KeyVaultCredentialsPropertiesArgs.builder()
.servicePrincipalLocalSecretName("wuimjwpbhoglbsxxa")
.build())
.directoryId("eyjniptiykzcgbzok")
.name("lxmwfan")
.build())
.vaultSecret(KeyVaultSecretObjectArgs.builder()
.name("bmectskddmpjxnsogwooexj")
.version("unjfbf")
.build())
.build())
.secretName("hxmqokubwldgjdtjv")
.build())
.build())
.systemAssignedManagedIdentity(ManagedIdentityAuthenticationArgs.builder()
.audience("kjderojhpehosgfcrxxbh")
.extensionName("cyckjqqzspleajbtkniwrfsqygjfhe")
.build())
.x509(KafkaX509AuthenticationArgs.builder()
.keyVault(KeyVaultCertificatePropertiesArgs.builder()
.vault(KeyVaultConnectionPropertiesArgs.builder()
.credentials(KeyVaultCredentialsPropertiesArgs.builder()
.servicePrincipalLocalSecretName("wuimjwpbhoglbsxxa")
.build())
.directoryId("eyjniptiykzcgbzok")
.name("lxmwfan")
.build())
.vaultCaChainSecret(KeyVaultSecretObjectArgs.builder()
.name("bmectskddmpjxnsogwooexj")
.version("unjfbf")
.build())
.vaultCert(KeyVaultSecretObjectArgs.builder()
.name("bmectskddmpjxnsogwooexj")
.version("unjfbf")
.build())
.build())
.secretName("jlrjvqyoygynlpsekfbvyrpu")
.build())
.build())
.enabled(true)
.build())
.endpoint("odxpssuhjkbonjmbhbebfjcah")
.tls(KafkaRemoteBrokerConnectionTlsArgs.builder()
.tlsEnabled(true)
.trustedCaCertificateConfigMap("kndjozglnxsgnzxq")
.build())
.build())
.kafkaConnectorName("V5--OL8-R")
.localBrokerConnection(LocalBrokerConnectionSpecArgs.builder()
.authentication(LocalBrokerAuthenticationMethodsArgs.builder()
.kubernetes(LocalBrokerKubernetesAuthenticationArgs.builder()
.secretPath("soukzfkouir")
.serviceAccountTokenName("suwetviuhmhorhvsidlznnufe")
.build())
.build())
.endpoint("xc")
.tls(LocalBrokerConnectionTlsArgs.builder()
.tlsEnabled(true)
.trustedCaCertificateConfigMap("rinkomfeznsfedbmllxlbmmhc")
.build())
.build())
.location("mpbupgmqssnb")
.logLevel("g")
.mqName("s47Lj-S2S-Q-XY")
.nodeTolerations(NodeTolerationsArgs.builder()
.effect("eeswvciblqmmaeesjoflyvxqbz")
.key("wbrstdwxgm")
.operator("lbegegneekwnyodtzraarivtwhmzep")
.value("sfafsjdcezdmkwibxeluukxgl")
.build())
.resourceGroupName("rgiotoperationsmq")
.tags(Map.ofEntries(
))
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:iotoperationsmq:KafkaConnector acntmeqjezkawbphgyprhwv /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsMQ/mq/{mqName}/kafkaConnector/{kafkaConnectorName}

Constructors

Link copied to clipboard
constructor(clientIdPrefix: Output<String>? = null, extendedLocation: Output<ExtendedLocationPropertyArgs>? = null, image: Output<ContainerImageArgs>? = null, instances: Output<Int>? = null, kafkaConnection: Output<KafkaRemoteBrokerConnectionSpecArgs>? = null, kafkaConnectorName: Output<String>? = null, localBrokerConnection: Output<LocalBrokerConnectionSpecArgs>? = null, location: Output<String>? = null, logLevel: Output<String>? = null, mqName: Output<String>? = null, nodeTolerations: Output<NodeTolerationsArgs>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val clientIdPrefix: Output<String>? = null

The client id prefix of the dynamically generated client ids.

Link copied to clipboard

Extended Location

Link copied to clipboard
val image: Output<ContainerImageArgs>? = null

The details of KafkaConnector Docker Image.

Link copied to clipboard
val instances: Output<Int>? = null

The number of KafkaConnector pods to spin up.

Link copied to clipboard

The details for connecting with Remote Kafka Broker.

Link copied to clipboard
val kafkaConnectorName: Output<String>? = null

Name of MQ kafkaConnector resource

Link copied to clipboard

The details for connecting with Local Broker.

Link copied to clipboard
val location: Output<String>? = null

The geo-location where the resource lives

Link copied to clipboard
val logLevel: Output<String>? = null

The log level of the Bridge Connector instances.

Link copied to clipboard
val mqName: Output<String>? = null

Name of MQ resource

Link copied to clipboard

The Node Tolerations for the Bridge Connector pods.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Resource tags.

Functions

Link copied to clipboard
open override fun toJava(): KafkaConnectorArgs