Broker Listener
MQ broker/listener resource Uses 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 = 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",
},
},
});
});
Content copied to clipboard
package main
import (
iotoperationsmq "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(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
})
}
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 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()
.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());
}
}
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
Properties
Link copied to clipboard
The flag for enabling Authentication rules on Listener Port.
Link copied to clipboard
The flag for enabling Authorization policies on Listener Port. false - AllowAll, true - Use Authorization resource rules if present.
Link copied to clipboard
Extended Location
Link copied to clipboard
The status of the last operation.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The service name to expose Listener port on.
Link copied to clipboard
The Kubernetes Service type to deploy for Listener.
Link copied to clipboard
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Link copied to clipboard
Defines configuration of a TLS server certificate. NOTE Enum - Only one TLS Cert method is supported