Get-AzNetworkManagerEffectiveSecurityAdminRule
Lists NetworkManager Effective Security Admin Rules applied on a virtual networks.
Syntax
Get-AzNetworkManagerEffectiveSecurityAdminRule
-VirtualNetworkName <String>
-VirtualNetworkResourceGroupName <String>
[-SkipToken <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzNetworkManagerEffectiveSecurityAdminRule cmdlet lists NetworkManager Effective Security Admin Rules applied on a virtual network.
Examples
Example 1
Get-AzNetworkManagerEffectiveSecurityAdminRule -VirtualNetworkName "TestVnet" -VirtualNetworkResourceGroupName "TestRG" -SkipToken "FakeSkipToken"
Value : [
{
"DisplayName": "Sample Rule Name",
"Description": "Description",
"Protocol": "Tcp",
"Sources": [
{
"AddressPrefix": "Internet",
"AddressPrefixType": "ServiceTag"
}
],
"Destinations": [
{
"AddressPrefix": "10.0.0.1",
"AddressPrefixType": "IPPrefix"
}
],
"SourcePortRanges": [
"100"
],
"DestinationPortRanges": [
"99"
],
"Access": "Allow",
"Priority": 100,
"Direction": "Inbound",
"ProvisioningState": "Succeeded",
"Id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/providers/Microsoft.Network/networkManagers/TestNMName/securityAdminConfigurations/TestAdminConfig/ruleCollections/TestRuleCollection/rules/TestRule",
"ConfigurationDisplayName": "sample Config DisplayName",
"ConfigurationDescription": "DESCription",
"RuleCollectionDisplayName": "Sample rule Collection displayName",
"RuleCollectionDescription": "Sample rule Collection Description",
"RuleCollectionAppliesToGroups": [
{
"NetworkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/providers/Microsoft.Network/networkManagers/TestNMName/networkGroups/testNG"
}
],
"RuleGroups": [
{
"Id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/providers/Microsoft.Network/networkManagers/TestNMName/networkGroups/testNG",
"DisplayName": "DISplayName",
"Description": "SampleConfigDESCRIption",
"GroupMembers": [
{
"ResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/providers/Microsoft.Network/virtualNetworks/TestVnet"
}
],
"ConditionalMembership": "",
"ProvisioningState": "Succeeded"
}
]
}
]
SkipToken :
Lists NetworkManager Effective Security Admin Rules applied on a virtual network 'TestVnet'.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SkipToken
SkipToken.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-VirtualNetworkName
The vnet name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | True |
-VirtualNetworkResourceGroupName
The resource group name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | True |
Inputs
Outputs
Microsoft.Azure.Commands.Network.Models.NetworkManager.PSNetworkManagerEffectiveSecurityAdminRuleListResult
Related Links
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure PowerShell