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

New-AzPurviewAdlsGen2MsiScanObject

Create an in-memory object for AdlsGen2MsiScan.

Syntax

New-AzPurviewAdlsGen2MsiScanObject
   -Kind <ScanAuthorizationType>
   [-CollectionReferenceName <String>]
   [-CollectionType <String>]
   [-ConnectedViaReferenceName <String>]
   [-ScanRulesetName <String>]
   [-ScanRulesetType <ScanRulesetType>]
   [-Worker <Int32>]
   [<CommonParameters>]

Description

Create an in-memory object for AdlsGen2MsiScan.

Examples

Example 1: Create AdlsGen2 Msi scan object

New-AzPurviewAdlsGen2MsiScanObject -Kind 'AdlsGen2Msi' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -ScanRulesetName 'AdlsGen2' -ScanRulesetType 'System'

CollectionLastModifiedAt  :
CollectionReferenceName   : parv-brs-2
CollectionType            : CollectionReference
ConnectedViaReferenceName :
CreatedAt                 :
Id                        :
Kind                      : AdlsGen2Msi
LastModifiedAt            :
Name                      :
Result                    :
ScanRulesetName           : AdlsGen2
ScanRulesetType           : System
Worker                    :

Create AdlsGen2 Msi scan object

Parameters

-CollectionReferenceName

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

-CollectionType

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

-ConnectedViaReferenceName

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

-Kind

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

-ScanRulesetName

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

-ScanRulesetType

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

-Worker

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

Outputs

AdlsGen2MsiScan