New-AzPurviewAmazonPostgreSqlCredentialScanObject
建立 AmazonPostgreSqlCredentialScan 的記憶體內部物件。
語法
New-AzPurviewAmazonPostgreSqlCredentialScanObject
-Kind <ScanAuthorizationType>
[-CollectionReferenceName <String>]
[-CollectionType <String>]
[-ConnectedViaReferenceName <String>]
[-CredentialReferenceName <String>]
[-CredentialType <CredentialType>]
[-DatabaseName <String>]
[-Port <Int32>]
[-ScanRulesetName <String>]
[-ScanRulesetType <ScanRulesetType>]
[-ServerEndpoint <String>]
[-VpcEndpointServiceName <String>]
[-Worker <Int32>]
[<CommonParameters>]
Description
建立 AmazonPostgreSqlCredentialScan 的記憶體內部物件。
範例
範例 1:建立 Amazon Account PostgreSQL 掃描物件
New-AzPurviewAmazonPostgreSqlCredentialScanObject -Kind 'AmazonPostgreSqlCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -ScanRulesetName 'AmazonPostgreSql' -ScanRulesetType 'System' -ServerEndpoint 'DummyServer' -VpcEndpointServiceName 'com.amazonaws.ypce.wus.123456789'
CollectionLastModifiedAt :
CollectionReferenceName : parv-brs-2
CollectionType : CollectionReference
ConnectedViaReferenceName :
CreatedAt :
CredentialReferenceName : sqlauth
CredentialType : SqlAuth
DatabaseName : db
Id :
Kind : AmazonPostgreSqlCredential
LastModifiedAt :
Name :
Port : 5432
Result :
ScanRulesetName : AmazonPostgreSql
ScanRulesetType : System
ServerEndpoint : DummyServer
VpcEndpointServiceName : com.amazonaws.ypce.wus.123456789
Worker :
建立 Amazon Account PostgreSQL 掃描物件
參數
-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
-Port
類型: | Int32 |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ScanRulesetName
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ScanRulesetType
類型: | ScanRulesetType |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ServerEndpoint
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-VpcEndpointServiceName
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Worker
類型: | Int32 |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
輸出
AmazonPostgreSqlCredentialScan