Skip to content

Latest commit

 

History

History
147 lines (111 loc) · 3.59 KB

Get-AzEventHubNetworkRuleSet.md

File metadata and controls

147 lines (111 loc) · 3.59 KB
external help file Module Name online version schema
Microsoft.Azure.PowerShell.Cmdlets.EventHub.dll-Help.xml
Az.EventHub
2.0.0

Get-AzEventHubNetworkRuleSet

SYNOPSIS

Gets the details of an Event Hubs NetworkruleSet of namespace in the current Azure subscription.

SYNTAX

NetworkRuleSetPropertiesSet (Default)

Get-AzEventHubNetworkRuleSet [-ResourceGroupName] <String> [-Namespace] <String>
 [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]

NetworkRuleSetNamespacePropertiesSet

Get-AzEventHubNetworkRuleSet [-Namespace] <String> [-DefaultProfile <IAzureContextContainer>]
 [<CommonParameters>]

NetworkRuleSetResourceIdParameterSet

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

PS C:\> 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

PS C:\> 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

PS C:\> 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

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Namespace

Namespace Name

Type: System.String
Parameter Sets: NetworkRuleSetPropertiesSet, NetworkRuleSetNamespacePropertiesSet
Aliases: NamespaceName

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ResourceGroupName

Resource Group Name

Type: System.String
Parameter Sets: NetworkRuleSetPropertiesSet
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: System.String
Parameter Sets: NetworkRuleSetNamespacePropertiesSet
Aliases:

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ResourceId

Namespace Resource Id

Type: System.String
Parameter Sets: NetworkRuleSetResourceIdParameterSet
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

System.String

OUTPUTS

Microsoft.Azure.Commands.EventHub.Models.PSNetworkRuleSetAttributes

NOTES

RELATED LINKS