BrokerAuthenticationArgs

data class BrokerAuthenticationArgs(val authenticationMethods: Output<List<BrokerAuthenticatorMethodsArgs>>? = null, val authenticationName: Output<String>? = null, val brokerName: Output<String>? = null, val extendedLocation: Output<ExtendedLocationPropertyArgs>? = null, val listenerRef: Output<List<String>>? = null, val location: Output<String>? = null, val mqName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<BrokerAuthenticationArgs>

MQ broker/authentication resource Uses Azure REST API version 2023-10-04-preview.

Example Usage

BrokerAuthentication_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var brokerAuthentication = new AzureNative.IoTOperationsMQ.BrokerAuthentication("brokerAuthentication", new()
{
AuthenticationMethods = new[]
{
new AzureNative.IoTOperationsMQ.Inputs.BrokerAuthenticatorMethodsArgs
{
Custom = new AzureNative.IoTOperationsMQ.Inputs.BrokerAuthenticatorMethodCustomArgs
{
Auth = new AzureNative.IoTOperationsMQ.Inputs.BrokerAuthenticatorCustomAuthArgs
{
X509 = new AzureNative.IoTOperationsMQ.Inputs.BrokerAuthenticatorCustomAuthX509Args
{
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 = "dordbwjewnqkhfd",
},
},
CaCertConfigMap = "diufihyysdcosgy",
Endpoint = "yy",
Headers = null,
},
Sat = new AzureNative.IoTOperationsMQ.Inputs.BrokerAuthenticatorMethodSatArgs
{
Audiences = new[]
{
"fiyitxutbuuhwtltukyjacads",
},
},
Svid = new AzureNative.IoTOperationsMQ.Inputs.BrokerAuthenticatorMethodSvidArgs
{
AgentSocketPath = "gnyowebmeaj",
IdentityMaxRetry = 4031184731,
IdentityWaitRetryMs = 2243705844935085568,
},
UsernamePassword = new AzureNative.IoTOperationsMQ.Inputs.BrokerAuthenticatorMethodUsernamePasswordArgs
{
KeyVault = new AzureNative.IoTOperationsMQ.Inputs.KeyVaultSecretPropertiesArgs
{
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 = "blk",
},
X509 = new AzureNative.IoTOperationsMQ.Inputs.BrokerAuthenticatorMethodX509Args
{
Attributes = new AzureNative.IoTOperationsMQ.Inputs.BrokerAuthenticatorMethodX509AttributesArgs
{
KeyVault = new AzureNative.IoTOperationsMQ.Inputs.KeyVaultSecretPropertiesArgs
{
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 = "ybcke",
},
TrustedClientCaCertConfigMap = "udidafmnpt",
},
},
},
AuthenticationName = "lUo-GQ3-95F-1O-",
BrokerName = "87v1GC9557XuP-JLI4-",
ExtendedLocation = new AzureNative.IoTOperationsMQ.Inputs.ExtendedLocationPropertyArgs
{
Name = "an",
Type = AzureNative.IoTOperationsMQ.ExtendedLocationType.CustomLocation,
},
ListenerRef = new[]
{
"dhjpypfjzzmwm",
},
Location = "vtxegvaeqwyupplnm",
MqName = "2S-A2-D9kC946K",
ResourceGroupName = "rgiotoperationsmq",
Tags = null,
});
});
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.NewBrokerAuthentication(ctx, "brokerAuthentication", &iotoperationsmq.BrokerAuthenticationArgs{
AuthenticationMethods: iotoperationsmq.BrokerAuthenticatorMethodsArray{
&iotoperationsmq.BrokerAuthenticatorMethodsArgs{
Custom: &iotoperationsmq.BrokerAuthenticatorMethodCustomArgs{
Auth: &iotoperationsmq.BrokerAuthenticatorCustomAuthArgs{
X509: &iotoperationsmq.BrokerAuthenticatorCustomAuthX509Args{
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("dordbwjewnqkhfd"),
},
},
CaCertConfigMap: pulumi.String("diufihyysdcosgy"),
Endpoint: pulumi.String("yy"),
Headers: pulumi.StringMap{},
},
Sat: &iotoperationsmq.BrokerAuthenticatorMethodSatArgs{
Audiences: pulumi.StringArray{
pulumi.String("fiyitxutbuuhwtltukyjacads"),
},
},
Svid: &iotoperationsmq.BrokerAuthenticatorMethodSvidArgs{
AgentSocketPath: pulumi.String("gnyowebmeaj"),
IdentityMaxRetry: pulumi.Float64(4031184731),
IdentityWaitRetryMs: pulumi.Float64(2243705844935085568),
},
UsernamePassword: &iotoperationsmq.BrokerAuthenticatorMethodUsernamePasswordArgs{
KeyVault: &iotoperationsmq.KeyVaultSecretPropertiesArgs{
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("blk"),
},
X509: &iotoperationsmq.BrokerAuthenticatorMethodX509Args{
Attributes: &iotoperationsmq.BrokerAuthenticatorMethodX509AttributesArgs{
KeyVault: &iotoperationsmq.KeyVaultSecretPropertiesArgs{
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("ybcke"),
},
TrustedClientCaCertConfigMap: pulumi.String("udidafmnpt"),
},
},
},
AuthenticationName: pulumi.String("lUo-GQ3-95F-1O-"),
BrokerName: pulumi.String("87v1GC9557XuP-JLI4-"),
ExtendedLocation: &iotoperationsmq.ExtendedLocationPropertyArgs{
Name: pulumi.String("an"),
Type: pulumi.String(iotoperationsmq.ExtendedLocationTypeCustomLocation),
},
ListenerRef: pulumi.StringArray{
pulumi.String("dhjpypfjzzmwm"),
},
Location: pulumi.String("vtxegvaeqwyupplnm"),
MqName: pulumi.String("2S-A2-D9kC946K"),
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.BrokerAuthentication;
import com.pulumi.azurenative.iotoperationsmq.BrokerAuthenticationArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.BrokerAuthenticatorMethodsArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.BrokerAuthenticatorMethodCustomArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.BrokerAuthenticatorCustomAuthArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.BrokerAuthenticatorCustomAuthX509Args;
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.BrokerAuthenticatorMethodSatArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.BrokerAuthenticatorMethodSvidArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.BrokerAuthenticatorMethodUsernamePasswordArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.KeyVaultSecretPropertiesArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.BrokerAuthenticatorMethodX509Args;
import com.pulumi.azurenative.iotoperationsmq.inputs.BrokerAuthenticatorMethodX509AttributesArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.ExtendedLocationPropertyArgs;
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 brokerAuthentication = new BrokerAuthentication("brokerAuthentication", BrokerAuthenticationArgs.builder()
.authenticationMethods(BrokerAuthenticatorMethodsArgs.builder()
.custom(BrokerAuthenticatorMethodCustomArgs.builder()
.auth(BrokerAuthenticatorCustomAuthArgs.builder()
.x509(BrokerAuthenticatorCustomAuthX509Args.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("dordbwjewnqkhfd")
.build())
.build())
.caCertConfigMap("diufihyysdcosgy")
.endpoint("yy")
.headers()
.build())
.sat(BrokerAuthenticatorMethodSatArgs.builder()
.audiences("fiyitxutbuuhwtltukyjacads")
.build())
.svid(BrokerAuthenticatorMethodSvidArgs.builder()
.agentSocketPath("gnyowebmeaj")
.identityMaxRetry(4031184731)
.identityWaitRetryMs(2243705844935085568)
.build())
.usernamePassword(BrokerAuthenticatorMethodUsernamePasswordArgs.builder()
.keyVault(KeyVaultSecretPropertiesArgs.builder()
.vault(KeyVaultConnectionPropertiesArgs.builder()
.credentials(KeyVaultCredentialsPropertiesArgs.builder()
.servicePrincipalLocalSecretName("wuimjwpbhoglbsxxa")
.build())
.directoryId("eyjniptiykzcgbzok")
.name("lxmwfan")
.build())
.vaultSecret(KeyVaultSecretObjectArgs.builder()
.name("bmectskddmpjxnsogwooexj")
.version("unjfbf")
.build())
.build())
.secretName("blk")
.build())
.x509(BrokerAuthenticatorMethodX509Args.builder()
.attributes(BrokerAuthenticatorMethodX509AttributesArgs.builder()
.keyVault(KeyVaultSecretPropertiesArgs.builder()
.vault(KeyVaultConnectionPropertiesArgs.builder()
.credentials(KeyVaultCredentialsPropertiesArgs.builder()
.servicePrincipalLocalSecretName("wuimjwpbhoglbsxxa")
.build())
.directoryId("eyjniptiykzcgbzok")
.name("lxmwfan")
.build())
.vaultSecret(KeyVaultSecretObjectArgs.builder()
.name("bmectskddmpjxnsogwooexj")
.version("unjfbf")
.build())
.build())
.secretName("ybcke")
.build())
.trustedClientCaCertConfigMap("udidafmnpt")
.build())
.build())
.authenticationName("lUo-GQ3-95F-1O-")
.brokerName("87v1GC9557XuP-JLI4-")
.extendedLocation(ExtendedLocationPropertyArgs.builder()
.name("an")
.type("CustomLocation")
.build())
.listenerRef("dhjpypfjzzmwm")
.location("vtxegvaeqwyupplnm")
.mqName("2S-A2-D9kC946K")
.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:BrokerAuthentication ktgtbdoqrmk /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsMQ/mq/{mqName}/broker/{brokerName}/authentication/{authenticationName}

Constructors

Link copied to clipboard
constructor(authenticationMethods: Output<List<BrokerAuthenticatorMethodsArgs>>? = null, authenticationName: Output<String>? = null, brokerName: Output<String>? = null, extendedLocation: Output<ExtendedLocationPropertyArgs>? = null, listenerRef: Output<List<String>>? = null, location: Output<String>? = null, mqName: Output<String>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard

The list of authentication methods supported by the Authentication Resource. For each array element, NOTE - Enum only authenticator type supported.

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

Name of MQ broker/authentication resource

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

Name of MQ broker resource

Link copied to clipboard

Extended Location

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

The array of listener Resources it supports.

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 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(): BrokerAuthenticationArgs