azure-native.iotoperations.BrokerAuthorization
Explore with Pulumi AI
Instance broker authorizations resource Azure REST API version: 2024-07-01-preview.
Other available API versions: 2024-08-15-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.IoTOperations.BrokerAuthorization("brokerAuthorization", new()
{
AuthorizationName = "aio-authorization",
BrokerName = "aio-broker",
ExtendedLocation = new AzureNative.IoTOperations.Inputs.ExtendedLocationArgs
{
Name = "ycsyubcxttlusbhfdqaynmkaatnbyv",
Type = AzureNative.IoTOperations.ExtendedLocationType.CustomLocation,
},
InstanceName = "aio-instance",
Properties = new AzureNative.IoTOperations.Inputs.BrokerAuthorizationPropertiesArgs
{
AuthorizationPolicies = new AzureNative.IoTOperations.Inputs.AuthorizationConfigArgs
{
Cache = AzureNative.IoTOperations.OperationalMode.Enabled,
Rules = new[]
{
new AzureNative.IoTOperations.Inputs.AuthorizationRuleArgs
{
BrokerResources = new[]
{
new AzureNative.IoTOperations.Inputs.BrokerResourceRuleArgs
{
Method = AzureNative.IoTOperations.BrokerResourceDefinitionMethods.Connect,
Topics = new[]
{
"afmj",
},
},
},
Principals = new AzureNative.IoTOperations.Inputs.PrincipalDefinitionArgs
{
Attributes = new[]
{
{
{ "key1225", "szvjlbpctnpjmyjq" },
},
},
ClientIds = new[]
{
"zfamfwk",
},
Usernames = new[]
{
"udobrmzkzubuqbvnbabovvr",
},
},
StateStoreResources = new[]
{
new AzureNative.IoTOperations.Inputs.StateStoreResourceRuleArgs
{
KeyType = AzureNative.IoTOperations.StateStoreResourceKeyTypes.Pattern,
Keys = new[]
{
"tttdjfmf",
},
Method = AzureNative.IoTOperations.StateStoreResourceDefinitionMethods.Read,
},
},
},
},
},
},
ResourceGroupName = "rgiotoperations",
});
});
package main
import (
iotoperations "github.com/pulumi/pulumi-azure-native-sdk/iotoperations/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iotoperations.NewBrokerAuthorization(ctx, "brokerAuthorization", &iotoperations.BrokerAuthorizationArgs{
AuthorizationName: pulumi.String("aio-authorization"),
BrokerName: pulumi.String("aio-broker"),
ExtendedLocation: &iotoperations.ExtendedLocationArgs{
Name: pulumi.String("ycsyubcxttlusbhfdqaynmkaatnbyv"),
Type: pulumi.String(iotoperations.ExtendedLocationTypeCustomLocation),
},
InstanceName: pulumi.String("aio-instance"),
Properties: &iotoperations.BrokerAuthorizationPropertiesArgs{
AuthorizationPolicies: &iotoperations.AuthorizationConfigArgs{
Cache: pulumi.String(iotoperations.OperationalModeEnabled),
Rules: iotoperations.AuthorizationRuleArray{
&iotoperations.AuthorizationRuleArgs{
BrokerResources: iotoperations.BrokerResourceRuleArray{
&iotoperations.BrokerResourceRuleArgs{
Method: pulumi.String(iotoperations.BrokerResourceDefinitionMethodsConnect),
Topics: pulumi.StringArray{
pulumi.String("afmj"),
},
},
},
Principals: &iotoperations.PrincipalDefinitionArgs{
Attributes: pulumi.StringMapArray{
pulumi.StringMap{
"key1225": pulumi.String("szvjlbpctnpjmyjq"),
},
},
ClientIds: pulumi.StringArray{
pulumi.String("zfamfwk"),
},
Usernames: pulumi.StringArray{
pulumi.String("udobrmzkzubuqbvnbabovvr"),
},
},
StateStoreResources: iotoperations.StateStoreResourceRuleArray{
&iotoperations.StateStoreResourceRuleArgs{
KeyType: pulumi.String(iotoperations.StateStoreResourceKeyTypesPattern),
Keys: pulumi.StringArray{
pulumi.String("tttdjfmf"),
},
Method: pulumi.String(iotoperations.StateStoreResourceDefinitionMethodsRead),
},
},
},
},
},
},
ResourceGroupName: pulumi.String("rgiotoperations"),
})
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.iotoperations.BrokerAuthorization;
import com.pulumi.azurenative.iotoperations.BrokerAuthorizationArgs;
import com.pulumi.azurenative.iotoperations.inputs.ExtendedLocationArgs;
import com.pulumi.azurenative.iotoperations.inputs.BrokerAuthorizationPropertiesArgs;
import com.pulumi.azurenative.iotoperations.inputs.AuthorizationConfigArgs;
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("aio-authorization")
.brokerName("aio-broker")
.extendedLocation(ExtendedLocationArgs.builder()
.name("ycsyubcxttlusbhfdqaynmkaatnbyv")
.type("CustomLocation")
.build())
.instanceName("aio-instance")
.properties(BrokerAuthorizationPropertiesArgs.builder()
.authorizationPolicies(AuthorizationConfigArgs.builder()
.cache("Enabled")
.rules(AuthorizationRuleArgs.builder()
.brokerResources(BrokerResourceRuleArgs.builder()
.method("Connect")
.topics("afmj")
.build())
.principals(PrincipalDefinitionArgs.builder()
.attributes(Map.of("key1225", "szvjlbpctnpjmyjq"))
.clientIds("zfamfwk")
.usernames("udobrmzkzubuqbvnbabovvr")
.build())
.stateStoreResources(StateStoreResourceRuleArgs.builder()
.keyType("Pattern")
.keys("tttdjfmf")
.method("Read")
.build())
.build())
.build())
.build())
.resourceGroupName("rgiotoperations")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
broker_authorization = azure_native.iotoperations.BrokerAuthorization("brokerAuthorization",
authorization_name="aio-authorization",
broker_name="aio-broker",
extended_location={
"name": "ycsyubcxttlusbhfdqaynmkaatnbyv",
"type": azure_native.iotoperations.ExtendedLocationType.CUSTOM_LOCATION,
},
instance_name="aio-instance",
properties={
"authorization_policies": {
"cache": azure_native.iotoperations.OperationalMode.ENABLED,
"rules": [{
"broker_resources": [{
"method": azure_native.iotoperations.BrokerResourceDefinitionMethods.CONNECT,
"topics": ["afmj"],
}],
"principals": {
"attributes": [{
"key1225": "szvjlbpctnpjmyjq",
}],
"client_ids": ["zfamfwk"],
"usernames": ["udobrmzkzubuqbvnbabovvr"],
},
"state_store_resources": [{
"key_type": azure_native.iotoperations.StateStoreResourceKeyTypes.PATTERN,
"keys": ["tttdjfmf"],
"method": azure_native.iotoperations.StateStoreResourceDefinitionMethods.READ,
}],
}],
},
},
resource_group_name="rgiotoperations")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const brokerAuthorization = new azure_native.iotoperations.BrokerAuthorization("brokerAuthorization", {
authorizationName: "aio-authorization",
brokerName: "aio-broker",
extendedLocation: {
name: "ycsyubcxttlusbhfdqaynmkaatnbyv",
type: azure_native.iotoperations.ExtendedLocationType.CustomLocation,
},
instanceName: "aio-instance",
properties: {
authorizationPolicies: {
cache: azure_native.iotoperations.OperationalMode.Enabled,
rules: [{
brokerResources: [{
method: azure_native.iotoperations.BrokerResourceDefinitionMethods.Connect,
topics: ["afmj"],
}],
principals: {
attributes: [{
key1225: "szvjlbpctnpjmyjq",
}],
clientIds: ["zfamfwk"],
usernames: ["udobrmzkzubuqbvnbabovvr"],
},
stateStoreResources: [{
keyType: azure_native.iotoperations.StateStoreResourceKeyTypes.Pattern,
keys: ["tttdjfmf"],
method: azure_native.iotoperations.StateStoreResourceDefinitionMethods.Read,
}],
}],
},
},
resourceGroupName: "rgiotoperations",
});
resources:
brokerAuthorization:
type: azure-native:iotoperations:BrokerAuthorization
properties:
authorizationName: aio-authorization
brokerName: aio-broker
extendedLocation:
name: ycsyubcxttlusbhfdqaynmkaatnbyv
type: CustomLocation
instanceName: aio-instance
properties:
authorizationPolicies:
cache: Enabled
rules:
- brokerResources:
- method: Connect
topics:
- afmj
principals:
attributes:
- key1225: szvjlbpctnpjmyjq
clientIds:
- zfamfwk
usernames:
- udobrmzkzubuqbvnbabovvr
stateStoreResources:
- keyType: Pattern
keys:
- tttdjfmf
method: Read
resourceGroupName: rgiotoperations
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,
broker_name: Optional[str] = None,
extended_location: Optional[ExtendedLocationArgs] = None,
instance_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
authorization_name: Optional[str] = None,
properties: Optional[BrokerAuthorizationPropertiesArgs] = 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:iotoperations: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 brokerAuthorizationResource = new AzureNative.IoTOperations.BrokerAuthorization("brokerAuthorizationResource", new()
{
BrokerName = "string",
ExtendedLocation = new AzureNative.IoTOperations.Inputs.ExtendedLocationArgs
{
Name = "string",
Type = "string",
},
InstanceName = "string",
ResourceGroupName = "string",
AuthorizationName = "string",
Properties = new AzureNative.IoTOperations.Inputs.BrokerAuthorizationPropertiesArgs
{
AuthorizationPolicies = new AzureNative.IoTOperations.Inputs.AuthorizationConfigArgs
{
Cache = "string",
Rules = new[]
{
new AzureNative.IoTOperations.Inputs.AuthorizationRuleArgs
{
BrokerResources = new[]
{
new AzureNative.IoTOperations.Inputs.BrokerResourceRuleArgs
{
Method = "string",
Topics = new[]
{
"string",
},
},
},
Principals = new AzureNative.IoTOperations.Inputs.PrincipalDefinitionArgs
{
Attributes = new[]
{
{
{ "string", "string" },
},
},
ClientIds = new[]
{
"string",
},
Usernames = new[]
{
"string",
},
},
StateStoreResources = new[]
{
new AzureNative.IoTOperations.Inputs.StateStoreResourceRuleArgs
{
KeyType = "string",
Keys = new[]
{
"string",
},
Method = "string",
},
},
},
},
},
},
});
example, err := iotoperations.NewBrokerAuthorization(ctx, "brokerAuthorizationResource", &iotoperations.BrokerAuthorizationArgs{
BrokerName: pulumi.String("string"),
ExtendedLocation: &iotoperations.ExtendedLocationArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
InstanceName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
AuthorizationName: pulumi.String("string"),
Properties: &iotoperations.BrokerAuthorizationPropertiesArgs{
AuthorizationPolicies: &iotoperations.AuthorizationConfigArgs{
Cache: pulumi.String("string"),
Rules: iotoperations.AuthorizationRuleArray{
&iotoperations.AuthorizationRuleArgs{
BrokerResources: iotoperations.BrokerResourceRuleArray{
&iotoperations.BrokerResourceRuleArgs{
Method: pulumi.String("string"),
Topics: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Principals: &iotoperations.PrincipalDefinitionArgs{
Attributes: pulumi.StringMapArray{
pulumi.StringMap{
"string": pulumi.String("string"),
},
},
ClientIds: pulumi.StringArray{
pulumi.String("string"),
},
Usernames: pulumi.StringArray{
pulumi.String("string"),
},
},
StateStoreResources: iotoperations.StateStoreResourceRuleArray{
&iotoperations.StateStoreResourceRuleArgs{
KeyType: pulumi.String("string"),
Keys: pulumi.StringArray{
pulumi.String("string"),
},
Method: pulumi.String("string"),
},
},
},
},
},
},
})
var brokerAuthorizationResource = new BrokerAuthorization("brokerAuthorizationResource", BrokerAuthorizationArgs.builder()
.brokerName("string")
.extendedLocation(ExtendedLocationArgs.builder()
.name("string")
.type("string")
.build())
.instanceName("string")
.resourceGroupName("string")
.authorizationName("string")
.properties(BrokerAuthorizationPropertiesArgs.builder()
.authorizationPolicies(AuthorizationConfigArgs.builder()
.cache("string")
.rules(AuthorizationRuleArgs.builder()
.brokerResources(BrokerResourceRuleArgs.builder()
.method("string")
.topics("string")
.build())
.principals(PrincipalDefinitionArgs.builder()
.attributes(Map.of("string", "string"))
.clientIds("string")
.usernames("string")
.build())
.stateStoreResources(StateStoreResourceRuleArgs.builder()
.keyType("string")
.keys("string")
.method("string")
.build())
.build())
.build())
.build())
.build());
broker_authorization_resource = azure_native.iotoperations.BrokerAuthorization("brokerAuthorizationResource",
broker_name="string",
extended_location={
"name": "string",
"type": "string",
},
instance_name="string",
resource_group_name="string",
authorization_name="string",
properties={
"authorizationPolicies": {
"cache": "string",
"rules": [{
"brokerResources": [{
"method": "string",
"topics": ["string"],
}],
"principals": {
"attributes": [{
"string": "string",
}],
"clientIds": ["string"],
"usernames": ["string"],
},
"stateStoreResources": [{
"keyType": "string",
"keys": ["string"],
"method": "string",
}],
}],
},
})
const brokerAuthorizationResource = new azure_native.iotoperations.BrokerAuthorization("brokerAuthorizationResource", {
brokerName: "string",
extendedLocation: {
name: "string",
type: "string",
},
instanceName: "string",
resourceGroupName: "string",
authorizationName: "string",
properties: {
authorizationPolicies: {
cache: "string",
rules: [{
brokerResources: [{
method: "string",
topics: ["string"],
}],
principals: {
attributes: [{
string: "string",
}],
clientIds: ["string"],
usernames: ["string"],
},
stateStoreResources: [{
keyType: "string",
keys: ["string"],
method: "string",
}],
}],
},
},
});
type: azure-native:iotoperations:BrokerAuthorization
properties:
authorizationName: string
brokerName: string
extendedLocation:
name: string
type: string
instanceName: string
properties:
authorizationPolicies:
cache: string
rules:
- brokerResources:
- method: string
topics:
- string
principals:
attributes:
- string: string
clientIds:
- string
usernames:
- string
stateStoreResources:
- keyType: string
keys:
- string
method: string
resourceGroupName: 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:
- Broker
Name string - Name of broker.
- Extended
Location Pulumi.Azure Native. Io TOperations. Inputs. Extended Location - Edge location of the resource.
- Instance
Name string - Name of instance.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- string
- Name of Instance broker authorization resource
- Properties
Pulumi.
Azure Native. Io TOperations. Inputs. Broker Authorization Properties - The resource-specific properties for this resource.
- Broker
Name string - Name of broker.
- Extended
Location ExtendedLocation Args - Edge location of the resource.
- Instance
Name string - Name of instance.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- string
- Name of Instance broker authorization resource
- Properties
Broker
Authorization Properties Args - The resource-specific properties for this resource.
- broker
Name String - Name of broker.
- extended
Location ExtendedLocation - Edge location of the resource.
- instance
Name String - Name of instance.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- String
- Name of Instance broker authorization resource
- properties
Broker
Authorization Properties - The resource-specific properties for this resource.
- broker
Name string - Name of broker.
- extended
Location ExtendedLocation - Edge location of the resource.
- instance
Name string - Name of instance.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- string
- Name of Instance broker authorization resource
- properties
Broker
Authorization Properties - The resource-specific properties for this resource.
- broker_
name str - Name of broker.
- extended_
location ExtendedLocation Args - Edge location of the resource.
- instance_
name str - Name of instance.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- str
- Name of Instance broker authorization resource
- properties
Broker
Authorization Properties Args - The resource-specific properties for this resource.
- broker
Name String - Name of broker.
- extended
Location Property Map - Edge location of the resource.
- instance
Name String - Name of instance.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- String
- Name of Instance broker authorization resource
- properties Property Map
- The resource-specific properties for this resource.
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
- System
Data Pulumi.Azure Native. Io TOperations. 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
- 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
- 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
- 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
- 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
- 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
AuthorizationConfig, AuthorizationConfigArgs
- Cache
string | Pulumi.
Azure Native. Io TOperations. Operational Mode - Enable caching of the authorization rules.
- Rules
List<Pulumi.
Azure Native. Io TOperations. Inputs. Authorization Rule> - The authorization rules to follow. If no rule is set, but Authorization Resource is used that would mean DenyAll.
- Cache
string | Operational
Mode - Enable caching of the authorization rules.
- Rules
[]Authorization
Rule - The authorization rules to follow. If no rule is set, but Authorization Resource is used that would mean DenyAll.
- cache
String | Operational
Mode - Enable caching of the authorization rules.
- rules
List<Authorization
Rule> - The authorization rules to follow. If no rule is set, but Authorization Resource is used that would mean DenyAll.
- cache
string | Operational
Mode - Enable caching of the authorization rules.
- rules
Authorization
Rule[] - The authorization rules to follow. If no rule is set, but Authorization Resource is used that would mean DenyAll.
- cache
str | Operational
Mode - Enable caching of the authorization rules.
- rules
Sequence[Authorization
Rule] - The authorization rules to follow. If no rule is set, but Authorization Resource is used that would mean DenyAll.
- cache String | "Enabled" | "Disabled"
- Enable caching of the authorization rules.
- rules List<Property Map>
- The authorization rules to follow. If no rule is set, but Authorization Resource is used that would mean DenyAll.
AuthorizationConfigResponse, AuthorizationConfigResponseArgs
- Cache string
- Enable caching of the authorization rules.
- Rules
List<Pulumi.
Azure Native. Io TOperations. Inputs. Authorization Rule Response> - The authorization rules to follow. If no rule is set, but Authorization Resource is used that would mean DenyAll.
- Cache string
- Enable caching of the authorization rules.
- Rules
[]Authorization
Rule Response - The authorization rules to follow. If no rule is set, but Authorization Resource is used that would mean DenyAll.
- cache String
- Enable caching of the authorization rules.
- rules
List<Authorization
Rule Response> - The authorization rules to follow. If no rule is set, but Authorization Resource is used that would mean DenyAll.
- cache string
- Enable caching of the authorization rules.
- rules
Authorization
Rule Response[] - The authorization rules to follow. If no rule is set, but Authorization Resource is used that would mean DenyAll.
- cache str
- Enable caching of the authorization rules.
- rules
Sequence[Authorization
Rule Response] - The authorization rules to follow. If no rule is set, but Authorization Resource is used that would mean DenyAll.
- cache String
- Enable caching of the authorization rules.
- rules List<Property Map>
- The authorization rules to follow. If no rule is set, but Authorization Resource is used that would mean DenyAll.
AuthorizationRule, AuthorizationRuleArgs
- Broker
Resources List<Pulumi.Azure Native. Io TOperations. Inputs. Broker Resource Rule> - Give access to Broker methods and topics.
- Principals
Pulumi.
Azure Native. Io TOperations. Inputs. Principal Definition - Give access to clients based on the following properties.
- State
Store List<Pulumi.Resources Azure Native. Io TOperations. Inputs. State Store Resource Rule> - Give access to state store resources.
- Broker
Resources []BrokerResource Rule - Give access to Broker methods and topics.
- Principals
Principal
Definition - Give access to clients based on the following properties.
- State
Store []StateResources Store Resource Rule - Give access to state store resources.
- broker
Resources List<BrokerResource Rule> - Give access to Broker methods and topics.
- principals
Principal
Definition - Give access to clients based on the following properties.
- state
Store List<StateResources Store Resource Rule> - Give access to state store resources.
- broker
Resources BrokerResource Rule[] - Give access to Broker methods and topics.
- principals
Principal
Definition - Give access to clients based on the following properties.
- state
Store StateResources Store Resource Rule[] - Give access to state store resources.
- broker_
resources Sequence[BrokerResource Rule] - Give access to Broker methods and topics.
- principals
Principal
Definition - Give access to clients based on the following properties.
- state_
store_ Sequence[Stateresources Store Resource Rule] - Give access to state store resources.
- broker
Resources List<Property Map> - Give access to Broker methods and topics.
- principals Property Map
- Give access to clients based on the following properties.
- state
Store List<Property Map>Resources - Give access to state store resources.
AuthorizationRuleResponse, AuthorizationRuleResponseArgs
- Broker
Resources List<Pulumi.Azure Native. Io TOperations. Inputs. Broker Resource Rule Response> - Give access to Broker methods and topics.
- Principals
Pulumi.
Azure Native. Io TOperations. Inputs. Principal Definition Response - Give access to clients based on the following properties.
- State
Store List<Pulumi.Resources Azure Native. Io TOperations. Inputs. State Store Resource Rule Response> - Give access to state store resources.
- Broker
Resources []BrokerResource Rule Response - Give access to Broker methods and topics.
- Principals
Principal
Definition Response - Give access to clients based on the following properties.
- State
Store []StateResources Store Resource Rule Response - Give access to state store resources.
- broker
Resources List<BrokerResource Rule Response> - Give access to Broker methods and topics.
- principals
Principal
Definition Response - Give access to clients based on the following properties.
- state
Store List<StateResources Store Resource Rule Response> - Give access to state store resources.
- broker
Resources BrokerResource Rule Response[] - Give access to Broker methods and topics.
- principals
Principal
Definition Response - Give access to clients based on the following properties.
- state
Store StateResources Store Resource Rule Response[] - Give access to state store resources.
- broker_
resources Sequence[BrokerResource Rule Response] - Give access to Broker methods and topics.
- principals
Principal
Definition Response - Give access to clients based on the following properties.
- state_
store_ Sequence[Stateresources Store Resource Rule Response] - Give access to state store resources.
- broker
Resources List<Property Map> - Give access to Broker methods and topics.
- principals Property Map
- Give access to clients based on the following properties.
- state
Store List<Property Map>Resources - Give access to state store resources.
BrokerAuthorizationProperties, BrokerAuthorizationPropertiesArgs
- Pulumi.
Azure Native. Io TOperations. Inputs. Authorization Config - The list of authorization policies supported by the Authorization Resource.
- Authorization
Config - The list of authorization policies supported by the Authorization Resource.
- Authorization
Config - The list of authorization policies supported by the Authorization Resource.
- Authorization
Config - The list of authorization policies supported by the Authorization Resource.
- Authorization
Config - The list of authorization policies supported by the Authorization Resource.
- Property Map
- The list of authorization policies supported by the Authorization Resource.
BrokerAuthorizationPropertiesResponse, BrokerAuthorizationPropertiesResponseArgs
- Pulumi.
Azure Native. Io TOperations. Inputs. Authorization Config Response - The list of authorization policies supported by the Authorization Resource.
- Provisioning
State string - The status of the last operation.
- Authorization
Config Response - The list of authorization policies supported by the Authorization Resource.
- Provisioning
State string - The status of the last operation.
- Authorization
Config Response - The list of authorization policies supported by the Authorization Resource.
- provisioning
State String - The status of the last operation.
- Authorization
Config Response - The list of authorization policies supported by the Authorization Resource.
- provisioning
State string - The status of the last operation.
- Authorization
Config Response - The list of authorization policies supported by the Authorization Resource.
- provisioning_
state str - The status of the last operation.
- Property Map
- The list of authorization policies supported by the Authorization Resource.
- provisioning
State String - The status of the last operation.
BrokerResourceDefinitionMethods, BrokerResourceDefinitionMethodsArgs
- Connect
- ConnectAllowed Connecting to Broker
- Publish
- PublishAllowed Publishing to Broker
- Subscribe
- SubscribeAllowed Subscribing to Broker
- Broker
Resource Definition Methods Connect - ConnectAllowed Connecting to Broker
- Broker
Resource Definition Methods Publish - PublishAllowed Publishing to Broker
- Broker
Resource 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
BrokerResourceRule, BrokerResourceRuleArgs
- Method
string | Pulumi.
Azure Native. Io TOperations. Broker Resource Definition Methods - Give access for a Broker method (i.e., Connect, Subscribe, or Publish).
- 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 | Broker
Resource Definition Methods - Give access for a Broker method (i.e., Connect, Subscribe, or Publish).
- 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 | Broker
Resource Definition Methods - Give access for a Broker method (i.e., Connect, Subscribe, or Publish).
- 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 | Broker
Resource Definition Methods - Give access for a Broker method (i.e., Connect, Subscribe, or Publish).
- 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 | Broker
Resource Definition Methods - Give access for a Broker method (i.e., Connect, Subscribe, or Publish).
- 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"
- Give access for a Broker method (i.e., Connect, Subscribe, or Publish).
- 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.
BrokerResourceRuleResponse, BrokerResourceRuleResponseArgs
ExtendedLocation, ExtendedLocationArgs
- Name string
- The name of the extended location.
- Type
string | Pulumi.
Azure Native. Io TOperations. 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.
ExtendedLocationResponse, ExtendedLocationResponseArgs
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
OperationalMode, OperationalModeArgs
- Enabled
- EnabledEnabled is equivalent to True
- Disabled
- DisabledDisabled is equivalent to False.
- Operational
Mode Enabled - EnabledEnabled is equivalent to True
- Operational
Mode Disabled - DisabledDisabled is equivalent to False.
- Enabled
- EnabledEnabled is equivalent to True
- Disabled
- DisabledDisabled is equivalent to False.
- Enabled
- EnabledEnabled is equivalent to True
- Disabled
- DisabledDisabled is equivalent to False.
- ENABLED
- EnabledEnabled is equivalent to True
- DISABLED
- DisabledDisabled is equivalent to False.
- "Enabled"
- EnabledEnabled is equivalent to True
- "Disabled"
- DisabledDisabled is equivalent to False.
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.
- Client
Ids 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.
- Client
Ids []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.
- client
Ids 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.
- client
Ids 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.
- client_
ids 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.
- client
Ids 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.
- Client
Ids 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.
- Client
Ids []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.
- client
Ids 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.
- client
Ids 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.
- client_
ids 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.
- client
Ids 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.
StateStoreResourceDefinitionMethods, StateStoreResourceDefinitionMethodsArgs
- Read
- ReadGet/KeyNotify from Store
- Write
- WriteSet/Delete in Store
- Read
Write - ReadWriteAllowed all operations on Store - Get/KeyNotify/Set/Delete
- State
Store Resource Definition Methods Read - ReadGet/KeyNotify from Store
- State
Store Resource Definition Methods Write - WriteSet/Delete in Store
- State
Store Resource Definition Methods Read Write - ReadWriteAllowed all operations on Store - Get/KeyNotify/Set/Delete
- Read
- ReadGet/KeyNotify from Store
- Write
- WriteSet/Delete in Store
- Read
Write - ReadWriteAllowed all operations on Store - Get/KeyNotify/Set/Delete
- Read
- ReadGet/KeyNotify from Store
- Write
- WriteSet/Delete in Store
- Read
Write - ReadWriteAllowed all operations on Store - Get/KeyNotify/Set/Delete
- READ
- ReadGet/KeyNotify from Store
- WRITE
- WriteSet/Delete in Store
- READ_WRITE
- ReadWriteAllowed all operations on Store - Get/KeyNotify/Set/Delete
- "Read"
- ReadGet/KeyNotify from Store
- "Write"
- WriteSet/Delete in Store
- "Read
Write" - ReadWriteAllowed all operations on Store - Get/KeyNotify/Set/Delete
StateStoreResourceKeyTypes, StateStoreResourceKeyTypesArgs
- Pattern
- PatternKey type - pattern
- String
- StringKey type - string
- Binary
- BinaryKey type - binary
- State
Store Resource Key Types Pattern - PatternKey type - pattern
- State
Store Resource Key Types String - StringKey type - string
- State
Store Resource Key Types Binary - BinaryKey type - binary
- Pattern
- PatternKey type - pattern
- String
- StringKey type - string
- Binary
- BinaryKey type - binary
- Pattern
- PatternKey type - pattern
- String
- StringKey type - string
- Binary
- BinaryKey type - binary
- PATTERN
- PatternKey type - pattern
- STRING
- StringKey type - string
- BINARY
- BinaryKey type - binary
- "Pattern"
- PatternKey type - pattern
- "String"
- StringKey type - string
- "Binary"
- BinaryKey type - binary
StateStoreResourceRule, StateStoreResourceRuleArgs
- Key
Type string | Pulumi.Azure Native. Io TOperations. State Store Resource Key Types - Allowed keyTypes pattern, string, binary. The key type used for matching, for example pattern tries to match the key to a glob-style pattern and string checks key is equal to value provided in keys.
- Keys List<string>
- Give access to state store keys for the corresponding principals defined. When key type is pattern set glob-style pattern (e.g., '', 'clients/').
- Method
string | Pulumi.
Azure Native. Io TOperations. State Store Resource Definition Methods - Give access for
Read
,Write
andReadWrite
access level.
- Key
Type string | StateStore Resource Key Types - Allowed keyTypes pattern, string, binary. The key type used for matching, for example pattern tries to match the key to a glob-style pattern and string checks key is equal to value provided in keys.
- Keys []string
- Give access to state store keys for the corresponding principals defined. When key type is pattern set glob-style pattern (e.g., '', 'clients/').
- Method
string | State
Store Resource Definition Methods - Give access for
Read
,Write
andReadWrite
access level.
- key
Type String | StateStore Resource Key Types - Allowed keyTypes pattern, string, binary. The key type used for matching, for example pattern tries to match the key to a glob-style pattern and string checks key is equal to value provided in keys.
- keys List<String>
- Give access to state store keys for the corresponding principals defined. When key type is pattern set glob-style pattern (e.g., '', 'clients/').
- method
String | State
Store Resource Definition Methods - Give access for
Read
,Write
andReadWrite
access level.
- key
Type string | StateStore Resource Key Types - Allowed keyTypes pattern, string, binary. The key type used for matching, for example pattern tries to match the key to a glob-style pattern and string checks key is equal to value provided in keys.
- keys string[]
- Give access to state store keys for the corresponding principals defined. When key type is pattern set glob-style pattern (e.g., '', 'clients/').
- method
string | State
Store Resource Definition Methods - Give access for
Read
,Write
andReadWrite
access level.
- key_
type str | StateStore Resource Key Types - Allowed keyTypes pattern, string, binary. The key type used for matching, for example pattern tries to match the key to a glob-style pattern and string checks key is equal to value provided in keys.
- keys Sequence[str]
- Give access to state store keys for the corresponding principals defined. When key type is pattern set glob-style pattern (e.g., '', 'clients/').
- method
str | State
Store Resource Definition Methods - Give access for
Read
,Write
andReadWrite
access level.
- key
Type String | "Pattern" | "String" | "Binary" - Allowed keyTypes pattern, string, binary. The key type used for matching, for example pattern tries to match the key to a glob-style pattern and string checks key is equal to value provided in keys.
- keys List<String>
- Give access to state store keys for the corresponding principals defined. When key type is pattern set glob-style pattern (e.g., '', 'clients/').
- method
String | "Read" | "Write" | "Read
Write" - Give access for
Read
,Write
andReadWrite
access level.
StateStoreResourceRuleResponse, StateStoreResourceRuleResponseArgs
- Key
Type string - Allowed keyTypes pattern, string, binary. The key type used for matching, for example pattern tries to match the key to a glob-style pattern and string checks key is equal to value provided in keys.
- Keys List<string>
- Give access to state store keys for the corresponding principals defined. When key type is pattern set glob-style pattern (e.g., '', 'clients/').
- Method string
- Give access for
Read
,Write
andReadWrite
access level.
- Key
Type string - Allowed keyTypes pattern, string, binary. The key type used for matching, for example pattern tries to match the key to a glob-style pattern and string checks key is equal to value provided in keys.
- Keys []string
- Give access to state store keys for the corresponding principals defined. When key type is pattern set glob-style pattern (e.g., '', 'clients/').
- Method string
- Give access for
Read
,Write
andReadWrite
access level.
- key
Type String - Allowed keyTypes pattern, string, binary. The key type used for matching, for example pattern tries to match the key to a glob-style pattern and string checks key is equal to value provided in keys.
- keys List<String>
- Give access to state store keys for the corresponding principals defined. When key type is pattern set glob-style pattern (e.g., '', 'clients/').
- method String
- Give access for
Read
,Write
andReadWrite
access level.
- key
Type string - Allowed keyTypes pattern, string, binary. The key type used for matching, for example pattern tries to match the key to a glob-style pattern and string checks key is equal to value provided in keys.
- keys string[]
- Give access to state store keys for the corresponding principals defined. When key type is pattern set glob-style pattern (e.g., '', 'clients/').
- method string
- Give access for
Read
,Write
andReadWrite
access level.
- key_
type str - Allowed keyTypes pattern, string, binary. The key type used for matching, for example pattern tries to match the key to a glob-style pattern and string checks key is equal to value provided in keys.
- keys Sequence[str]
- Give access to state store keys for the corresponding principals defined. When key type is pattern set glob-style pattern (e.g., '', 'clients/').
- method str
- Give access for
Read
,Write
andReadWrite
access level.
- key
Type String - Allowed keyTypes pattern, string, binary. The key type used for matching, for example pattern tries to match the key to a glob-style pattern and string checks key is equal to value provided in keys.
- keys List<String>
- Give access to state store keys for the corresponding principals defined. When key type is pattern set glob-style pattern (e.g., '', 'clients/').
- method String
- Give access for
Read
,Write
andReadWrite
access level.
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:iotoperations:BrokerAuthorization jsocsnglgrxciedpqzbm /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/brokers/{brokerName}/authorizations/{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