1. Packages
  2. Azure Native v2
  3. API Docs
  4. synapse
  5. getSqlPoolVulnerabilityAssessment
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.synapse.getSqlPoolVulnerabilityAssessment

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets the Sql pool’s vulnerability assessment. Azure REST API version: 2021-06-01.

Other available API versions: 2021-06-01-preview.

Using getSqlPoolVulnerabilityAssessment

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getSqlPoolVulnerabilityAssessment(args: GetSqlPoolVulnerabilityAssessmentArgs, opts?: InvokeOptions): Promise<GetSqlPoolVulnerabilityAssessmentResult>
function getSqlPoolVulnerabilityAssessmentOutput(args: GetSqlPoolVulnerabilityAssessmentOutputArgs, opts?: InvokeOptions): Output<GetSqlPoolVulnerabilityAssessmentResult>
Copy
def get_sql_pool_vulnerability_assessment(resource_group_name: Optional[str] = None,
                                          sql_pool_name: Optional[str] = None,
                                          vulnerability_assessment_name: Optional[str] = None,
                                          workspace_name: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetSqlPoolVulnerabilityAssessmentResult
def get_sql_pool_vulnerability_assessment_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                          sql_pool_name: Optional[pulumi.Input[str]] = None,
                                          vulnerability_assessment_name: Optional[pulumi.Input[str]] = None,
                                          workspace_name: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetSqlPoolVulnerabilityAssessmentResult]
Copy
func LookupSqlPoolVulnerabilityAssessment(ctx *Context, args *LookupSqlPoolVulnerabilityAssessmentArgs, opts ...InvokeOption) (*LookupSqlPoolVulnerabilityAssessmentResult, error)
func LookupSqlPoolVulnerabilityAssessmentOutput(ctx *Context, args *LookupSqlPoolVulnerabilityAssessmentOutputArgs, opts ...InvokeOption) LookupSqlPoolVulnerabilityAssessmentResultOutput
Copy

> Note: This function is named LookupSqlPoolVulnerabilityAssessment in the Go SDK.

public static class GetSqlPoolVulnerabilityAssessment 
{
    public static Task<GetSqlPoolVulnerabilityAssessmentResult> InvokeAsync(GetSqlPoolVulnerabilityAssessmentArgs args, InvokeOptions? opts = null)
    public static Output<GetSqlPoolVulnerabilityAssessmentResult> Invoke(GetSqlPoolVulnerabilityAssessmentInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSqlPoolVulnerabilityAssessmentResult> getSqlPoolVulnerabilityAssessment(GetSqlPoolVulnerabilityAssessmentArgs args, InvokeOptions options)
public static Output<GetSqlPoolVulnerabilityAssessmentResult> getSqlPoolVulnerabilityAssessment(GetSqlPoolVulnerabilityAssessmentArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:synapse:getSqlPoolVulnerabilityAssessment
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
SqlPoolName
This property is required.
Changes to this property will trigger replacement.
string
SQL pool name
VulnerabilityAssessmentName
This property is required.
Changes to this property will trigger replacement.
string
The name of the vulnerability assessment.
WorkspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workspace.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
SqlPoolName
This property is required.
Changes to this property will trigger replacement.
string
SQL pool name
VulnerabilityAssessmentName
This property is required.
Changes to this property will trigger replacement.
string
The name of the vulnerability assessment.
WorkspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workspace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
sqlPoolName
This property is required.
Changes to this property will trigger replacement.
String
SQL pool name
vulnerabilityAssessmentName
This property is required.
Changes to this property will trigger replacement.
String
The name of the vulnerability assessment.
workspaceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the workspace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
sqlPoolName
This property is required.
Changes to this property will trigger replacement.
string
SQL pool name
vulnerabilityAssessmentName
This property is required.
Changes to this property will trigger replacement.
string
The name of the vulnerability assessment.
workspaceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workspace.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
sql_pool_name
This property is required.
Changes to this property will trigger replacement.
str
SQL pool name
vulnerability_assessment_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the vulnerability assessment.
workspace_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the workspace.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
sqlPoolName
This property is required.
Changes to this property will trigger replacement.
String
SQL pool name
vulnerabilityAssessmentName
This property is required.
Changes to this property will trigger replacement.
String
The name of the vulnerability assessment.
workspaceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the workspace.

getSqlPoolVulnerabilityAssessment Result

The following output properties are available:

Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Name string
The name of the resource
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
RecurringScans Pulumi.AzureNative.Synapse.Outputs.VulnerabilityAssessmentRecurringScansPropertiesResponse
The recurring scans settings
StorageContainerPath string
A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). It is required if server level vulnerability assessment policy doesn't set
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Name string
The name of the resource
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
RecurringScans VulnerabilityAssessmentRecurringScansPropertiesResponse
The recurring scans settings
StorageContainerPath string
A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). It is required if server level vulnerability assessment policy doesn't set
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name String
The name of the resource
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
recurringScans VulnerabilityAssessmentRecurringScansPropertiesResponse
The recurring scans settings
storageContainerPath String
A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). It is required if server level vulnerability assessment policy doesn't set
id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name string
The name of the resource
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
recurringScans VulnerabilityAssessmentRecurringScansPropertiesResponse
The recurring scans settings
storageContainerPath string
A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). It is required if server level vulnerability assessment policy doesn't set
id str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name str
The name of the resource
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
recurring_scans VulnerabilityAssessmentRecurringScansPropertiesResponse
The recurring scans settings
storage_container_path str
A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). It is required if server level vulnerability assessment policy doesn't set
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name String
The name of the resource
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
recurringScans Property Map
The recurring scans settings
storageContainerPath String
A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). It is required if server level vulnerability assessment policy doesn't set

Supporting Types

VulnerabilityAssessmentRecurringScansPropertiesResponse

EmailSubscriptionAdmins bool
Specifies that the schedule scan notification will be is sent to the subscription administrators.
Emails List<string>
Specifies an array of e-mail addresses to which the scan notification is sent.
IsEnabled bool
Recurring scans state.
EmailSubscriptionAdmins bool
Specifies that the schedule scan notification will be is sent to the subscription administrators.
Emails []string
Specifies an array of e-mail addresses to which the scan notification is sent.
IsEnabled bool
Recurring scans state.
emailSubscriptionAdmins Boolean
Specifies that the schedule scan notification will be is sent to the subscription administrators.
emails List<String>
Specifies an array of e-mail addresses to which the scan notification is sent.
isEnabled Boolean
Recurring scans state.
emailSubscriptionAdmins boolean
Specifies that the schedule scan notification will be is sent to the subscription administrators.
emails string[]
Specifies an array of e-mail addresses to which the scan notification is sent.
isEnabled boolean
Recurring scans state.
email_subscription_admins bool
Specifies that the schedule scan notification will be is sent to the subscription administrators.
emails Sequence[str]
Specifies an array of e-mail addresses to which the scan notification is sent.
is_enabled bool
Recurring scans state.
emailSubscriptionAdmins Boolean
Specifies that the schedule scan notification will be is sent to the subscription administrators.
emails List<String>
Specifies an array of e-mail addresses to which the scan notification is sent.
isEnabled Boolean
Recurring scans state.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi