1. Packages
  2. Azure Native v1
  3. API Docs
  4. security
  5. getSqlVulnerabilityAssessmentBaselineRule
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.security.getSqlVulnerabilityAssessmentBaselineRule

Explore with Pulumi AI

azure-native-v1 logo
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

    Rule results. API Version: 2020-07-01-preview.

    Using getSqlVulnerabilityAssessmentBaselineRule

    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 getSqlVulnerabilityAssessmentBaselineRule(args: GetSqlVulnerabilityAssessmentBaselineRuleArgs, opts?: InvokeOptions): Promise<GetSqlVulnerabilityAssessmentBaselineRuleResult>
    function getSqlVulnerabilityAssessmentBaselineRuleOutput(args: GetSqlVulnerabilityAssessmentBaselineRuleOutputArgs, opts?: InvokeOptions): Output<GetSqlVulnerabilityAssessmentBaselineRuleResult>
    def get_sql_vulnerability_assessment_baseline_rule(resource_id: Optional[str] = None,
                                                       rule_id: Optional[str] = None,
                                                       workspace_id: Optional[str] = None,
                                                       opts: Optional[InvokeOptions] = None) -> GetSqlVulnerabilityAssessmentBaselineRuleResult
    def get_sql_vulnerability_assessment_baseline_rule_output(resource_id: Optional[pulumi.Input[str]] = None,
                                                       rule_id: Optional[pulumi.Input[str]] = None,
                                                       workspace_id: Optional[pulumi.Input[str]] = None,
                                                       opts: Optional[InvokeOptions] = None) -> Output[GetSqlVulnerabilityAssessmentBaselineRuleResult]
    func LookupSqlVulnerabilityAssessmentBaselineRule(ctx *Context, args *LookupSqlVulnerabilityAssessmentBaselineRuleArgs, opts ...InvokeOption) (*LookupSqlVulnerabilityAssessmentBaselineRuleResult, error)
    func LookupSqlVulnerabilityAssessmentBaselineRuleOutput(ctx *Context, args *LookupSqlVulnerabilityAssessmentBaselineRuleOutputArgs, opts ...InvokeOption) LookupSqlVulnerabilityAssessmentBaselineRuleResultOutput

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

    public static class GetSqlVulnerabilityAssessmentBaselineRule 
    {
        public static Task<GetSqlVulnerabilityAssessmentBaselineRuleResult> InvokeAsync(GetSqlVulnerabilityAssessmentBaselineRuleArgs args, InvokeOptions? opts = null)
        public static Output<GetSqlVulnerabilityAssessmentBaselineRuleResult> Invoke(GetSqlVulnerabilityAssessmentBaselineRuleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSqlVulnerabilityAssessmentBaselineRuleResult> getSqlVulnerabilityAssessmentBaselineRule(GetSqlVulnerabilityAssessmentBaselineRuleArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:security:getSqlVulnerabilityAssessmentBaselineRule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceId string
    The identifier of the resource.
    RuleId string
    The rule Id.
    WorkspaceId string
    The workspace Id.
    ResourceId string
    The identifier of the resource.
    RuleId string
    The rule Id.
    WorkspaceId string
    The workspace Id.
    resourceId String
    The identifier of the resource.
    ruleId String
    The rule Id.
    workspaceId String
    The workspace Id.
    resourceId string
    The identifier of the resource.
    ruleId string
    The rule Id.
    workspaceId string
    The workspace Id.
    resource_id str
    The identifier of the resource.
    rule_id str
    The rule Id.
    workspace_id str
    The workspace Id.
    resourceId String
    The identifier of the resource.
    ruleId String
    The rule Id.
    workspaceId String
    The workspace Id.

    getSqlVulnerabilityAssessmentBaselineRule Result

    The following output properties are available:

    Id string
    Resource Id
    Name string
    Resource name
    Properties Pulumi.AzureNative.Security.Outputs.RuleResultsPropertiesResponse
    Rule results properties.
    Type string
    Resource type
    Id string
    Resource Id
    Name string
    Resource name
    Properties RuleResultsPropertiesResponse
    Rule results properties.
    Type string
    Resource type
    id String
    Resource Id
    name String
    Resource name
    properties RuleResultsPropertiesResponse
    Rule results properties.
    type String
    Resource type
    id string
    Resource Id
    name string
    Resource name
    properties RuleResultsPropertiesResponse
    Rule results properties.
    type string
    Resource type
    id str
    Resource Id
    name str
    Resource name
    properties RuleResultsPropertiesResponse
    Rule results properties.
    type str
    Resource type
    id String
    Resource Id
    name String
    Resource name
    properties Property Map
    Rule results properties.
    type String
    Resource type

    Supporting Types

    RuleResultsPropertiesResponse

    Results List<ImmutableArray<string>>
    Expected results in the baseline.
    Results [][]string
    Expected results in the baseline.
    results List<List<String>>
    Expected results in the baseline.
    results string[][]
    Expected results in the baseline.
    results Sequence[Sequence[str]]
    Expected results in the baseline.
    results List<List<String>>
    Expected results in the baseline.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    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