Get-AzNetworkManagerSecurityAdminRule
네트워크 관리자에서 보안 관리자 규칙을 가져옵니다.
구문
NoExpand (기본값)
Get-AzNetworkManagerSecurityAdminRule
-RuleCollectionName <String>
-SecurityAdminConfigurationName <String>
-NetworkManagerName <String>
-ResourceGroupName <String>
[-Name <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Expand
Get-AzNetworkManagerSecurityAdminRule
-Name <String>
-RuleCollectionName <String>
-SecurityAdminConfigurationName <String>
-NetworkManagerName <String>
-ResourceGroupName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzNetworkManagerSecurityAdminRule cmdlet은 네트워크 관리자에서 보안 관리자 규칙을 가져옵니다.
예제
예제 1
Get-AzNetworkManagerSecurityAdminRule -Name "testRule" -RuleCollectionName "TestRC" -SecurityAdminConfigurationName "TestSecConfig" -NetworkManagerName "TestNMName" -ResourceGroupName "TestRG"
Name : testRule
Description : Description
Type : Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/providers/Microsoft.Network/networkManagers/TestNMName/securityAdminConfigurations/TestSecConfig/ruleCollections/TestRC/rules/testRule
Etag : "00000000-0000-0000-0000-000000000000"
ProvisioningState : Succeeded
Protocol : Tcp
Direction : Inbound
Sources : [
{
"AddressPrefix": "Internet",
"AddressPrefixType": "ServiceTag"
}
]
Destinations : [
{
"AddressPrefix": "10.0.0.1",
"AddressPrefixType": "IPPrefix"
}
]
SourcePortRanges : [
"100"
]
DestinationPortRanges : [
"99"
]
Access : Allow
Priority : 100
SystemData : {
"CreatedBy": "00000000-0000-0000-0000-000000000000",
"CreatedByType": "Application",
"CreatedAt": "2021-10-18T04:06:05",
"LastModifiedBy": "00000000-0000-0000-0000-000000000000",
"LastModifiedByType": "Application",
"LastModifiedAt": "2021-10-18T04:06:06"
}
규칙 컬렉션에서 보안 관리자 규칙을 가져옵니다.
예제 2
Get-AzNetworkManagerSecurityAdminRule -RuleCollectionName "TestRC" -SecurityAdminConfigurationName "TestSecConfig" -NetworkManagerName "TestNMName" -ResourceGroupName "TestRG"
Name : testRule
Description : Description
Type : Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/providers/Microsoft.Network/networkManagers/TestNMName/securityAdminConfigurations/TestSecConfig/ruleCollections/TestRC/rules/testRule
Etag : "00000000-0000-0000-0000-000000000000"
ProvisioningState : Succeeded
Protocol : Tcp
Direction : Inbound
Sources : [
{
"AddressPrefix": "Internet",
"AddressPrefixType": "ServiceTag"
}
]
Destinations : [
{
"AddressPrefix": "10.0.0.1",
"AddressPrefixType": "IPPrefix"
}
]
SourcePortRanges : [
"100"
]
DestinationPortRanges : [
"99"
]
Access : Allow
Priority : 100
SystemData : {
"CreatedBy": "00000000-0000-0000-0000-000000000000",
"CreatedByType": "Application",
"CreatedAt": "2021-10-18T04:06:05",
"LastModifiedBy": "00000000-0000-0000-0000-000000000000",
"LastModifiedByType": "Application",
"LastModifiedAt": "2021-10-18T04:06:06"
}
Name : testRule2
Description : Description
Type : Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/providers/Microsoft.Network/networkManagers/TestNMName/securityAdminConfigurations/TestSecConfig/ruleCollections/TestRC/rules/testRule2
Etag : "00000000-0000-0000-0000-000000000000"
ProvisioningState : Succeeded
Protocol : Tcp
Direction : Inbound
Sources : [
{
"AddressPrefix": "Internet",
"AddressPrefixType": "ServiceTag"
}
]
Destinations : [
{
"AddressPrefix": "10.0.0.1",
"AddressPrefixType": "IPPrefix"
}
]
SourcePortRanges : [
"100"
]
DestinationPortRanges : [
"99"
]
Access : Allow
Priority : 100
SystemData : {
"CreatedBy": "00000000-0000-0000-0000-000000000000",
"CreatedByType": "Application",
"CreatedAt": "2021-10-18T04:06:05",
"LastModifiedBy": "00000000-0000-0000-0000-000000000000",
"LastModifiedByType": "Application",
"LastModifiedAt": "2021-10-18T04:06:06"
}
보안 관리자 규칙 컬렉션 내의 모든 규칙을 가져옵니다.
매개 변수
-DefaultProfile
Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.
매개 변수 속성
형식: IAzureContextContainer
Default value: None
와일드카드 지원: False
DontShow: False
별칭: AzContext, AzureRmContext, AzureCredential
매개 변수 집합
(All)
Position: Named
필수: False
파이프라인의 값: False
속성 이름별 파이프라인의 값: False
나머지 인수의 값: False
-Name
리소스 이름입니다.
매개 변수 속성
형식: String
Default value: None
와일드카드 지원: True
DontShow: False
별칭: 자원명
매개 변수 집합
NoExpand
Position: Named
필수: False
파이프라인의 값: False
속성 이름별 파이프라인의 값: True
나머지 인수의 값: False
-NetworkManagerName
네트워크 관리자 이름입니다.
매개 변수 속성
형식: String
Default value: None
와일드카드 지원: True
DontShow: False
매개 변수 집합
(All)
Position: Named
필수: True
파이프라인의 값: False
속성 이름별 파이프라인의 값: True
나머지 인수의 값: False
-ResourceGroupName
리소스 그룹 이름입니다.
매개 변수 속성
형식: String
Default value: None
와일드카드 지원: False
DontShow: False
매개 변수 집합
(All)
Position: Named
필수: True
파이프라인의 값: False
속성 이름별 파이프라인의 값: True
나머지 인수의 값: False
-RuleCollectionName
네트워크 관리자 보안 관리자 규칙 컬렉션 이름입니다.
매개 변수 속성
형식: String
Default value: None
와일드카드 지원: True
DontShow: False
매개 변수 집합
(All)
Position: Named
필수: True
파이프라인의 값: False
속성 이름별 파이프라인의 값: True
나머지 인수의 값: False
-SecurityAdminConfigurationName
네트워크 관리자 보안 관리자 구성 이름입니다.
매개 변수 속성
형식: String
Default value: None
와일드카드 지원: True
DontShow: False
별칭: ConfigName
매개 변수 집합
(All)
Position: Named
필수: True
파이프라인의 값: False
속성 이름별 파이프라인의 값: True
나머지 인수의 값: False
CommonParameters
이 cmdlet은 일반적인 매개 변수인 -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction 및 -WarningVariable 매개 변수를 지원합니다. 자세한 내용은 about_CommonParameters 를 참조하세요.
출력