azure-native.iotoperationsmq.BrokerAuthorization
Explore with Pulumi AI
MQ broker/authorization resource 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,
    });
});
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
	})
}
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());
    }
}
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: {},
});
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={})
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: {}
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 string
- The unique name of the resource.
- args BrokerAuthorizationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args BrokerAuthorizationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BrokerAuthorizationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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" },
    },
});
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"),
	},
})
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());
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",
    })
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",
    },
});
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
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:
- 
Pulumi.Azure Native. Io TOperations MQ. Inputs. Authorization Config 
- The list of authorization policies supported by the Authorization Resource.
- BrokerName string
- Name of MQ broker resource
- ExtendedLocation Pulumi.Azure Native. Io TOperations MQ. Inputs. Extended Location Property 
- Extended Location
- ListenerRef List<string>
- The array of listener Resources it supports.
- MqName string
- Name of MQ resource
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- string
- Name of MQ broker/authorization resource
- Location string
- The geo-location where the resource lives
- Dictionary<string, string>
- Resource tags.
- 
AuthorizationConfig Args 
- The list of authorization policies supported by the Authorization Resource.
- BrokerName string
- Name of MQ broker resource
- ExtendedLocation ExtendedLocation Property Args 
- Extended Location
- ListenerRef []string
- The array of listener Resources it supports.
- MqName string
- Name of MQ resource
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- string
- Name of MQ broker/authorization resource
- Location string
- The geo-location where the resource lives
- map[string]string
- Resource tags.
- 
AuthorizationConfig 
- The list of authorization policies supported by the Authorization Resource.
- brokerName String
- Name of MQ broker resource
- extendedLocation ExtendedLocation Property 
- Extended Location
- listenerRef List<String>
- The array of listener Resources it supports.
- mqName String
- Name of MQ resource
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- String
- Name of MQ broker/authorization resource
- location String
- The geo-location where the resource lives
- Map<String,String>
- Resource tags.
- 
AuthorizationConfig 
- The list of authorization policies supported by the Authorization Resource.
- brokerName string
- Name of MQ broker resource
- extendedLocation ExtendedLocation Property 
- Extended Location
- listenerRef string[]
- The array of listener Resources it supports.
- mqName string
- Name of MQ resource
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- string
- Name of MQ broker/authorization resource
- location string
- The geo-location where the resource lives
- {[key: string]: string}
- Resource tags.
- 
AuthorizationConfig Args 
- The list of authorization policies supported by the Authorization Resource.
- broker_name str
- Name of MQ broker resource
- extended_location ExtendedLocation Property Args 
- Extended Location
- listener_ref Sequence[str]
- The array of listener Resources it supports.
- mq_name str
- Name of MQ resource
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- str
- Name of MQ broker/authorization resource
- location str
- The geo-location where the resource lives
- Mapping[str, str]
- Resource tags.
- Property Map
- The list of authorization policies supported by the Authorization Resource.
- brokerName String
- Name of MQ broker resource
- extendedLocation Property Map
- Extended Location
- listenerRef List<String>
- The array of listener Resources it supports.
- mqName String
- Name of MQ resource
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- String
- Name of MQ broker/authorization resource
- location String
- The geo-location where the resource lives
- 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.Azure Native. Io TOperations MQ. Outputs. System Data Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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 List<Pulumi.Azure Native. Io TOperations MQ. Inputs. Resource Info Definition> 
- This subfield defines the broker resources that the Basic Rule is applied on.
- Principals
Pulumi.Azure Native. Io TOperations MQ. Inputs. Principal Definition 
- This subfield defines the identities that represent the clients.
- BrokerResources []ResourceInfo Definition 
- This subfield defines the broker resources that the Basic Rule is applied on.
- Principals
PrincipalDefinition 
- This subfield defines the identities that represent the clients.
- brokerResources List<ResourceInfo Definition> 
- This subfield defines the broker resources that the Basic Rule is applied on.
- principals
PrincipalDefinition 
- This subfield defines the identities that represent the clients.
- brokerResources ResourceInfo Definition[] 
- This subfield defines the broker resources that the Basic Rule is applied on.
- principals
PrincipalDefinition 
- This subfield defines the identities that represent the clients.
- broker_resources Sequence[ResourceInfo Definition] 
- This subfield defines the broker resources that the Basic Rule is applied on.
- principals
PrincipalDefinition 
- This subfield defines the identities that represent the clients.
- brokerResources List<Property Map>
- This subfield defines the broker resources that the Basic Rule is applied on.
- principals Property Map
- This subfield defines the identities that represent the clients.
AuthorizationBasicRuleResponse, AuthorizationBasicRuleResponseArgs        
- BrokerResources List<Pulumi.Azure Native. Io TOperations MQ. Inputs. Resource Info Definition Response> 
- This subfield defines the broker resources that the Basic Rule is applied on.
- Principals
Pulumi.Azure Native. Io TOperations MQ. Inputs. Principal Definition Response 
- This subfield defines the identities that represent the clients.
- BrokerResources []ResourceInfo Definition Response 
- This subfield defines the broker resources that the Basic Rule is applied on.
- Principals
PrincipalDefinition Response 
- This subfield defines the identities that represent the clients.
- brokerResources List<ResourceInfo Definition Response> 
- This subfield defines the broker resources that the Basic Rule is applied on.
- principals
PrincipalDefinition Response 
- This subfield defines the identities that represent the clients.
- brokerResources ResourceInfo Definition Response[] 
- This subfield defines the broker resources that the Basic Rule is applied on.
- principals
PrincipalDefinition Response 
- This subfield defines the identities that represent the clients.
- broker_resources Sequence[ResourceInfo Definition Response] 
- This subfield defines the broker resources that the Basic Rule is applied on.
- principals
PrincipalDefinition Response 
- This subfield defines the identities that represent the clients.
- brokerResources List<Property Map>
- This subfield defines the broker resources that the Basic Rule is applied on.
- principals Property Map
- This subfield defines the identities that represent the clients.
AuthorizationConfig, AuthorizationConfigArgs    
- EnableCache bool
- Enable caching of the authorization rules.
- Rules
List<Pulumi.Azure Native. Io TOperations MQ. Inputs. Authorization Basic Rule> 
- 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
[]AuthorizationBasic Rule 
- 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<AuthorizationBasic Rule> 
- 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
AuthorizationBasic Rule[] 
- 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[AuthorizationBasic Rule] 
- 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.Azure Native. Io TOperations MQ. Inputs. Authorization Basic Rule Response> 
- 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
[]AuthorizationBasic Rule Response 
- 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<AuthorizationBasic Rule Response> 
- 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
AuthorizationBasic Rule Response[] 
- 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[AuthorizationBasic Rule Response] 
- 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 string
- The name of the extended location.
- Type
string | Pulumi.Azure Native. Io TOperations MQ. Extended Location Type 
- Type of ExtendedLocation.
- Name string
- The name of the extended location.
- Type
string | ExtendedLocation Type 
- Type of ExtendedLocation.
- name String
- The name of the extended location.
- type
String | ExtendedLocation Type 
- Type of ExtendedLocation.
- name string
- The name of the extended location.
- type
string | ExtendedLocation Type 
- Type of ExtendedLocation.
- name str
- The name of the extended location.
- type
str | ExtendedLocation Type 
- Type of ExtendedLocation.
- name String
- The name of the extended location.
- type
String | "CustomLocation" 
- Type of ExtendedLocation.
ExtendedLocationPropertyResponse, ExtendedLocationPropertyResponseArgs        
ExtendedLocationType, ExtendedLocationTypeArgs      
- CustomLocation 
- CustomLocationCustomLocation type
- ExtendedLocation Type Custom Location 
- 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
string | Pulumi.Azure Native. Io TOperations MQ. Resource Info Definition Methods 
- 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
string | ResourceInfo Definition Methods 
- 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
String | ResourceInfo Definition Methods 
- 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
string | ResourceInfo Definition Methods 
- 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
str | ResourceInfo Definition Methods 
- 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 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
- ResourceInfo Definition Methods Connect 
- ConnectAllowed Connecting to Broker
- ResourceInfo Definition Methods Publish 
- PublishAllowed Publishing to Broker
- ResourceInfo Definition Methods 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
- "Connect"
- ConnectAllowed Connecting to Broker
- "Publish"
- PublishAllowed Publishing to Broker
- "Subscribe"
- SubscribeAllowed Subscribing to Broker
ResourceInfoDefinitionResponse, ResourceInfoDefinitionResponseArgs        
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0