Get-AzEventHubNetworkSecurityPerimeterConfigurationsForAssociation
Return a NetworkSecurityPerimeterConfigurations resourceAssociationName
Syntax
Get (Default)
Get-AzEventHubNetworkSecurityPerimeterConfigurationsForAssociation
-NamespaceName <String>
-ResourceAssociationName <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentityNamespace
Get-AzEventHubNetworkSecurityPerimeterConfigurationsForAssociation
-ResourceAssociationName <String>
-NamespaceInputObject <IEventHubIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentity
Get-AzEventHubNetworkSecurityPerimeterConfigurationsForAssociation
-InputObject <IEventHubIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Return a NetworkSecurityPerimeterConfigurations resourceAssociationName
Examples
Example 1: Gets the network security configuration of an EventHub namespace for a given ResourceAssociationName.
Get-AzEventHubNetworkSecurityPerimeterConfigurationsForAssociation -ResourceGroupName myResourceGroup -NamespaceName myNamespace -ResourceAssociationName resourceAssociationName
ApplicableFeature :
Id : /subscriptions/subscriptionid/resourceGroups/myresourcegroup/providers/Microsoft.EventHub/namespaces/
mynamespaceName/networkSecurityPerimeterConfigurations/subscriptionid.resourceAssociationName
IsBackingResource : False
Location : eastus2euap
Name : subscriptionid.resourceAssociationName
NetworkSecurityPerimeterGuid : subscriptionid
NetworkSecurityPerimeterId : /subscriptions/subscriptionid/resourceGroups/myresourcegroup/providers/Microsoft.Network/networkSecurityPe
rimeters/pranjit-nsp-ncus
NetworkSecurityPerimeterLocation : northcentralus
ParentAssociationName :
ProfileAccessRule : {{
"properties": {
"direction": "Inbound",
"addressPrefixes": [ ],
"subscriptions": [ ],
"networkSecurityPerimeters": [ ],
"fullyQualifiedDomainNames": [ ]
},
"name": "ingress2"
}, {
"properties": {
"direction": "Inbound",
"addressPrefixes": [ "198.166.98.0/24" ],
"subscriptions": [ ],
"networkSecurityPerimeters": [ ],
"fullyQualifiedDomainNames": [ ]
},
"name": "ingress"
}}
ProfileAccessRulesVersion : 5
ProfileName : defaultProfile
ProvisioningIssue :
ProvisioningState : Succeeded
ResourceAssociationAccessMode : Learning
ResourceAssociationName : resourceAssociationName
ResourceGroupName : myresourcegroup
SourceResourceId :
Type : Microsoft.EventHub/Namespaces/networkSecurityPerimeterConfigurations
Gets the network rule set of EventHub namespace myNamespace.
Parameters
-DefaultProfile
The DefaultProfile parameter is not functional.
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Parameter properties
Type: PSObject
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AzureRMContext, AzureCredential
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Identity Parameter
GetViaIdentity
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
Identity Parameter
GetViaIdentityNamespace
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-NamespaceName
The Namespace name
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceAssociationName
The ResourceAssociation Name
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
GetViaIdentityNamespace
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceGroupName
The name of the resource group.
The name is case insensitive.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SubscriptionId
The ID of the target subscription.
Parameter properties
Type: String [ ]
Default value: (Get-AzContext).Subscription.Id
Supports wildcards: False
DontShow: False
Parameter sets
Get
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs