azure-native.synapse.getSqlPoolVulnerabilityAssessment
Explore with Pulumi AI
Gets the Sql pool’s vulnerability assessment.
Uses Azure REST API version 2021-06-01.
Other available API versions: 2021-04-01-preview, 2021-05-01, 2021-06-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native synapse [ApiVersion]
. See the version guide for details.
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>
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]
func LookupSqlPoolVulnerabilityAssessment(ctx *Context, args *LookupSqlPoolVulnerabilityAssessmentArgs, opts ...InvokeOption) (*LookupSqlPoolVulnerabilityAssessmentResult, error)
func LookupSqlPoolVulnerabilityAssessmentOutput(ctx *Context, args *LookupSqlPoolVulnerabilityAssessmentOutputArgs, opts ...InvokeOption) LookupSqlPoolVulnerabilityAssessmentResultOutput
> 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)
}
public static CompletableFuture<GetSqlPoolVulnerabilityAssessmentResult> getSqlPoolVulnerabilityAssessment(GetSqlPoolVulnerabilityAssessmentArgs args, InvokeOptions options)
public static Output<GetSqlPoolVulnerabilityAssessmentResult> getSqlPoolVulnerabilityAssessment(GetSqlPoolVulnerabilityAssessmentArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:synapse:getSqlPoolVulnerabilityAssessment
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Sql
Pool stringName - SQL pool name
- Vulnerability
Assessment stringName - The name of the vulnerability assessment.
- Workspace
Name string - The name of the workspace.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Sql
Pool stringName - SQL pool name
- Vulnerability
Assessment stringName - The name of the vulnerability assessment.
- Workspace
Name string - The name of the workspace.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- sql
Pool StringName - SQL pool name
- vulnerability
Assessment StringName - The name of the vulnerability assessment.
- workspace
Name String - The name of the workspace.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- sql
Pool stringName - SQL pool name
- vulnerability
Assessment stringName - The name of the vulnerability assessment.
- workspace
Name string - The name of the workspace.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- sql_
pool_ strname - SQL pool name
- vulnerability_
assessment_ strname - The name of the vulnerability assessment.
- workspace_
name str - The name of the workspace.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- sql
Pool StringName - SQL pool name
- vulnerability
Assessment StringName - The name of the vulnerability assessment.
- workspace
Name String - The name of the workspace.
getSqlPoolVulnerabilityAssessment Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- 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"
- Recurring
Scans Pulumi.Azure Native. Synapse. Outputs. Vulnerability Assessment Recurring Scans Properties Response - The recurring scans settings
- Storage
Container stringPath - 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
- Azure
Api stringVersion - The Azure API version of the resource.
- 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"
- Recurring
Scans VulnerabilityAssessment Recurring Scans Properties Response - The recurring scans settings
- Storage
Container stringPath - 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
- azure
Api StringVersion - The Azure API version of the resource.
- 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"
- recurring
Scans VulnerabilityAssessment Recurring Scans Properties Response - The recurring scans settings
- storage
Container StringPath - 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
- azure
Api stringVersion - The Azure API version of the resource.
- 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"
- recurring
Scans VulnerabilityAssessment Recurring Scans Properties Response - The recurring scans settings
- storage
Container stringPath - 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
- azure_
api_ strversion - The Azure API version of the resource.
- 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 VulnerabilityAssessment Recurring Scans Properties Response - The recurring scans settings
- storage_
container_ strpath - 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
- azure
Api StringVersion - The Azure API version of the resource.
- 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"
- recurring
Scans Property Map - The recurring scans settings
- storage
Container StringPath - 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
- Email
Subscription boolAdmins - 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.
- Is
Enabled bool - Recurring scans state.
- Email
Subscription boolAdmins - 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.
- Is
Enabled bool - Recurring scans state.
- email
Subscription BooleanAdmins - 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.
- is
Enabled Boolean - Recurring scans state.
- email
Subscription booleanAdmins - 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.
- is
Enabled boolean - Recurring scans state.
- email_
subscription_ booladmins - 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.
- email
Subscription BooleanAdmins - 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.
- is
Enabled Boolean - Recurring scans state.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0