diff --git a/Commands/databasewatcher/_create.md b/Commands/databasewatcher/_create.md new file mode 100644 index 000000000..7d993e911 --- /dev/null +++ b/Commands/databasewatcher/_create.md @@ -0,0 +1,9 @@ +# [Command] _databasewatcher create_ + +Create a Watcher + +## Versions + +### [2025-01-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30=/2025-01-02.xml) **Stable** + + diff --git a/Commands/databasewatcher/_delete.md b/Commands/databasewatcher/_delete.md new file mode 100644 index 000000000..9c62e6fc0 --- /dev/null +++ b/Commands/databasewatcher/_delete.md @@ -0,0 +1,9 @@ +# [Command] _databasewatcher delete_ + +Delete a Watcher + +## Versions + +### [2025-01-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30=/2025-01-02.xml) **Stable** + + diff --git a/Commands/databasewatcher/_show.md b/Commands/databasewatcher/_show.md new file mode 100644 index 000000000..c38bbceaa --- /dev/null +++ b/Commands/databasewatcher/_show.md @@ -0,0 +1,9 @@ +# [Command] _databasewatcher show_ + +Get a Watcher + +## Versions + +### [2025-01-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30=/2025-01-02.xml) **Stable** + + diff --git a/Commands/databasewatcher/_start.md b/Commands/databasewatcher/_start.md new file mode 100644 index 000000000..7b4c605e7 --- /dev/null +++ b/Commands/databasewatcher/_start.md @@ -0,0 +1,9 @@ +# [Command] _databasewatcher start_ + +Start monitoring all targets configured for a database watcher. + +## Versions + +### [2025-01-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc3RhcnQ=/2025-01-02.xml) **Stable** + + diff --git a/Commands/databasewatcher/_stop.md b/Commands/databasewatcher/_stop.md new file mode 100644 index 000000000..ac07f861d --- /dev/null +++ b/Commands/databasewatcher/_stop.md @@ -0,0 +1,9 @@ +# [Command] _databasewatcher stop_ + +Stop monitoring all targets configured for a database watcher. + +## Versions + +### [2025-01-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc3RvcA==/2025-01-02.xml) **Stable** + + diff --git a/Commands/databasewatcher/_update.md b/Commands/databasewatcher/_update.md new file mode 100644 index 000000000..6cd6c6cf5 --- /dev/null +++ b/Commands/databasewatcher/_update.md @@ -0,0 +1,9 @@ +# [Command] _databasewatcher update_ + +Update a Watcher + +## Versions + +### [2025-01-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30=/2025-01-02.xml) **Stable** + + diff --git a/Commands/databasewatcher/health-validation/_start.md b/Commands/databasewatcher/health-validation/_start.md new file mode 100644 index 000000000..b15fb2f63 --- /dev/null +++ b/Commands/databasewatcher/health-validation/_start.md @@ -0,0 +1,9 @@ +# [Command] _databasewatcher health-validation start_ + +Starts health validation for a watcher. + +## Versions + +### [2025-01-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vaGVhbHRodmFsaWRhdGlvbnMve30vc3RhcnR2YWxpZGF0aW9u/2025-01-02.xml) **Stable** + + diff --git a/Commands/databasewatcher/health-validation/readme.md b/Commands/databasewatcher/health-validation/readme.md new file mode 100644 index 000000000..c25609e00 --- /dev/null +++ b/Commands/databasewatcher/health-validation/readme.md @@ -0,0 +1,8 @@ +# [Group] _databasewatcher health-validation_ + +Manage the Database Watcher health validation resource. + +## Commands + +- [start](/Commands/databasewatcher/health-validation/_start.md) +: Starts health validation for a watcher. diff --git a/Commands/databasewatcher/identity/_assign.md b/Commands/databasewatcher/identity/_assign.md new file mode 100644 index 000000000..4e0cd3dbc --- /dev/null +++ b/Commands/databasewatcher/identity/_assign.md @@ -0,0 +1,9 @@ +# [Command] _databasewatcher identity assign_ + +Assign the user or system managed identities. + +## Versions + +### [2025-01-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30=/2025-01-02.xml) **Stable** + + diff --git a/Commands/databasewatcher/identity/_remove.md b/Commands/databasewatcher/identity/_remove.md new file mode 100644 index 000000000..8c5c02bdc --- /dev/null +++ b/Commands/databasewatcher/identity/_remove.md @@ -0,0 +1,9 @@ +# [Command] _databasewatcher identity remove_ + +Remove the user or system managed identities. + +## Versions + +### [2025-01-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30=/2025-01-02.xml) **Stable** + + diff --git a/Commands/databasewatcher/identity/_show.md b/Commands/databasewatcher/identity/_show.md new file mode 100644 index 000000000..3b8c3d4f8 --- /dev/null +++ b/Commands/databasewatcher/identity/_show.md @@ -0,0 +1,9 @@ +# [Command] _databasewatcher identity show_ + +Show the details of managed identities. + +## Versions + +### [2025-01-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30=/2025-01-02.xml) **Stable** + + diff --git a/Commands/databasewatcher/identity/readme.md b/Commands/databasewatcher/identity/readme.md new file mode 100644 index 000000000..a14de0a10 --- /dev/null +++ b/Commands/databasewatcher/identity/readme.md @@ -0,0 +1,14 @@ +# [Group] _databasewatcher identity_ + +Manage identities for Database Watcher resource. + +## Commands + +- [assign](/Commands/databasewatcher/identity/_assign.md) +: Assign the user or system managed identities. + +- [remove](/Commands/databasewatcher/identity/_remove.md) +: Remove the user or system managed identities. + +- [show](/Commands/databasewatcher/identity/_show.md) +: Show the details of managed identities. diff --git a/Commands/databasewatcher/readme.md b/Commands/databasewatcher/readme.md new file mode 100644 index 000000000..720642aec --- /dev/null +++ b/Commands/databasewatcher/readme.md @@ -0,0 +1,37 @@ +# [Group] _databasewatcher_ + +Manage the Database Watcher service. + +## Subgroups + +- [health-validation](/Commands/databasewatcher/health-validation/readme.md) +: Manage the Database Watcher health validation resource. + +- [identity](/Commands/databasewatcher/identity/readme.md) +: Manage identities for Database Watcher resource. + +- [shared-private-link](/Commands/databasewatcher/shared-private-link/readme.md) +: Manage the Database Watcher shared private link resource. + +- [target](/Commands/databasewatcher/target/readme.md) +: Manage the Database Watcher target resource. + +## Commands + +- [create](/Commands/databasewatcher/_create.md) +: Create a Watcher + +- [delete](/Commands/databasewatcher/_delete.md) +: Delete a Watcher + +- [show](/Commands/databasewatcher/_show.md) +: Get a Watcher + +- [start](/Commands/databasewatcher/_start.md) +: Start monitoring all targets configured for a database watcher. + +- [stop](/Commands/databasewatcher/_stop.md) +: Stop monitoring all targets configured for a database watcher. + +- [update](/Commands/databasewatcher/_update.md) +: Update a Watcher diff --git a/Commands/databasewatcher/shared-private-link/_create.md b/Commands/databasewatcher/shared-private-link/_create.md new file mode 100644 index 000000000..89460ae3a --- /dev/null +++ b/Commands/databasewatcher/shared-private-link/_create.md @@ -0,0 +1,9 @@ +# [Command] _databasewatcher shared-private-link create_ + +Create a SharedPrivateLinkResource + +## Versions + +### [2025-01-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc2hhcmVkcHJpdmF0ZWxpbmtyZXNvdXJjZXMve30=/2025-01-02.xml) **Stable** + + diff --git a/Commands/databasewatcher/shared-private-link/_delete.md b/Commands/databasewatcher/shared-private-link/_delete.md new file mode 100644 index 000000000..e3e08456b --- /dev/null +++ b/Commands/databasewatcher/shared-private-link/_delete.md @@ -0,0 +1,9 @@ +# [Command] _databasewatcher shared-private-link delete_ + +Delete a SharedPrivateLinkResource + +## Versions + +### [2025-01-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc2hhcmVkcHJpdmF0ZWxpbmtyZXNvdXJjZXMve30=/2025-01-02.xml) **Stable** + + diff --git a/Commands/databasewatcher/shared-private-link/_list.md b/Commands/databasewatcher/shared-private-link/_list.md new file mode 100644 index 000000000..23e43bb64 --- /dev/null +++ b/Commands/databasewatcher/shared-private-link/_list.md @@ -0,0 +1,9 @@ +# [Command] _databasewatcher shared-private-link list_ + +List SharedPrivateLinkResource resources by Watcher + +## Versions + +### [2025-01-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc2hhcmVkcHJpdmF0ZWxpbmtyZXNvdXJjZXM=/2025-01-02.xml) **Stable** + + diff --git a/Commands/databasewatcher/shared-private-link/_show.md b/Commands/databasewatcher/shared-private-link/_show.md new file mode 100644 index 000000000..7869a2983 --- /dev/null +++ b/Commands/databasewatcher/shared-private-link/_show.md @@ -0,0 +1,9 @@ +# [Command] _databasewatcher shared-private-link show_ + +Get a SharedPrivateLinkResource + +## Versions + +### [2025-01-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc2hhcmVkcHJpdmF0ZWxpbmtyZXNvdXJjZXMve30=/2025-01-02.xml) **Stable** + + diff --git a/Commands/databasewatcher/shared-private-link/readme.md b/Commands/databasewatcher/shared-private-link/readme.md new file mode 100644 index 000000000..d42ad9e37 --- /dev/null +++ b/Commands/databasewatcher/shared-private-link/readme.md @@ -0,0 +1,17 @@ +# [Group] _databasewatcher shared-private-link_ + +Manage the Database Watcher shared private link resource. + +## Commands + +- [create](/Commands/databasewatcher/shared-private-link/_create.md) +: Create a SharedPrivateLinkResource + +- [delete](/Commands/databasewatcher/shared-private-link/_delete.md) +: Delete a SharedPrivateLinkResource + +- [list](/Commands/databasewatcher/shared-private-link/_list.md) +: List SharedPrivateLinkResource resources by Watcher + +- [show](/Commands/databasewatcher/shared-private-link/_show.md) +: Get a SharedPrivateLinkResource diff --git a/Commands/databasewatcher/target/_create.md b/Commands/databasewatcher/target/_create.md new file mode 100644 index 000000000..74e674c97 --- /dev/null +++ b/Commands/databasewatcher/target/_create.md @@ -0,0 +1,9 @@ +# [Command] _databasewatcher target create_ + +Create a Target + +## Versions + +### [2025-01-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vdGFyZ2V0cy97fQ==/2025-01-02.xml) **Stable** + + diff --git a/Commands/databasewatcher/target/_delete.md b/Commands/databasewatcher/target/_delete.md new file mode 100644 index 000000000..ff014dcdf --- /dev/null +++ b/Commands/databasewatcher/target/_delete.md @@ -0,0 +1,9 @@ +# [Command] _databasewatcher target delete_ + +Delete a Target + +## Versions + +### [2025-01-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vdGFyZ2V0cy97fQ==/2025-01-02.xml) **Stable** + + diff --git a/Commands/databasewatcher/target/_list.md b/Commands/databasewatcher/target/_list.md new file mode 100644 index 000000000..cfa06347a --- /dev/null +++ b/Commands/databasewatcher/target/_list.md @@ -0,0 +1,9 @@ +# [Command] _databasewatcher target list_ + +List Target resources by Watcher + +## Versions + +### [2025-01-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vdGFyZ2V0cw==/2025-01-02.xml) **Stable** + + diff --git a/Commands/databasewatcher/target/_show.md b/Commands/databasewatcher/target/_show.md new file mode 100644 index 000000000..c6c9d7685 --- /dev/null +++ b/Commands/databasewatcher/target/_show.md @@ -0,0 +1,9 @@ +# [Command] _databasewatcher target show_ + +Get a Target + +## Versions + +### [2025-01-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vdGFyZ2V0cy97fQ==/2025-01-02.xml) **Stable** + + diff --git a/Commands/databasewatcher/target/_update.md b/Commands/databasewatcher/target/_update.md new file mode 100644 index 000000000..a8d49ff4b --- /dev/null +++ b/Commands/databasewatcher/target/_update.md @@ -0,0 +1,9 @@ +# [Command] _databasewatcher target update_ + +Update a Target + +## Versions + +### [2025-01-02](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vdGFyZ2V0cy97fQ==/2025-01-02.xml) **Stable** + + diff --git a/Commands/databasewatcher/target/readme.md b/Commands/databasewatcher/target/readme.md new file mode 100644 index 000000000..bfd729d91 --- /dev/null +++ b/Commands/databasewatcher/target/readme.md @@ -0,0 +1,20 @@ +# [Group] _databasewatcher target_ + +Manage the Database Watcher target resource. + +## Commands + +- [create](/Commands/databasewatcher/target/_create.md) +: Create a Target + +- [delete](/Commands/databasewatcher/target/_delete.md) +: Delete a Target + +- [list](/Commands/databasewatcher/target/_list.md) +: List Target resources by Watcher + +- [show](/Commands/databasewatcher/target/_show.md) +: Get a Target + +- [update](/Commands/databasewatcher/target/_update.md) +: Update a Target diff --git a/Commands/readme.md b/Commands/readme.md index 837541de6..0588ac560 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -107,6 +107,9 @@ - [data-boundary](/Commands/data-boundary/readme.md) : data boundary operations +- [databasewatcher](/Commands/databasewatcher/readme.md) +: Manage the Database Watcher service. + - [databox](/Commands/databox/readme.md) : Manage data box diff --git a/Commands/tree.json b/Commands/tree.json index 3963a577b..49e63eef9 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -26376,6 +26376,477 @@ "data-boundary" ] }, + "databasewatcher": { + "commandGroups": { + "health-validation": { + "commands": { + "start": { + "help": { + "short": "Starts health validation for a watcher." + }, + "names": [ + "databasewatcher", + "health-validation", + "start" + ], + "versions": [ + { + "name": "2025-01-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/healthvalidations/{}/startvalidation", + "plane": "mgmt-plane", + "version": "2025-01-02" + } + ] + } + ] + } + }, + "help": { + "short": "Manage the Database Watcher health validation resource." + }, + "names": [ + "databasewatcher", + "health-validation" + ] + }, + "identity": { + "commands": { + "assign": { + "help": { + "short": "Assign the user or system managed identities." + }, + "names": [ + "databasewatcher", + "identity", + "assign" + ], + "versions": [ + { + "name": "2025-01-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}", + "plane": "mgmt-plane", + "subresource": "identity", + "version": "2025-01-02" + } + ] + } + ] + }, + "remove": { + "help": { + "short": "Remove the user or system managed identities." + }, + "names": [ + "databasewatcher", + "identity", + "remove" + ], + "versions": [ + { + "name": "2025-01-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}", + "plane": "mgmt-plane", + "subresource": "identity", + "version": "2025-01-02" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Show the details of managed identities." + }, + "names": [ + "databasewatcher", + "identity", + "show" + ], + "versions": [ + { + "name": "2025-01-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}", + "plane": "mgmt-plane", + "subresource": "identity", + "version": "2025-01-02" + } + ] + } + ] + } + }, + "help": { + "short": "Manage identities for Database Watcher resource." + }, + "names": [ + "databasewatcher", + "identity" + ] + }, + "shared-private-link": { + "commands": { + "create": { + "help": { + "short": "Create a SharedPrivateLinkResource" + }, + "names": [ + "databasewatcher", + "shared-private-link", + "create" + ], + "versions": [ + { + "name": "2025-01-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/sharedprivatelinkresources/{}", + "plane": "mgmt-plane", + "version": "2025-01-02" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete a SharedPrivateLinkResource" + }, + "names": [ + "databasewatcher", + "shared-private-link", + "delete" + ], + "versions": [ + { + "name": "2025-01-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/sharedprivatelinkresources/{}", + "plane": "mgmt-plane", + "version": "2025-01-02" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List SharedPrivateLinkResource resources by Watcher" + }, + "names": [ + "databasewatcher", + "shared-private-link", + "list" + ], + "versions": [ + { + "name": "2025-01-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/sharedprivatelinkresources", + "plane": "mgmt-plane", + "version": "2025-01-02" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get a SharedPrivateLinkResource" + }, + "names": [ + "databasewatcher", + "shared-private-link", + "show" + ], + "versions": [ + { + "name": "2025-01-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/sharedprivatelinkresources/{}", + "plane": "mgmt-plane", + "version": "2025-01-02" + } + ] + } + ] + } + }, + "help": { + "short": "Manage the Database Watcher shared private link resource." + }, + "names": [ + "databasewatcher", + "shared-private-link" + ] + }, + "target": { + "commands": { + "create": { + "help": { + "short": "Create a Target" + }, + "names": [ + "databasewatcher", + "target", + "create" + ], + "versions": [ + { + "name": "2025-01-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/targets/{}", + "plane": "mgmt-plane", + "version": "2025-01-02" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete a Target" + }, + "names": [ + "databasewatcher", + "target", + "delete" + ], + "versions": [ + { + "name": "2025-01-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/targets/{}", + "plane": "mgmt-plane", + "version": "2025-01-02" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List Target resources by Watcher" + }, + "names": [ + "databasewatcher", + "target", + "list" + ], + "versions": [ + { + "name": "2025-01-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/targets", + "plane": "mgmt-plane", + "version": "2025-01-02" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get a Target" + }, + "names": [ + "databasewatcher", + "target", + "show" + ], + "versions": [ + { + "name": "2025-01-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/targets/{}", + "plane": "mgmt-plane", + "version": "2025-01-02" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update a Target" + }, + "names": [ + "databasewatcher", + "target", + "update" + ], + "versions": [ + { + "name": "2025-01-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/targets/{}", + "plane": "mgmt-plane", + "version": "2025-01-02" + } + ] + } + ] + } + }, + "help": { + "short": "Manage the Database Watcher target resource." + }, + "names": [ + "databasewatcher", + "target" + ] + } + }, + "commands": { + "create": { + "help": { + "short": "Create a Watcher" + }, + "names": [ + "databasewatcher", + "create" + ], + "versions": [ + { + "name": "2025-01-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}", + "plane": "mgmt-plane", + "version": "2025-01-02" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete a Watcher" + }, + "names": [ + "databasewatcher", + "delete" + ], + "versions": [ + { + "name": "2025-01-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}", + "plane": "mgmt-plane", + "version": "2025-01-02" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get a Watcher" + }, + "names": [ + "databasewatcher", + "show" + ], + "versions": [ + { + "name": "2025-01-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}", + "plane": "mgmt-plane", + "version": "2025-01-02" + } + ] + } + ] + }, + "start": { + "help": { + "short": "Start monitoring all targets configured for a database watcher." + }, + "names": [ + "databasewatcher", + "start" + ], + "versions": [ + { + "name": "2025-01-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/start", + "plane": "mgmt-plane", + "version": "2025-01-02" + } + ] + } + ] + }, + "stop": { + "help": { + "short": "Stop monitoring all targets configured for a database watcher." + }, + "names": [ + "databasewatcher", + "stop" + ], + "versions": [ + { + "name": "2025-01-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/stop", + "plane": "mgmt-plane", + "version": "2025-01-02" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update a Watcher" + }, + "names": [ + "databasewatcher", + "update" + ], + "versions": [ + { + "name": "2025-01-02", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}", + "plane": "mgmt-plane", + "version": "2025-01-02" + } + ] + } + ] + } + }, + "help": { + "short": "Manage the Database Watcher service." + }, + "names": [ + "databasewatcher" + ] + }, "databox": { "commandGroups": { "job": { diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30=/2025-01-02.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30=/2025-01-02.json new file mode 100644 index 000000000..4a1f4c988 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30=/2025-01-02.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0=/V/MjAyNS0wMS0wMg=="}], "commandGroups": [{"name": "databasewatcher", "commands": [{"name": "show", "version": "2025-01-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0=/V/MjAyNS0wMS0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.watcherName", "options": ["n", "name", "watcher-name"], "required": true, "idPart": "name", "help": {"short": "The database watcher name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}], "operations": [{"operationId": "Watchers_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DatabaseWatcher/watchers/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "datastore", "props": [{"type": "ResourceId", "name": "adxClusterResourceId"}, {"type": "string", "name": "kustoClusterDisplayName"}, {"type": "string", "name": "kustoClusterUri", "required": true}, {"type": "string", "name": "kustoDataIngestionUri", "required": true}, {"type": "string", "name": "kustoDatabaseName", "required": true}, {"type": "string", "name": "kustoManagementUrl", "required": true}, {"type": "string", "name": "kustoOfferingType", "required": true, "enum": {"items": [{"value": "adx"}, {"value": "fabric"}, {"value": "free"}]}}]}, {"type": "ResourceId", "name": "defaultAlertRuleIdentityResourceId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Deleting"}, {"value": "Running"}, {"value": "Starting"}, {"value": "Stopped"}, {"value": "Stopping"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2025-01-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0=/V/MjAyNS0wMS0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.watcherName", "options": ["n", "name", "watcher-name"], "required": true, "idPart": "name", "help": {"short": "The database watcher name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Watchers_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2025-01-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0=/V/MjAyNS0wMS0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.watcherName", "options": ["n", "name", "watcher-name"], "required": true, "idPart": "name", "help": {"short": "The database watcher name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, {"name": "Identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$resource.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Identity", "help": {"short": "Set the system managed identity."}}, {"type": "string", "var": "$resource.identity.type", "options": ["type"], "hide": true, "group": "Identity", "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"blank": {"value": []}, "type": "array", "var": "$resource.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}, {"type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "hide": true, "group": "Identity", "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.datastore", "options": ["datastore"], "group": "Properties", "help": {"short": "The data store for collected monitoring data."}, "args": [{"type": "ResourceId", "var": "$resource.properties.datastore.adxClusterResourceId", "options": ["adx-cluster-resource-id"], "group": "", "help": {"short": "The Azure resource ID of an Azure Data Explorer cluster. Value required if kusto-offering-type is adx. Do not pass value if kusto-offering-type is fabric or free."}}, {"type": "string", "var": "$resource.properties.datastore.kustoClusterDisplayName", "options": ["kusto-cluster-display-name"], "group": "", "help": {"short": "The Kusto cluster display name. Value required if kusto-offering-type is adx or free. Do not pass value if kusto-offering-type is fabric."}}, {"type": "string", "var": "$resource.properties.datastore.kustoClusterUri", "options": ["kusto-cluster-uri"], "required": true, "help": {"short": "The Kusto cluster URI."}}, {"type": "string", "var": "$resource.properties.datastore.kustoDataIngestionUri", "options": ["kusto-data-ingestion-uri"], "required": true, "help": {"short": "The Kusto data ingestion URI."}}, {"type": "string", "var": "$resource.properties.datastore.kustoDatabaseName", "options": ["kusto-database-name"], "required": true, "help": {"short": "The name of a Kusto database."}}, {"type": "string", "var": "$resource.properties.datastore.kustoManagementUrl", "options": ["kusto-management-url"], "required": true, "help": {"short": "The Kusto management URL."}}, {"type": "string", "var": "$resource.properties.datastore.kustoOfferingType", "options": ["kusto-offering-type"], "required": true, "help": {"short": "The type of a Kusto offering."}, "enum": {"items": [{"name": "adx", "value": "adx"}, {"name": "fabric", "value": "fabric"}, {"name": "free", "value": "free"}]}}]}, {"type": "ResourceId", "var": "$resource.properties.defaultAlertRuleIdentityResourceId", "options": ["default-alert-rule-identity-resource-id"], "group": "Properties", "help": {"short": "The resource ID of a user-assigned managed identity that will be assigned to a new alert rule."}}]}, {"name": "Resource", "args": [{"type": "ResourceLocation", "var": "$resource.location", "options": ["l", "location"], "required": true, "group": "Resource", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Watchers_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}], "userAssigned": {"action": "create", "type": "array", "name": "userAssigned", "arg": "$resource.identity.userAssigned", "item": {"action": "create", "type": "string"}}, "systemAssigned": {"action": "create", "type": "string", "name": "systemAssigned", "arg": "$resource.identity.systemAssigned"}}, {"type": "ResourceLocation", "name": "location", "arg": "$resource.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "datastore", "arg": "$resource.properties.datastore", "props": [{"type": "ResourceId", "name": "adxClusterResourceId", "arg": "$resource.properties.datastore.adxClusterResourceId"}, {"type": "string", "name": "kustoClusterDisplayName", "arg": "$resource.properties.datastore.kustoClusterDisplayName"}, {"type": "string", "name": "kustoClusterUri", "arg": "$resource.properties.datastore.kustoClusterUri", "required": true}, {"type": "string", "name": "kustoDataIngestionUri", "arg": "$resource.properties.datastore.kustoDataIngestionUri", "required": true}, {"type": "string", "name": "kustoDatabaseName", "arg": "$resource.properties.datastore.kustoDatabaseName", "required": true}, {"type": "string", "name": "kustoManagementUrl", "arg": "$resource.properties.datastore.kustoManagementUrl", "required": true}, {"type": "string", "name": "kustoOfferingType", "arg": "$resource.properties.datastore.kustoOfferingType", "required": true, "enum": {"items": [{"value": "adx"}, {"value": "fabric"}, {"value": "free"}]}}]}, {"type": "ResourceId", "name": "defaultAlertRuleIdentityResourceId", "arg": "$resource.properties.defaultAlertRuleIdentityResourceId"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DatabaseWatcher/watchers/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "datastore", "props": [{"type": "ResourceId", "name": "adxClusterResourceId"}, {"type": "string", "name": "kustoClusterDisplayName"}, {"type": "string", "name": "kustoClusterUri", "required": true}, {"type": "string", "name": "kustoDataIngestionUri", "required": true}, {"type": "string", "name": "kustoDatabaseName", "required": true}, {"type": "string", "name": "kustoManagementUrl", "required": true}, {"type": "string", "name": "kustoOfferingType", "required": true, "enum": {"items": [{"value": "adx"}, {"value": "fabric"}, {"value": "free"}]}}]}, {"type": "ResourceId", "name": "defaultAlertRuleIdentityResourceId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Deleting"}, {"value": "Running"}, {"value": "Starting"}, {"value": "Stopped"}, {"value": "Stopping"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2025-01-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0=/V/MjAyNS0wMS0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.watcherName", "options": ["n", "name", "watcher-name"], "required": true, "idPart": "name", "help": {"short": "The database watcher name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, {"name": "Identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$properties.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "hide": true, "group": "Identity", "help": {"short": "Set the system managed identity."}}, {"type": "string", "var": "$properties.identity.type", "options": ["type"], "hide": true, "group": "Identity", "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"blank": {"value": []}, "type": "array", "var": "$properties.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "hide": true, "group": "Identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}, {"type": "object", "var": "$properties.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "hide": true, "group": "Identity", "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$properties.properties.datastore", "options": ["datastore"], "group": "Properties", "help": {"short": "The data store for collected monitoring data."}, "args": [{"type": "ResourceId", "var": "$properties.properties.datastore.adxClusterResourceId", "options": ["adx-cluster-resource-id"], "group": "", "help": {"short": "The Azure resource ID of an Azure Data Explorer cluster. Value required if kusto-offering-type is adx. Do not pass value if kusto-offering-type is fabric or free."}}, {"type": "string", "var": "$properties.properties.datastore.kustoClusterDisplayName", "options": ["kusto-cluster-display-name"], "group": "", "help": {"short": "The Kusto cluster display name. Value required if kusto-offering-type is adx or free. Do not pass value if kusto-offering-type is fabric."}}, {"type": "string", "var": "$properties.properties.datastore.kustoClusterUri", "options": ["kusto-cluster-uri"], "help": {"short": "The Kusto cluster URI."}}, {"type": "string", "var": "$properties.properties.datastore.kustoDataIngestionUri", "options": ["kusto-data-ingestion-uri"], "help": {"short": "The Kusto data ingestion URI."}}, {"type": "string", "var": "$properties.properties.datastore.kustoDatabaseName", "options": ["kusto-database-name"], "help": {"short": "The name of a Kusto database."}}, {"type": "string", "var": "$properties.properties.datastore.kustoManagementUrl", "options": ["kusto-management-url"], "help": {"short": "The Kusto management URL."}}, {"type": "string", "var": "$properties.properties.datastore.kustoOfferingType", "options": ["kusto-offering-type"], "help": {"short": "The type of a Kusto offering."}, "enum": {"items": [{"name": "adx", "value": "adx"}, {"name": "fabric", "value": "fabric"}, {"name": "free", "value": "free"}]}}]}, {"type": "ResourceId", "var": "$properties.properties.defaultAlertRuleIdentityResourceId", "options": ["default-alert-rule-identity-resource-id"], "group": "Properties", "help": {"short": "The resource ID of a user-assigned managed identity that will be assigned to a new alert rule."}}, {"type": "object", "var": "$properties.tags", "options": ["tags"], "group": "Properties", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Watchers_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "properties", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$properties.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$properties.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}], "userAssigned": {"action": "create", "type": "array", "name": "userAssigned", "arg": "$properties.identity.userAssigned", "item": {"action": "create", "type": "string"}}, "systemAssigned": {"action": "create", "type": "string", "name": "systemAssigned", "arg": "$properties.identity.systemAssigned"}}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "datastore", "arg": "$properties.properties.datastore", "props": [{"type": "ResourceId", "name": "adxClusterResourceId", "arg": "$properties.properties.datastore.adxClusterResourceId"}, {"type": "string", "name": "kustoClusterDisplayName", "arg": "$properties.properties.datastore.kustoClusterDisplayName"}, {"type": "string", "name": "kustoClusterUri", "arg": "$properties.properties.datastore.kustoClusterUri"}, {"type": "string", "name": "kustoDataIngestionUri", "arg": "$properties.properties.datastore.kustoDataIngestionUri"}, {"type": "string", "name": "kustoDatabaseName", "arg": "$properties.properties.datastore.kustoDatabaseName"}, {"type": "string", "name": "kustoManagementUrl", "arg": "$properties.properties.datastore.kustoManagementUrl"}, {"type": "string", "name": "kustoOfferingType", "arg": "$properties.properties.datastore.kustoOfferingType", "enum": {"items": [{"value": "adx"}, {"value": "fabric"}, {"value": "free"}]}}]}, {"type": "ResourceId", "name": "defaultAlertRuleIdentityResourceId", "arg": "$properties.properties.defaultAlertRuleIdentityResourceId"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$properties.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DatabaseWatcher/watchers/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "datastore", "props": [{"type": "ResourceId", "name": "adxClusterResourceId"}, {"type": "string", "name": "kustoClusterDisplayName"}, {"type": "string", "name": "kustoClusterUri", "required": true}, {"type": "string", "name": "kustoDataIngestionUri", "required": true}, {"type": "string", "name": "kustoDatabaseName", "required": true}, {"type": "string", "name": "kustoManagementUrl", "required": true}, {"type": "string", "name": "kustoOfferingType", "required": true, "enum": {"items": [{"value": "adx"}, {"value": "fabric"}, {"value": "free"}]}}]}, {"type": "ResourceId", "name": "defaultAlertRuleIdentityResourceId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Deleting"}, {"value": "Running"}, {"value": "Starting"}, {"value": "Stopped"}, {"value": "Stopping"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}], "commandGroups": [{"name": "identity", "commands": [{"name": "assign", "version": "2025-01-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}", "version": "2025-01-02", "subresource": "identity", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0=/V/MjAyNS0wMS0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.watcherName", "options": ["n", "name", "watcher-name"], "required": true, "idPart": "name", "help": {"short": "The database watcher name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, {"name": "Resource.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$resource.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Resource.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$resource.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Resource.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "resource", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "Watchers_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DatabaseWatcher/watchers/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "datastore", "props": [{"type": "ResourceId", "name": "adxClusterResourceId"}, {"type": "string", "name": "kustoClusterDisplayName"}, {"type": "string", "name": "kustoClusterUri", "required": true}, {"type": "string", "name": "kustoDataIngestionUri", "required": true}, {"type": "string", "name": "kustoDatabaseName", "required": true}, {"type": "string", "name": "kustoManagementUrl", "required": true}, {"type": "string", "name": "kustoOfferingType", "required": true, "enum": {"items": [{"value": "adx"}, {"value": "fabric"}, {"value": "free"}]}}]}, {"type": "ResourceId", "name": "defaultAlertRuleIdentityResourceId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Deleting"}, {"value": "Running"}, {"value": "Starting"}, {"value": "Stopped"}, {"value": "Stopping"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Watcher_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "assign", "type": "IdentityObject", "name": "resource.identity", "required": true, "userAssigned": {"action": "assign", "type": "array", "name": "userAssigned", "arg": "$resource.identity.userAssigned", "item": {"action": "assign", "type": "string"}}, "systemAssigned": {"action": "assign", "type": "string", "name": "systemAssigned", "arg": "$resource.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Watchers_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Watcher_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}, {"name": "remove", "version": "2025-01-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}", "version": "2025-01-02", "subresource": "identity", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0=/V/MjAyNS0wMS0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.watcherName", "options": ["n", "name", "watcher-name"], "required": true, "idPart": "name", "help": {"short": "The database watcher name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, {"name": "Resource.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$resource.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Resource.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$resource.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Resource.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "resource", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "Watchers_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DatabaseWatcher/watchers/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "datastore", "props": [{"type": "ResourceId", "name": "adxClusterResourceId"}, {"type": "string", "name": "kustoClusterDisplayName"}, {"type": "string", "name": "kustoClusterUri", "required": true}, {"type": "string", "name": "kustoDataIngestionUri", "required": true}, {"type": "string", "name": "kustoDatabaseName", "required": true}, {"type": "string", "name": "kustoManagementUrl", "required": true}, {"type": "string", "name": "kustoOfferingType", "required": true, "enum": {"items": [{"value": "adx"}, {"value": "fabric"}, {"value": "free"}]}}]}, {"type": "ResourceId", "name": "defaultAlertRuleIdentityResourceId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Deleting"}, {"value": "Running"}, {"value": "Starting"}, {"value": "Stopped"}, {"value": "Stopping"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Watcher_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "remove", "type": "IdentityObject", "name": "resource.identity", "required": true, "userAssigned": {"action": "remove", "type": "array", "name": "userAssigned", "arg": "$resource.identity.userAssigned", "item": {"action": "remove", "type": "string"}}, "systemAssigned": {"action": "remove", "type": "string", "name": "systemAssigned", "arg": "$resource.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Watchers_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Watcher_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "show", "version": "2025-01-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}", "version": "2025-01-02", "subresource": "identity", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0=/V/MjAyNS0wMS0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.watcherName", "options": ["n", "name", "watcher-name"], "required": true, "idPart": "name", "help": {"short": "The database watcher name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "resource", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "Watchers_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DatabaseWatcher/watchers/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "datastore", "props": [{"type": "ResourceId", "name": "adxClusterResourceId"}, {"type": "string", "name": "kustoClusterDisplayName"}, {"type": "string", "name": "kustoClusterUri", "required": true}, {"type": "string", "name": "kustoDataIngestionUri", "required": true}, {"type": "string", "name": "kustoDatabaseName", "required": true}, {"type": "string", "name": "kustoManagementUrl", "required": true}, {"type": "string", "name": "kustoOfferingType", "required": true, "enum": {"items": [{"value": "adx"}, {"value": "fabric"}, {"value": "free"}]}}]}, {"type": "ResourceId", "name": "defaultAlertRuleIdentityResourceId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Deleting"}, {"value": "Running"}, {"value": "Starting"}, {"value": "Stopped"}, {"value": "Stopping"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Watcher_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30=/2025-01-02.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30=/2025-01-02.xml new file mode 100644 index 000000000..8bf949f2b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30=/2025-01-02.xml @@ -0,0 +1,1251 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vaGVhbHRodmFsaWRhdGlvbnMve30vc3RhcnR2YWxpZGF0aW9u/2025-01-02.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vaGVhbHRodmFsaWRhdGlvbnMve30vc3RhcnR2YWxpZGF0aW9u/2025-01-02.json new file mode 100644 index 000000000..6f0576b8b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vaGVhbHRodmFsaWRhdGlvbnMve30vc3RhcnR2YWxpZGF0aW9u/2025-01-02.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/healthvalidations/{}/startvalidation", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0vaGVhbHRoVmFsaWRhdGlvbnMve2hlYWx0aFZhbGlkYXRpb25OYW1lfS9zdGFydFZhbGlkYXRpb24=/V/MjAyNS0wMS0wMg=="}], "commandGroups": [{"name": "databasewatcher health-validation", "commands": [{"name": "start", "version": "2025-01-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/healthvalidations/{}/startvalidation", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0vaGVhbHRoVmFsaWRhdGlvbnMve2hlYWx0aFZhbGlkYXRpb25OYW1lfS9zdGFydFZhbGlkYXRpb24=/V/MjAyNS0wMS0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthValidationName", "options": ["health-validation-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "The health validation resource name. The operation would fail if not using the default value."}, "default": {"value": "healthValidation"}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_.]{0,62}[a-zA-Z0-9_]{1}$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.watcherName", "options": ["watcher-name"], "required": true, "idPart": "name", "help": {"short": "The database watcher name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "HealthValidations_StartValidation", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/healthValidations/{healthValidationName}/startValidation", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "healthValidationName", "arg": "$Path.healthValidationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_.]{0,62}[a-zA-Z0-9_]{1}$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DatabaseWatcher/watchers/{}/healthValidations/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "dateTime", "name": "endTime"}, {"readOnly": true, "type": "array", "name": "issues", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "additionalDetails"}, {"readOnly": true, "type": "string", "name": "errorCode"}, {"readOnly": true, "type": "string", "name": "errorMessage"}, {"readOnly": true, "type": "string", "name": "recommendationMessage"}, {"readOnly": true, "type": "string", "name": "recommendationUrl"}, {"readOnly": true, "type": "ResourceId", "name": "relatedResourceId"}, {"readOnly": true, "type": "string", "name": "relatedResourceType"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"readOnly": true, "type": "dateTime", "name": "startTime"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "NotStarted"}, {"value": "Running"}, {"value": "Succeeded"}, {"value": "TimedOut"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vaGVhbHRodmFsaWRhdGlvbnMve30vc3RhcnR2YWxpZGF0aW9u/2025-01-02.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vaGVhbHRodmFsaWRhdGlvbnMve30vc3RhcnR2YWxpZGF0aW9u/2025-01-02.xml new file mode 100644 index 000000000..3b1292aa1 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vaGVhbHRodmFsaWRhdGlvbnMve30vc3RhcnR2YWxpZGF0aW9u/2025-01-02.xml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc2hhcmVkcHJpdmF0ZWxpbmtyZXNvdXJjZXM=/2025-01-02.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc2hhcmVkcHJpdmF0ZWxpbmtyZXNvdXJjZXM=/2025-01-02.json new file mode 100644 index 000000000..2eca04b45 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc2hhcmVkcHJpdmF0ZWxpbmtyZXNvdXJjZXM=/2025-01-02.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/sharedprivatelinkresources", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0vc2hhcmVkUHJpdmF0ZUxpbmtSZXNvdXJjZXM=/V/MjAyNS0wMS0wMg=="}], "commandGroups": [{"name": "databasewatcher shared-private-link", "commands": [{"name": "list", "version": "2025-01-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/sharedprivatelinkresources", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0vc2hhcmVkUHJpdmF0ZUxpbmtSZXNvdXJjZXM=/V/MjAyNS0wMS0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.watcherName", "options": ["watcher-name"], "required": true, "idPart": "name", "help": {"short": "The database watcher name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}], "operations": [{"operationId": "SharedPrivateLinkResources_ListByWatcher", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/sharedPrivateLinkResources", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DatabaseWatcher/watchers/{}/sharedPrivateLinkResources/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dnsZone"}, {"type": "string", "name": "groupId", "required": true}, {"type": "ResourceId", "name": "privateLinkResourceId", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "string", "name": "requestMessage", "required": true}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Disconnected"}, {"value": "Pending"}, {"value": "Rejected"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc2hhcmVkcHJpdmF0ZWxpbmtyZXNvdXJjZXM=/2025-01-02.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc2hhcmVkcHJpdmF0ZWxpbmtyZXNvdXJjZXM=/2025-01-02.xml new file mode 100644 index 000000000..18d464b52 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc2hhcmVkcHJpdmF0ZWxpbmtyZXNvdXJjZXM=/2025-01-02.xml @@ -0,0 +1,107 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc2hhcmVkcHJpdmF0ZWxpbmtyZXNvdXJjZXMve30=/2025-01-02.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc2hhcmVkcHJpdmF0ZWxpbmtyZXNvdXJjZXMve30=/2025-01-02.json new file mode 100644 index 000000000..3614e37fd --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc2hhcmVkcHJpdmF0ZWxpbmtyZXNvdXJjZXMve30=/2025-01-02.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/sharedprivatelinkresources/{}", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0vc2hhcmVkUHJpdmF0ZUxpbmtSZXNvdXJjZXMve3NoYXJlZFByaXZhdGVMaW5rUmVzb3VyY2VOYW1lfQ==/V/MjAyNS0wMS0wMg=="}], "commandGroups": [{"name": "databasewatcher shared-private-link", "commands": [{"name": "show", "version": "2025-01-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/sharedprivatelinkresources/{}", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0vc2hhcmVkUHJpdmF0ZUxpbmtSZXNvdXJjZXMve3NoYXJlZFByaXZhdGVMaW5rUmVzb3VyY2VOYW1lfQ==/V/MjAyNS0wMS0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.sharedPrivateLinkResourceName", "options": ["n", "name", "shared-private-link-resource-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The Shared Private Link resource name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_.]{0,62}[a-zA-Z0-9_]{1}$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.watcherName", "options": ["watcher-name"], "required": true, "idPart": "name", "help": {"short": "The database watcher name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}], "operations": [{"operationId": "SharedPrivateLinkResources_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "sharedPrivateLinkResourceName", "arg": "$Path.sharedPrivateLinkResourceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_.]{0,62}[a-zA-Z0-9_]{1}$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DatabaseWatcher/watchers/{}/sharedPrivateLinkResources/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dnsZone"}, {"type": "string", "name": "groupId", "required": true}, {"type": "ResourceId", "name": "privateLinkResourceId", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "string", "name": "requestMessage", "required": true}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Disconnected"}, {"value": "Pending"}, {"value": "Rejected"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2025-01-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/sharedprivatelinkresources/{}", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0vc2hhcmVkUHJpdmF0ZUxpbmtSZXNvdXJjZXMve3NoYXJlZFByaXZhdGVMaW5rUmVzb3VyY2VOYW1lfQ==/V/MjAyNS0wMS0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.sharedPrivateLinkResourceName", "options": ["n", "name", "shared-private-link-resource-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The Shared Private Link resource name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_.]{0,62}[a-zA-Z0-9_]{1}$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.watcherName", "options": ["watcher-name"], "required": true, "idPart": "name", "help": {"short": "The database watcher name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "SharedPrivateLinkResources_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "sharedPrivateLinkResourceName", "arg": "$Path.sharedPrivateLinkResourceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_.]{0,62}[a-zA-Z0-9_]{1}$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2025-01-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/sharedprivatelinkresources/{}", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0vc2hhcmVkUHJpdmF0ZUxpbmtSZXNvdXJjZXMve3NoYXJlZFByaXZhdGVMaW5rUmVzb3VyY2VOYW1lfQ==/V/MjAyNS0wMS0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.sharedPrivateLinkResourceName", "options": ["n", "name", "shared-private-link-resource-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The Shared Private Link resource name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_.]{0,62}[a-zA-Z0-9_]{1}$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.watcherName", "options": ["watcher-name"], "required": true, "idPart": "name", "help": {"short": "The database watcher name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.dnsZone", "options": ["dns-zone"], "group": "Properties", "help": {"short": "The DNS zone segment to be included in the DNS name of the shared private link. Value is required for Azure Data Explorer clusters and SQL managed instances, and must be omitted for SQL logical servers and key vaults. The value is the second segment of the host FQDN name of the resource that the shared private link resource is for. For example: if the host name is 'adx-cluster-21187695.eastus.kusto.windows.net', then the value is 'eastus'; if the host name is 'sql-mi-23961134.767d5869f605.database.windows.net', then the value is '767d5869f605'."}}, {"type": "string", "var": "$resource.properties.groupId", "options": ["group-id"], "group": "Properties", "help": {"short": "The group id from the provider of resource the shared private link resource is for."}}, {"type": "ResourceId", "var": "$resource.properties.privateLinkResourceId", "options": ["private-link-resource-id"], "group": "Properties", "help": {"short": "The resource ID of the resource the shared private link resource is for."}}, {"type": "string", "var": "$resource.properties.requestMessage", "options": ["request-message"], "group": "Properties", "help": {"short": "The request message for requesting approval of the shared private link resource."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "SharedPrivateLinkResources_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "sharedPrivateLinkResourceName", "arg": "$Path.sharedPrivateLinkResourceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_.]{0,62}[a-zA-Z0-9_]{1}$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "dnsZone", "arg": "$resource.properties.dnsZone"}, {"type": "string", "name": "groupId", "arg": "$resource.properties.groupId", "required": true}, {"type": "ResourceId", "name": "privateLinkResourceId", "arg": "$resource.properties.privateLinkResourceId", "required": true}, {"type": "string", "name": "requestMessage", "arg": "$resource.properties.requestMessage", "required": true}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DatabaseWatcher/watchers/{}/sharedPrivateLinkResources/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dnsZone"}, {"type": "string", "name": "groupId", "required": true}, {"type": "ResourceId", "name": "privateLinkResourceId", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "string", "name": "requestMessage", "required": true}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Disconnected"}, {"value": "Pending"}, {"value": "Rejected"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc2hhcmVkcHJpdmF0ZWxpbmtyZXNvdXJjZXMve30=/2025-01-02.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc2hhcmVkcHJpdmF0ZWxpbmtyZXNvdXJjZXMve30=/2025-01-02.xml new file mode 100644 index 000000000..b11b3bdeb --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc2hhcmVkcHJpdmF0ZWxpbmtyZXNvdXJjZXMve30=/2025-01-02.xml @@ -0,0 +1,294 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc3RhcnQ=/2025-01-02.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc3RhcnQ=/2025-01-02.json new file mode 100644 index 000000000..4ca420971 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc3RhcnQ=/2025-01-02.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/start", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0vc3RhcnQ=/V/MjAyNS0wMS0wMg=="}], "commandGroups": [{"name": "databasewatcher", "commands": [{"name": "start", "version": "2025-01-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/start", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0vc3RhcnQ=/V/MjAyNS0wMS0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.watcherName", "options": ["watcher-name"], "required": true, "idPart": "name", "help": {"short": "The database watcher name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Watchers_Start", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/start", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DatabaseWatcher/watchers/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "datastore", "props": [{"type": "ResourceId", "name": "adxClusterResourceId"}, {"type": "string", "name": "kustoClusterDisplayName"}, {"type": "string", "name": "kustoClusterUri", "required": true}, {"type": "string", "name": "kustoDataIngestionUri", "required": true}, {"type": "string", "name": "kustoDatabaseName", "required": true}, {"type": "string", "name": "kustoManagementUrl", "required": true}, {"type": "string", "name": "kustoOfferingType", "required": true, "enum": {"items": [{"value": "adx"}, {"value": "fabric"}, {"value": "free"}]}}]}, {"type": "ResourceId", "name": "defaultAlertRuleIdentityResourceId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Deleting"}, {"value": "Running"}, {"value": "Starting"}, {"value": "Stopped"}, {"value": "Stopping"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc3RhcnQ=/2025-01-02.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc3RhcnQ=/2025-01-02.xml new file mode 100644 index 000000000..5a4c8111b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc3RhcnQ=/2025-01-02.xml @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc3RvcA==/2025-01-02.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc3RvcA==/2025-01-02.json new file mode 100644 index 000000000..54ef173dd --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc3RvcA==/2025-01-02.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/stop", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0vc3RvcA==/V/MjAyNS0wMS0wMg=="}], "commandGroups": [{"name": "databasewatcher", "commands": [{"name": "stop", "version": "2025-01-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/stop", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0vc3RvcA==/V/MjAyNS0wMS0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.watcherName", "options": ["watcher-name"], "required": true, "idPart": "name", "help": {"short": "The database watcher name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Watchers_Stop", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/stop", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DatabaseWatcher/watchers/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "datastore", "props": [{"type": "ResourceId", "name": "adxClusterResourceId"}, {"type": "string", "name": "kustoClusterDisplayName"}, {"type": "string", "name": "kustoClusterUri", "required": true}, {"type": "string", "name": "kustoDataIngestionUri", "required": true}, {"type": "string", "name": "kustoDatabaseName", "required": true}, {"type": "string", "name": "kustoManagementUrl", "required": true}, {"type": "string", "name": "kustoOfferingType", "required": true, "enum": {"items": [{"value": "adx"}, {"value": "fabric"}, {"value": "free"}]}}]}, {"type": "ResourceId", "name": "defaultAlertRuleIdentityResourceId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Deleting"}, {"value": "Running"}, {"value": "Starting"}, {"value": "Stopped"}, {"value": "Stopping"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc3RvcA==/2025-01-02.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc3RvcA==/2025-01-02.xml new file mode 100644 index 000000000..f83642e83 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vc3RvcA==/2025-01-02.xml @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vdGFyZ2V0cw==/2025-01-02.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vdGFyZ2V0cw==/2025-01-02.json new file mode 100644 index 000000000..47c80aa8a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vdGFyZ2V0cw==/2025-01-02.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/targets", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0vdGFyZ2V0cw==/V/MjAyNS0wMS0wMg=="}], "commandGroups": [{"name": "databasewatcher target", "commands": [{"name": "list", "version": "2025-01-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/targets", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0vdGFyZ2V0cw==/V/MjAyNS0wMS0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.watcherName", "options": ["watcher-name"], "required": true, "idPart": "name", "help": {"short": "The database watcher name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}], "operations": [{"operationId": "Targets_ListByWatcher", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/targets", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DatabaseWatcher/watchers/{}/targets/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "connectionServerName", "required": true, "format": {"maxLength": 200}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "string", "name": "targetAuthenticationType", "required": true, "enum": {"items": [{"value": "Aad"}, {"value": "Sql"}]}}, {"type": "string", "name": "targetType", "required": true, "enum": {"items": [{"value": "SqlDb"}, {"value": "SqlEp"}, {"value": "SqlMi"}]}}, {"type": "object", "name": "targetVault", "props": [{"type": "ResourceId", "name": "akvResourceId"}, {"type": "string", "name": "akvTargetPassword", "format": {"pattern": "^[a-zA-Z0-9-]{1,127}$"}}, {"type": "string", "name": "akvTargetUser", "format": {"pattern": "^[a-zA-Z0-9-]{1,127}$"}}]}], "discriminators": [{"property": "targetType", "value": "SqlDb", "props": [{"default": {"value": false}, "type": "boolean", "name": "readIntent"}, {"type": "ResourceId", "name": "sqlDbResourceId", "required": true}]}, {"property": "targetType", "value": "SqlEp", "props": [{"type": "ResourceId", "name": "anchorDatabaseResourceId", "required": true}, {"default": {"value": false}, "type": "boolean", "name": "readIntent"}, {"type": "ResourceId", "name": "sqlEpResourceId", "required": true}]}, {"property": "targetType", "value": "SqlMi", "props": [{"default": {"value": 1433}, "type": "integer32", "name": "connectionTcpPort"}, {"default": {"value": false}, "type": "boolean", "name": "readIntent"}, {"type": "ResourceId", "name": "sqlMiResourceId", "required": true}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vdGFyZ2V0cw==/2025-01-02.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vdGFyZ2V0cw==/2025-01-02.xml new file mode 100644 index 000000000..3741a440e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vdGFyZ2V0cw==/2025-01-02.xml @@ -0,0 +1,142 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vdGFyZ2V0cy97fQ==/2025-01-02.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vdGFyZ2V0cy97fQ==/2025-01-02.json new file mode 100644 index 000000000..264f2566e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vdGFyZ2V0cy97fQ==/2025-01-02.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/targets/{}", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0vdGFyZ2V0cy97dGFyZ2V0TmFtZX0=/V/MjAyNS0wMS0wMg=="}], "commandGroups": [{"name": "databasewatcher target", "commands": [{"name": "show", "version": "2025-01-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/targets/{}", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0vdGFyZ2V0cy97dGFyZ2V0TmFtZX0=/V/MjAyNS0wMS0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.targetName", "options": ["n", "name", "target-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The target resource name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}, {"type": "string", "var": "$Path.watcherName", "options": ["watcher-name"], "required": true, "idPart": "name", "help": {"short": "The database watcher name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}], "operations": [{"operationId": "Targets_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/targets/{targetName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "targetName", "arg": "$Path.targetName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DatabaseWatcher/watchers/{}/targets/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "connectionServerName", "required": true, "format": {"maxLength": 200}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "string", "name": "targetAuthenticationType", "required": true, "enum": {"items": [{"value": "Aad"}, {"value": "Sql"}]}}, {"type": "string", "name": "targetType", "required": true, "enum": {"items": [{"value": "SqlDb"}, {"value": "SqlEp"}, {"value": "SqlMi"}]}}, {"type": "object", "name": "targetVault", "props": [{"type": "ResourceId", "name": "akvResourceId"}, {"type": "string", "name": "akvTargetPassword", "format": {"pattern": "^[a-zA-Z0-9-]{1,127}$"}}, {"type": "string", "name": "akvTargetUser", "format": {"pattern": "^[a-zA-Z0-9-]{1,127}$"}}]}], "discriminators": [{"property": "targetType", "value": "SqlDb", "props": [{"default": {"value": false}, "type": "boolean", "name": "readIntent"}, {"type": "ResourceId", "name": "sqlDbResourceId", "required": true}]}, {"property": "targetType", "value": "SqlEp", "props": [{"type": "ResourceId", "name": "anchorDatabaseResourceId", "required": true}, {"default": {"value": false}, "type": "boolean", "name": "readIntent"}, {"type": "ResourceId", "name": "sqlEpResourceId", "required": true}]}, {"property": "targetType", "value": "SqlMi", "props": [{"default": {"value": 1433}, "type": "integer32", "name": "connectionTcpPort"}, {"default": {"value": false}, "type": "boolean", "name": "readIntent"}, {"type": "ResourceId", "name": "sqlMiResourceId", "required": true}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2025-01-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/targets/{}", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0vdGFyZ2V0cy97dGFyZ2V0TmFtZX0=/V/MjAyNS0wMS0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.targetName", "options": ["n", "name", "target-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The target resource name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}, {"type": "string", "var": "$Path.watcherName", "options": ["watcher-name"], "required": true, "idPart": "name", "help": {"short": "The database watcher name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}], "operations": [{"operationId": "Targets_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/targets/{targetName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "targetName", "arg": "$Path.targetName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2025-01-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/targets/{}", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0vdGFyZ2V0cy97dGFyZ2V0TmFtZX0=/V/MjAyNS0wMS0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.targetName", "options": ["n", "name", "target-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The target resource name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}, {"type": "string", "var": "$Path.watcherName", "options": ["watcher-name"], "required": true, "idPart": "name", "help": {"short": "The database watcher name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.SqlDb", "options": ["sql-db"], "group": "Properties", "args": [{"type": "boolean", "var": "$resource.properties.SqlDb.readIntent", "options": ["read-intent"], "help": {"short": "Set to true to monitor a high availability replica of specified target, if any."}, "default": {"value": false}}, {"type": "ResourceId", "var": "$resource.properties.SqlDb.sqlDbResourceId", "options": ["sql-db-resource-id"], "required": true, "help": {"short": "The Azure resource ID of an Azure SQL DB database target."}}]}, {"type": "object", "var": "$resource.properties.SqlEp", "options": ["sql-ep"], "group": "Properties", "args": [{"type": "ResourceId", "var": "$resource.properties.SqlEp.anchorDatabaseResourceId", "options": ["anchor-database-resource-id"], "required": true, "help": {"short": "The Azure resource ID of the anchor database used to connect to an elastic pool."}}, {"type": "boolean", "var": "$resource.properties.SqlEp.readIntent", "options": ["read-intent"], "help": {"short": "Set to true to monitor a high availability replica of specified target, if any."}, "default": {"value": false}}, {"type": "ResourceId", "var": "$resource.properties.SqlEp.sqlEpResourceId", "options": ["sql-ep-resource-id"], "required": true, "help": {"short": "The Azure resource ID of an Azure SQL DB elastic pool target."}}]}, {"type": "object", "var": "$resource.properties.SqlMi", "options": ["sql-mi"], "group": "Properties", "args": [{"type": "integer32", "var": "$resource.properties.SqlMi.connectionTcpPort", "options": ["connection-tcp-port"], "help": {"short": "The TCP port number to optionally use in the connection string when connecting to an Azure SQL Managed Instance target."}, "default": {"value": 1433}}, {"type": "boolean", "var": "$resource.properties.SqlMi.readIntent", "options": ["read-intent"], "help": {"short": "Set to true to monitor a high availability replica of specified target, if any."}, "default": {"value": false}}, {"type": "ResourceId", "var": "$resource.properties.SqlMi.sqlMiResourceId", "options": ["sql-mi-resource-id"], "required": true, "help": {"short": "The Azure resource ID of an Azure SQL Managed Instance target."}}]}, {"type": "string", "var": "$resource.properties.connectionServerName", "options": ["connection-server-name"], "group": "Properties", "help": {"short": "The FQDN host name of the server to use in the connection string when connecting to a target. For example, for an Azure SQL logical server in the Azure commercial cloud, the value might be 'sql-logical-server-22092780.database.windows.net'; for an Azure SQL managed instance in the Azure commercial cloud, the value might be 'sql-mi-39441134.767d5869f605.database.windows.net'. Port number and instance name must be specified separately."}, "format": {"maxLength": 200}}, {"type": "string", "var": "$resource.properties.targetAuthenticationType", "options": ["target-authentication-type"], "group": "Properties", "help": {"short": "The type of authentication to use when connecting to a target."}, "enum": {"items": [{"name": "Aad", "value": "Aad"}, {"name": "Sql", "value": "Sql"}]}}, {"type": "object", "var": "$resource.properties.targetVault", "options": ["target-vault"], "group": "Properties", "help": {"short": "To use SQL authentication when connecting to targets, specify the vault where the login name and password secrets are stored."}, "args": [{"type": "ResourceId", "var": "$resource.properties.targetVault.akvResourceId", "options": ["akv-resource-id"], "help": {"short": "The Azure resource ID of the Key Vault instance storing database authentication secrets."}}, {"type": "string", "var": "$resource.properties.targetVault.akvTargetPassword", "options": ["akv-target-password"], "help": {"short": "The path to the Key Vault secret storing the password for authentication to a target."}, "format": {"pattern": "^[a-zA-Z0-9-]{1,127}$"}}, {"type": "string", "var": "$resource.properties.targetVault.akvTargetUser", "options": ["akv-target-user"], "help": {"short": "The path to the Key Vault secret storing the login name (aka user name, aka account name) for authentication to a target."}, "format": {"pattern": "^[a-zA-Z0-9-]{1,127}$"}}]}]}], "operations": [{"operationId": "Targets_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/targets/{targetName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "targetName", "arg": "$Path.targetName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "connectionServerName", "arg": "$resource.properties.connectionServerName", "required": true, "format": {"maxLength": 200}}, {"type": "string", "name": "targetAuthenticationType", "arg": "$resource.properties.targetAuthenticationType", "required": true, "enum": {"items": [{"value": "Aad"}, {"value": "Sql"}]}}, {"type": "string", "name": "targetType", "required": true, "enum": {"items": [{"arg": "$resource.properties.SqlDb", "value": "SqlDb"}, {"arg": "$resource.properties.SqlEp", "value": "SqlEp"}, {"arg": "$resource.properties.SqlMi", "value": "SqlMi"}]}}, {"type": "object", "name": "targetVault", "arg": "$resource.properties.targetVault", "props": [{"type": "ResourceId", "name": "akvResourceId", "arg": "$resource.properties.targetVault.akvResourceId"}, {"type": "string", "name": "akvTargetPassword", "arg": "$resource.properties.targetVault.akvTargetPassword", "format": {"pattern": "^[a-zA-Z0-9-]{1,127}$"}}, {"type": "string", "name": "akvTargetUser", "arg": "$resource.properties.targetVault.akvTargetUser", "format": {"pattern": "^[a-zA-Z0-9-]{1,127}$"}}]}], "discriminators": [{"property": "targetType", "value": "SqlDb", "props": [{"default": {"value": false}, "type": "boolean", "name": "readIntent", "arg": "$resource.properties.SqlDb.readIntent"}, {"type": "ResourceId", "name": "sqlDbResourceId", "arg": "$resource.properties.SqlDb.sqlDbResourceId", "required": true}]}, {"property": "targetType", "value": "SqlEp", "props": [{"type": "ResourceId", "name": "anchorDatabaseResourceId", "arg": "$resource.properties.SqlEp.anchorDatabaseResourceId", "required": true}, {"default": {"value": false}, "type": "boolean", "name": "readIntent", "arg": "$resource.properties.SqlEp.readIntent"}, {"type": "ResourceId", "name": "sqlEpResourceId", "arg": "$resource.properties.SqlEp.sqlEpResourceId", "required": true}]}, {"property": "targetType", "value": "SqlMi", "props": [{"default": {"value": 1433}, "type": "integer32", "name": "connectionTcpPort", "arg": "$resource.properties.SqlMi.connectionTcpPort"}, {"default": {"value": false}, "type": "boolean", "name": "readIntent", "arg": "$resource.properties.SqlMi.readIntent"}, {"type": "ResourceId", "name": "sqlMiResourceId", "arg": "$resource.properties.SqlMi.sqlMiResourceId", "required": true}]}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DatabaseWatcher/watchers/{}/targets/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "connectionServerName", "required": true, "format": {"maxLength": 200}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "string", "name": "targetAuthenticationType", "required": true, "enum": {"items": [{"value": "Aad"}, {"value": "Sql"}]}}, {"type": "string", "name": "targetType", "required": true, "enum": {"items": [{"value": "SqlDb"}, {"value": "SqlEp"}, {"value": "SqlMi"}]}}, {"type": "object", "name": "targetVault", "props": [{"type": "ResourceId", "name": "akvResourceId"}, {"type": "string", "name": "akvTargetPassword", "format": {"pattern": "^[a-zA-Z0-9-]{1,127}$"}}, {"type": "string", "name": "akvTargetUser", "format": {"pattern": "^[a-zA-Z0-9-]{1,127}$"}}]}], "discriminators": [{"property": "targetType", "value": "SqlDb", "props": [{"default": {"value": false}, "type": "boolean", "name": "readIntent"}, {"type": "ResourceId", "name": "sqlDbResourceId", "required": true}]}, {"property": "targetType", "value": "SqlEp", "props": [{"type": "ResourceId", "name": "anchorDatabaseResourceId", "required": true}, {"default": {"value": false}, "type": "boolean", "name": "readIntent"}, {"type": "ResourceId", "name": "sqlEpResourceId", "required": true}]}, {"property": "targetType", "value": "SqlMi", "props": [{"default": {"value": 1433}, "type": "integer32", "name": "connectionTcpPort"}, {"default": {"value": false}, "type": "boolean", "name": "readIntent"}, {"type": "ResourceId", "name": "sqlMiResourceId", "required": true}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2025-01-02", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databasewatcher/watchers/{}/targets/{}", "version": "2025-01-02", "swagger": "mgmt-plane/databasewatcher/ResourceProviders/Microsoft.DatabaseWatcher/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGF0YWJhc2VXYXRjaGVyL3dhdGNoZXJzL3t3YXRjaGVyTmFtZX0vdGFyZ2V0cy97dGFyZ2V0TmFtZX0=/V/MjAyNS0wMS0wMg=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.targetName", "options": ["n", "name", "target-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The target resource name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}, {"type": "string", "var": "$Path.watcherName", "options": ["watcher-name"], "required": true, "idPart": "name", "help": {"short": "The database watcher name."}, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.SqlDb", "options": ["sql-db"], "group": "Properties", "args": [{"nullable": true, "type": "boolean", "var": "$resource.properties.SqlDb.readIntent", "options": ["read-intent"], "help": {"short": "Set to true to monitor a high availability replica of specified target, if any."}}, {"type": "ResourceId", "var": "$resource.properties.SqlDb.sqlDbResourceId", "options": ["sql-db-resource-id"], "help": {"short": "The Azure resource ID of an Azure SQL DB database target."}}]}, {"type": "object", "var": "$resource.properties.SqlEp", "options": ["sql-ep"], "group": "Properties", "args": [{"type": "ResourceId", "var": "$resource.properties.SqlEp.anchorDatabaseResourceId", "options": ["anchor-database-resource-id"], "help": {"short": "The Azure resource ID of the anchor database used to connect to an elastic pool."}}, {"nullable": true, "type": "boolean", "var": "$resource.properties.SqlEp.readIntent", "options": ["read-intent"], "help": {"short": "Set to true to monitor a high availability replica of specified target, if any."}}, {"type": "ResourceId", "var": "$resource.properties.SqlEp.sqlEpResourceId", "options": ["sql-ep-resource-id"], "help": {"short": "The Azure resource ID of an Azure SQL DB elastic pool target."}}]}, {"type": "object", "var": "$resource.properties.SqlMi", "options": ["sql-mi"], "group": "Properties", "args": [{"nullable": true, "type": "integer32", "var": "$resource.properties.SqlMi.connectionTcpPort", "options": ["connection-tcp-port"], "help": {"short": "The TCP port number to optionally use in the connection string when connecting to an Azure SQL Managed Instance target."}}, {"nullable": true, "type": "boolean", "var": "$resource.properties.SqlMi.readIntent", "options": ["read-intent"], "help": {"short": "Set to true to monitor a high availability replica of specified target, if any."}}, {"type": "ResourceId", "var": "$resource.properties.SqlMi.sqlMiResourceId", "options": ["sql-mi-resource-id"], "help": {"short": "The Azure resource ID of an Azure SQL Managed Instance target."}}]}, {"type": "string", "var": "$resource.properties.connectionServerName", "options": ["connection-server-name"], "group": "Properties", "help": {"short": "The FQDN host name of the server to use in the connection string when connecting to a target. For example, for an Azure SQL logical server in the Azure commercial cloud, the value might be 'sql-logical-server-22092780.database.windows.net'; for an Azure SQL managed instance in the Azure commercial cloud, the value might be 'sql-mi-39441134.767d5869f605.database.windows.net'. Port number and instance name must be specified separately."}, "format": {"maxLength": 200}}, {"type": "string", "var": "$resource.properties.targetAuthenticationType", "options": ["target-authentication-type"], "group": "Properties", "help": {"short": "The type of authentication to use when connecting to a target."}, "enum": {"items": [{"name": "Aad", "value": "Aad"}, {"name": "Sql", "value": "Sql"}]}}, {"nullable": true, "type": "object", "var": "$resource.properties.targetVault", "options": ["target-vault"], "group": "Properties", "help": {"short": "To use SQL authentication when connecting to targets, specify the vault where the login name and password secrets are stored."}, "args": [{"nullable": true, "type": "ResourceId", "var": "$resource.properties.targetVault.akvResourceId", "options": ["akv-resource-id"], "help": {"short": "The Azure resource ID of the Key Vault instance storing database authentication secrets."}}, {"nullable": true, "type": "string", "var": "$resource.properties.targetVault.akvTargetPassword", "options": ["akv-target-password"], "help": {"short": "The path to the Key Vault secret storing the password for authentication to a target."}, "format": {"pattern": "^[a-zA-Z0-9-]{1,127}$"}}, {"nullable": true, "type": "string", "var": "$resource.properties.targetVault.akvTargetUser", "options": ["akv-target-user"], "help": {"short": "The path to the Key Vault secret storing the login name (aka user name, aka account name) for authentication to a target."}, "format": {"pattern": "^[a-zA-Z0-9-]{1,127}$"}}]}]}], "operations": [{"operationId": "Targets_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/targets/{targetName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "targetName", "arg": "$Path.targetName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DatabaseWatcher/watchers/{}/targets/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "connectionServerName", "required": true, "format": {"maxLength": 200}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "string", "name": "targetAuthenticationType", "required": true, "enum": {"items": [{"value": "Aad"}, {"value": "Sql"}]}}, {"type": "string", "name": "targetType", "required": true, "enum": {"items": [{"value": "SqlDb"}, {"value": "SqlEp"}, {"value": "SqlMi"}]}}, {"type": "object", "name": "targetVault", "props": [{"type": "ResourceId", "name": "akvResourceId"}, {"type": "string", "name": "akvTargetPassword", "format": {"pattern": "^[a-zA-Z0-9-]{1,127}$"}}, {"type": "string", "name": "akvTargetUser", "format": {"pattern": "^[a-zA-Z0-9-]{1,127}$"}}]}], "discriminators": [{"property": "targetType", "value": "SqlDb", "props": [{"default": {"value": false}, "type": "boolean", "name": "readIntent"}, {"type": "ResourceId", "name": "sqlDbResourceId", "required": true}]}, {"property": "targetType", "value": "SqlEp", "props": [{"type": "ResourceId", "name": "anchorDatabaseResourceId", "required": true}, {"default": {"value": false}, "type": "boolean", "name": "readIntent"}, {"type": "ResourceId", "name": "sqlEpResourceId", "required": true}]}, {"property": "targetType", "value": "SqlMi", "props": [{"default": {"value": 1433}, "type": "integer32", "name": "connectionTcpPort"}, {"default": {"value": false}, "type": "boolean", "name": "readIntent"}, {"type": "ResourceId", "name": "sqlMiResourceId", "required": true}]}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Target_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "connectionServerName", "arg": "$resource.properties.connectionServerName", "required": true, "format": {"maxLength": 200}}, {"type": "string", "name": "targetAuthenticationType", "arg": "$resource.properties.targetAuthenticationType", "required": true, "enum": {"items": [{"value": "Aad"}, {"value": "Sql"}]}}, {"type": "string", "name": "targetType", "required": true, "enum": {"items": [{"arg": "$resource.properties.SqlDb", "value": "SqlDb"}, {"arg": "$resource.properties.SqlEp", "value": "SqlEp"}, {"arg": "$resource.properties.SqlMi", "value": "SqlMi"}]}}, {"type": "object", "name": "targetVault", "arg": "$resource.properties.targetVault", "props": [{"type": "ResourceId", "name": "akvResourceId", "arg": "$resource.properties.targetVault.akvResourceId"}, {"type": "string", "name": "akvTargetPassword", "arg": "$resource.properties.targetVault.akvTargetPassword", "format": {"pattern": "^[a-zA-Z0-9-]{1,127}$"}}, {"type": "string", "name": "akvTargetUser", "arg": "$resource.properties.targetVault.akvTargetUser", "format": {"pattern": "^[a-zA-Z0-9-]{1,127}$"}}]}], "discriminators": [{"property": "targetType", "value": "SqlDb", "props": [{"default": {"value": false}, "type": "boolean", "name": "readIntent", "arg": "$resource.properties.SqlDb.readIntent"}, {"type": "ResourceId", "name": "sqlDbResourceId", "arg": "$resource.properties.SqlDb.sqlDbResourceId", "required": true}]}, {"property": "targetType", "value": "SqlEp", "props": [{"type": "ResourceId", "name": "anchorDatabaseResourceId", "arg": "$resource.properties.SqlEp.anchorDatabaseResourceId", "required": true}, {"default": {"value": false}, "type": "boolean", "name": "readIntent", "arg": "$resource.properties.SqlEp.readIntent"}, {"type": "ResourceId", "name": "sqlEpResourceId", "arg": "$resource.properties.SqlEp.sqlEpResourceId", "required": true}]}, {"property": "targetType", "value": "SqlMi", "props": [{"default": {"value": 1433}, "type": "integer32", "name": "connectionTcpPort", "arg": "$resource.properties.SqlMi.connectionTcpPort"}, {"default": {"value": false}, "type": "boolean", "name": "readIntent", "arg": "$resource.properties.SqlMi.readIntent"}, {"type": "ResourceId", "name": "sqlMiResourceId", "arg": "$resource.properties.SqlMi.sqlMiResourceId", "required": true}]}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "Targets_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/targets/{targetName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "targetName", "arg": "$Path.targetName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}, {"type": "string", "name": "watcherName", "arg": "$Path.watcherName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{3,60}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-01-02"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Target_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vdGFyZ2V0cy97fQ==/2025-01-02.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vdGFyZ2V0cy97fQ==/2025-01-02.xml new file mode 100644 index 000000000..a3b7c1208 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXRhYmFzZXdhdGNoZXIvd2F0Y2hlcnMve30vdGFyZ2V0cy97fQ==/2025-01-02.xml @@ -0,0 +1,739 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +