共用方式為


New-AzPurviewAdlsGen1ScanRulesetObject

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

語法

New-AzPurviewAdlsGen1ScanRulesetObject
   -Kind <DataSourceType>
   [-Description <String>]
   [-ExcludedSystemClassification <String[]>]
   [-IncludedCustomClassificationRuleName <String[]>]
   [-ScanningRuleCustomFileExtension <ICustomFileExtension[]>]
   [-ScanningRuleFileExtension <FileExtensionsType[]>]
   [-Type <ScanRulesetType>]
   [<CommonParameters>]

Description

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

範例

範例 1:建立 AdlsGen1 自定義 scanruleset 物件

New-AzPurviewAdlsGen1ScanRulesetObject -Kind 'AdlsGen1' -Description 'desc' -ExcludedSystemClassification @('MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER','MICROSOFT.SECURITY.COMMON_PASSWORDS') -IncludedCustomClassificationRuleName @('ClassificationRule2') -ScanningRuleFileExtension @("CSV","JSON","PSV","SSV","TSV","TXT","XML","PARQUET","AVRO","ORC","Documents","GZ","DOC","DOCM","DOCX","DOT","ODP","ODS","ODT","PDF","POT","PPS","PPSX","PPT","PPTM","PPTX","XLC","XLS","XLSB","XLSM","XLSX","XLT") -Type 'Custom'

CreatedAt                            :
Description                          : desc
ExcludedSystemClassification         : {MICROSOFT.FINANCIAL.CREDIT_CARD_NUMBER, MICROSOFT.SECURITY.COMMON_PASSWORDS}
Id                                   :
IncludedCustomClassificationRuleName : {ClassificationRule2}
Kind                                 : AdlsGen1
LastModifiedAt                       :
Name                                 :
ScanningRuleCustomFileExtension      :
ScanningRuleFileExtension            : {CSV, JSON, PSV, SSV…}
Status                               :
Type                                 : Custom
Version                              :

建立 AdlsGen1 自定義 scanruleset 物件

參數

-Description

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ExcludedSystemClassification

類型:String[]
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-IncludedCustomClassificationRuleName

類型:String[]
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Kind

類型:DataSourceType
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-ScanningRuleCustomFileExtension

若要建構,請參閱 SCANINGRULECUSTOMFILEEXTENSION 屬性和建立哈希表的 NOTES 一節。

類型:ICustomFileExtension[]
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ScanningRuleFileExtension

類型:FileExtensionsType[]
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Type

類型:ScanRulesetType
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

輸出

AdlsGen1ScanRuleset