BrokerAuthentication

class BrokerAuthentication : KotlinCustomResource

MQ broker/authentication resource 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 = "CustomLocation",
},
ListenerRef = new[]
{
"dhjpypfjzzmwm",
},
Location = "vtxegvaeqwyupplnm",
MqName = "2S-A2-D9kC946K",
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.NewBrokerAuthentication(ctx, "brokerAuthentication", &iotoperationsmq.BrokerAuthenticationArgs{
AuthenticationMethods: []iotoperationsmq.BrokerAuthenticatorMethodsArgs{
{
Custom: {
Auth: {
X509: {
KeyVault: {
Vault: {
Credentials: {
ServicePrincipalLocalSecretName: pulumi.String("wuimjwpbhoglbsxxa"),
},
DirectoryId: pulumi.String("eyjniptiykzcgbzok"),
Name: pulumi.String("lxmwfan"),
},
VaultCaChainSecret: {
Name: pulumi.String("bmectskddmpjxnsogwooexj"),
Version: pulumi.String("unjfbf"),
},
VaultCert: {
Name: pulumi.String("bmectskddmpjxnsogwooexj"),
Version: pulumi.String("unjfbf"),
},
},
SecretName: pulumi.String("dordbwjewnqkhfd"),
},
},
CaCertConfigMap: pulumi.String("diufihyysdcosgy"),
Endpoint: pulumi.String("yy"),
Headers: nil,
},
Sat: {
Audiences: pulumi.StringArray{
pulumi.String("fiyitxutbuuhwtltukyjacads"),
},
},
Svid: {
AgentSocketPath: pulumi.String("gnyowebmeaj"),
IdentityMaxRetry: pulumi.Float64(4031184731),
IdentityWaitRetryMs: pulumi.Float64(2243705844935085568),
},
UsernamePassword: {
KeyVault: {
Vault: {
Credentials: {
ServicePrincipalLocalSecretName: pulumi.String("wuimjwpbhoglbsxxa"),
},
DirectoryId: pulumi.String("eyjniptiykzcgbzok"),
Name: pulumi.String("lxmwfan"),
},
VaultSecret: {
Name: pulumi.String("bmectskddmpjxnsogwooexj"),
Version: pulumi.String("unjfbf"),
},
},
SecretName: pulumi.String("blk"),
},
X509: {
Attributes: {
KeyVault: {
Vault: {
Credentials: {
ServicePrincipalLocalSecretName: pulumi.String("wuimjwpbhoglbsxxa"),
},
DirectoryId: pulumi.String("eyjniptiykzcgbzok"),
Name: pulumi.String("lxmwfan"),
},
VaultSecret: {
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("CustomLocation"),
},
ListenerRef: pulumi.StringArray{
pulumi.String("dhjpypfjzzmwm"),
},
Location: pulumi.String("vtxegvaeqwyupplnm"),
MqName: pulumi.String("2S-A2-D9kC946K"),
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.BrokerAuthentication;
import com.pulumi.azurenative.iotoperationsmq.BrokerAuthenticationArgs;
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(Map.ofEntries(
Map.entry("custom", Map.ofEntries(
Map.entry("auth", Map.of("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", "dordbwjewnqkhfd")
))),
Map.entry("caCertConfigMap", "diufihyysdcosgy"),
Map.entry("endpoint", "yy"),
Map.entry("headers", )
)),
Map.entry("sat", Map.of("audiences", "fiyitxutbuuhwtltukyjacads")),
Map.entry("svid", Map.ofEntries(
Map.entry("agentSocketPath", "gnyowebmeaj"),
Map.entry("identityMaxRetry", 4031184731),
Map.entry("identityWaitRetryMs", 2243705844935085568)
)),
Map.entry("usernamePassword", 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("vaultSecret", Map.ofEntries(
Map.entry("name", "bmectskddmpjxnsogwooexj"),
Map.entry("version", "unjfbf")
))
)),
Map.entry("secretName", "blk")
)),
Map.entry("x509", Map.ofEntries(
Map.entry("attributes", 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("vaultSecret", Map.ofEntries(
Map.entry("name", "bmectskddmpjxnsogwooexj"),
Map.entry("version", "unjfbf")
))
)),
Map.entry("secretName", "ybcke")
)),
Map.entry("trustedClientCaCertConfigMap", "udidafmnpt")
))
))
.authenticationName("lUo-GQ3-95F-1O-")
.brokerName("87v1GC9557XuP-JLI4-")
.extendedLocation(Map.ofEntries(
Map.entry("name", "an"),
Map.entry("type", "CustomLocation")
))
.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}

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
Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val listenerRef: Output<List<String>>

The array of listener Resources it supports.

Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

The status of the last operation.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>