編輯

Get-AzNetworkSecurityPerimeterLoggingConfiguration

Gets the NSP logging configuration.

Syntax

Get (Default)

Get-AzNetworkSecurityPerimeterLoggingConfiguration
    -ResourceGroupName <String>
    -SecurityPerimeterName <String>
    [-Name <String>]
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

GetViaIdentityNetworkSecurityPerimeter

Get-AzNetworkSecurityPerimeterLoggingConfiguration
    -NetworkSecurityPerimeterInputObject <INetworkSecurityPerimeterIdentity>
    [-Name <String>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

List

Get-AzNetworkSecurityPerimeterLoggingConfiguration
    -ResourceGroupName <String>
    -SecurityPerimeterName <String>
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

GetViaIdentity

Get-AzNetworkSecurityPerimeterLoggingConfiguration
    -InputObject <INetworkSecurityPerimeterIdentity>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Description

Gets the NSP logging configuration.

Examples

Example 1: Get NetworkSsecurityPerimeter LoggingConfiguration

Get-AzNetworkSecurityPerimeterLoggingConfiguration -ResourceGroupName rg-test-1 -SecurityPerimeterName nsp-test-1
EnabledLogCategory           : {NspPublicInboundPerimeterRulesAllowed}
Id                           : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-test-1/providers
                                /Microsoft.Network/networkSecurityPerimeters/nsp-test-1/loggingConfigurations/instance
Name                         : instance
ResourceGroupName            : rg-test-1
SystemDataCreatedAt          :
SystemDataCreatedBy          :
SystemDataCreatedByType      :
SystemDataLastModifiedAt     :
SystemDataLastModifiedBy     :
SystemDataLastModifiedByType :
Type                         : Microsoft.Network/networkSecurityPerimeters/loggingConfigurations
Version                      : 4

Get NetworkSsecurityPerimeter LoggingConfiguration

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

-InputObject

Identity Parameter

Parameter properties

Type:INetworkSecurityPerimeterIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GetViaIdentity
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

The name of the NSP logging configuration. Accepts 'instance' as name.

Parameter properties

Type:String
Default value:instance
Supports wildcards:False
DontShow:False
Aliases:LoggingConfigurationName

Parameter sets

Get
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
GetViaIdentityNetworkSecurityPerimeter
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-NetworkSecurityPerimeterInputObject

Identity Parameter

Parameter properties

Type:INetworkSecurityPerimeterIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GetViaIdentityNetworkSecurityPerimeter
Position:Named
Mandatory:True
Value from pipeline:True
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
List
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SecurityPerimeterName

The name of the network security perimeter.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:NetworkSecurityPerimeterName, NSPName

Parameter sets

Get
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
List
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. The value must be an UUID.

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
List
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.

Inputs

INetworkSecurityPerimeterIdentity

Outputs

INspLoggingConfiguration