Get-AzNetworkManagerSecurityAdminRuleCollection
Hämtar en säkerhetsadministratörsregelsamling i en nätverkshanterare.
Syntax
Get-AzNetworkManagerSecurityAdminRuleCollection
[-Name <String>]
-SecurityAdminConfigurationName <String>
-NetworkManagerName <String>
-ResourceGroupName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetworkManagerSecurityAdminRuleCollection
-Name <String>
-SecurityAdminConfigurationName <String>
-NetworkManagerName <String>
-ResourceGroupName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Cmdleten Get-AzNetworkManagerSecurityAdminRuleCollection hämtar en säkerhetsadministratörsregelsamling i en nätverkshanterare.
Exempel
Exempel 1
Get-AzNetworkManagerSecurityAdminRuleCollection -Name "TestRC" -SecurityAdminConfigurationName "TestSecConfig" -NetworkManagerName "TestNMName" -ResourceGroupName "TestRG"
Name : TestRC
Description : Sample rule Collection Description
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/providers/Microsoft.Network/networkManagers/TestNMName/securityAdminConfigurations/TestSecConfig/ruleCollections/TestRC
Type : Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections
Etag : "00000000-0000-0000-0000-000000000000"
ProvisioningState : Succeeded
AppliesToGroups : [
{
"NetworkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/providers/Microsoft.Network/networkManagers/TestNMName/networkGroups/testng"
}
]
SystemData : {
"CreatedBy": "00000000-0000-0000-0000-000000000000",
"CreatedByType": "Application",
"CreatedAt": "2021-10-18T04:06:01",
"LastModifiedBy": "00000000-0000-0000-0000-000000000000",
"LastModifiedByType": "Application",
"LastModifiedAt": "2021-10-18T04:06:03"
}
Hämtar en regelsamling med en säkerhetsadministratörskonfiguration.
Exempel 2
Get-AzNetworkManagerSecurityAdminRuleCollection -SecurityAdminConfigurationName "TestSecConfig" -NetworkManagerName "TestNMName" -ResourceGroupName "TestRG"
Name : TestRC
Description : Sample rule Collection Description
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/providers/Microsoft.Network/networkManagers/TestNMName/securityAdminConfigurations/TestSecConfig/ruleCollections/TestRC
Type : Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections
Etag : "00000000-0000-0000-0000-000000000000"
ProvisioningState : Succeeded
AppliesToGroups : [
{
"NetworkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/providers/Microsoft.Network/networkManagers/TestNMName/networkGroups/testng"
}
]
SystemData : {
"CreatedBy": "00000000-0000-0000-0000-000000000000",
"CreatedByType": "Application",
"CreatedAt": "2021-10-18T04:06:01",
"LastModifiedBy": "00000000-0000-0000-0000-000000000000",
"LastModifiedByType": "Application",
"LastModifiedAt": "2021-10-18T04:06:03"
}
Name : TestRC2
Description : Sample rule Collection Description
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/providers/Microsoft.Network/networkManagers/TestNMName/securityAdminConfigurations/TestSecConfig/ruleCollections/TestRC2
Type : Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections
Etag : "00000000-0000-0000-0000-000000000000"
ProvisioningState : Succeeded
AppliesToGroups : [
{
"NetworkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/providers/Microsoft.Network/networkManagers/TestNMName/networkGroups/testng"
}
]
SystemData : {
"CreatedBy": "00000000-0000-0000-0000-000000000000",
"CreatedByType": "Application",
"CreatedAt": "2021-10-18T04:06:01",
"LastModifiedBy": "00000000-0000-0000-0000-000000000000",
"LastModifiedByType": "Application",
"LastModifiedAt": "2021-10-18T04:06:03"
}
Hämtar alla regelsamlingar i en säkerhetsadministratörskonfiguration.
Parametrar
-DefaultProfile
Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med Azure.
Typ: | IAzureContextContainer |
Alias: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-Name
Resursnamnet.
Typ: | String |
Alias: | ResourceName |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | True |
-NetworkManagerName
Namnet på nätverkshanteraren.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | True |
-ResourceGroupName
Resursgruppens namn.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | True |
-SecurityAdminConfigurationName
Konfigurationsnamnet för nätverkshanterarens säkerhetsadministratör.
Typ: | String |
Alias: | ConfigName |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | True |
Indata
Utdata
PSNetworkManagerSecurityAdminRuleCollection
Relaterade länkar
Azure PowerShell