SQL managed Instances #11964
Unanswered
pattisanta
asked this question in
Q&A
Replies: 1 comment 1 reply
-
It looks like the resource type 'rules' doesn't exist. So this means that referencing a parent using the property doesn't work, because the resource cannot be defined with a symbolic name. You can work with the name though: resource resBaseline 'Microsoft.Sql/managedInstances/databases/vulnerabilityAssessments/rules/baselines@2023-02-01-preview' = {
name: '<managed instance name>/<database name>/<vulnerability assessment name>/rules/<baseline name here>'
properties: {
... properties here ....
}
} What we did in the example is we build up the "path" in the name property and we segmented it using the Hope this works for you! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to set resource symbolicname 'Microsoft.Sql/managedInstances/databases/vulnerabilityAssessments/rules/baselines@2022-05-01-preview' = {
name: 'string'
parent: resourceSymbolicName
properties: {
baselineResults: [
{
result: [
'string'
]
}
]
}
}
the issue I am having I can't find the parent . My understanding of the messages I am getting in my vscode is it wants 'Microsoft.Sql/managedInstances/databases/vulnerabilityAssessments/rules@somthing . I can't find it at all. Can someone point me to the right direction?
Thanks,
Patti
Beta Was this translation helpful? Give feedback.
All reactions