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.77.0 published on Thursday, Dec 12, 2024 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.77.0 published on Thursday, Dec 12, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:iotoperations:getBrokerAuthorization
arguments:
# arguments dictionary
The following arguments are supported:
- string
- Name of Instance broker authorization resource
- Broker
Name string - Name of broker.
- 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
- Broker
Name string - Name of broker.
- 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
- broker
Name String - Name of broker.
- 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
- broker
Name string - Name of broker.
- instance
Name string - Name of instance.
- resource
Group 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
- broker
Name String - Name of broker.
- instance
Name String - Name of instance.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getBrokerAuthorization Result
The following output properties are available:
- Extended
Location 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.
- 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"
- Extended
Location 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
Broker
Authorization Properties Response - The resource-specific properties for this 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"
- extended
Location 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
Broker
Authorization Properties Response - The resource-specific properties for this 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"
- extended
Location 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
Broker
Authorization Properties Response - The resource-specific properties for this 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"
- 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
Broker
Authorization 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"
- extended
Location 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.
- 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
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
[]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.
AuthorizationRuleResponse
- 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.
BrokerAuthorizationPropertiesResponse
- 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.
BrokerResourceRuleResponse
ExtendedLocationResponse
PrincipalDefinitionResponse
- 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.
StateStoreResourceRuleResponse
- 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
- 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.
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.77.0 published on Thursday, Dec 12, 2024 by Pulumi