你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
New-AzPurviewAmazonS3CredentialScanObject
为 AmazonS3CredentialScan 创建内存中对象。
语法
New-AzPurviewAmazonS3CredentialScanObject
-Kind <ScanAuthorizationType>
[-CollectionReferenceName <String>]
[-CollectionType <String>]
[-ConnectedViaReferenceName <String>]
[-CredentialReferenceName <String>]
[-CredentialType <CredentialType>]
[-IsMauiScan <Boolean>]
[-RoleArn <String>]
[-ScanRulesetName <String>]
[-ScanRulesetType <ScanRulesetType>]
[-Worker <Int32>]
[<CommonParameters>]
说明
为 AmazonS3CredentialScan 创建内存中对象。
示例
示例 1:创建 Amazon S3 凭据扫描对象
New-AzPurviewAmazonS3CredentialScanObject -Kind 'AmazonS3Credential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'rolearncred' -CredentialType 'AmazonARN' -ScanRulesetName 'AmazonS3' -ScanRulesetType 'System' -IsMauiScan $false
CollectionLastModifiedAt :
CollectionReferenceName : parv-brs-2
CollectionType : CollectionReference
ConnectedViaReferenceName :
CreatedAt :
CredentialReferenceName : rolearncred
CredentialType : AmazonARN
Id :
IsMauiScan : False
Kind : AmazonS3Credential
LastModifiedAt :
Name :
Result :
RoleArn :
ScanRulesetName : AmazonS3
ScanRulesetType : System
Worker :
创建 Amazon S3 凭据扫描对象
参数
-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 |
-IsMauiScan
类型: | Boolean |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Kind
-RoleArn
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-ScanRulesetName
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-ScanRulesetType
类型: | ScanRulesetType |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Worker
类型: | Int32 |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
输出
AmazonS3CredentialScan