New-AzPurviewAzureStorageScanRulesetObject
建立 AzureStorageScanRuleset 的記憶體內部物件。
語法
New-AzPurviewAzureStorageScanRulesetObject
-Kind <DataSourceType>
[-Description <String>]
[-ExcludedSystemClassification <String[]>]
[-IncludedCustomClassificationRuleName <String[]>]
[-ScanningRuleCustomFileExtension <ICustomFileExtension[]>]
[-ScanningRuleFileExtension <FileExtensionsType[]>]
[-Type <ScanRulesetType>]
[<CommonParameters>]
Description
建立 AzureStorageScanRuleset 的記憶體內部物件。
範例
範例 1:建立 Azure 記憶體自定義 scanruleset 物件
New-AzPurviewAzureStorageScanRulesetObject -Kind 'AzureStorage' -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 : AzureStorage
LastModifiedAt :
Name :
ScanningRuleCustomFileExtension :
ScanningRuleFileExtension : {CSV, JSON, PSV, SSV…}
Status :
Type : Custom
Version :
建立 Azure 記憶體自定義 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 一節。
-ScanningRuleFileExtension
-Type
類型: | ScanRulesetType |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
輸出
AzureStorageScanRuleset