你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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>]

说明

为 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

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-CollectionType

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-ConnectedViaReferenceName

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-CredentialReferenceName

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-CredentialType

Type:CredentialType
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-Kind

Type:ScanAuthorizationType
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-ResourceType

若要构造,请参阅 RESOURCETYPE 属性的 NOTES 部分,并创建哈希表。

Type:IExpandingResourceScanPropertiesResourceTypes
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-ScanRulesetName

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-ScanRulesetType

Type:ScanRulesetType
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-Worker

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

输出

AmazonAccountCredentialScan

备注

别名

复杂参数属性

若要创建下面所述的参数,请构造包含相应属性的哈希表。 有关哈希表的信息,请运行Get-Help about_Hash_Tables。

RESOURCETYPE <IExpandingResourceScanPropertiesResourceTypes>

  • [AdlGen1ScanRulesetName <String>]:
  • [AdlGen1ScanRulesetType <ScanRulesetType?>]:
  • [AdlGen2ScanRulesetName <String>]:
  • [AdlGen2ScanRulesetType <ScanRulesetType?>]:
  • [AdlsGen1CredentialReferenceName <String>]:
  • [AdlsGen1CredentialType <CredentialType?>]:
  • [AdlsGen1ResourceNameFilterExcludePrefix <String[]>]:
  • [AdlsGen1ResourceNameFilterIncludePrefix <String[]>]:
  • [AdlsGen1ResourceNameFilterResource <String[]>]:
  • [AdlsGen2CredentialReferenceName <String>]:
  • [AdlsGen2CredentialType <CredentialType?>]:
  • [AdlsGen2ResourceNameFilterExcludePrefix <String[]>]:
  • [AdlsGen2ResourceNameFilterIncludePrefix <String[]>]:
  • [AdlsGen2ResourceNameFilterResource <String[]>]:
  • [AmazonAccountCredentialReferenceName <String>]:
  • [AmazonAccountCredentialType <CredentialType?>]:
  • [AmazonAccountResourceNameFilterExcludePrefix <String[]>]:
  • [AmazonAccountResourceNameFilterIncludePrefix <String[]>]:
  • [AmazonAccountResourceNameFilterResource <String[]>]:
  • [AmazonAccountScanRulesetName <String>]:
  • [AmazonAccountScanRulesetType <ScanRulesetType?>]:
  • [AmazonPostgreSqlCredentialReferenceName <String>]:
  • [AmazonPostgreSqlCredentialType <CredentialType?>]:
  • [AmazonPostgreSqlResourceNameFilterExcludePrefix <String[]>]:
  • [AmazonPostgreSqlResourceNameFilterIncludePrefix <String[]>]:
  • [AmazonPostgreSqlResourceNameFilterResource <String[]>]:
  • [AmazonPostgreSqlScanRulesetName <String>]:
  • [AmazonPostgreSqlScanRulesetType <ScanRulesetType?>]:
  • [AmazonS3CredentialReferenceName <String>]:
  • [AmazonS3CredentialType <CredentialType?>]:
  • [AmazonS3ResourceNameFilterExcludePrefix <String[]>]:
  • [AmazonS3ResourceNameFilterIncludePrefix <String[]>]:
  • [AmazonS3ResourceNameFilterResource <String[]>]:
  • [AmazonS3ScanRulesetName <String>]:
  • [AmazonS3ScanRulesetType <ScanRulesetType?>]:
  • [AmazonSqlCredentialReferenceName <String>]:
  • [AmazonSqlCredentialType <CredentialType?>]:
  • [AmazonSqlResourceNameFilterExcludePrefix <String[]>]:
  • [AmazonSqlResourceNameFilterIncludePrefix <String[]>]:
  • [AmazonSqlResourceNameFilterResource <String[]>]:
  • [AmazonSqlScanRulesetName <String>]:
  • [AmazonSqlScanRulesetType <ScanRulesetType?>]:
  • [AzureCosmoDbScanRulesetName <String>]:
  • [AzureCosmoDbScanRulesetType <ScanRulesetType?>]:
  • [AzureCosmosDbCredentialReferenceName <String>]:
  • [AzureCosmosDbCredentialType <CredentialType?>]:
  • [AzureCosmosDbResourceNameFilterExcludePrefix <String[]>]:
  • [AzureCosmosDbResourceNameFilterIncludePrefix <String[]>]:
  • [AzureCosmosDbResourceNameFilterResource <String[]>]:
  • [AzureDataExplorerCredentialReferenceName <String>]:
  • [AzureDataExplorerCredentialType <CredentialType?>]:
  • [AzureDataExplorerResourceNameFilterExcludePrefix <String[]>]:
  • [AzureDataExplorerResourceNameFilterIncludePrefix <String[]>]:
  • [AzureDataExplorerResourceNameFilterResource <String[]>]:
  • [AzureDataExplorerScanRulesetName <String>]:
  • [AzureDataExplorerScanRulesetType <ScanRulesetType?>]:
  • [AzureFileServiceCredentialReferenceName <String>]:
  • [AzureFileServiceCredentialType <CredentialType?>]:
  • [AzureFileServiceResourceNameFilterExcludePrefix <String[]>]:
  • [AzureFileServiceResourceNameFilterIncludePrefix <String[]>]:
  • [AzureFileServiceResourceNameFilterResource <String[]>]:
  • [AzureFileServiceScanRulesetName <String>]:
  • [AzureFileServiceScanRulesetType <ScanRulesetType?>]:
  • [AzureMySqlCredentialReferenceName <String>]:
  • [AzureMySqlCredentialType <CredentialType?>]:
  • [AzureMySqlResourceNameFilterExcludePrefix <String[]>]:
  • [AzureMySqlResourceNameFilterIncludePrefix <String[]>]:
  • [AzureMySqlResourceNameFilterResource <String[]>]:
  • [AzureMySqlScanRulesetName <String>]:
  • [AzureMySqlScanRulesetType <ScanRulesetType?>]:
  • [AzurePostgreSqlCredentialReferenceName <String>]:
  • [AzurePostgreSqlCredentialType <CredentialType?>]:
  • [AzurePostgreSqlResourceNameFilterExcludePrefix <String[]>]:
  • [AzurePostgreSqlResourceNameFilterIncludePrefix <String[]>]:
  • [AzurePostgreSqlResourceNameFilterResource <String[]>]:
  • [AzurePostgreSqlScanRulesetName <String>]:
  • [AzurePostgreSqlScanRulesetType <ScanRulesetType?>]:
  • [AzureResourceGroupCredentialReferenceName <String>]:
  • [AzureResourceGroupCredentialType <CredentialType?>]:
  • [AzureResourceGroupResourceNameFilterExcludePrefix <String[]>]:
  • [AzureResourceGroupResourceNameFilterIncludePrefix <String[]>]:
  • [AzureResourceGroupResourceNameFilterResource <String[]>]:
  • [AzureResourceGroupScanRulesetName <String>]:
  • [AzureResourceGroupScanRulesetType <ScanRulesetType?>]:
  • [AzureSqlDataWarehouseCredentialReferenceName <String>]:
  • [AzureSqlDataWarehouseCredentialType <CredentialType?>]:
  • [AzureSqlDataWarehouseResourceNameFilterExcludePrefix <String[]>]:
  • [AzureSqlDataWarehouseResourceNameFilterIncludePrefix <String[]>]:
  • [AzureSqlDataWarehouseResourceNameFilterResource <String[]>]:
  • [AzureSqlDataWarehouseScanRulesetName <String>]:
  • [AzureSqlDataWarehouseScanRulesetType <ScanRulesetType?>]:
  • [AzureSqlDatabaseCredentialReferenceName <String>]:
  • [AzureSqlDatabaseCredentialType <CredentialType?>]:
  • [AzureSqlDatabaseManagedInstanceCredentialReferenceName <String>]:
  • [AzureSqlDatabaseManagedInstanceCredentialType <CredentialType?>]:
  • [AzureSqlDatabaseManagedInstanceResourceNameFilterExcludePrefix <String[]>]:
  • [AzureSqlDatabaseManagedInstanceResourceNameFilterIncludePrefix <String[]>]:
  • [AzureSqlDatabaseManagedInstanceResourceNameFilterResource <String[]>]:
  • [AzureSqlDatabaseManagedInstanceScanRulesetName <String>]:
  • [AzureSqlDatabaseManagedInstanceScanRulesetType <ScanRulesetType?>]:
  • [AzureSqlDatabaseResourceNameFilterExcludePrefix <String[]>]:
  • [AzureSqlDatabaseResourceNameFilterIncludePrefix <String[]>]:
  • [AzureSqlDatabaseResourceNameFilterResource <String[]>]:
  • [AzureSqlDatabaseScanRulesetName <String>]:
  • [AzureSqlDatabaseScanRulesetType <ScanRulesetType?>]:
  • [AzureStorageCredentialReferenceName <String>]:
  • [AzureStorageCredentialType <CredentialType?>]:
  • [AzureStorageResourceNameFilterExcludePrefix <String[]>]:
  • [AzureStorageResourceNameFilterIncludePrefix <String[]>]:
  • [AzureStorageResourceNameFilterResource <String[]>]:
  • [AzureStorageScanRulesetName <String>]:
  • [AzureStorageScanRulesetType <ScanRulesetType?>]:
  • [AzureSubscriptionCredentialReferenceName <String>]:
  • [AzureSubscriptionCredentialType <CredentialType?>]:
  • [AzureSubscriptionResourceNameFilterExcludePrefix <String[]>]:
  • [AzureSubscriptionResourceNameFilterIncludePrefix <String[]>]:
  • [AzureSubscriptionResourceNameFilterResource <String[]>]:
  • [AzureSubscriptionScanRulesetName <String>]:
  • [AzureSubscriptionScanRulesetType <ScanRulesetType?>]:
  • [AzureSynapseCredentialReferenceName <String>]:
  • [AzureSynapseCredentialType <CredentialType?>]:
  • [AzureSynapseResourceNameFilterExcludePrefix <String[]>]:
  • [AzureSynapseResourceNameFilterIncludePrefix <String[]>]:
  • [AzureSynapseResourceNameFilterResource <String[]>]:
  • [AzureSynapseScanRulesetName <String>]:
  • [AzureSynapseScanRulesetType <ScanRulesetType?>]:
  • [AzureSynapseWorkspaceCredentialReferenceName <String>]:
  • [AzureSynapseWorkspaceCredentialType <CredentialType?>]:
  • [AzureSynapseWorkspaceResourceNameFilterExcludePrefix <String[]>]:
  • [AzureSynapseWorkspaceResourceNameFilterIncludePrefix <String[]>]:
  • [AzureSynapseWorkspaceResourceNameFilterResource <String[]>]:
  • [AzureSynapseWorkspaceScanRulesetName <String>]:
  • [AzureSynapseWorkspaceScanRulesetType <ScanRulesetType?>]:
  • [NoneCredentialReferenceName <String>]:
  • [NoneCredentialType <CredentialType?>]:
  • [NoneResourceNameFilterExcludePrefix <String[]>]:
  • [NoneResourceNameFilterIncludePrefix <String[]>]:
  • [NoneResourceNameFilterResource <String[]>]:
  • [NoneScanRulesetName <String>]:
  • [NoneScanRulesetType <ScanRulesetType?>]:
  • [OracleCredentialReferenceName <String>]:
  • [OracleCredentialType <CredentialType?>]:
  • [OracleResourceNameFilterExcludePrefix <String[]>]:
  • [OracleResourceNameFilterIncludePrefix <String[]>]:
  • [OracleResourceNameFilterResource <String[]>]:
  • [OracleScanRulesetName <String>]:
  • [OracleScanRulesetType <ScanRulesetType?>]:
  • [PowerBiCredentialReferenceName <String>]:
  • [PowerBiCredentialType <CredentialType?>]:
  • [PowerBiResourceNameFilterExcludePrefix <String[]>]:
  • [PowerBiResourceNameFilterIncludePrefix <String[]>]:
  • [PowerBiResourceNameFilterResource <String[]>]:
  • [PowerBiScanRulesetName <String>]:
  • [PowerBiScanRulesetType <ScanRulesetType?>]:
  • [SapEccCredentialReferenceName <String>]:
  • [SapEccCredentialType <CredentialType?>]:
  • [SapEccResourceNameFilterExcludePrefix <String[]>]:
  • [SapEccResourceNameFilterIncludePrefix <String[]>]:
  • [SapEccResourceNameFilterResource <String[]>]:
  • [SapEccScanRulesetName <String>]:
  • [SapEccScanRulesetType <ScanRulesetType?>]:
  • [SapS4HanaCredentialReferenceName <String>]:
  • [SapS4HanaCredentialType <CredentialType?>]:
  • [SapS4HanaResourceNameFilterExcludePrefix <String[]>]:
  • [SapS4HanaResourceNameFilterIncludePrefix <String[]>]:
  • [SapS4HanaResourceNameFilterResource <String[]>]:
  • [SapS4HanaScanRulesetName <String>]:
  • [SapS4HanaScanRulesetType <ScanRulesetType?>]:
  • [SqlServerDatabaseCredentialReferenceName <String>]:
  • [SqlServerDatabaseCredentialType <CredentialType?>]:
  • [SqlServerDatabaseResourceNameFilterExcludePrefix <String[]>]:
  • [SqlServerDatabaseResourceNameFilterIncludePrefix <String[]>]:
  • [SqlServerDatabaseResourceNameFilterResource <String[]>]:
  • [SqlServerDatabaseScanRulesetName <String>]:
  • [SqlServerDatabaseScanRulesetType <ScanRulesetType?>]:
  • [TeradataCredentialReferenceName <String>]:
  • [TeradataCredentialType <CredentialType?>]:
  • [TeradataResourceNameFilterExcludePrefix <String[]>]:
  • [TeradataResourceNameFilterIncludePrefix <String[]>]:
  • [TeradataResourceNameFilterResource <String[]>]:
  • [TeradataScanRulesetName <String>]:
  • [TeradataScanRulesetType <ScanRulesetType?>]: