1. Packages
  2. Azure Native v2
  3. API Docs
  4. sql
  5. getManagedDatabaseVulnerabilityAssessmentRuleBaseline
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.sql.getManagedDatabaseVulnerabilityAssessmentRuleBaseline

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 a database’s vulnerability assessment rule baseline. Azure REST API version: 2021-11-01.

Other available API versions: 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-01-preview.

Using getManagedDatabaseVulnerabilityAssessmentRuleBaseline

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 getManagedDatabaseVulnerabilityAssessmentRuleBaseline(args: GetManagedDatabaseVulnerabilityAssessmentRuleBaselineArgs, opts?: InvokeOptions): Promise<GetManagedDatabaseVulnerabilityAssessmentRuleBaselineResult>
function getManagedDatabaseVulnerabilityAssessmentRuleBaselineOutput(args: GetManagedDatabaseVulnerabilityAssessmentRuleBaselineOutputArgs, opts?: InvokeOptions): Output<GetManagedDatabaseVulnerabilityAssessmentRuleBaselineResult>
Copy
def get_managed_database_vulnerability_assessment_rule_baseline(baseline_name: Optional[str] = None,
                                                                database_name: Optional[str] = None,
                                                                managed_instance_name: Optional[str] = None,
                                                                resource_group_name: Optional[str] = None,
                                                                rule_id: Optional[str] = None,
                                                                vulnerability_assessment_name: Optional[str] = None,
                                                                opts: Optional[InvokeOptions] = None) -> GetManagedDatabaseVulnerabilityAssessmentRuleBaselineResult
def get_managed_database_vulnerability_assessment_rule_baseline_output(baseline_name: Optional[pulumi.Input[str]] = None,
                                                                database_name: Optional[pulumi.Input[str]] = None,
                                                                managed_instance_name: Optional[pulumi.Input[str]] = None,
                                                                resource_group_name: Optional[pulumi.Input[str]] = None,
                                                                rule_id: Optional[pulumi.Input[str]] = None,
                                                                vulnerability_assessment_name: Optional[pulumi.Input[str]] = None,
                                                                opts: Optional[InvokeOptions] = None) -> Output[GetManagedDatabaseVulnerabilityAssessmentRuleBaselineResult]
Copy
func LookupManagedDatabaseVulnerabilityAssessmentRuleBaseline(ctx *Context, args *LookupManagedDatabaseVulnerabilityAssessmentRuleBaselineArgs, opts ...InvokeOption) (*LookupManagedDatabaseVulnerabilityAssessmentRuleBaselineResult, error)
func LookupManagedDatabaseVulnerabilityAssessmentRuleBaselineOutput(ctx *Context, args *LookupManagedDatabaseVulnerabilityAssessmentRuleBaselineOutputArgs, opts ...InvokeOption) LookupManagedDatabaseVulnerabilityAssessmentRuleBaselineResultOutput
Copy

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

public static class GetManagedDatabaseVulnerabilityAssessmentRuleBaseline 
{
    public static Task<GetManagedDatabaseVulnerabilityAssessmentRuleBaselineResult> InvokeAsync(GetManagedDatabaseVulnerabilityAssessmentRuleBaselineArgs args, InvokeOptions? opts = null)
    public static Output<GetManagedDatabaseVulnerabilityAssessmentRuleBaselineResult> Invoke(GetManagedDatabaseVulnerabilityAssessmentRuleBaselineInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetManagedDatabaseVulnerabilityAssessmentRuleBaselineResult> getManagedDatabaseVulnerabilityAssessmentRuleBaseline(GetManagedDatabaseVulnerabilityAssessmentRuleBaselineArgs args, InvokeOptions options)
public static Output<GetManagedDatabaseVulnerabilityAssessmentRuleBaselineResult> getManagedDatabaseVulnerabilityAssessmentRuleBaseline(GetManagedDatabaseVulnerabilityAssessmentRuleBaselineArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:sql:getManagedDatabaseVulnerabilityAssessmentRuleBaseline
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

BaselineName
This property is required.
Changes to this property will trigger replacement.
string
The name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule).
DatabaseName
This property is required.
Changes to this property will trigger replacement.
string
The name of the database for which the vulnerability assessment rule baseline is defined.
ManagedInstanceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the managed instance.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
RuleId
This property is required.
Changes to this property will trigger replacement.
string
The vulnerability assessment rule ID.
VulnerabilityAssessmentName
This property is required.
Changes to this property will trigger replacement.
string
The name of the vulnerability assessment.
BaselineName
This property is required.
Changes to this property will trigger replacement.
string
The name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule).
DatabaseName
This property is required.
Changes to this property will trigger replacement.
string
The name of the database for which the vulnerability assessment rule baseline is defined.
ManagedInstanceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the managed instance.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
RuleId
This property is required.
Changes to this property will trigger replacement.
string
The vulnerability assessment rule ID.
VulnerabilityAssessmentName
This property is required.
Changes to this property will trigger replacement.
string
The name of the vulnerability assessment.
baselineName
This property is required.
Changes to this property will trigger replacement.
String
The name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule).
databaseName
This property is required.
Changes to this property will trigger replacement.
String
The name of the database for which the vulnerability assessment rule baseline is defined.
managedInstanceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the managed instance.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
ruleId
This property is required.
Changes to this property will trigger replacement.
String
The vulnerability assessment rule ID.
vulnerabilityAssessmentName
This property is required.
Changes to this property will trigger replacement.
String
The name of the vulnerability assessment.
baselineName
This property is required.
Changes to this property will trigger replacement.
string
The name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule).
databaseName
This property is required.
Changes to this property will trigger replacement.
string
The name of the database for which the vulnerability assessment rule baseline is defined.
managedInstanceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the managed instance.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
ruleId
This property is required.
Changes to this property will trigger replacement.
string
The vulnerability assessment rule ID.
vulnerabilityAssessmentName
This property is required.
Changes to this property will trigger replacement.
string
The name of the vulnerability assessment.
baseline_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule).
database_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the database for which the vulnerability assessment rule baseline is defined.
managed_instance_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the managed instance.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
rule_id
This property is required.
Changes to this property will trigger replacement.
str
The vulnerability assessment rule ID.
vulnerability_assessment_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the vulnerability assessment.
baselineName
This property is required.
Changes to this property will trigger replacement.
String
The name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule).
databaseName
This property is required.
Changes to this property will trigger replacement.
String
The name of the database for which the vulnerability assessment rule baseline is defined.
managedInstanceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the managed instance.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
ruleId
This property is required.
Changes to this property will trigger replacement.
String
The vulnerability assessment rule ID.
vulnerabilityAssessmentName
This property is required.
Changes to this property will trigger replacement.
String
The name of the vulnerability assessment.

getManagedDatabaseVulnerabilityAssessmentRuleBaseline Result

The following output properties are available:

BaselineResults List<Pulumi.AzureNative.Sql.Outputs.DatabaseVulnerabilityAssessmentRuleBaselineItemResponse>
The rule baseline result
Id string
Resource ID.
Name string
Resource name.
Type string
Resource type.
BaselineResults []DatabaseVulnerabilityAssessmentRuleBaselineItemResponse
The rule baseline result
Id string
Resource ID.
Name string
Resource name.
Type string
Resource type.
baselineResults List<DatabaseVulnerabilityAssessmentRuleBaselineItemResponse>
The rule baseline result
id String
Resource ID.
name String
Resource name.
type String
Resource type.
baselineResults DatabaseVulnerabilityAssessmentRuleBaselineItemResponse[]
The rule baseline result
id string
Resource ID.
name string
Resource name.
type string
Resource type.
baseline_results Sequence[DatabaseVulnerabilityAssessmentRuleBaselineItemResponse]
The rule baseline result
id str
Resource ID.
name str
Resource name.
type str
Resource type.
baselineResults List<Property Map>
The rule baseline result
id String
Resource ID.
name String
Resource name.
type String
Resource type.

Supporting Types

DatabaseVulnerabilityAssessmentRuleBaselineItemResponse

Result This property is required. List<string>
The rule baseline result
Result This property is required. []string
The rule baseline result
result This property is required. List<String>
The rule baseline result
result This property is required. string[]
The rule baseline result
result This property is required. Sequence[str]
The rule baseline result
result This property is required. List<String>
The rule baseline result

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