1. Packages
  2. Azure Native
  3. API Docs
  4. iotoperationsmq
  5. BrokerAuthorization
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.iotoperationsmq.BrokerAuthorization

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    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{
    								nil,
    							},
    							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:              nil,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.iotoperationsmq.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 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={})
    
    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: {},
    });
    
    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={
            "enableCache": False,
            "rules": [{
                "brokerResources": [{
                    "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

    The BrokerAuthorization resource accepts the following input properties:

    AuthorizationPolicies Pulumi.AzureNative.IoTOperationsMQ.Inputs.AuthorizationConfig
    The list of authorization policies supported by the Authorization Resource.
    BrokerName string
    Name of MQ broker resource
    ExtendedLocation Pulumi.AzureNative.IoTOperationsMQ.Inputs.ExtendedLocationProperty
    Extended Location
    ListenerRef List<string>
    The array of listener Resources it supports.
    MqName string
    Name of MQ resource
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AuthorizationName string
    Name of MQ broker/authorization resource
    Location string
    The geo-location where the resource lives
    Tags Dictionary<string, string>
    Resource tags.
    AuthorizationPolicies AuthorizationConfigArgs
    The list of authorization policies supported by the Authorization Resource.
    BrokerName string
    Name of MQ broker resource
    ExtendedLocation ExtendedLocationPropertyArgs
    Extended Location
    ListenerRef []string
    The array of listener Resources it supports.
    MqName string
    Name of MQ resource
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AuthorizationName string
    Name of MQ broker/authorization resource
    Location string
    The geo-location where the resource lives
    Tags map[string]string
    Resource tags.
    authorizationPolicies AuthorizationConfig
    The list of authorization policies supported by the Authorization Resource.
    brokerName String
    Name of MQ broker resource
    extendedLocation ExtendedLocationProperty
    Extended Location
    listenerRef List<String>
    The array of listener Resources it supports.
    mqName String
    Name of MQ resource
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    authorizationName String
    Name of MQ broker/authorization resource
    location String
    The geo-location where the resource lives
    tags Map<String,String>
    Resource tags.
    authorizationPolicies AuthorizationConfig
    The list of authorization policies supported by the Authorization Resource.
    brokerName string
    Name of MQ broker resource
    extendedLocation ExtendedLocationProperty
    Extended Location
    listenerRef string[]
    The array of listener Resources it supports.
    mqName string
    Name of MQ resource
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    authorizationName string
    Name of MQ broker/authorization resource
    location string
    The geo-location where the resource lives
    tags {[key: string]: string}
    Resource tags.
    authorization_policies AuthorizationConfigArgs
    The list of authorization policies supported by the Authorization Resource.
    broker_name str
    Name of MQ broker resource
    extended_location ExtendedLocationPropertyArgs
    Extended Location
    listener_ref Sequence[str]
    The array of listener Resources it supports.
    mq_name str
    Name of MQ resource
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    authorization_name str
    Name of MQ broker/authorization resource
    location str
    The geo-location where the resource lives
    tags Mapping[str, str]
    Resource tags.
    authorizationPolicies 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
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    authorizationName String
    Name of MQ broker/authorization resource
    location 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 List<Pulumi.AzureNative.IoTOperationsMQ.Inputs.ResourceInfoDefinition>
    This subfield defines the broker resources that the Basic Rule is applied on.
    Principals Pulumi.AzureNative.IoTOperationsMQ.Inputs.PrincipalDefinition
    This subfield defines the identities that represent the clients.
    BrokerResources []ResourceInfoDefinition
    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<ResourceInfoDefinition>
    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 ResourceInfoDefinition[]
    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[ResourceInfoDefinition]
    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.AzureNative.IoTOperationsMQ.Inputs.ResourceInfoDefinitionResponse>
    This subfield defines the broker resources that the Basic Rule is applied on.
    Principals Pulumi.AzureNative.IoTOperationsMQ.Inputs.PrincipalDefinitionResponse
    This subfield defines the identities that represent the clients.
    BrokerResources []ResourceInfoDefinitionResponse
    This subfield defines the broker resources that the Basic Rule is applied on.
    Principals PrincipalDefinitionResponse
    This subfield defines the identities that represent the clients.
    brokerResources List<ResourceInfoDefinitionResponse>
    This subfield defines the broker resources that the Basic Rule is applied on.
    principals PrincipalDefinitionResponse
    This subfield defines the identities that represent the clients.
    brokerResources ResourceInfoDefinitionResponse[]
    This subfield defines the broker resources that the Basic Rule is applied on.
    principals PrincipalDefinitionResponse
    This subfield defines the identities that represent the clients.
    broker_resources Sequence[ResourceInfoDefinitionResponse]
    This subfield defines the broker resources that the Basic Rule is applied on.
    principals PrincipalDefinitionResponse
    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.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 string
    The name of the extended location.
    Type string | Pulumi.AzureNative.IoTOperationsMQ.ExtendedLocationType
    Type of ExtendedLocation.
    Name string
    The name of the extended location.
    Type string | ExtendedLocationType
    Type of ExtendedLocation.
    name String
    The name of the extended location.
    type String | ExtendedLocationType
    Type of ExtendedLocation.
    name string
    The name of the extended location.
    type string | ExtendedLocationType
    Type of ExtendedLocation.
    name str
    The name of the extended location.
    type str | ExtendedLocationType
    Type of ExtendedLocation.
    name String
    The name of the extended location.
    type String | "CustomLocation"
    Type of ExtendedLocation.

    ExtendedLocationPropertyResponse, ExtendedLocationPropertyResponseArgs

    Name string
    The name of the extended location.
    Type string
    Type of ExtendedLocation.
    Name string
    The name of the extended location.
    Type string
    Type of ExtendedLocation.
    name String
    The name of the extended location.
    type String
    Type of ExtendedLocation.
    name string
    The name of the extended location.
    type string
    Type of ExtendedLocation.
    name str
    The name of the extended location.
    type str
    Type of ExtendedLocation.
    name String
    The name of the extended location.
    type 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 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 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 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 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 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 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 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 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 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 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 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 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} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi