New-AzPurviewAdlsGen2CredentialScanObject
建立 AdlsGen2CredentialScan 的記憶體內部物件。
語法
New-AzPurviewAdlsGen2CredentialScanObject
-Kind <ScanAuthorizationType>
[-CollectionReferenceName <String>]
[-CollectionType <String>]
[-ConnectedViaReferenceName <String>]
[-CredentialReferenceName <String>]
[-CredentialType <CredentialType>]
[-ScanRulesetName <String>]
[-ScanRulesetType <ScanRulesetType>]
[-Worker <Int32>]
[<CommonParameters>]
Description
建立 AdlsGen2CredentialScan 的記憶體內部物件。
範例
範例 1:建立 AdlsGen2 認證掃描物件
New-AzPurviewAdlsGen2CredentialScanObject -Kind 'AdlsGen2Credential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'datascantestdataparv-accountkey' -CredentialType 'AccountKey' -ScanRulesetName 'AdlsGen2' -ScanRulesetType 'System'
CollectionLastModifiedAt :
CollectionReferenceName : parv-brs-2
CollectionType : CollectionReference
ConnectedViaReferenceName :
CreatedAt :
CredentialReferenceName : datascantestdataparv-accountkey
CredentialType : AccountKey
Id :
Kind : AdlsGen2Credential
LastModifiedAt :
Name :
Result :
ScanRulesetName : AdlsGen2
ScanRulesetType : System
Worker :
建立 AdlsGen2 認證掃描物件
參數
-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
-ScanRulesetName
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ScanRulesetType
類型: | ScanRulesetType |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Worker
類型: | Int32 |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
輸出
AdlsGen2CredentialScan