1. Packages
  2. Azure Native
  3. API Docs
  4. sql
  5. getManagedInstanceVulnerabilityAssessment
Azure Native v1.103.0 published on Friday, Jun 2, 2023 by Pulumi

azure-native.sql.getManagedInstanceVulnerabilityAssessment

Explore with Pulumi AI

azure-native logo
Azure Native v1.103.0 published on Friday, Jun 2, 2023 by Pulumi

    Gets the managed instance’s vulnerability assessment. API Version: 2020-11-01-preview.

    Using getManagedInstanceVulnerabilityAssessment

    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 getManagedInstanceVulnerabilityAssessment(args: GetManagedInstanceVulnerabilityAssessmentArgs, opts?: InvokeOptions): Promise<GetManagedInstanceVulnerabilityAssessmentResult>
    function getManagedInstanceVulnerabilityAssessmentOutput(args: GetManagedInstanceVulnerabilityAssessmentOutputArgs, opts?: InvokeOptions): Output<GetManagedInstanceVulnerabilityAssessmentResult>
    def get_managed_instance_vulnerability_assessment(managed_instance_name: Optional[str] = None,
                                                      resource_group_name: Optional[str] = None,
                                                      vulnerability_assessment_name: Optional[str] = None,
                                                      opts: Optional[InvokeOptions] = None) -> GetManagedInstanceVulnerabilityAssessmentResult
    def get_managed_instance_vulnerability_assessment_output(managed_instance_name: Optional[pulumi.Input[str]] = None,
                                                      resource_group_name: Optional[pulumi.Input[str]] = None,
                                                      vulnerability_assessment_name: Optional[pulumi.Input[str]] = None,
                                                      opts: Optional[InvokeOptions] = None) -> Output[GetManagedInstanceVulnerabilityAssessmentResult]
    func LookupManagedInstanceVulnerabilityAssessment(ctx *Context, args *LookupManagedInstanceVulnerabilityAssessmentArgs, opts ...InvokeOption) (*LookupManagedInstanceVulnerabilityAssessmentResult, error)
    func LookupManagedInstanceVulnerabilityAssessmentOutput(ctx *Context, args *LookupManagedInstanceVulnerabilityAssessmentOutputArgs, opts ...InvokeOption) LookupManagedInstanceVulnerabilityAssessmentResultOutput

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

    public static class GetManagedInstanceVulnerabilityAssessment 
    {
        public static Task<GetManagedInstanceVulnerabilityAssessmentResult> InvokeAsync(GetManagedInstanceVulnerabilityAssessmentArgs args, InvokeOptions? opts = null)
        public static Output<GetManagedInstanceVulnerabilityAssessmentResult> Invoke(GetManagedInstanceVulnerabilityAssessmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagedInstanceVulnerabilityAssessmentResult> getManagedInstanceVulnerabilityAssessment(GetManagedInstanceVulnerabilityAssessmentArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:sql:getManagedInstanceVulnerabilityAssessment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ManagedInstanceName string

    The name of the managed instance for which the vulnerability assessment is defined.

    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.

    VulnerabilityAssessmentName string

    The name of the vulnerability assessment.

    ManagedInstanceName string

    The name of the managed instance for which the vulnerability assessment is defined.

    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.

    VulnerabilityAssessmentName string

    The name of the vulnerability assessment.

    managedInstanceName String

    The name of the managed instance for which the vulnerability assessment is defined.

    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.

    vulnerabilityAssessmentName String

    The name of the vulnerability assessment.

    managedInstanceName string

    The name of the managed instance for which the vulnerability assessment is defined.

    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.

    vulnerabilityAssessmentName string

    The name of the vulnerability assessment.

    managed_instance_name str

    The name of the managed instance for which the vulnerability assessment is defined.

    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.

    vulnerability_assessment_name str

    The name of the vulnerability assessment.

    managedInstanceName String

    The name of the managed instance for which the vulnerability assessment is defined.

    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.

    vulnerabilityAssessmentName String

    The name of the vulnerability assessment.

    getManagedInstanceVulnerabilityAssessment Result

    The following output properties are available:

    Id string

    Resource ID.

    Name string

    Resource name.

    Type string

    Resource type.

    RecurringScans Pulumi.AzureNative.Sql.Outputs.VulnerabilityAssessmentRecurringScansPropertiesResponse

    The recurring scans settings

    Id string

    Resource ID.

    Name string

    Resource name.

    Type string

    Resource type.

    RecurringScans VulnerabilityAssessmentRecurringScansPropertiesResponse

    The recurring scans settings

    id String

    Resource ID.

    name String

    Resource name.

    type String

    Resource type.

    recurringScans VulnerabilityAssessmentRecurringScansPropertiesResponse

    The recurring scans settings

    id string

    Resource ID.

    name string

    Resource name.

    type string

    Resource type.

    recurringScans VulnerabilityAssessmentRecurringScansPropertiesResponse

    The recurring scans settings

    id str

    Resource ID.

    name str

    Resource name.

    type str

    Resource type.

    recurring_scans VulnerabilityAssessmentRecurringScansPropertiesResponse

    The recurring scans settings

    id String

    Resource ID.

    name String

    Resource name.

    type String

    Resource type.

    recurringScans Property Map

    The recurring scans settings

    Supporting Types

    VulnerabilityAssessmentRecurringScansPropertiesResponse

    EmailSubscriptionAdmins bool

    Specifies that the schedule scan notification will be is sent to the subscription administrators.

    Emails List<string>

    Specifies an array of e-mail addresses to which the scan notification is sent.

    IsEnabled bool

    Recurring scans state.

    EmailSubscriptionAdmins bool

    Specifies that the schedule scan notification will be is sent to the subscription administrators.

    Emails []string

    Specifies an array of e-mail addresses to which the scan notification is sent.

    IsEnabled bool

    Recurring scans state.

    emailSubscriptionAdmins Boolean

    Specifies that the schedule scan notification will be is sent to the subscription administrators.

    emails List<String>

    Specifies an array of e-mail addresses to which the scan notification is sent.

    isEnabled Boolean

    Recurring scans state.

    emailSubscriptionAdmins boolean

    Specifies that the schedule scan notification will be is sent to the subscription administrators.

    emails string[]

    Specifies an array of e-mail addresses to which the scan notification is sent.

    isEnabled boolean

    Recurring scans state.

    email_subscription_admins bool

    Specifies that the schedule scan notification will be is sent to the subscription administrators.

    emails Sequence[str]

    Specifies an array of e-mail addresses to which the scan notification is sent.

    is_enabled bool

    Recurring scans state.

    emailSubscriptionAdmins Boolean

    Specifies that the schedule scan notification will be is sent to the subscription administrators.

    emails List<String>

    Specifies an array of e-mail addresses to which the scan notification is sent.

    isEnabled Boolean

    Recurring scans state.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    Azure Native v1.103.0 published on Friday, Jun 2, 2023 by Pulumi