共用方式為


New-AzPurviewSqlServerDatabaseScanRulesetObject

此 Cmdlet 是 預覽 模組的一部分。 不建議在生產環境中使用預覽版本。 如需詳細資訊,請參閱https://aka.ms/azps-refstatus

建立 SqlServerDatabaseScanRuleset 的記憶體內部物件。

語法

Default (預設值)

New-AzPurviewSqlServerDatabaseScanRulesetObject
    [-Description <String>]
    [-ExcludedSystemClassification <String[]>]
    [-IncludedCustomClassificationRuleName <String[]>]
    [-Type <String>]
    [<CommonParameters>]

Description

建立 SqlServerDatabaseScanRuleset 的記憶體內部物件。

範例

範例 1:建立 Sql Server Db 自定義 scanruleset 物件

New-AzPurviewSqlServerDatabaseScanRulesetObject -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                                 : SqlServerDatabase
LastModifiedAt                       :
Name                                 :
Status                               :
Type                                 : Custom
Version                              :

建立 Sql Server Db 自定義 scanruleset 物件

參數

-Description

建立 SqlServerDatabaseScanRuleset 的記憶體內部物件。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-ExcludedSystemClassification

建立 SqlServerDatabaseScanRuleset 的記憶體內部物件。

參數屬性

類型:

String[]

預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-IncludedCustomClassificationRuleName

建立 SqlServerDatabaseScanRuleset 的記憶體內部物件。

參數屬性

類型:

String[]

預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-Type

建立 SqlServerDatabaseScanRuleset 的記憶體內部物件。

參數屬性

類型:String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

CommonParameters

此 cmdlet 支援常見參數:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters

輸出

SqlServerDatabaseScanRuleset