New-AzPurviewAzureSubscriptionCredentialScanObject
Create an in-memory object for AzureSubscriptionCredentialScan.
Syntax
Default (Default)
New-AzPurviewAzureSubscriptionCredentialScanObject
[-CollectionReferenceName <String>]
[-CollectionType <String>]
[-ConnectedViaReferenceName <String>]
[-CredentialReferenceName <String>]
[-CredentialType <String>]
[-ResourceType <IExpandingResourceScanPropertiesResourceTypes>]
[-ScanRulesetName <String>]
[-ScanRulesetType <String>]
[-Worker <Int32>]
[<CommonParameters>]
Description
Create an in-memory object for AzureSubscriptionCredentialScan.
Examples
Example 1: Create Azure resource sub Credential scan object
New-AzPurviewAzureSubscriptionCredentialScanObject -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 : AzureSubscriptionCredential
LastModifiedAt :
Name :
ResourceType : {
}
Result :
ScanRulesetName :
ScanRulesetType :
Worker :
Create Azure resource sub Credential scan object
Parameters
-CollectionReferenceName
Create an in-memory object for AzureSubscriptionCredentialScan.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-CollectionType
Create an in-memory object for AzureSubscriptionCredentialScan.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ConnectedViaReferenceName
Create an in-memory object for AzureSubscriptionCredentialScan.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-CredentialReferenceName
Create an in-memory object for AzureSubscriptionCredentialScan.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-CredentialType
Create an in-memory object for AzureSubscriptionCredentialScan.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceType
Create an in-memory object for AzureSubscriptionCredentialScan.
Parameter properties
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ScanRulesetName
Create an in-memory object for AzureSubscriptionCredentialScan.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ScanRulesetType
Create an in-memory object for AzureSubscriptionCredentialScan.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Worker
Create an in-memory object for AzureSubscriptionCredentialScan.
Parameter properties
Type: Int32
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs