Modifier

Partager via


New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject

Create an in-memory object for AzureSqlDatabaseManagedInstanceCredentialScan.

Syntax

New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject
   -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 AzureSqlDatabaseManagedInstanceCredentialScan.

Examples

Example 1: Create Azure Sql Database Managed Instance Credential scan object

New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject -Kind 'AzureSqlDatabaseManagedInstanceCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -ScanRulesetName 'AzureSqlDatabaseManagedInstance' -ScanRulesetType 'System' -ServerEndpoint 'tcp:sqstzn.public.5aaf14.database.windows.net,3342'

CollectionLastModifiedAt  :
CollectionReferenceName   : parv-brs-2
CollectionType            : CollectionReference
ConnectedViaReferenceName :
CreatedAt                 :
CredentialReferenceName   : sqlauth
CredentialType            : SqlAuth
DatabaseName              : db
Id                        :
Kind                      : AzureSqlDatabaseManagedInstanceCredential
LastModifiedAt            :
Name                      :
Result                    :
ScanRulesetName           : AzureSqlDatabaseManagedInstance
ScanRulesetType           : System
ServerEndpoint            : tcp:sqstzn.public.5aaf14.database.windows.net,3342
Worker                    :

Create Azure Sql Database Managed Instance Credential scan object

Parameters

-CollectionReferenceName

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CollectionType

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ConnectedViaReferenceName

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CredentialReferenceName

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CredentialType

Type:CredentialType
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DatabaseName

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Kind

Type:ScanAuthorizationType
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ScanRulesetName

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ScanRulesetType

Type:ScanRulesetType
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ServerEndpoint

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Worker

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

AzureSqlDatabaseManagedInstanceCredentialScan