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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.sql.getDatabaseVulnerabilityAssessmentRuleBaseline
Explore with Pulumi AI
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.73.0 published on Wednesday, Nov 20, 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, 2024-05-01-preview.
Using getDatabaseVulnerabilityAssessmentRuleBaseline
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 getDatabaseVulnerabilityAssessmentRuleBaseline(args: GetDatabaseVulnerabilityAssessmentRuleBaselineArgs, opts?: InvokeOptions): Promise<GetDatabaseVulnerabilityAssessmentRuleBaselineResult>
function getDatabaseVulnerabilityAssessmentRuleBaselineOutput(args: GetDatabaseVulnerabilityAssessmentRuleBaselineOutputArgs, opts?: InvokeOptions): Output<GetDatabaseVulnerabilityAssessmentRuleBaselineResult>
def get_database_vulnerability_assessment_rule_baseline(baseline_name: Optional[str] = None,
database_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
rule_id: Optional[str] = None,
server_name: Optional[str] = None,
vulnerability_assessment_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseVulnerabilityAssessmentRuleBaselineResult
def get_database_vulnerability_assessment_rule_baseline_output(baseline_name: Optional[pulumi.Input[str]] = None,
database_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
rule_id: 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[GetDatabaseVulnerabilityAssessmentRuleBaselineResult]
func LookupDatabaseVulnerabilityAssessmentRuleBaseline(ctx *Context, args *LookupDatabaseVulnerabilityAssessmentRuleBaselineArgs, opts ...InvokeOption) (*LookupDatabaseVulnerabilityAssessmentRuleBaselineResult, error)
func LookupDatabaseVulnerabilityAssessmentRuleBaselineOutput(ctx *Context, args *LookupDatabaseVulnerabilityAssessmentRuleBaselineOutputArgs, opts ...InvokeOption) LookupDatabaseVulnerabilityAssessmentRuleBaselineResultOutput
> Note: This function is named LookupDatabaseVulnerabilityAssessmentRuleBaseline
in the Go SDK.
public static class GetDatabaseVulnerabilityAssessmentRuleBaseline
{
public static Task<GetDatabaseVulnerabilityAssessmentRuleBaselineResult> InvokeAsync(GetDatabaseVulnerabilityAssessmentRuleBaselineArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseVulnerabilityAssessmentRuleBaselineResult> Invoke(GetDatabaseVulnerabilityAssessmentRuleBaselineInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatabaseVulnerabilityAssessmentRuleBaselineResult> getDatabaseVulnerabilityAssessmentRuleBaseline(GetDatabaseVulnerabilityAssessmentRuleBaselineArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:sql:getDatabaseVulnerabilityAssessmentRuleBaseline
arguments:
# arguments dictionary
The following arguments are supported:
- Baseline
Name string - 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 string - The name of the database for which the vulnerability assessment rule baseline is defined.
- 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.
- Rule
Id string - The vulnerability assessment rule ID.
- Server
Name string - The name of the server.
- Vulnerability
Assessment stringName - The name of the vulnerability assessment.
- Baseline
Name string - 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 string - The name of the database for which the vulnerability assessment rule baseline is defined.
- 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.
- Rule
Id string - The vulnerability assessment rule ID.
- Server
Name string - The name of the server.
- Vulnerability
Assessment stringName - The name of the vulnerability assessment.
- baseline
Name String - 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 String - The name of the database for which the vulnerability assessment rule baseline is defined.
- 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.
- rule
Id String - The vulnerability assessment rule ID.
- server
Name String - The name of the server.
- vulnerability
Assessment StringName - The name of the vulnerability assessment.
- baseline
Name string - 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 string - The name of the database for which the vulnerability assessment rule baseline is defined.
- 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.
- rule
Id string - The vulnerability assessment rule ID.
- server
Name string - The name of the server.
- vulnerability
Assessment stringName - 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.
- 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.
- rule_
id str - The vulnerability assessment rule ID.
- server_
name str - The name of the server.
- vulnerability_
assessment_ strname - The name of the vulnerability assessment.
- baseline
Name String - 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 String - The name of the database for which the vulnerability assessment rule baseline is defined.
- 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.
- rule
Id String - The vulnerability assessment rule ID.
- server
Name String - The name of the server.
- vulnerability
Assessment StringName - The name of the vulnerability assessment.
getDatabaseVulnerabilityAssessmentRuleBaseline Result
The following output properties are available:
- Baseline
Results List<Pulumi.Azure Native. Sql. Outputs. Database Vulnerability Assessment Rule Baseline Item Response> - The rule baseline result
- Id string
- Resource ID.
- Name string
- Resource name.
- Type string
- Resource type.
- Baseline
Results []DatabaseVulnerability Assessment Rule Baseline Item Response - The rule baseline result
- Id string
- Resource ID.
- Name string
- Resource name.
- Type string
- Resource type.
- baseline
Results List<DatabaseVulnerability Assessment Rule Baseline Item Response> - The rule baseline result
- id String
- Resource ID.
- name String
- Resource name.
- type String
- Resource type.
- baseline
Results DatabaseVulnerability Assessment Rule Baseline Item Response[] - The rule baseline result
- id string
- Resource ID.
- name string
- Resource name.
- type string
- Resource type.
- baseline_
results Sequence[DatabaseVulnerability Assessment Rule Baseline Item Response] - The rule baseline result
- id str
- Resource ID.
- name str
- Resource name.
- type str
- Resource type.
- baseline
Results 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
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi