Skip to main content

authorization_rule

Overview

Nameauthorization_rule
TypeResource
Idazure.event_hubs.authorization_rule

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``Properties supplied to create or update AuthorizationRule
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
getSELECTauthorizationRuleName, eventHubName, namespaceName, resourceGroupName, subscriptionIdGets an AuthorizationRule for an Event Hub by rule name.
create_or_updateINSERTauthorizationRuleName, eventHubName, namespaceName, resourceGroupName, subscriptionIdCreates or updates an AuthorizationRule for the specified Event Hub. Creation/update of the AuthorizationRule will take a few seconds to take effect.
deleteDELETEauthorizationRuleName, eventHubName, namespaceName, resourceGroupName, subscriptionIdDeletes an Event Hub AuthorizationRule.