New-AzPurviewAzureResourceGroupCredentialScanObject
建立 AzureResourceGroupCredentialScan 的記憶體內部物件。
語法
New-AzPurviewAzureResourceGroupCredentialScanObject
-Kind <ScanAuthorizationType>
[-CollectionReferenceName <String>]
[-CollectionType <String>]
[-ConnectedViaReferenceName <String>]
[-CredentialReferenceName <String>]
[-CredentialType <CredentialType>]
[-ResourceType <IExpandingResourceScanPropertiesResourceTypes>]
[-ScanRulesetName <String>]
[-ScanRulesetType <ScanRulesetType>]
[-Worker <Int32>]
[<CommonParameters>]
Description
建立 AzureResourceGroupCredentialScan 的記憶體內部物件。
範例
範例 1:建立 Azure 資源群組認證掃描物件
New-AzPurviewAzureResourceGroupCredentialScanObject -Kind 'AzureResourceGroupCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialType 'ServicePrincipal' -CredentialReferenceName 'svcp'
CollectionLastModifiedAt :
CollectionReferenceName : parv-brs-2
CollectionType : CollectionReference
ConnectedViaReferenceName :
CreatedAt :
CredentialReferenceName : svcp
CredentialType : ServicePrincipal
Id :
Kind : AzureResourceGroupCredential
LastModifiedAt :
Name : ScanTest
ResourceType : {
}
Result :
ScanRulesetName :
ScanRulesetType :
Worker :
建立 Azure 資源群組認證掃描物件
參數
-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 |
輸出
AzureResourceGroupCredentialScan