Skip to main content

managed_instance_vulnerability_assessments_by_instances

Creates, updates, deletes, gets or lists a managed_instance_vulnerability_assessments_by_instances resource.

Overview

Namemanaged_instance_vulnerability_assessments_by_instances
TypeResource
Idazure.sql.managed_instance_vulnerability_assessments_by_instances

Fields

The following fields are returned by SELECT queries:

Successfully retrieved the managed instance vulnerability assessment policies.

NameDatatypeDescription
propertiesobjectResource properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresourceGroupName, managedInstanceName, subscriptionIdGets the managed instance's vulnerability assessment policies.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
managedInstanceNamestringThe name of the managed instance for which the vulnerability assessments is defined.
resourceGroupNamestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
subscriptionIdstringThe subscription ID that identifies an Azure subscription.

SELECT examples

Gets the managed instance's vulnerability assessment policies.

SELECT
properties
FROM azure.sql.managed_instance_vulnerability_assessments_by_instances
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND managedInstanceName = '{{ managedInstanceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;