New-AzPurviewAzureCosmosDbScanRulesetObject
Create an in-memory object for AzureCosmosDbScanRuleset.
PowerShell
New-AzPurviewAzureCosmosDbScanRulesetObject
-Kind <DataSourceType>
[-Description <String>]
[-ExcludedSystemClassification <String[]>]
[-IncludedCustomClassificationRuleName <String[]>]
[-Type <ScanRulesetType>]
[<CommonParameters>]
Create an in-memory object for AzureCosmosDbScanRuleset.
PowerShell
New-AzPurviewAzureCosmosDbScanRulesetObject -Kind 'AzureCosmosDb' -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 : AzureCosmosDb
LastModifiedAt :
Name :
Status :
Type : Custom
Version :
Create CosmosDB custom scanruleset object
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Type: | DataSourceType |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Type: | ScanRulesetType |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell feedback
Azure PowerShell is an open source project. Select a link to provide feedback: