These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.sql.getServerVulnerabilityAssessment
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets the server’s vulnerability assessment. API Version: 2020-11-01-preview.
Using getServerVulnerabilityAssessment
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 getServerVulnerabilityAssessment(args: GetServerVulnerabilityAssessmentArgs, opts?: InvokeOptions): Promise<GetServerVulnerabilityAssessmentResult>
function getServerVulnerabilityAssessmentOutput(args: GetServerVulnerabilityAssessmentOutputArgs, opts?: InvokeOptions): Output<GetServerVulnerabilityAssessmentResult>
def get_server_vulnerability_assessment(resource_group_name: Optional[str] = None,
server_name: Optional[str] = None,
vulnerability_assessment_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServerVulnerabilityAssessmentResult
def get_server_vulnerability_assessment_output(resource_group_name: Optional[pulumi.Input[str]] = None,
server_name: Optional[pulumi.Input[str]] = None,
vulnerability_assessment_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServerVulnerabilityAssessmentResult]
func LookupServerVulnerabilityAssessment(ctx *Context, args *LookupServerVulnerabilityAssessmentArgs, opts ...InvokeOption) (*LookupServerVulnerabilityAssessmentResult, error)
func LookupServerVulnerabilityAssessmentOutput(ctx *Context, args *LookupServerVulnerabilityAssessmentOutputArgs, opts ...InvokeOption) LookupServerVulnerabilityAssessmentResultOutput
> Note: This function is named LookupServerVulnerabilityAssessment
in the Go SDK.
public static class GetServerVulnerabilityAssessment
{
public static Task<GetServerVulnerabilityAssessmentResult> InvokeAsync(GetServerVulnerabilityAssessmentArgs args, InvokeOptions? opts = null)
public static Output<GetServerVulnerabilityAssessmentResult> Invoke(GetServerVulnerabilityAssessmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetServerVulnerabilityAssessmentResult> getServerVulnerabilityAssessment(GetServerVulnerabilityAssessmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:sql:getServerVulnerabilityAssessment
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Server
Name string - The name of the server for which the vulnerability assessment is defined.
- Vulnerability
Assessment stringName - The name of the vulnerability assessment.
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Server
Name string - The name of the server for which the vulnerability assessment is defined.
- Vulnerability
Assessment stringName - The name of the vulnerability assessment.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server
Name String - The name of the server for which the vulnerability assessment is defined.
- vulnerability
Assessment StringName - The name of the vulnerability assessment.
- resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server
Name string - The name of the server for which the vulnerability assessment is defined.
- vulnerability
Assessment stringName - The name of the vulnerability assessment.
- resource_
group_ strname - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server_
name str - The name of the server for which the vulnerability assessment is defined.
- vulnerability_
assessment_ strname - The name of the vulnerability assessment.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server
Name String - The name of the server for which the vulnerability assessment is defined.
- vulnerability
Assessment StringName - The name of the vulnerability assessment.
getServerVulnerabilityAssessment Result
The following output properties are available:
- Id string
- Resource ID.
- Name string
- Resource name.
- Type string
- Resource type.
- Recurring
Scans Pulumi.Azure Native. Sql. Outputs. Vulnerability Assessment Recurring Scans Properties Response - The recurring scans settings
- Id string
- Resource ID.
- Name string
- Resource name.
- Type string
- Resource type.
- Recurring
Scans VulnerabilityAssessment Recurring Scans Properties Response - The recurring scans settings
- id String
- Resource ID.
- name String
- Resource name.
- type String
- Resource type.
- recurring
Scans VulnerabilityAssessment Recurring Scans Properties Response - The recurring scans settings
- id string
- Resource ID.
- name string
- Resource name.
- type string
- Resource type.
- recurring
Scans VulnerabilityAssessment Recurring Scans Properties Response - The recurring scans settings
- id str
- Resource ID.
- name str
- Resource name.
- type str
- Resource type.
- recurring_
scans VulnerabilityAssessment Recurring Scans Properties Response - The recurring scans settings
- id String
- Resource ID.
- name String
- Resource name.
- type String
- Resource type.
- recurring
Scans Property Map - The recurring scans settings
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-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi