Editar

Partilhar via


Get-AzSynapseSqlVulnerabilityAssessmentSetting

Gets the vulnerability assessment settings of a workspace.

Syntax

Get-AzSynapseSqlVulnerabilityAssessmentSetting
   [-ResourceGroupName <String>]
   -WorkspaceName <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzSynapseSqlVulnerabilityAssessmentSetting
   -InputObject <PSSynapseWorkspace>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzSynapseSqlVulnerabilityAssessmentSetting
   -ResourceId <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzSynapseSqlVulnerabilityAssessmentSetting cmdlet gets the vulnerability assessment settings of an Azure Synapse Analytics workspace.

Examples

Example 1

Get-AzSynapseSqlVulnerabilityAssessmentSetting -WorkspaceName ContosoWorkspace

This command gets the vulnerability assessment settings of a workspace called ContosoWorkspace.

Example 2

Get-AzSynapseWorkspace -Name ContosoWorkspace | Get-AzSynapseSqlVulnerabilityAssessmentSetting

This command gets the vulnerability assessment settings of a workspace called ContosoWorkspace through pipeline.

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

workspace input object, usually passed through the pipeline.

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

-ResourceGroupName

Resource group name.

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

-ResourceId

Resource identifier of Synapse workspace.

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

-WorkspaceName

Name of Synapse workspace.

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

Inputs

PSSynapseWorkspace

Outputs

VulnerabilityAssessmentSettingsModel