New-AzPurviewAzureSqlDatabaseCredentialScanObject
Create an in-memory object for AzureSqlDatabaseCredentialScan.
Syntax
Default (Default)
New-AzPurviewAzureSqlDatabaseCredentialScanObject
-Kind <ScanAuthorizationType>
[-CollectionReferenceName <String>]
[-CollectionType <String>]
[-ConnectedViaReferenceName <String>]
[-CredentialReferenceName <String>]
[-CredentialType <CredentialType>]
[-DatabaseName <String>]
[-ScanRulesetName <String>]
[-ScanRulesetType <ScanRulesetType>]
[-ServerEndpoint <String>]
[-Worker <Int32>]
[<CommonParameters>]
Description
Create an in-memory object for AzureSqlDatabaseCredentialScan.
Examples
Example 1: Create Azure Sql Db Credential scan object
New-AzPurviewAzureSqlDatabaseCredentialScanObject -Kind 'AzureSqlDatabaseCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabase' -ScanRulesetType 'System' -ServerEndpoint 'stzn.database.windows.net'
CollectionLastModifiedAt :
CollectionReferenceName : parv-brs-2
CollectionType : CollectionReference
ConnectedViaReferenceName :
CreatedAt :
CredentialReferenceName : sqlauth
CredentialType : SqlAuth
DatabaseName : db
Id :
Kind : AzureSqlDatabaseCredential
LastModifiedAt :
Name :
Result :
ScanRulesetName : AzureSqlDatabase
ScanRulesetType : System
ServerEndpoint : stzn.database.windows.net
Worker :
Create Azure Sql Db Credential scan object
Parameters
-CollectionReferenceName
Create an in-memory object for AzureSqlDatabaseCredentialScan.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-CollectionType
Create an in-memory object for AzureSqlDatabaseCredentialScan.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ConnectedViaReferenceName
Create an in-memory object for AzureSqlDatabaseCredentialScan.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-CredentialReferenceName
Create an in-memory object for AzureSqlDatabaseCredentialScan.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-CredentialType
Create an in-memory object for AzureSqlDatabaseCredentialScan.
Parameter properties
Type: CredentialType
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-DatabaseName
Create an in-memory object for AzureSqlDatabaseCredentialScan.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Kind
Create an in-memory object for AzureSqlDatabaseCredentialScan.
Parameter properties
Parameter sets
(All)
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ScanRulesetName
Create an in-memory object for AzureSqlDatabaseCredentialScan.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ScanRulesetType
Create an in-memory object for AzureSqlDatabaseCredentialScan.
Parameter properties
Type: ScanRulesetType
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ServerEndpoint
Create an in-memory object for AzureSqlDatabaseCredentialScan.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Worker
Create an in-memory object for AzureSqlDatabaseCredentialScan.
Parameter properties
Type: Int32
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs