azure-native.sql.getManagedDatabaseVulnerabilityAssessment
Explore with Pulumi AI
Gets the database’s vulnerability assessment.
Uses Azure REST API version 2023-08-01.
Other available API versions: 2017-10-01-preview, 2020-02-02-preview, 2020-08-01-preview, 2020-11-01-preview, 2021-02-01-preview, 2021-05-01-preview, 2021-08-01-preview, 2021-11-01, 2021-11-01-preview, 2022-02-01-preview, 2022-05-01-preview, 2022-08-01-preview, 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native sql [ApiVersion]
. See the version guide for details.
Using getManagedDatabaseVulnerabilityAssessment
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 getManagedDatabaseVulnerabilityAssessment(args: GetManagedDatabaseVulnerabilityAssessmentArgs, opts?: InvokeOptions): Promise<GetManagedDatabaseVulnerabilityAssessmentResult>
function getManagedDatabaseVulnerabilityAssessmentOutput(args: GetManagedDatabaseVulnerabilityAssessmentOutputArgs, opts?: InvokeOptions): Output<GetManagedDatabaseVulnerabilityAssessmentResult>
def get_managed_database_vulnerability_assessment(database_name: Optional[str] = None,
managed_instance_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
vulnerability_assessment_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagedDatabaseVulnerabilityAssessmentResult
def get_managed_database_vulnerability_assessment_output(database_name: Optional[pulumi.Input[str]] = None,
managed_instance_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
vulnerability_assessment_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagedDatabaseVulnerabilityAssessmentResult]
func LookupManagedDatabaseVulnerabilityAssessment(ctx *Context, args *LookupManagedDatabaseVulnerabilityAssessmentArgs, opts ...InvokeOption) (*LookupManagedDatabaseVulnerabilityAssessmentResult, error)
func LookupManagedDatabaseVulnerabilityAssessmentOutput(ctx *Context, args *LookupManagedDatabaseVulnerabilityAssessmentOutputArgs, opts ...InvokeOption) LookupManagedDatabaseVulnerabilityAssessmentResultOutput
> Note: This function is named LookupManagedDatabaseVulnerabilityAssessment
in the Go SDK.
public static class GetManagedDatabaseVulnerabilityAssessment
{
public static Task<GetManagedDatabaseVulnerabilityAssessmentResult> InvokeAsync(GetManagedDatabaseVulnerabilityAssessmentArgs args, InvokeOptions? opts = null)
public static Output<GetManagedDatabaseVulnerabilityAssessmentResult> Invoke(GetManagedDatabaseVulnerabilityAssessmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagedDatabaseVulnerabilityAssessmentResult> getManagedDatabaseVulnerabilityAssessment(GetManagedDatabaseVulnerabilityAssessmentArgs args, InvokeOptions options)
public static Output<GetManagedDatabaseVulnerabilityAssessmentResult> getManagedDatabaseVulnerabilityAssessment(GetManagedDatabaseVulnerabilityAssessmentArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:sql:getManagedDatabaseVulnerabilityAssessment
arguments:
# arguments dictionary
The following arguments are supported:
- Database
Name string - The name of the database for which the vulnerability assessment is defined.
- Managed
Instance stringName - The name of the managed instance.
- 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.
- Vulnerability
Assessment stringName - The name of the vulnerability assessment.
- Database
Name string - The name of the database for which the vulnerability assessment is defined.
- Managed
Instance stringName - The name of the managed instance.
- 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.
- Vulnerability
Assessment stringName - The name of the vulnerability assessment.
- database
Name String - The name of the database for which the vulnerability assessment is defined.
- managed
Instance StringName - The name of the managed instance.
- 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.
- vulnerability
Assessment StringName - The name of the vulnerability assessment.
- database
Name string - The name of the database for which the vulnerability assessment is defined.
- managed
Instance stringName - The name of the managed instance.
- 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.
- vulnerability
Assessment stringName - The name of the vulnerability assessment.
- database_
name str - The name of the database for which the vulnerability assessment is defined.
- managed_
instance_ strname - The name of the managed instance.
- 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.
- vulnerability_
assessment_ strname - The name of the vulnerability assessment.
- database
Name String - The name of the database for which the vulnerability assessment is defined.
- managed
Instance StringName - The name of the managed instance.
- 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.
- vulnerability
Assessment StringName - The name of the vulnerability assessment.
getManagedDatabaseVulnerabilityAssessment Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- 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
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Resource ID.
- Name string
- Resource name.
- Type string
- Resource type.
- Recurring
Scans VulnerabilityAssessment Recurring Scans Properties Response - The recurring scans settings
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Resource ID.
- name String
- Resource name.
- type String
- Resource type.
- recurring
Scans VulnerabilityAssessment Recurring Scans Properties Response - The recurring scans settings
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Resource ID.
- name string
- Resource name.
- type string
- Resource type.
- recurring
Scans VulnerabilityAssessment Recurring Scans Properties Response - The recurring scans settings
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Resource ID.
- name str
- Resource name.
- type str
- Resource type.
- recurring_
scans VulnerabilityAssessment Recurring Scans Properties Response - The recurring scans settings
- azure
Api StringVersion - The Azure API version of the resource.
- 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 pulumi/pulumi-azure-native
- License
- Apache-2.0