Edit

Share via


New-AzPurviewAzurePostgreSqlScanRulesetObject

Create an in-memory object for AzurePostgreSqlScanRuleset.

Syntax

Default (Default)

New-AzPurviewAzurePostgreSqlScanRulesetObject
    -Kind <DataSourceType>
    [-Description <String>]
    [-ExcludedSystemClassification <String[]>]
    [-IncludedCustomClassificationRuleName <String[]>]
    [-Type <ScanRulesetType>]
    [<CommonParameters>]

Description

Create an in-memory object for AzurePostgreSqlScanRuleset.

Examples

Example 1: Create Azure PostgreSQL custom scanruleset object

New-AzPurviewAzurePostgreSqlScanRulesetObject -Kind 'AzurePostgreSql' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -Type 'Custom'
CreatedAt                            :
Description                          : desc
ExcludedSystemClassification         : {MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER, MICROSOFT.SECURITY.COMMON_PASSWORDS}
Id                                   :
IncludedCustomClassificationRuleName : {ClassificationRule2}
Kind                                 : AzurePostgreSql
LastModifiedAt                       :
Name                                 :
Status                               :
Type                                 : Custom
Version                              :

Create Azure PostgreSQL custom scanruleset object

Parameters

-Description

Create an in-memory object for AzurePostgreSqlScanRuleset.

Parameter properties

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

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ExcludedSystemClassification

Create an in-memory object for AzurePostgreSqlScanRuleset.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-IncludedCustomClassificationRuleName

Create an in-memory object for AzurePostgreSqlScanRuleset.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Kind

Create an in-memory object for AzurePostgreSqlScanRuleset.

Parameter properties

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

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Type

Create an in-memory object for AzurePostgreSqlScanRuleset.

Parameter properties

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

Parameter sets

(All)
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

AzurePostgreSqlScanRuleset