New-AzPurviewAmazonAccountCredentialScanObject
建立 AmazonAccountCredentialScan 的記憶體內部物件。
語法
New-AzPurviewAmazonAccountCredentialScanObject
-Kind <ScanAuthorizationType>
[-CollectionReferenceName <String>]
[-CollectionType <String>]
[-ConnectedViaReferenceName <String>]
[-CredentialReferenceName <String>]
[-CredentialType <CredentialType>]
[-ResourceType <IExpandingResourceScanPropertiesResourceTypes>]
[-ScanRulesetName <String>]
[-ScanRulesetType <ScanRulesetType>]
[-Worker <Int32>]
[<CommonParameters>]
Description
建立 AmazonAccountCredentialScan 的記憶體內部物件。
範例
範例 1:建立 Amazon 帳戶認證掃描物件
New-AzPurviewAmazonAccountCredentialScanObject -Kind 'AmazonAccountCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'rolearncred' -CredentialType 'AmazonARN'
CollectionLastModifiedAt :
CollectionReferenceName : parv-brs-2
CollectionType : CollectionReference
ConnectedViaReferenceName :
CreatedAt :
CredentialReferenceName : rolearncred
CredentialType : AmazonARN
Id :
Kind : AmazonAccountCredential
LastModifiedAt :
Name :
ResourceType : {
}
Result :
ScanRulesetName : AmazonAccount
ScanRulesetType : System
Worker :
建立 Amazon 帳戶認證掃描物件
參數
-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 |
-Kind
-ResourceType
若要建構,請參閱 RESOURCETYPE 屬性的 NOTES 區段並建立哈希表。
-ScanRulesetName
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ScanRulesetType
類型: | ScanRulesetType |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Worker
類型: | Int32 |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
輸出
AmazonAccountCredentialScan