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.66.0 published on Wednesday, Oct 9, 2024 by Pulumi
azure-native.synapse.getSqlPoolVulnerabilityAssessmentRuleBaseline
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.66.0 published on Wednesday, Oct 9, 2024 by Pulumi
Gets a SqlPool’s vulnerability assessment rule baseline. Azure REST API version: 2021-06-01.
Other available API versions: 2021-06-01-preview.
Using getSqlPoolVulnerabilityAssessmentRuleBaseline
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 getSqlPoolVulnerabilityAssessmentRuleBaseline(args: GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs, opts?: InvokeOptions): Promise<GetSqlPoolVulnerabilityAssessmentRuleBaselineResult>
function getSqlPoolVulnerabilityAssessmentRuleBaselineOutput(args: GetSqlPoolVulnerabilityAssessmentRuleBaselineOutputArgs, opts?: InvokeOptions): Output<GetSqlPoolVulnerabilityAssessmentRuleBaselineResult>
def get_sql_pool_vulnerability_assessment_rule_baseline(baseline_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
rule_id: Optional[str] = None,
sql_pool_name: Optional[str] = None,
vulnerability_assessment_name: Optional[str] = None,
workspace_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSqlPoolVulnerabilityAssessmentRuleBaselineResult
def get_sql_pool_vulnerability_assessment_rule_baseline_output(baseline_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
rule_id: Optional[pulumi.Input[str]] = None,
sql_pool_name: Optional[pulumi.Input[str]] = None,
vulnerability_assessment_name: Optional[pulumi.Input[str]] = None,
workspace_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSqlPoolVulnerabilityAssessmentRuleBaselineResult]
func LookupSqlPoolVulnerabilityAssessmentRuleBaseline(ctx *Context, args *LookupSqlPoolVulnerabilityAssessmentRuleBaselineArgs, opts ...InvokeOption) (*LookupSqlPoolVulnerabilityAssessmentRuleBaselineResult, error)
func LookupSqlPoolVulnerabilityAssessmentRuleBaselineOutput(ctx *Context, args *LookupSqlPoolVulnerabilityAssessmentRuleBaselineOutputArgs, opts ...InvokeOption) LookupSqlPoolVulnerabilityAssessmentRuleBaselineResultOutput
> Note: This function is named LookupSqlPoolVulnerabilityAssessmentRuleBaseline
in the Go SDK.
public static class GetSqlPoolVulnerabilityAssessmentRuleBaseline
{
public static Task<GetSqlPoolVulnerabilityAssessmentRuleBaselineResult> InvokeAsync(GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs args, InvokeOptions? opts = null)
public static Output<GetSqlPoolVulnerabilityAssessmentRuleBaselineResult> Invoke(GetSqlPoolVulnerabilityAssessmentRuleBaselineInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSqlPoolVulnerabilityAssessmentRuleBaselineResult> getSqlPoolVulnerabilityAssessmentRuleBaseline(GetSqlPoolVulnerabilityAssessmentRuleBaselineArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:synapse:getSqlPoolVulnerabilityAssessmentRuleBaseline
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 Sql pool level rule and master for server level rule).
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Rule
Id string - The vulnerability assessment rule ID.
- Sql
Pool stringName - SQL pool name
- Vulnerability
Assessment stringName - The name of the vulnerability assessment.
- Workspace
Name string - The name of the workspace.
- Baseline
Name string - The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for server level rule).
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Rule
Id string - The vulnerability assessment rule ID.
- Sql
Pool stringName - SQL pool name
- Vulnerability
Assessment stringName - The name of the vulnerability assessment.
- Workspace
Name string - The name of the workspace.
- baseline
Name String - The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for server level rule).
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- rule
Id String - The vulnerability assessment rule ID.
- sql
Pool StringName - SQL pool name
- vulnerability
Assessment StringName - The name of the vulnerability assessment.
- workspace
Name String - The name of the workspace.
- baseline
Name string - The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for server level rule).
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- rule
Id string - The vulnerability assessment rule ID.
- sql
Pool stringName - SQL pool name
- vulnerability
Assessment stringName - The name of the vulnerability assessment.
- workspace
Name string - The name of the workspace.
- baseline_
name str - The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for server level rule).
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- rule_
id str - The vulnerability assessment rule ID.
- sql_
pool_ strname - SQL pool name
- vulnerability_
assessment_ strname - The name of the vulnerability assessment.
- workspace_
name str - The name of the workspace.
- baseline
Name String - The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for server level rule).
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- rule
Id String - The vulnerability assessment rule ID.
- sql
Pool StringName - SQL pool name
- vulnerability
Assessment StringName - The name of the vulnerability assessment.
- workspace
Name String - The name of the workspace.
getSqlPoolVulnerabilityAssessmentRuleBaseline Result
The following output properties are available:
- Baseline
Results List<Pulumi.Azure Native. Synapse. Outputs. Sql Pool Vulnerability Assessment Rule Baseline Item Response> - The rule baseline result
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Baseline
Results []SqlPool Vulnerability Assessment Rule Baseline Item Response - The rule baseline result
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- baseline
Results List<SqlPool Vulnerability Assessment Rule Baseline Item Response> - The rule baseline result
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- baseline
Results SqlPool Vulnerability Assessment Rule Baseline Item Response[] - The rule baseline result
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name string
- The name of the resource
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- baseline_
results Sequence[SqlPool Vulnerability Assessment Rule Baseline Item Response] - The rule baseline result
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name str
- The name of the resource
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- baseline
Results List<Property Map> - The rule baseline result
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
SqlPoolVulnerabilityAssessmentRuleBaselineItemResponse
- 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.66.0 published on Wednesday, Oct 9, 2024 by Pulumi