Interface EventHubNamespaceAuthorizationRule.DefinitionStages.WithNamespace
- All Known Subinterfaces:
EventHubNamespaceAuthorizationRule.Definition,EventHubNamespaceAuthorizationRule.DefinitionStages.Blank
- Enclosing interface:
EventHubNamespaceAuthorizationRule.DefinitionStages
public static interface EventHubNamespaceAuthorizationRule.DefinitionStages.WithNamespace
Stage of the authorization rule definition allowing to specify
the event namespace for which rule needs to be created.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingNamespace(EventHubNamespace namespace) Specifies that authorization rule needs to be created for the given event hub namespace.withExistingNamespace(String resourceGroupName, String namespaceName) Specifies that authorization rule needs to be created for the given event hub namespace.withExistingNamespaceId(String namespaceResourceId) Specifies that authorization rule needs to be created for the given event hub namespace.
-
Method Details
-
withExistingNamespaceId
EventHubNamespaceAuthorizationRule.DefinitionStages.WithAccessPolicy withExistingNamespaceId(String namespaceResourceId) Specifies that authorization rule needs to be created for the given event hub namespace.- Parameters:
namespaceResourceId- the resource id of the event Hub namespace- Returns:
- the next stage of the definition
-
withExistingNamespace
EventHubNamespaceAuthorizationRule.DefinitionStages.WithAccessPolicy withExistingNamespace(String resourceGroupName, String namespaceName) Specifies that authorization rule needs to be created for the given event hub namespace.- Parameters:
resourceGroupName- namespace resource group namenamespaceName- namespace name- Returns:
- the next stage of the definition
-
withExistingNamespace
EventHubNamespaceAuthorizationRule.DefinitionStages.WithAccessPolicy withExistingNamespace(EventHubNamespace namespace) Specifies that authorization rule needs to be created for the given event hub namespace.- Parameters:
namespace- the namespace- Returns:
- the next stage of the definition
-