次の方法で共有


New-AzPurviewAdlsGen1ScanRulesetObject

AdlsGen1ScanRuleset のメモリ内オブジェクトを作成します。

構文

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

説明

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
配置:Named
規定値:None
必須:False
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-ExcludedSystemClassification

型:String[]
配置:Named
規定値:None
必須:False
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-IncludedCustomClassificationRuleName

型:String[]
配置:Named
規定値:None
必須:False
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-Kind

型:DataSourceType
配置:Named
規定値:None
必須:True
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-ScanningRuleCustomFileExtension

構築するには、SCANNINGRULECUSTOMFILEEXTENSION プロパティの NOTES セクションを参照し、ハッシュ テーブルを作成します。

型:ICustomFileExtension[]
配置:Named
規定値:None
必須:False
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-ScanningRuleFileExtension

型:FileExtensionsType[]
配置:Named
規定値:None
必須:False
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-Type

型:ScanRulesetType
配置:Named
規定値:None
必須:False
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

出力