MqttBridgeConnectorArgs

data class MqttBridgeConnectorArgs(val bridgeInstances: Output<Int>? = null, val clientIdPrefix: Output<String>? = null, val extendedLocation: Output<ExtendedLocationPropertyArgs>? = null, val image: Output<ContainerImageArgs>? = null, val localBrokerConnection: Output<LocalBrokerConnectionSpecArgs>? = null, val location: Output<String>? = null, val logLevel: Output<String>? = null, val mqName: Output<String>? = null, val mqttBridgeConnectorName: Output<String>? = null, val nodeTolerations: Output<NodeTolerationsArgs>? = null, val protocol: Output<Either<String, MqttProtocol>>? = null, val remoteBrokerConnection: Output<MqttBridgeRemoteBrokerConnectionSpecArgs>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<MqttBridgeConnectorArgs>

MQ mqttBridgeConnector resource Azure REST API version: 2023-10-04-preview.

Example Usage

MqttBridgeConnector_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var mqttBridgeConnector = new AzureNative.IoTOperationsMQ.MqttBridgeConnector("mqttBridgeConnector", new()
{
BridgeInstances = 4528,
ClientIdPrefix = "yqipejvabahsexbnttiegjnh",
ExtendedLocation = new AzureNative.IoTOperationsMQ.Inputs.ExtendedLocationPropertyArgs
{
Name = "an",
Type = "CustomLocation",
},
Image = new AzureNative.IoTOperationsMQ.Inputs.ContainerImageArgs
{
PullPolicy = "imfuzvqxgbdwliqnn",
PullSecrets = "klnqimxqsrdwhcqldjvdtsrs",
Repository = "m",
Tag = "jygfdiamhhm",
},
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 = "frztvxzhskx",
LogLevel = "gpgijsotipdtvvkpnckuziqqv",
MqName = "R8-6x-Y-L-F-21RP5-XVv",
MqttBridgeConnectorName = "k1v-U4P2440C1b7T8y-G",
NodeTolerations = new AzureNative.IoTOperationsMQ.Inputs.NodeTolerationsArgs
{
Effect = "eeswvciblqmmaeesjoflyvxqbz",
Key = "wbrstdwxgm",
Operator = "lbegegneekwnyodtzraarivtwhmzep",
Value = "sfafsjdcezdmkwibxeluukxgl",
},
Protocol = "v3",
RemoteBrokerConnection = new AzureNative.IoTOperationsMQ.Inputs.MqttBridgeRemoteBrokerConnectionSpecArgs
{
Authentication = new AzureNative.IoTOperationsMQ.Inputs.MqttBridgeRemoteBrokerAuthenticationMethodsArgs
{
SystemAssignedManagedIdentity = new AzureNative.IoTOperationsMQ.Inputs.ManagedIdentityAuthenticationArgs
{
Audience = "kjderojhpehosgfcrxxbh",
ExtensionName = "cyckjqqzspleajbtkniwrfsqygjfhe",
},
X509 = new AzureNative.IoTOperationsMQ.Inputs.MqttBridgeRemoteBrokerX509AuthenticationArgs
{
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 = "x",
},
},
Endpoint = "bshzrukafmxjgnrlhzlxbbzjdbqh",
Protocol = "mqtt",
Tls = new AzureNative.IoTOperationsMQ.Inputs.MqttBridgeRemoteBrokerConnectionTlsArgs
{
TlsEnabled = true,
TrustedCaCertificateConfigMap = "ivtebqmclgfjx",
},
},
ResourceGroupName = "rgiotoperationsmq",
Tags = null,
});
});
package main
import (
"github.com/pulumi/pulumi-azure-native-sdk/iotoperationsmq/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iotoperationsmq.NewMqttBridgeConnector(ctx, "mqttBridgeConnector", &iotoperationsmq.MqttBridgeConnectorArgs{
BridgeInstances: pulumi.Int(4528),
ClientIdPrefix: pulumi.String("yqipejvabahsexbnttiegjnh"),
ExtendedLocation: &iotoperationsmq.ExtendedLocationPropertyArgs{
Name: pulumi.String("an"),
Type: pulumi.String("CustomLocation"),
},
Image: &iotoperationsmq.ContainerImageArgs{
PullPolicy: pulumi.String("imfuzvqxgbdwliqnn"),
PullSecrets: pulumi.String("klnqimxqsrdwhcqldjvdtsrs"),
Repository: pulumi.String("m"),
Tag: pulumi.String("jygfdiamhhm"),
},
LocalBrokerConnection: iotoperationsmq.LocalBrokerConnectionSpecResponse{
Authentication: interface{}{
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("frztvxzhskx"),
LogLevel: pulumi.String("gpgijsotipdtvvkpnckuziqqv"),
MqName: pulumi.String("R8-6x-Y-L-F-21RP5-XVv"),
MqttBridgeConnectorName: pulumi.String("k1v-U4P2440C1b7T8y-G"),
NodeTolerations: &iotoperationsmq.NodeTolerationsArgs{
Effect: pulumi.String("eeswvciblqmmaeesjoflyvxqbz"),
Key: pulumi.String("wbrstdwxgm"),
Operator: pulumi.String("lbegegneekwnyodtzraarivtwhmzep"),
Value: pulumi.String("sfafsjdcezdmkwibxeluukxgl"),
},
Protocol: pulumi.String("v3"),
RemoteBrokerConnection: iotoperationsmq.MqttBridgeRemoteBrokerConnectionSpecResponse{
Authentication: interface{}{
SystemAssignedManagedIdentity: &iotoperationsmq.ManagedIdentityAuthenticationArgs{
Audience: pulumi.String("kjderojhpehosgfcrxxbh"),
ExtensionName: pulumi.String("cyckjqqzspleajbtkniwrfsqygjfhe"),
},
X509: interface{}{
KeyVault: interface{}{
Vault: interface{}{
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("x"),
},
},
Endpoint: pulumi.String("bshzrukafmxjgnrlhzlxbbzjdbqh"),
Protocol: pulumi.String("mqtt"),
Tls: &iotoperationsmq.MqttBridgeRemoteBrokerConnectionTlsArgs{
TlsEnabled: pulumi.Bool(true),
TrustedCaCertificateConfigMap: pulumi.String("ivtebqmclgfjx"),
},
},
ResourceGroupName: pulumi.String("rgiotoperationsmq"),
Tags: nil,
})
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.MqttBridgeConnector;
import com.pulumi.azurenative.iotoperationsmq.MqttBridgeConnectorArgs;
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 mqttBridgeConnector = new MqttBridgeConnector("mqttBridgeConnector", MqttBridgeConnectorArgs.builder()
.bridgeInstances(4528)
.clientIdPrefix("yqipejvabahsexbnttiegjnh")
.extendedLocation(Map.ofEntries(
Map.entry("name", "an"),
Map.entry("type", "CustomLocation")
))
.image(Map.ofEntries(
Map.entry("pullPolicy", "imfuzvqxgbdwliqnn"),
Map.entry("pullSecrets", "klnqimxqsrdwhcqldjvdtsrs"),
Map.entry("repository", "m"),
Map.entry("tag", "jygfdiamhhm")
))
.localBrokerConnection(Map.ofEntries(
Map.entry("authentication", Map.of("kubernetes", Map.ofEntries(
Map.entry("secretPath", "soukzfkouir"),
Map.entry("serviceAccountTokenName", "suwetviuhmhorhvsidlznnufe")
))),
Map.entry("endpoint", "xc"),
Map.entry("tls", Map.ofEntries(
Map.entry("tlsEnabled", true),
Map.entry("trustedCaCertificateConfigMap", "rinkomfeznsfedbmllxlbmmhc")
))
))
.location("frztvxzhskx")
.logLevel("gpgijsotipdtvvkpnckuziqqv")
.mqName("R8-6x-Y-L-F-21RP5-XVv")
.mqttBridgeConnectorName("k1v-U4P2440C1b7T8y-G")
.nodeTolerations(Map.ofEntries(
Map.entry("effect", "eeswvciblqmmaeesjoflyvxqbz"),
Map.entry("key", "wbrstdwxgm"),
Map.entry("operator", "lbegegneekwnyodtzraarivtwhmzep"),
Map.entry("value", "sfafsjdcezdmkwibxeluukxgl")
))
.protocol("v3")
.remoteBrokerConnection(Map.ofEntries(
Map.entry("authentication", Map.ofEntries(
Map.entry("systemAssignedManagedIdentity", Map.ofEntries(
Map.entry("audience", "kjderojhpehosgfcrxxbh"),
Map.entry("extensionName", "cyckjqqzspleajbtkniwrfsqygjfhe")
)),
Map.entry("x509", Map.ofEntries(
Map.entry("keyVault", Map.ofEntries(
Map.entry("vault", Map.ofEntries(
Map.entry("credentials", Map.of("servicePrincipalLocalSecretName", "wuimjwpbhoglbsxxa")),
Map.entry("directoryId", "eyjniptiykzcgbzok"),
Map.entry("name", "lxmwfan")
)),
Map.entry("vaultCaChainSecret", Map.ofEntries(
Map.entry("name", "bmectskddmpjxnsogwooexj"),
Map.entry("version", "unjfbf")
)),
Map.entry("vaultCert", Map.ofEntries(
Map.entry("name", "bmectskddmpjxnsogwooexj"),
Map.entry("version", "unjfbf")
))
)),
Map.entry("secretName", "x")
))
)),
Map.entry("endpoint", "bshzrukafmxjgnrlhzlxbbzjdbqh"),
Map.entry("protocol", "mqtt"),
Map.entry("tls", Map.ofEntries(
Map.entry("tlsEnabled", true),
Map.entry("trustedCaCertificateConfigMap", "ivtebqmclgfjx")
))
))
.resourceGroupName("rgiotoperationsmq")
.tags()
.build());
}
}

Import

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

$ pulumi import azure-native:iotoperationsmq:MqttBridgeConnector pjcjtrthj /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsMQ/mq/{mqName}/mqttBridgeConnector/{mqttBridgeConnectorName}

Constructors

Link copied to clipboard
fun MqttBridgeConnectorArgs(bridgeInstances: Output<Int>? = null, clientIdPrefix: Output<String>? = null, extendedLocation: Output<ExtendedLocationPropertyArgs>? = null, image: Output<ContainerImageArgs>? = null, localBrokerConnection: Output<LocalBrokerConnectionSpecArgs>? = null, location: Output<String>? = null, logLevel: Output<String>? = null, mqName: Output<String>? = null, mqttBridgeConnectorName: Output<String>? = null, nodeTolerations: Output<NodeTolerationsArgs>? = null, protocol: Output<Either<String, MqttProtocol>>? = null, remoteBrokerConnection: Output<MqttBridgeRemoteBrokerConnectionSpecArgs>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Functions

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

Properties

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

The number of instances to deploy for a bridge rollout.

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 MqttBridge Docker Image.

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
val mqttBridgeConnectorName: Output<String>? = null

Name of MQ mqttBridgeConnector resource

Link copied to clipboard

The Node Tolerations for the Bridge Connector pods.

Link copied to clipboard
val protocol: Output<Either<String, MqttProtocol>>? = null

The protocol to use for connecting with Brokers.

Link copied to clipboard

The details for connecting with Remote Broker.

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.