你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
New-AzPurviewAzureSqlDatabaseManagedInstanceCredentialScanObject
为 AzureSqlDatabaseManagedInstanceCredentialScan 创建内存中对象。
语法
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>]
说明
为 AzureSqlDatabaseManagedInstanceCredentialScan 创建内存中对象。
示例
示例 1:创建 Azure Sql 数据库托管实例凭据扫描对象
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 :
创建 Azure Sql 数据库托管实例凭据扫描对象
参数
-CollectionReferenceName
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-CollectionType
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-ConnectedViaReferenceName
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-CredentialReferenceName
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-CredentialType
类型: | CredentialType |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-DatabaseName
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Kind
-ScanRulesetName
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-ScanRulesetType
类型: | ScanRulesetType |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-ServerEndpoint
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Worker
类型: | Int32 |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
输出
AzureSqlDatabaseManagedInstanceCredentialScan