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 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={
"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.
- Broker
Name string - Name of MQ broker resource
- Extended
Location Pulumi.Azure Native. Io TOperations MQ. Inputs. Extended Location Property - Extended Location
- Listener
Ref List<string> - The array of listener Resources it supports.
- Mq
Name string - Name of MQ resource
- Resource
Group 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.
- Authorization
Config Args - The list of authorization policies supported by the Authorization Resource.
- Broker
Name string - Name of MQ broker resource
- Extended
Location ExtendedLocation Property Args - Extended Location
- Listener
Ref []string - The array of listener Resources it supports.
- Mq
Name string - Name of MQ resource
- Resource
Group 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.
- Authorization
Config - The list of authorization policies supported by the Authorization Resource.
- broker
Name String - Name of MQ broker resource
- extended
Location ExtendedLocation Property - Extended Location
- listener
Ref List<String> - The array of listener Resources it supports.
- mq
Name String - Name of MQ resource
- resource
Group 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.
- Authorization
Config - The list of authorization policies supported by the Authorization Resource.
- broker
Name string - Name of MQ broker resource
- extended
Location ExtendedLocation Property - Extended Location
- listener
Ref string[] - The array of listener Resources it supports.
- mq
Name string - Name of MQ resource
- resource
Group 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.
- Authorization
Config 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.
- broker
Name String - Name of MQ broker resource
- extended
Location Property Map - Extended Location
- listener
Ref List<String> - The array of listener Resources it supports.
- mq
Name String - Name of MQ resource
- resource
Group 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
- Provisioning
State string - The status of the last operation.
- System
Data 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
- Provisioning
State string - The status of the last operation.
- System
Data 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
- provisioning
State String - The status of the last operation.
- system
Data 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
- provisioning
State string - The status of the last operation.
- system
Data 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
- provisioning
State String - The status of the last operation.
- system
Data 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
- Broker
Resources 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.
- Broker
Resources []ResourceInfo Definition - This subfield defines the broker resources that the Basic Rule is applied on.
- Principals
Principal
Definition - This subfield defines the identities that represent the clients.
- broker
Resources List<ResourceInfo Definition> - This subfield defines the broker resources that the Basic Rule is applied on.
- principals
Principal
Definition - This subfield defines the identities that represent the clients.
- broker
Resources ResourceInfo Definition[] - This subfield defines the broker resources that the Basic Rule is applied on.
- principals
Principal
Definition - 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
Principal
Definition - This subfield defines the identities that represent the clients.
- broker
Resources 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
- Broker
Resources 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.
- Broker
Resources []ResourceInfo Definition Response - This subfield defines the broker resources that the Basic Rule is applied on.
- Principals
Principal
Definition Response - This subfield defines the identities that represent the clients.
- broker
Resources List<ResourceInfo Definition Response> - This subfield defines the broker resources that the Basic Rule is applied on.
- principals
Principal
Definition Response - This subfield defines the identities that represent the clients.
- broker
Resources ResourceInfo Definition Response[] - This subfield defines the broker resources that the Basic Rule is applied on.
- principals
Principal
Definition 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
Principal
Definition Response - This subfield defines the identities that represent the clients.
- broker
Resources 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
- Enable
Cache 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.
- Enable
Cache bool - Enable caching of the authorization rules.
- Rules
[]Authorization
Basic Rule - Authorization Rules to be used. If no rule is set, but Authorization Resource is used that would mean DenyAll.
- enable
Cache Boolean - Enable caching of the authorization rules.
- rules
List<Authorization
Basic Rule> - Authorization Rules to be used. If no rule is set, but Authorization Resource is used that would mean DenyAll.
- enable
Cache boolean - Enable caching of the authorization rules.
- rules
Authorization
Basic 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[Authorization
Basic Rule] - Authorization Rules to be used. If no rule is set, but Authorization Resource is used that would mean DenyAll.
- enable
Cache 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
- Enable
Cache 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.
- Enable
Cache bool - Enable caching of the authorization rules.
- Rules
[]Authorization
Basic Rule Response - Authorization Rules to be used. If no rule is set, but Authorization Resource is used that would mean DenyAll.
- enable
Cache Boolean - Enable caching of the authorization rules.
- rules
List<Authorization
Basic Rule Response> - Authorization Rules to be used. If no rule is set, but Authorization Resource is used that would mean DenyAll.
- enable
Cache boolean - Enable caching of the authorization rules.
- rules
Authorization
Basic 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[Authorization
Basic Rule Response] - Authorization Rules to be used. If no rule is set, but Authorization Resource is used that would mean DenyAll.
- enable
Cache 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 | Extended
Location Type - Type of ExtendedLocation.
- name String
- The name of the extended location.
- type
String | Extended
Location Type - Type of ExtendedLocation.
- name string
- The name of the extended location.
- type
string | Extended
Location Type - Type of ExtendedLocation.
- name str
- The name of the extended location.
- type
str | Extended
Location Type - Type of ExtendedLocation.
- name String
- The name of the extended location.
- type
String | "Custom
Location" - Type of ExtendedLocation.
ExtendedLocationPropertyResponse, ExtendedLocationPropertyResponseArgs
ExtendedLocationType, ExtendedLocationTypeArgs
- Custom
Location - CustomLocationCustomLocation type
- Extended
Location Type Custom Location - CustomLocationCustomLocation type
- Custom
Location - CustomLocationCustomLocation type
- Custom
Location - CustomLocationCustomLocation type
- CUSTOM_LOCATION
- CustomLocationCustomLocation type
- "Custom
Location" - CustomLocationCustomLocation type
PrincipalDefinition, PrincipalDefinitionArgs
- Attributes
List<Immutable
Dictionary<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<Immutable
Dictionary<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 | Resource
Info 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 | 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 | Resource
Info 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 | Resource
Info 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
- Resource
Info Definition Methods Connect - ConnectAllowed Connecting to Broker
- Resource
Info Definition Methods Publish - PublishAllowed Publishing to Broker
- Resource
Info 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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