Skip to main content

disaster_recovery_configs_authorization_rules

Creates, updates, deletes, gets or lists a disaster_recovery_configs_authorization_rules resource.

Overview

Namedisaster_recovery_configs_authorization_rules
TypeResource
Idazure.service_bus.disaster_recovery_configs_authorization_rules

Fields

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
locationstringThe geo-location where the resource lives
properties``AuthorizationRule properties.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringThe type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"

Methods

NameAccessible byRequired ParamsDescription
getSELECTalias, authorizationRuleName, namespaceName, resourceGroupName, subscriptionIdGets an authorization rule for a namespace by rule name.
listSELECTalias, namespaceName, resourceGroupName, subscriptionIdGets the authorization rules for a namespace.

SELECT examples

Gets the authorization rules for a namespace.

SELECT
id,
name,
location,
properties,
systemData,
type
FROM azure.service_bus.disaster_recovery_configs_authorization_rules
WHERE alias = '{{ alias }}'
AND namespaceName = '{{ namespaceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';