Broker Listener Args
    data class BrokerListenerArgs(val authenticationEnabled: Output<Boolean>? = null, val authorizationEnabled: Output<Boolean>? = null, val brokerName: Output<String>? = null, val brokerRef: Output<String>? = null, val extendedLocation: Output<ExtendedLocationPropertyArgs>? = null, val listenerName: Output<String>? = null, val location: Output<String>? = null, val mqName: Output<String>? = null, val nodePort: Output<Int>? = null, val port: Output<Int>? = null, val resourceGroupName: Output<String>? = null, val serviceName: Output<String>? = null, val serviceType: Output<Either<String, ServiceType>>? = null, val tags: Output<Map<String, String>>? = null, val tls: Output<TlsCertMethodArgs>? = null) : ConvertibleToJava<BrokerListenerArgs> 
MQ broker/listener resource Azure REST API version: 2023-10-04-preview.
Example Usage
BrokerListener_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
    var brokerListener = new AzureNative.IoTOperationsMQ.BrokerListener("brokerListener", new()
    {
        AuthenticationEnabled = true,
        AuthorizationEnabled = true,
        BrokerName = "HGF6WIy6oHv756MjW0JRLILF",
        BrokerRef = "ikuszpfycikq",
        ExtendedLocation = new AzureNative.IoTOperationsMQ.Inputs.ExtendedLocationPropertyArgs
        {
            Name = "an",
            Type = "CustomLocation",
        },
        ListenerName = "XGEP",
        Location = "dppbdcpstouifyko",
        MqName = "Z1-2BCdNY4JO--84",
        NodePort = 34375,
        Port = 19791,
        ResourceGroupName = "rgiotoperationsmq",
        ServiceName = "euxa",
        ServiceType = "clusterIp",
        Tags = null,
        Tls = new AzureNative.IoTOperationsMQ.Inputs.TlsCertMethodArgs
        {
            Automatic = new AzureNative.IoTOperationsMQ.Inputs.AutomaticCertMethodArgs
            {
                Duration = "rv",
                IssuerRef = new AzureNative.IoTOperationsMQ.Inputs.CertManagerIssuerRefArgs
                {
                    Group = "wxydv",
                    Kind = "birgjwuxfjcvyqe",
                    Name = "krmdlovyynymtvgffaveker",
                },
                PrivateKey = new AzureNative.IoTOperationsMQ.Inputs.CertManagerPrivateKeyArgs
                {
                    Algorithm = "wwewfsddymjefuhxzqybwvay",
                    RotationPolicy = "jxmpyvfneckopjiakjtous",
                    Size = 63427,
                },
                RenewBefore = "dexxoqqkgyofhkbk",
                San = new AzureNative.IoTOperationsMQ.Inputs.SanForCertArgs
                {
                    Dns = new[]
                    {
                        "nknzptgqgjvbkgzv",
                    },
                    Ip = new[]
                    {
                        "jpdkemham",
                    },
                },
                SecretName = "hquvygbuueerkspqqktviya",
                SecretNamespace = "aevwndhcnfxitdjykp",
            },
            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",
                },
            },
            Manual = new AzureNative.IoTOperationsMQ.Inputs.ManualCertMethodArgs
            {
                SecretName = "fezcl",
                SecretNamespace = "ozhayajoooingoczovfusqyilin",
            },
        },
    });
});Content copied to clipboard
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.NewBrokerListener(ctx, "brokerListener", &iotoperationsmq.BrokerListenerArgs{
AuthenticationEnabled: pulumi.Bool(true),
AuthorizationEnabled: pulumi.Bool(true),
BrokerName: pulumi.String("HGF6WIy6oHv756MjW0JRLILF"),
BrokerRef: pulumi.String("ikuszpfycikq"),
ExtendedLocation: &iotoperationsmq.ExtendedLocationPropertyArgs{
Name: pulumi.String("an"),
Type: pulumi.String("CustomLocation"),
},
ListenerName: pulumi.String("XGEP"),
Location: pulumi.String("dppbdcpstouifyko"),
MqName: pulumi.String("Z1-2BCdNY4JO--84"),
NodePort: pulumi.Int(34375),
Port: pulumi.Int(19791),
ResourceGroupName: pulumi.String("rgiotoperationsmq"),
ServiceName: pulumi.String("euxa"),
ServiceType: pulumi.String("clusterIp"),
Tags: nil,
Tls: iotoperationsmq.TlsCertMethodResponse{
Automatic: interface{}{
Duration: pulumi.String("rv"),
IssuerRef: &iotoperationsmq.CertManagerIssuerRefArgs{
Group: pulumi.String("wxydv"),
Kind: pulumi.String("birgjwuxfjcvyqe"),
Name: pulumi.String("krmdlovyynymtvgffaveker"),
},
PrivateKey: &iotoperationsmq.CertManagerPrivateKeyArgs{
Algorithm: pulumi.String("wwewfsddymjefuhxzqybwvay"),
RotationPolicy: pulumi.String("jxmpyvfneckopjiakjtous"),
Size: pulumi.Int(63427),
},
RenewBefore: pulumi.String("dexxoqqkgyofhkbk"),
San: &iotoperationsmq.SanForCertArgs{
Dns: pulumi.StringArray{
pulumi.String("nknzptgqgjvbkgzv"),
},
Ip: pulumi.StringArray{
pulumi.String("jpdkemham"),
},
},
SecretName: pulumi.String("hquvygbuueerkspqqktviya"),
SecretNamespace: pulumi.String("aevwndhcnfxitdjykp"),
},
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"),
},
},
Manual: &iotoperationsmq.ManualCertMethodArgs{
SecretName: pulumi.String("fezcl"),
SecretNamespace: pulumi.String("ozhayajoooingoczovfusqyilin"),
},
},
})
if err != nil {
return err
}
return nil
})
}Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.iotoperationsmq.BrokerListener;
import com.pulumi.azurenative.iotoperationsmq.BrokerListenerArgs;
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 brokerListener = new BrokerListener("brokerListener", BrokerListenerArgs.builder()
            .authenticationEnabled(true)
            .authorizationEnabled(true)
            .brokerName("HGF6WIy6oHv756MjW0JRLILF")
            .brokerRef("ikuszpfycikq")
            .extendedLocation(Map.ofEntries(
                Map.entry("name", "an"),
                Map.entry("type", "CustomLocation")
            ))
            .listenerName("XGEP")
            .location("dppbdcpstouifyko")
            .mqName("Z1-2BCdNY4JO--84")
            .nodePort(34375)
            .port(19791)
            .resourceGroupName("rgiotoperationsmq")
            .serviceName("euxa")
            .serviceType("clusterIp")
            .tags()
            .tls(Map.ofEntries(
                Map.entry("automatic", Map.ofEntries(
                    Map.entry("duration", "rv"),
                    Map.entry("issuerRef", Map.ofEntries(
                        Map.entry("group", "wxydv"),
                        Map.entry("kind", "birgjwuxfjcvyqe"),
                        Map.entry("name", "krmdlovyynymtvgffaveker")
                    )),
                    Map.entry("privateKey", Map.ofEntries(
                        Map.entry("algorithm", "wwewfsddymjefuhxzqybwvay"),
                        Map.entry("rotationPolicy", "jxmpyvfneckopjiakjtous"),
                        Map.entry("size", 63427)
                    )),
                    Map.entry("renewBefore", "dexxoqqkgyofhkbk"),
                    Map.entry("san", Map.ofEntries(
                        Map.entry("dns", "nknzptgqgjvbkgzv"),
                        Map.entry("ip", "jpdkemham")
                    )),
                    Map.entry("secretName", "hquvygbuueerkspqqktviya"),
                    Map.entry("secretNamespace", "aevwndhcnfxitdjykp")
                )),
                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("manual", Map.ofEntries(
                    Map.entry("secretName", "fezcl"),
                    Map.entry("secretNamespace", "ozhayajoooingoczovfusqyilin")
                ))
            ))
            .build());
    }
}Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:iotoperationsmq:BrokerListener ukqwzeflpmangzptkaengwiedlsb /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsMQ/mq/{mqName}/broker/{brokerName}/listener/{listenerName}Content copied to clipboard
Constructors
Link copied to clipboard
                fun BrokerListenerArgs(authenticationEnabled: Output<Boolean>? = null, authorizationEnabled: Output<Boolean>? = null, brokerName: Output<String>? = null, brokerRef: Output<String>? = null, extendedLocation: Output<ExtendedLocationPropertyArgs>? = null, listenerName: Output<String>? = null, location: Output<String>? = null, mqName: Output<String>? = null, nodePort: Output<Int>? = null, port: Output<Int>? = null, resourceGroupName: Output<String>? = null, serviceName: Output<String>? = null, serviceType: Output<Either<String, ServiceType>>? = null, tags: Output<Map<String, String>>? = null, tls: Output<TlsCertMethodArgs>? = null)