1. Packages
  2. Azure Native
  3. API Docs
  4. iotoperationsmq
  5. BrokerAuthorization
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native.iotoperationsmq.BrokerAuthorization

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

MQ broker/authorization resource

Uses Azure REST API version 2023-10-04-preview.

Example Usage

BrokerAuthorization_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var brokerAuthorization = new AzureNative.IoTOperationsMQ.BrokerAuthorization("brokerAuthorization", new()
    {
        AuthorizationName = "C15G",
        AuthorizationPolicies = new AzureNative.IoTOperationsMQ.Inputs.AuthorizationConfigArgs
        {
            EnableCache = true,
            Rules = new[]
            {
                new AzureNative.IoTOperationsMQ.Inputs.AuthorizationBasicRuleArgs
                {
                    BrokerResources = new[]
                    {
                        new AzureNative.IoTOperationsMQ.Inputs.ResourceInfoDefinitionArgs
                        {
                            Method = AzureNative.IoTOperationsMQ.ResourceInfoDefinitionMethods.Connect,
                            Topics = new[]
                            {
                                "v",
                            },
                        },
                    },
                    Principals = new AzureNative.IoTOperationsMQ.Inputs.PrincipalDefinitionArgs
                    {
                        Attributes = new[]
                        {
                            null,
                        },
                        Clientids = new[]
                        {
                            "smrfzvniq",
                        },
                        Usernames = new[]
                        {
                            "jtwwmsrzriat",
                        },
                    },
                },
            },
        },
        BrokerName = "7E0-tXS-6u1h-Vx396----",
        ExtendedLocation = new AzureNative.IoTOperationsMQ.Inputs.ExtendedLocationPropertyArgs
        {
            Name = "an",
            Type = AzureNative.IoTOperationsMQ.ExtendedLocationType.CustomLocation,
        },
        ListenerRef = new[]
        {
            "mxgpbyb",
        },
        Location = "bvgohixie",
        MqName = "Zz22-b2VC-9",
        ResourceGroupName = "rgiotoperationsmq",
        Tags = null,
    });

});
Copy
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.NewBrokerAuthorization(ctx, "brokerAuthorization", &iotoperationsmq.BrokerAuthorizationArgs{
			AuthorizationName: pulumi.String("C15G"),
			AuthorizationPolicies: &iotoperationsmq.AuthorizationConfigArgs{
				EnableCache: pulumi.Bool(true),
				Rules: iotoperationsmq.AuthorizationBasicRuleArray{
					&iotoperationsmq.AuthorizationBasicRuleArgs{
						BrokerResources: iotoperationsmq.ResourceInfoDefinitionArray{
							&iotoperationsmq.ResourceInfoDefinitionArgs{
								Method: pulumi.String(iotoperationsmq.ResourceInfoDefinitionMethodsConnect),
								Topics: pulumi.StringArray{
									pulumi.String("v"),
								},
							},
						},
						Principals: &iotoperationsmq.PrincipalDefinitionArgs{
							Attributes: pulumi.StringMapArray{
								pulumi.StringMap{},
							},
							Clientids: pulumi.StringArray{
								pulumi.String("smrfzvniq"),
							},
							Usernames: pulumi.StringArray{
								pulumi.String("jtwwmsrzriat"),
							},
						},
					},
				},
			},
			BrokerName: pulumi.String("7E0-tXS-6u1h-Vx396----"),
			ExtendedLocation: &iotoperationsmq.ExtendedLocationPropertyArgs{
				Name: pulumi.String("an"),
				Type: pulumi.String(iotoperationsmq.ExtendedLocationTypeCustomLocation),
			},
			ListenerRef: pulumi.StringArray{
				pulumi.String("mxgpbyb"),
			},
			Location:          pulumi.String("bvgohixie"),
			MqName:            pulumi.String("Zz22-b2VC-9"),
			ResourceGroupName: pulumi.String("rgiotoperationsmq"),
			Tags:              pulumi.StringMap{},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.iotoperationsmq.BrokerAuthorization;
import com.pulumi.azurenative.iotoperationsmq.BrokerAuthorizationArgs;
import com.pulumi.azurenative.iotoperationsmq.inputs.AuthorizationConfigArgs;
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 brokerAuthorization = new BrokerAuthorization("brokerAuthorization", BrokerAuthorizationArgs.builder()
            .authorizationName("C15G")
            .authorizationPolicies(AuthorizationConfigArgs.builder()
                .enableCache(true)
                .rules(AuthorizationBasicRuleArgs.builder()
                    .brokerResources(ResourceInfoDefinitionArgs.builder()
                        .method("Connect")
                        .topics("v")
                        .build())
                    .principals(PrincipalDefinitionArgs.builder()
                        .attributes()
                        .clientids("smrfzvniq")
                        .usernames("jtwwmsrzriat")
                        .build())
                    .build())
                .build())
            .brokerName("7E0-tXS-6u1h-Vx396----")
            .extendedLocation(ExtendedLocationPropertyArgs.builder()
                .name("an")
                .type("CustomLocation")
                .build())
            .listenerRef("mxgpbyb")
            .location("bvgohixie")
            .mqName("Zz22-b2VC-9")
            .resourceGroupName("rgiotoperationsmq")
            .tags()
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const brokerAuthorization = new azure_native.iotoperationsmq.BrokerAuthorization("brokerAuthorization", {
    authorizationName: "C15G",
    authorizationPolicies: {
        enableCache: true,
        rules: [{
            brokerResources: [{
                method: azure_native.iotoperationsmq.ResourceInfoDefinitionMethods.Connect,
                topics: ["v"],
            }],
            principals: {
                attributes: [{}],
                clientids: ["smrfzvniq"],
                usernames: ["jtwwmsrzriat"],
            },
        }],
    },
    brokerName: "7E0-tXS-6u1h-Vx396----",
    extendedLocation: {
        name: "an",
        type: azure_native.iotoperationsmq.ExtendedLocationType.CustomLocation,
    },
    listenerRef: ["mxgpbyb"],
    location: "bvgohixie",
    mqName: "Zz22-b2VC-9",
    resourceGroupName: "rgiotoperationsmq",
    tags: {},
});
Copy
import pulumi
import pulumi_azure_native as azure_native

broker_authorization = azure_native.iotoperationsmq.BrokerAuthorization("brokerAuthorization",
    authorization_name="C15G",
    authorization_policies={
        "enable_cache": True,
        "rules": [{
            "broker_resources": [{
                "method": azure_native.iotoperationsmq.ResourceInfoDefinitionMethods.CONNECT,
                "topics": ["v"],
            }],
            "principals": {
                "attributes": [{}],
                "clientids": ["smrfzvniq"],
                "usernames": ["jtwwmsrzriat"],
            },
        }],
    },
    broker_name="7E0-tXS-6u1h-Vx396----",
    extended_location={
        "name": "an",
        "type": azure_native.iotoperationsmq.ExtendedLocationType.CUSTOM_LOCATION,
    },
    listener_ref=["mxgpbyb"],
    location="bvgohixie",
    mq_name="Zz22-b2VC-9",
    resource_group_name="rgiotoperationsmq",
    tags={})
Copy
resources:
  brokerAuthorization:
    type: azure-native:iotoperationsmq:BrokerAuthorization
    properties:
      authorizationName: C15G
      authorizationPolicies:
        enableCache: true
        rules:
          - brokerResources:
              - method: Connect
                topics:
                  - v
            principals:
              attributes:
                - {}
              clientids:
                - smrfzvniq
              usernames:
                - jtwwmsrzriat
      brokerName: 7E0-tXS-6u1h-Vx396----
      extendedLocation:
        name: an
        type: CustomLocation
      listenerRef:
        - mxgpbyb
      location: bvgohixie
      mqName: Zz22-b2VC-9
      resourceGroupName: rgiotoperationsmq
      tags: {}
Copy

Create BrokerAuthorization Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new BrokerAuthorization(name: string, args: BrokerAuthorizationArgs, opts?: CustomResourceOptions);
@overload
def BrokerAuthorization(resource_name: str,
                        args: BrokerAuthorizationArgs,
                        opts: Optional[ResourceOptions] = None)

@overload
def BrokerAuthorization(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        authorization_policies: Optional[AuthorizationConfigArgs] = None,
                        broker_name: Optional[str] = None,
                        extended_location: Optional[ExtendedLocationPropertyArgs] = None,
                        listener_ref: Optional[Sequence[str]] = None,
                        mq_name: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        authorization_name: Optional[str] = None,
                        location: Optional[str] = None,
                        tags: Optional[Mapping[str, str]] = None)
func NewBrokerAuthorization(ctx *Context, name string, args BrokerAuthorizationArgs, opts ...ResourceOption) (*BrokerAuthorization, error)
public BrokerAuthorization(string name, BrokerAuthorizationArgs args, CustomResourceOptions? opts = null)
public BrokerAuthorization(String name, BrokerAuthorizationArgs args)
public BrokerAuthorization(String name, BrokerAuthorizationArgs args, CustomResourceOptions options)
type: azure-native:iotoperationsmq:BrokerAuthorization
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. BrokerAuthorizationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. BrokerAuthorizationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. BrokerAuthorizationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. BrokerAuthorizationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. BrokerAuthorizationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var azure_nativeBrokerAuthorizationResource = new AzureNative.IoTOperationsMQ.BrokerAuthorization("azure-nativeBrokerAuthorizationResource", new()
{
    AuthorizationPolicies = new AzureNative.IoTOperationsMQ.Inputs.AuthorizationConfigArgs
    {
        EnableCache = false,
        Rules = new[]
        {
            new AzureNative.IoTOperationsMQ.Inputs.AuthorizationBasicRuleArgs
            {
                BrokerResources = new[]
                {
                    new AzureNative.IoTOperationsMQ.Inputs.ResourceInfoDefinitionArgs
                    {
                        Method = "string",
                        Topics = new[]
                        {
                            "string",
                        },
                    },
                },
                Principals = new AzureNative.IoTOperationsMQ.Inputs.PrincipalDefinitionArgs
                {
                    Attributes = new[]
                    {
                        
                        {
                            { "string", "string" },
                        },
                    },
                    Clientids = new[]
                    {
                        "string",
                    },
                    Usernames = new[]
                    {
                        "string",
                    },
                },
            },
        },
    },
    BrokerName = "string",
    ExtendedLocation = new AzureNative.IoTOperationsMQ.Inputs.ExtendedLocationPropertyArgs
    {
        Name = "string",
        Type = "string",
    },
    ListenerRef = new[]
    {
        "string",
    },
    MqName = "string",
    ResourceGroupName = "string",
    AuthorizationName = "string",
    Location = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := iotoperationsmq.NewBrokerAuthorization(ctx, "azure-nativeBrokerAuthorizationResource", &iotoperationsmq.BrokerAuthorizationArgs{
	AuthorizationPolicies: &iotoperationsmq.AuthorizationConfigArgs{
		EnableCache: pulumi.Bool(false),
		Rules: iotoperationsmq.AuthorizationBasicRuleArray{
			&iotoperationsmq.AuthorizationBasicRuleArgs{
				BrokerResources: iotoperationsmq.ResourceInfoDefinitionArray{
					&iotoperationsmq.ResourceInfoDefinitionArgs{
						Method: pulumi.String("string"),
						Topics: pulumi.StringArray{
							pulumi.String("string"),
						},
					},
				},
				Principals: &iotoperationsmq.PrincipalDefinitionArgs{
					Attributes: pulumi.StringMapArray{
						pulumi.StringMap{
							"string": pulumi.String("string"),
						},
					},
					Clientids: pulumi.StringArray{
						pulumi.String("string"),
					},
					Usernames: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
			},
		},
	},
	BrokerName: pulumi.String("string"),
	ExtendedLocation: &iotoperationsmq.ExtendedLocationPropertyArgs{
		Name: pulumi.String("string"),
		Type: pulumi.String("string"),
	},
	ListenerRef: pulumi.StringArray{
		pulumi.String("string"),
	},
	MqName:            pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	AuthorizationName: pulumi.String("string"),
	Location:          pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var azure_nativeBrokerAuthorizationResource = new BrokerAuthorization("azure-nativeBrokerAuthorizationResource", BrokerAuthorizationArgs.builder()
    .authorizationPolicies(AuthorizationConfigArgs.builder()
        .enableCache(false)
        .rules(AuthorizationBasicRuleArgs.builder()
            .brokerResources(ResourceInfoDefinitionArgs.builder()
                .method("string")
                .topics("string")
                .build())
            .principals(PrincipalDefinitionArgs.builder()
                .attributes(Map.of("string", "string"))
                .clientids("string")
                .usernames("string")
                .build())
            .build())
        .build())
    .brokerName("string")
    .extendedLocation(ExtendedLocationPropertyArgs.builder()
        .name("string")
        .type("string")
        .build())
    .listenerRef("string")
    .mqName("string")
    .resourceGroupName("string")
    .authorizationName("string")
    .location("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
azure_native_broker_authorization_resource = azure_native.iotoperationsmq.BrokerAuthorization("azure-nativeBrokerAuthorizationResource",
    authorization_policies={
        "enable_cache": False,
        "rules": [{
            "broker_resources": [{
                "method": "string",
                "topics": ["string"],
            }],
            "principals": {
                "attributes": [{
                    "string": "string",
                }],
                "clientids": ["string"],
                "usernames": ["string"],
            },
        }],
    },
    broker_name="string",
    extended_location={
        "name": "string",
        "type": "string",
    },
    listener_ref=["string"],
    mq_name="string",
    resource_group_name="string",
    authorization_name="string",
    location="string",
    tags={
        "string": "string",
    })
Copy
const azure_nativeBrokerAuthorizationResource = new azure_native.iotoperationsmq.BrokerAuthorization("azure-nativeBrokerAuthorizationResource", {
    authorizationPolicies: {
        enableCache: false,
        rules: [{
            brokerResources: [{
                method: "string",
                topics: ["string"],
            }],
            principals: {
                attributes: [{
                    string: "string",
                }],
                clientids: ["string"],
                usernames: ["string"],
            },
        }],
    },
    brokerName: "string",
    extendedLocation: {
        name: "string",
        type: "string",
    },
    listenerRef: ["string"],
    mqName: "string",
    resourceGroupName: "string",
    authorizationName: "string",
    location: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:iotoperationsmq:BrokerAuthorization
properties:
    authorizationName: string
    authorizationPolicies:
        enableCache: false
        rules:
            - brokerResources:
                - method: string
                  topics:
                    - string
              principals:
                attributes:
                    - string: string
                clientids:
                    - string
                usernames:
                    - string
    brokerName: string
    extendedLocation:
        name: string
        type: string
    listenerRef:
        - string
    location: string
    mqName: string
    resourceGroupName: string
    tags:
        string: string
Copy

BrokerAuthorization Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The BrokerAuthorization resource accepts the following input properties:

AuthorizationPolicies This property is required. Pulumi.AzureNative.IoTOperationsMQ.Inputs.AuthorizationConfig
The list of authorization policies supported by the Authorization Resource.
BrokerName
This property is required.
Changes to this property will trigger replacement.
string
Name of MQ broker resource
ExtendedLocation
This property is required.
Changes to this property will trigger replacement.
Pulumi.AzureNative.IoTOperationsMQ.Inputs.ExtendedLocationProperty
Extended Location
ListenerRef This property is required. List<string>
The array of listener Resources it supports.
MqName
This property is required.
Changes to this property will trigger replacement.
string
Name of MQ resource
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
AuthorizationName Changes to this property will trigger replacement. string
Name of MQ broker/authorization resource
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Tags Dictionary<string, string>
Resource tags.
AuthorizationPolicies This property is required. AuthorizationConfigArgs
The list of authorization policies supported by the Authorization Resource.
BrokerName
This property is required.
Changes to this property will trigger replacement.
string
Name of MQ broker resource
ExtendedLocation
This property is required.
Changes to this property will trigger replacement.
ExtendedLocationPropertyArgs
Extended Location
ListenerRef This property is required. []string
The array of listener Resources it supports.
MqName
This property is required.
Changes to this property will trigger replacement.
string
Name of MQ resource
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
AuthorizationName Changes to this property will trigger replacement. string
Name of MQ broker/authorization resource
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Tags map[string]string
Resource tags.
authorizationPolicies This property is required. AuthorizationConfig
The list of authorization policies supported by the Authorization Resource.
brokerName
This property is required.
Changes to this property will trigger replacement.
String
Name of MQ broker resource
extendedLocation
This property is required.
Changes to this property will trigger replacement.
ExtendedLocationProperty
Extended Location
listenerRef This property is required. List<String>
The array of listener Resources it supports.
mqName
This property is required.
Changes to this property will trigger replacement.
String
Name of MQ resource
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
authorizationName Changes to this property will trigger replacement. String
Name of MQ broker/authorization resource
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
tags Map<String,String>
Resource tags.
authorizationPolicies This property is required. AuthorizationConfig
The list of authorization policies supported by the Authorization Resource.
brokerName
This property is required.
Changes to this property will trigger replacement.
string
Name of MQ broker resource
extendedLocation
This property is required.
Changes to this property will trigger replacement.
ExtendedLocationProperty
Extended Location
listenerRef This property is required. string[]
The array of listener Resources it supports.
mqName
This property is required.
Changes to this property will trigger replacement.
string
Name of MQ resource
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
authorizationName Changes to this property will trigger replacement. string
Name of MQ broker/authorization resource
location Changes to this property will trigger replacement. string
The geo-location where the resource lives
tags {[key: string]: string}
Resource tags.
authorization_policies This property is required. AuthorizationConfigArgs
The list of authorization policies supported by the Authorization Resource.
broker_name
This property is required.
Changes to this property will trigger replacement.
str
Name of MQ broker resource
extended_location
This property is required.
Changes to this property will trigger replacement.
ExtendedLocationPropertyArgs
Extended Location
listener_ref This property is required. Sequence[str]
The array of listener Resources it supports.
mq_name
This property is required.
Changes to this property will trigger replacement.
str
Name of MQ resource
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
authorization_name Changes to this property will trigger replacement. str
Name of MQ broker/authorization resource
location Changes to this property will trigger replacement. str
The geo-location where the resource lives
tags Mapping[str, str]
Resource tags.
authorizationPolicies This property is required. Property Map
The list of authorization policies supported by the Authorization Resource.
brokerName
This property is required.
Changes to this property will trigger replacement.
String
Name of MQ broker resource
extendedLocation
This property is required.
Changes to this property will trigger replacement.
Property Map
Extended Location
listenerRef This property is required. List<String>
The array of listener Resources it supports.
mqName
This property is required.
Changes to this property will trigger replacement.
String
Name of MQ resource
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
authorizationName Changes to this property will trigger replacement. String
Name of MQ broker/authorization resource
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
tags Map<String>
Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the BrokerAuthorization resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ProvisioningState string
The status of the last operation.
SystemData Pulumi.AzureNative.IoTOperationsMQ.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ProvisioningState string
The status of the last operation.
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
provisioningState String
The status of the last operation.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
provisioningState string
The status of the last operation.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
provisioning_state str
The status of the last operation.
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
provisioningState String
The status of the last operation.
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

AuthorizationBasicRule
, AuthorizationBasicRuleArgs

BrokerResources This property is required. List<Pulumi.AzureNative.IoTOperationsMQ.Inputs.ResourceInfoDefinition>
This subfield defines the broker resources that the Basic Rule is applied on.
Principals This property is required. Pulumi.AzureNative.IoTOperationsMQ.Inputs.PrincipalDefinition
This subfield defines the identities that represent the clients.
BrokerResources This property is required. []ResourceInfoDefinition
This subfield defines the broker resources that the Basic Rule is applied on.
Principals This property is required. PrincipalDefinition
This subfield defines the identities that represent the clients.
brokerResources This property is required. List<ResourceInfoDefinition>
This subfield defines the broker resources that the Basic Rule is applied on.
principals This property is required. PrincipalDefinition
This subfield defines the identities that represent the clients.
brokerResources This property is required. ResourceInfoDefinition[]
This subfield defines the broker resources that the Basic Rule is applied on.
principals This property is required. PrincipalDefinition
This subfield defines the identities that represent the clients.
broker_resources This property is required. Sequence[ResourceInfoDefinition]
This subfield defines the broker resources that the Basic Rule is applied on.
principals This property is required. PrincipalDefinition
This subfield defines the identities that represent the clients.
brokerResources This property is required. List<Property Map>
This subfield defines the broker resources that the Basic Rule is applied on.
principals This property is required. Property Map
This subfield defines the identities that represent the clients.

AuthorizationBasicRuleResponse
, AuthorizationBasicRuleResponseArgs

BrokerResources This property is required. List<Pulumi.AzureNative.IoTOperationsMQ.Inputs.ResourceInfoDefinitionResponse>
This subfield defines the broker resources that the Basic Rule is applied on.
Principals This property is required. Pulumi.AzureNative.IoTOperationsMQ.Inputs.PrincipalDefinitionResponse
This subfield defines the identities that represent the clients.
BrokerResources This property is required. []ResourceInfoDefinitionResponse
This subfield defines the broker resources that the Basic Rule is applied on.
Principals This property is required. PrincipalDefinitionResponse
This subfield defines the identities that represent the clients.
brokerResources This property is required. List<ResourceInfoDefinitionResponse>
This subfield defines the broker resources that the Basic Rule is applied on.
principals This property is required. PrincipalDefinitionResponse
This subfield defines the identities that represent the clients.
brokerResources This property is required. ResourceInfoDefinitionResponse[]
This subfield defines the broker resources that the Basic Rule is applied on.
principals This property is required. PrincipalDefinitionResponse
This subfield defines the identities that represent the clients.
broker_resources This property is required. Sequence[ResourceInfoDefinitionResponse]
This subfield defines the broker resources that the Basic Rule is applied on.
principals This property is required. PrincipalDefinitionResponse
This subfield defines the identities that represent the clients.
brokerResources This property is required. List<Property Map>
This subfield defines the broker resources that the Basic Rule is applied on.
principals This property is required. Property Map
This subfield defines the identities that represent the clients.

AuthorizationConfig
, AuthorizationConfigArgs

EnableCache bool
Enable caching of the authorization rules.
Rules List<Pulumi.AzureNative.IoTOperationsMQ.Inputs.AuthorizationBasicRule>
Authorization Rules to be used. If no rule is set, but Authorization Resource is used that would mean DenyAll.
EnableCache bool
Enable caching of the authorization rules.
Rules []AuthorizationBasicRule
Authorization Rules to be used. If no rule is set, but Authorization Resource is used that would mean DenyAll.
enableCache Boolean
Enable caching of the authorization rules.
rules List<AuthorizationBasicRule>
Authorization Rules to be used. If no rule is set, but Authorization Resource is used that would mean DenyAll.
enableCache boolean
Enable caching of the authorization rules.
rules AuthorizationBasicRule[]
Authorization Rules to be used. If no rule is set, but Authorization Resource is used that would mean DenyAll.
enable_cache bool
Enable caching of the authorization rules.
rules Sequence[AuthorizationBasicRule]
Authorization Rules to be used. If no rule is set, but Authorization Resource is used that would mean DenyAll.
enableCache Boolean
Enable caching of the authorization rules.
rules List<Property Map>
Authorization Rules to be used. If no rule is set, but Authorization Resource is used that would mean DenyAll.

AuthorizationConfigResponse
, AuthorizationConfigResponseArgs

EnableCache bool
Enable caching of the authorization rules.
Rules List<Pulumi.AzureNative.IoTOperationsMQ.Inputs.AuthorizationBasicRuleResponse>
Authorization Rules to be used. If no rule is set, but Authorization Resource is used that would mean DenyAll.
EnableCache bool
Enable caching of the authorization rules.
Rules []AuthorizationBasicRuleResponse
Authorization Rules to be used. If no rule is set, but Authorization Resource is used that would mean DenyAll.
enableCache Boolean
Enable caching of the authorization rules.
rules List<AuthorizationBasicRuleResponse>
Authorization Rules to be used. If no rule is set, but Authorization Resource is used that would mean DenyAll.
enableCache boolean
Enable caching of the authorization rules.
rules AuthorizationBasicRuleResponse[]
Authorization Rules to be used. If no rule is set, but Authorization Resource is used that would mean DenyAll.
enable_cache bool
Enable caching of the authorization rules.
rules Sequence[AuthorizationBasicRuleResponse]
Authorization Rules to be used. If no rule is set, but Authorization Resource is used that would mean DenyAll.
enableCache Boolean
Enable caching of the authorization rules.
rules List<Property Map>
Authorization Rules to be used. If no rule is set, but Authorization Resource is used that would mean DenyAll.

ExtendedLocationProperty
, ExtendedLocationPropertyArgs

Name This property is required. string
The name of the extended location.
Type This property is required. string | Pulumi.AzureNative.IoTOperationsMQ.ExtendedLocationType
Type of ExtendedLocation.
Name This property is required. string
The name of the extended location.
Type This property is required. string | ExtendedLocationType
Type of ExtendedLocation.
name This property is required. String
The name of the extended location.
type This property is required. String | ExtendedLocationType
Type of ExtendedLocation.
name This property is required. string
The name of the extended location.
type This property is required. string | ExtendedLocationType
Type of ExtendedLocation.
name This property is required. str
The name of the extended location.
type This property is required. str | ExtendedLocationType
Type of ExtendedLocation.
name This property is required. String
The name of the extended location.
type This property is required. String | "CustomLocation"
Type of ExtendedLocation.

ExtendedLocationPropertyResponse
, ExtendedLocationPropertyResponseArgs

Name This property is required. string
The name of the extended location.
Type This property is required. string
Type of ExtendedLocation.
Name This property is required. string
The name of the extended location.
Type This property is required. string
Type of ExtendedLocation.
name This property is required. String
The name of the extended location.
type This property is required. String
Type of ExtendedLocation.
name This property is required. string
The name of the extended location.
type This property is required. string
Type of ExtendedLocation.
name This property is required. str
The name of the extended location.
type This property is required. str
Type of ExtendedLocation.
name This property is required. String
The name of the extended location.
type This property is required. String
Type of ExtendedLocation.

ExtendedLocationType
, ExtendedLocationTypeArgs

CustomLocation
CustomLocationCustomLocation type
ExtendedLocationTypeCustomLocation
CustomLocationCustomLocation type
CustomLocation
CustomLocationCustomLocation type
CustomLocation
CustomLocationCustomLocation type
CUSTOM_LOCATION
CustomLocationCustomLocation type
"CustomLocation"
CustomLocationCustomLocation type

PrincipalDefinition
, PrincipalDefinitionArgs

Attributes List<ImmutableDictionary<string, string>>
A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
Clientids List<string>
A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.
Usernames List<string>
A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.
Attributes []map[string]string
A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
Clientids []string
A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.
Usernames []string
A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.
attributes List<Map<String,String>>
A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
clientids List<String>
A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.
usernames List<String>
A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.
attributes {[key: string]: string}[]
A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
clientids string[]
A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.
usernames string[]
A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.
attributes Sequence[Mapping[str, str]]
A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
clientids Sequence[str]
A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.
usernames Sequence[str]
A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.
attributes List<Map<String>>
A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
clientids List<String>
A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.
usernames List<String>
A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.

PrincipalDefinitionResponse
, PrincipalDefinitionResponseArgs

Attributes List<ImmutableDictionary<string, string>>
A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
Clientids List<string>
A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.
Usernames List<string>
A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.
Attributes []map[string]string
A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
Clientids []string
A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.
Usernames []string
A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.
attributes List<Map<String,String>>
A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
clientids List<String>
A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.
usernames List<String>
A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.
attributes {[key: string]: string}[]
A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
clientids string[]
A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.
usernames string[]
A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.
attributes Sequence[Mapping[str, str]]
A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
clientids Sequence[str]
A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.
usernames Sequence[str]
A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.
attributes List<Map<String>>
A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
clientids List<String>
A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.
usernames List<String>
A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.

ResourceInfoDefinition
, ResourceInfoDefinitionArgs

Method This property is required. string | Pulumi.AzureNative.IoTOperationsMQ.ResourceInfoDefinitionMethods
The type of action that the clients can perform on the broker: Connect, Publish or Subscribe.
Topics List<string>
A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe.
Method This property is required. string | ResourceInfoDefinitionMethods
The type of action that the clients can perform on the broker: Connect, Publish or Subscribe.
Topics []string
A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe.
method This property is required. String | ResourceInfoDefinitionMethods
The type of action that the clients can perform on the broker: Connect, Publish or Subscribe.
topics List<String>
A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe.
method This property is required. string | ResourceInfoDefinitionMethods
The type of action that the clients can perform on the broker: Connect, Publish or Subscribe.
topics string[]
A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe.
method This property is required. str | ResourceInfoDefinitionMethods
The type of action that the clients can perform on the broker: Connect, Publish or Subscribe.
topics Sequence[str]
A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe.
method This property is required. String | "Connect" | "Publish" | "Subscribe"
The type of action that the clients can perform on the broker: Connect, Publish or Subscribe.
topics List<String>
A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe.

ResourceInfoDefinitionMethods
, ResourceInfoDefinitionMethodsArgs

Connect
ConnectAllowed Connecting to Broker
Publish
PublishAllowed Publishing to Broker
Subscribe
SubscribeAllowed Subscribing to Broker
ResourceInfoDefinitionMethodsConnect
ConnectAllowed Connecting to Broker
ResourceInfoDefinitionMethodsPublish
PublishAllowed Publishing to Broker
ResourceInfoDefinitionMethodsSubscribe
SubscribeAllowed Subscribing to Broker
Connect
ConnectAllowed Connecting to Broker
Publish
PublishAllowed Publishing to Broker
Subscribe
SubscribeAllowed Subscribing to Broker
Connect
ConnectAllowed Connecting to Broker
Publish
PublishAllowed Publishing to Broker
Subscribe
SubscribeAllowed Subscribing to Broker
CONNECT
ConnectAllowed Connecting to Broker
PUBLISH
PublishAllowed Publishing to Broker
SUBSCRIBE
SubscribeAllowed Subscribing to Broker
"Connect"
ConnectAllowed Connecting to Broker
"Publish"
PublishAllowed Publishing to Broker
"Subscribe"
SubscribeAllowed Subscribing to Broker

ResourceInfoDefinitionResponse
, ResourceInfoDefinitionResponseArgs

Method This property is required. string
The type of action that the clients can perform on the broker: Connect, Publish or Subscribe.
Topics List<string>
A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe.
Method This property is required. string
The type of action that the clients can perform on the broker: Connect, Publish or Subscribe.
Topics []string
A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe.
method This property is required. String
The type of action that the clients can perform on the broker: Connect, Publish or Subscribe.
topics List<String>
A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe.
method This property is required. string
The type of action that the clients can perform on the broker: Connect, Publish or Subscribe.
topics string[]
A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe.
method This property is required. str
The type of action that the clients can perform on the broker: Connect, Publish or Subscribe.
topics Sequence[str]
A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe.
method This property is required. String
The type of action that the clients can perform on the broker: Connect, Publish or Subscribe.
topics List<String>
A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe.

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:iotoperationsmq:BrokerAuthorization nwffklaehhtmhqcpjauqprvykdjzzd /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsMQ/mq/{mqName}/broker/{brokerName}/authorization/{authorizationName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi