New-AzPurviewAdlsGen2ScanRulesetObject
Create an in-memory object for AdlsGen2ScanRuleset.
Syntax
New-AzPurviewAdlsGen2ScanRulesetObject
-Kind <DataSourceType>
[-Description <String>]
[-ExcludedSystemClassification <String[]>]
[-IncludedCustomClassificationRuleName <String[]>]
[-ScanningRuleCustomFileExtension <ICustomFileExtension[]>]
[-ScanningRuleFileExtension <FileExtensionsType[]>]
[-Type <ScanRulesetType>]
[<CommonParameters>]
Description
Create an in-memory object for AdlsGen2ScanRuleset.
Examples
Example 1: Create AdlsGen2 custom scanruleset object
New-AzPurviewAdlsGen2ScanRulesetObject -Kind 'AdlsGen2' -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 : AdlsGen2
LastModifiedAt :
Name :
ScanningRuleCustomFileExtension :
ScanningRuleFileExtension : {CSV, JSON, PSV, SSVā¦}
Status :
Type : Custom
Version :
Create AdlsGen2 custom scanruleset object
Parameters
-Description
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ExcludedSystemClassification
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IncludedCustomClassificationRuleName
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Kind
Type: | DataSourceType |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ScanningRuleCustomFileExtension
To construct, see NOTES section for SCANNINGRULECUSTOMFILEEXTENSION properties and create a hash table.
Type: | ICustomFileExtension[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ScanningRuleFileExtension
Type: | FileExtensionsType[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Type
Type: | ScanRulesetType |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
AdlsGen2ScanRuleset