1. Packages
  2. Azure Native
  3. API Docs
  4. sql
  5. getManagedDatabaseVulnerabilityAssessmentRuleBaseline
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.sql.getManagedDatabaseVulnerabilityAssessmentRuleBaseline

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 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.

    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>
    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]
    func LookupManagedDatabaseVulnerabilityAssessmentRuleBaseline(ctx *Context, args *LookupManagedDatabaseVulnerabilityAssessmentRuleBaselineArgs, opts ...InvokeOption) (*LookupManagedDatabaseVulnerabilityAssessmentRuleBaselineResult, error)
    func LookupManagedDatabaseVulnerabilityAssessmentRuleBaselineOutput(ctx *Context, args *LookupManagedDatabaseVulnerabilityAssessmentRuleBaselineOutputArgs, opts ...InvokeOption) LookupManagedDatabaseVulnerabilityAssessmentRuleBaselineResultOutput

    > 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)
    }
    public static CompletableFuture<GetManagedDatabaseVulnerabilityAssessmentRuleBaselineResult> getManagedDatabaseVulnerabilityAssessmentRuleBaseline(GetManagedDatabaseVulnerabilityAssessmentRuleBaselineArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:sql:getManagedDatabaseVulnerabilityAssessmentRuleBaseline
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BaselineName 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 string
    The name of the database for which the vulnerability assessment rule baseline is defined.
    ManagedInstanceName string
    The name of the managed instance.
    ResourceGroupName 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 string
    The vulnerability assessment rule ID.
    VulnerabilityAssessmentName string
    The name of the vulnerability assessment.
    BaselineName 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 string
    The name of the database for which the vulnerability assessment rule baseline is defined.
    ManagedInstanceName string
    The name of the managed instance.
    ResourceGroupName 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 string
    The vulnerability assessment rule ID.
    VulnerabilityAssessmentName string
    The name of the vulnerability assessment.
    baselineName 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 String
    The name of the database for which the vulnerability assessment rule baseline is defined.
    managedInstanceName String
    The name of the managed instance.
    resourceGroupName 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 String
    The vulnerability assessment rule ID.
    vulnerabilityAssessmentName String
    The name of the vulnerability assessment.
    baselineName 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 string
    The name of the database for which the vulnerability assessment rule baseline is defined.
    managedInstanceName string
    The name of the managed instance.
    resourceGroupName 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 string
    The vulnerability assessment rule ID.
    vulnerabilityAssessmentName string
    The name of the vulnerability assessment.
    baseline_name 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 str
    The name of the database for which the vulnerability assessment rule baseline is defined.
    managed_instance_name str
    The name of the managed instance.
    resource_group_name 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 str
    The vulnerability assessment rule ID.
    vulnerability_assessment_name str
    The name of the vulnerability assessment.
    baselineName 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 String
    The name of the database for which the vulnerability assessment rule baseline is defined.
    managedInstanceName String
    The name of the managed instance.
    resourceGroupName 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 String
    The vulnerability assessment rule ID.
    vulnerabilityAssessmentName 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 List<string>
    The rule baseline result
    Result []string
    The rule baseline result
    result List<String>
    The rule baseline result
    result string[]
    The rule baseline result
    result Sequence[str]
    The rule baseline result
    result List<String>
    The rule baseline result

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi