This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.iotoperations.getBrokerAuthorization
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Get a BrokerAuthorizationResource Azure REST API version: 2024-07-01-preview.
Other available API versions: 2024-08-15-preview, 2024-09-15-preview, 2024-11-01.
Using getBrokerAuthorization
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBrokerAuthorization(args: GetBrokerAuthorizationArgs, opts?: InvokeOptions): Promise<GetBrokerAuthorizationResult>
function getBrokerAuthorizationOutput(args: GetBrokerAuthorizationOutputArgs, opts?: InvokeOptions): Output<GetBrokerAuthorizationResult>def get_broker_authorization(authorization_name: Optional[str] = None,
                             broker_name: Optional[str] = None,
                             instance_name: Optional[str] = None,
                             resource_group_name: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetBrokerAuthorizationResult
def get_broker_authorization_output(authorization_name: Optional[pulumi.Input[str]] = None,
                             broker_name: Optional[pulumi.Input[str]] = None,
                             instance_name: Optional[pulumi.Input[str]] = None,
                             resource_group_name: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetBrokerAuthorizationResult]func LookupBrokerAuthorization(ctx *Context, args *LookupBrokerAuthorizationArgs, opts ...InvokeOption) (*LookupBrokerAuthorizationResult, error)
func LookupBrokerAuthorizationOutput(ctx *Context, args *LookupBrokerAuthorizationOutputArgs, opts ...InvokeOption) LookupBrokerAuthorizationResultOutput> Note: This function is named LookupBrokerAuthorization in the Go SDK.
public static class GetBrokerAuthorization 
{
    public static Task<GetBrokerAuthorizationResult> InvokeAsync(GetBrokerAuthorizationArgs args, InvokeOptions? opts = null)
    public static Output<GetBrokerAuthorizationResult> Invoke(GetBrokerAuthorizationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBrokerAuthorizationResult> getBrokerAuthorization(GetBrokerAuthorizationArgs args, InvokeOptions options)
public static Output<GetBrokerAuthorizationResult> getBrokerAuthorization(GetBrokerAuthorizationArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:iotoperations:getBrokerAuthorization
  arguments:
    # arguments dictionaryThe following arguments are supported:
- string
- Name of Instance broker authorization resource
- BrokerName string
- Name of broker.
- InstanceName string
- Name of instance.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- string
- Name of Instance broker authorization resource
- BrokerName string
- Name of broker.
- InstanceName string
- Name of instance.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- String
- Name of Instance broker authorization resource
- brokerName String
- Name of broker.
- instanceName String
- Name of instance.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- string
- Name of Instance broker authorization resource
- brokerName string
- Name of broker.
- instanceName string
- Name of instance.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- str
- Name of Instance broker authorization resource
- broker_name str
- Name of broker.
- instance_name str
- Name of instance.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- String
- Name of Instance broker authorization resource
- brokerName String
- Name of broker.
- instanceName String
- Name of instance.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
getBrokerAuthorization Result
The following output properties are available:
- ExtendedLocation Pulumi.Azure Native. Io TOperations. Outputs. Extended Location Response 
- Edge location of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Properties
Pulumi.Azure Native. Io TOperations. Outputs. Broker Authorization Properties Response 
- The resource-specific properties for this resource.
- SystemData 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"
- ExtendedLocation ExtendedLocation Response 
- Edge location of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Properties
BrokerAuthorization Properties Response 
- The resource-specific properties for this resource.
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- extendedLocation ExtendedLocation Response 
- Edge location of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- properties
BrokerAuthorization Properties Response 
- The resource-specific properties for this resource.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- extendedLocation ExtendedLocation Response 
- Edge location of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name string
- The name of the resource
- properties
BrokerAuthorization Properties Response 
- The resource-specific properties for this resource.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- extended_location ExtendedLocation Response 
- Edge location of the resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name str
- The name of the resource
- properties
BrokerAuthorization Properties Response 
- The resource-specific properties for this 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"
- extendedLocation Property Map
- Edge location of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- properties Property Map
- The resource-specific properties for this resource.
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
AuthorizationConfigResponse  
- 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
[]AuthorizationRule 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<AuthorizationRule 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
AuthorizationRule 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[AuthorizationRule 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.
AuthorizationRuleResponse  
- BrokerResources 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.
- StateStore List<Pulumi.Resources Azure Native. Io TOperations. Inputs. State Store Resource Rule Response> 
- Give access to state store resources.
- BrokerResources []BrokerResource Rule Response 
- Give access to Broker methods and topics.
- Principals
PrincipalDefinition Response 
- Give access to clients based on the following properties.
- StateStore []StateResources Store Resource Rule Response 
- Give access to state store resources.
- brokerResources List<BrokerResource Rule Response> 
- Give access to Broker methods and topics.
- principals
PrincipalDefinition Response 
- Give access to clients based on the following properties.
- stateStore List<StateResources Store Resource Rule Response> 
- Give access to state store resources.
- brokerResources BrokerResource Rule Response[] 
- Give access to Broker methods and topics.
- principals
PrincipalDefinition Response 
- Give access to clients based on the following properties.
- stateStore 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
PrincipalDefinition Response 
- Give access to clients based on the following properties.
- state_store_ Sequence[Stateresources Store Resource Rule Response] 
- Give access to state store resources.
- brokerResources List<Property Map>
- Give access to Broker methods and topics.
- principals Property Map
- Give access to clients based on the following properties.
- stateStore List<Property Map>Resources 
- Give access to state store resources.
BrokerAuthorizationPropertiesResponse   
- 
Pulumi.Azure Native. Io TOperations. Inputs. Authorization Config Response 
- The list of authorization policies supported by the Authorization Resource.
- ProvisioningState string
- The status of the last operation.
- 
AuthorizationConfig Response 
- The list of authorization policies supported by the Authorization Resource.
- ProvisioningState string
- The status of the last operation.
- 
AuthorizationConfig Response 
- The list of authorization policies supported by the Authorization Resource.
- provisioningState String
- The status of the last operation.
- 
AuthorizationConfig Response 
- The list of authorization policies supported by the Authorization Resource.
- provisioningState string
- The status of the last operation.
- 
AuthorizationConfig 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.
- provisioningState String
- The status of the last operation.
BrokerResourceRuleResponse   
ExtendedLocationResponse  
PrincipalDefinitionResponse  
- Attributes
List<ImmutableDictionary<string, string>> 
- A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
- ClientIds List<string>
- A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.
- Usernames List<string>
- A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.
- Attributes []map[string]string
- A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
- ClientIds []string
- A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.
- Usernames []string
- A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.
- attributes List<Map<String,String>>
- A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
- clientIds List<String>
- A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.
- usernames List<String>
- A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.
- attributes {[key: string]: string}[]
- A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
- clientIds string[]
- A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.
- usernames string[]
- A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.
- attributes Sequence[Mapping[str, str]]
- A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
- 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.
- 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.
StateStoreResourceRuleResponse    
- KeyType 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,WriteandReadWriteaccess level.
- KeyType 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,WriteandReadWriteaccess level.
- keyType 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,WriteandReadWriteaccess level.
- keyType 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,WriteandReadWriteaccess 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,WriteandReadWriteaccess level.
- keyType 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,WriteandReadWriteaccess level.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi