BrokerListenerArgs

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 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

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 = AzureNative.IoTOperationsMQ.ExtendedLocationType.CustomLocation,
},
ListenerName = "XGEP",
Location = "dppbdcpstouifyko",
MqName = "Z1-2BCdNY4JO--84",
NodePort = 34375,
Port = 19791,
ResourceGroupName = "rgiotoperationsmq",
ServiceName = "euxa",
ServiceType = AzureNative.IoTOperationsMQ.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",
},
},
});
});
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.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(iotoperationsmq.ExtendedLocationTypeCustomLocation),
},
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(iotoperationsmq.ServiceTypeClusterIp),
Tags: pulumi.StringMap{},
Tls: &iotoperationsmq.TlsCertMethodArgs{
Automatic: &iotoperationsmq.AutomaticCertMethodArgs{
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: &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"),
},
},
Manual: &iotoperationsmq.ManualCertMethodArgs{
SecretName: pulumi.String("fezcl"),
SecretNamespace: pulumi.String("ozhayajoooingoczovfusqyilin"),
},
},
})
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.BrokerListener;
import com.pulumi.azurenative.iotoperationsmq.BrokerListenerArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.ExtendedLocationPropertyArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.TlsCertMethodArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.AutomaticCertMethodArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.CertManagerIssuerRefArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.CertManagerPrivateKeyArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.SanForCertArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.KeyVaultCertificatePropertiesArgs;
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.ManualCertMethodArgs;
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(ExtendedLocationPropertyArgs.builder()
.name("an")
.type("CustomLocation")
.build())
.listenerName("XGEP")
.location("dppbdcpstouifyko")
.mqName("Z1-2BCdNY4JO--84")
.nodePort(34375)
.port(19791)
.resourceGroupName("rgiotoperationsmq")
.serviceName("euxa")
.serviceType("clusterIp")
.tags(Map.ofEntries(
))
.tls(TlsCertMethodArgs.builder()
.automatic(AutomaticCertMethodArgs.builder()
.duration("rv")
.issuerRef(CertManagerIssuerRefArgs.builder()
.group("wxydv")
.kind("birgjwuxfjcvyqe")
.name("krmdlovyynymtvgffaveker")
.build())
.privateKey(CertManagerPrivateKeyArgs.builder()
.algorithm("wwewfsddymjefuhxzqybwvay")
.rotationPolicy("jxmpyvfneckopjiakjtous")
.size(63427)
.build())
.renewBefore("dexxoqqkgyofhkbk")
.san(SanForCertArgs.builder()
.dns("nknzptgqgjvbkgzv")
.ip("jpdkemham")
.build())
.secretName("hquvygbuueerkspqqktviya")
.secretNamespace("aevwndhcnfxitdjykp")
.build())
.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())
.manual(ManualCertMethodArgs.builder()
.secretName("fezcl")
.secretNamespace("ozhayajoooingoczovfusqyilin")
.build())
.build())
.build());
}
}

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}

Constructors

Link copied to clipboard
constructor(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)

Properties

Link copied to clipboard
val authenticationEnabled: Output<Boolean>? = null

The flag for enabling Authentication rules on Listener Port.

Link copied to clipboard
val authorizationEnabled: Output<Boolean>? = null

The flag for enabling Authorization policies on Listener Port. false - AllowAll, true - Use Authorization resource rules if present.

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

Name of MQ broker resource

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

The k8s cr/resource reference of mq/broker.

Link copied to clipboard

Extended Location

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

Name of MQ broker/listener resource

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

The geo-location where the resource lives

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

Name of MQ resource

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

The node port to use on the Host node.

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

The port to start Listening for connections on.

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

The service name to expose Listener port on.

Link copied to clipboard
val serviceType: Output<Either<String, ServiceType>>? = null

The Kubernetes Service type to deploy for Listener.

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

Resource tags.

Link copied to clipboard
val tls: Output<TlsCertMethodArgs>? = null

Defines configuration of a TLS server certificate. NOTE Enum - Only one TLS Cert method is supported

Functions

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