New-AzPurviewSqlServerDatabaseScanRulesetObject
Create an in-memory object for SqlServerDatabaseScanRuleset.
Syntax
New-AzPurviewSqlServerDatabaseScanRulesetObject
-Kind <DataSourceType>
[-Description <String>]
[-ExcludedSystemClassification <String[]>]
[-IncludedCustomClassificationRuleName <String[]>]
[-Type <ScanRulesetType>]
[<CommonParameters>]
Description
Create an in-memory object for SqlServerDatabaseScanRuleset.
Examples
Example 1: Create Sql Server Db custom scanruleset object
New-AzPurviewSqlServerDatabaseScanRulesetObject -Kind 'SqlServerDatabase' -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 :
Create Sql Server Db 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 |
-Type
Type: | ScanRulesetType |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
SqlServerDatabaseScanRuleset