Get-AzEventHubNetworkRuleSet
Gets the details of an Event Hubs NetworkruleSet of namespace in the current Azure subscription.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
Get-AzEventHubNetworkRuleSet
[-ResourceGroupName] <String>
[-Namespace] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzEventHubNetworkRuleSet
[-Namespace] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzEventHubNetworkRuleSet
[-ResourceId] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Gets the details of an Event Hubs NetworkruleSet of namespace in the current Azure subscription.
Examples
Example 1
Get-AzEventHubNetworkRuleSet -ResourceGroupName v-ajnavtest -Namespace Eventhub-Namespace1-1375
Get the details of Event Hubs NetworkruleSet of namespace using ResourceGroup and Namespace parameters.
Example 2
Get-AzEventHubNetworkRuleSet -Namespace Eventhub-Namespace1-2389
Get the details of Event Hubs NetworkruleSet of namespace using Namespace which is in the current subscription.
Example 3
Get-AzEventHubNetworkRuleSet -ResourceId /SubscriptionId/resourcegroups/ResourceGroup/providers/Microsoft.EventHub/namespaces/Eventhub-Namespace1-2389
Get the details of Event Hubs NetworkruleSet of namespace using Resource Id of other Namespace
Parameters
The credentials, account, tenant, and subscription used for communication with Azure.
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Namespace Name
| Type: | String |
| Aliases: | NamespaceName |
| Position: | 1 |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Resource Group Name
| Type: | String |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Namespace Resource Id
| Type: | String |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |