disaster_recovery_configs_authorization_rules
Creates, updates, deletes, gets or lists a disaster_recovery_configs_authorization_rules
resource.
Overview
Name | disaster_recovery_configs_authorization_rules |
Type | Resource |
Id | azure.event_hubs.disaster_recovery_configs_authorization_rules |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Alias Namespace AuthorizationRule returned successfully.
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
location | string | The geo-location where the resource lives |
properties |
| Properties supplied to create or update AuthorizationRule |
systemData | object | The system meta data relating to this resource. |
type | string | The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs" |
Namespace AuthorizationRule successfully returned.
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
location | string | The geo-location where the resource lives |
properties |
| Properties supplied to create or update AuthorizationRule |
systemData | object | The system meta data relating to this resource. |
type | string | The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs" |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | resourceGroupName , namespaceName , alias , authorizationRuleName , subscriptionId | Gets an AuthorizationRule for a Namespace by rule name. | |
list | select | resourceGroupName , namespaceName , alias , subscriptionId | Gets a list of authorization rules for a Namespace. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
alias | string | The Disaster Recovery configuration name |
authorizationRuleName | string | The authorization rule name. |
namespaceName | string | The Namespace name |
resourceGroupName | string | Name of the resource group within the azure subscription. |
subscriptionId | string | Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
SELECT
examples
- get
- list
Gets an AuthorizationRule for a Namespace by rule name.
SELECT
id,
name,
location,
properties,
systemData,
type
FROM azure.event_hubs.disaster_recovery_configs_authorization_rules
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND namespaceName = '{{ namespaceName }}' -- required
AND alias = '{{ alias }}' -- required
AND authorizationRuleName = '{{ authorizationRuleName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;
Gets a list of authorization rules for a Namespace.
SELECT
id,
name,
location,
properties,
systemData,
type
FROM azure.event_hubs.disaster_recovery_configs_authorization_rules
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND namespaceName = '{{ namespaceName }}' -- required
AND alias = '{{ alias }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;