New-AzPurviewAzureSynapseWorkspaceCredentialScanObject
Create an in-memory object for AzureSynapseWorkspaceCredentialScan.
Syntax
New-AzPurviewAzureSynapseWorkspaceCredentialScanObject
-Kind <ScanAuthorizationType>
[-CollectionReferenceName <String>]
[-CollectionType <String>]
[-ConnectedViaReferenceName <String>]
[-CredentialReferenceName <String>]
[-CredentialType <CredentialType>]
[-ResourceType <IExpandingResourceScanPropertiesResourceTypes>]
[-ScanRulesetName <String>]
[-ScanRulesetType <ScanRulesetType>]
[-Worker <Int32>]
[<CommonParameters>]
Description
Create an in-memory object for AzureSynapseWorkspaceCredentialScan.
Examples
Example 1: Create Azure Synapse Workspace Credential scan object
New-AzPurviewAzureSynapseWorkspaceCredentialScanObject -Kind 'AzureSynapseWorkspaceCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialType 'ServicePrincipal' -CredentialReferenceName 'svcp' -ScanRulesetName 'AzureSynapseSQL' -ScanRulesetType 'System'
CollectionLastModifiedAt :
CollectionReferenceName : parv-brs-2
CollectionType : CollectionReference
ConnectedViaReferenceName :
CreatedAt :
CredentialReferenceName : svcp
CredentialType : ServicePrincipal
Id :
Kind : AzureSynapseWorkspaceCredential
LastModifiedAt :
Name :
ResourceType : {
}
Result :
ScanRulesetName : AzureSynapseSQL
ScanRulesetType : System
Worker :
Create Azure Synapse Workspace Credential 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
-CredentialReferenceName
Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-CredentialType
Type: CredentialType
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
-ResourceType
To construct, see NOTES section for RESOURCETYPE properties and create a hash table.
-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
AzureSynapseWorkspaceCredentialScan