From 635db877637693b328604b6d10cca091ff42d391 Mon Sep 17 00:00:00 2001 From: frankqianms <109947924+frankqianms@users.noreply.github.com> Date: Mon, 13 Jan 2025 10:58:31 +0800 Subject: [PATCH 1/8] fix: fix bad example in apic create (#15) --- Commands/apic/_update.md | 2 +- Commands/tree.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Commands/apic/_update.md b/Commands/apic/_update.md index 16c8d5480..38bdf7211 100644 --- a/Commands/apic/_update.md +++ b/Commands/apic/_update.md @@ -17,5 +17,5 @@ Update an instance of an Azure API Center service. - Update Service With System Assigned Identity Example ```bash - apic create -g contoso-resources -n contoso --identity '{type:systemassigned}' + apic update -g contoso-resources -n contoso --identity '{type:systemassigned}' ``` diff --git a/Commands/tree.json b/Commands/tree.json index 090c20b87..484deb069 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -7818,7 +7818,7 @@ }, { "commands": [ - "apic create -g contoso-resources -n contoso --identity '{type:systemassigned}'" + "apic update -g contoso-resources -n contoso --identity '{type:systemassigned}'" ], "name": "Update Service With System Assigned Identity Example" } From 7c3c304247adf0a44273b50460b8a16d52f2dda2 Mon Sep 17 00:00:00 2001 From: frankqianms <109947924+frankqianms@users.noreply.github.com> Date: Mon, 13 Jan 2025 11:20:21 +0800 Subject: [PATCH 2/8] feat: add analysis rules (#14) * feat: analysi rule init * feat: add analysis commands * refactor: regenerate aaz * fix: change api-analysis status to preview * fix: fix bad example in apic create * fix: change short name of service name * chore: examples --- Commands/apic/api-analysis/_create.md | 16 + Commands/apic/api-analysis/_delete.md | 16 + Commands/apic/api-analysis/_export-ruleset.md | 16 + Commands/apic/api-analysis/_import-ruleset.md | 16 + Commands/apic/api-analysis/_list.md | 16 + Commands/apic/api-analysis/_show.md | 16 + Commands/apic/api-analysis/_update.md | 16 + Commands/apic/api-analysis/readme.md | 26 + Commands/apic/readme.md | 3 + Commands/tree.json | 228 +++++++++ .../2024-12-15-preview.json | 1 + .../2024-12-15-preview.xml | 408 +++++++++++++++ .../2024-12-15-preview.json | 1 + .../2024-12-15-preview.xml | 70 +++ .../2024-12-15-preview.json | 1 + .../2024-12-15-preview.xml | 116 +++++ .../2024-12-15-preview.json | 1 + .../2024-12-15-preview.xml | 111 +++++ .../2024-12-15-preview.json | 1 + .../2024-12-15-preview.xml | 470 ++++++++++++++++++ .../2024-12-15-preview.json | 1 + .../2024-12-15-preview.xml | 84 ++++ .../2024-12-15-preview.json | 1 + .../2024-12-15-preview.xml | 130 +++++ 24 files changed, 1765 insertions(+) create mode 100644 Commands/apic/api-analysis/_create.md create mode 100644 Commands/apic/api-analysis/_delete.md create mode 100644 Commands/apic/api-analysis/_export-ruleset.md create mode 100644 Commands/apic/api-analysis/_import-ruleset.md create mode 100644 Commands/apic/api-analysis/_list.md create mode 100644 Commands/apic/api-analysis/_show.md create mode 100644 Commands/apic/api-analysis/_update.md create mode 100644 Commands/apic/api-analysis/readme.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9/2024-12-15-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9/2024-12-15-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9L2V4cG9ydHJ1bGVzZXQ=/2024-12-15-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9L2V4cG9ydHJ1bGVzZXQ=/2024-12-15-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9L2ltcG9ydHJ1bGVzZXQ=/2024-12-15-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9L2ltcG9ydHJ1bGVzZXQ=/2024-12-15-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30vZXhwb3J0cnVsZXNldA==/2024-12-15-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30vZXhwb3J0cnVsZXNldA==/2024-12-15-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30vaW1wb3J0cnVsZXNldA==/2024-12-15-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30vaW1wb3J0cnVsZXNldA==/2024-12-15-preview.xml diff --git a/Commands/apic/api-analysis/_create.md b/Commands/apic/api-analysis/_create.md new file mode 100644 index 000000000..dabf029e5 --- /dev/null +++ b/Commands/apic/api-analysis/_create.md @@ -0,0 +1,16 @@ +# [Command] _apic api-analysis create_ + +Create new or updates existing API analyzer configuration. + +## Versions + +### [2024-12-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.xml) **Preview** + + + +#### examples + +- Create an API Analysis rule config + ```bash + apic api-analysis create -g contoso-resources -n contoso -c spectral-openapi + ``` diff --git a/Commands/apic/api-analysis/_delete.md b/Commands/apic/api-analysis/_delete.md new file mode 100644 index 000000000..cbe6900b8 --- /dev/null +++ b/Commands/apic/api-analysis/_delete.md @@ -0,0 +1,16 @@ +# [Command] _apic api-analysis delete_ + +Delete deletes API analyzer configuration. + +## Versions + +### [2024-12-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.xml) **Preview** + + + +#### examples + +- Delete an API Analysis rule config + ```bash + apic api-analysis delete -g contoso-resources -n contoso -c spectral-openapi + ``` diff --git a/Commands/apic/api-analysis/_export-ruleset.md b/Commands/apic/api-analysis/_export-ruleset.md new file mode 100644 index 000000000..80fc238f6 --- /dev/null +++ b/Commands/apic/api-analysis/_export-ruleset.md @@ -0,0 +1,16 @@ +# [Command] _apic api-analysis export-ruleset_ + +Exports the API analyzer ruleset. + +## Versions + +### [2024-12-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30vZXhwb3J0cnVsZXNldA==/2024-12-15-preview.xml) **Preview** + + + +#### examples + +- Export an API Analysis ruleset + ```bash + apic api-analysis export-ruleset -g contoso-resources -n contoso -c spectral-openapi --path '\\path\\for\\output\\files' + ``` diff --git a/Commands/apic/api-analysis/_import-ruleset.md b/Commands/apic/api-analysis/_import-ruleset.md new file mode 100644 index 000000000..16519ec41 --- /dev/null +++ b/Commands/apic/api-analysis/_import-ruleset.md @@ -0,0 +1,16 @@ +# [Command] _apic api-analysis import-ruleset_ + +Imports the API analyzer ruleset. + +## Versions + +### [2024-12-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30vaW1wb3J0cnVsZXNldA==/2024-12-15-preview.xml) **Preview** + + + +#### examples + +- Import an API Analysis ruleset + ```bash + apic api-analysis import-ruleset -g contoso-resources -n contoso -c spectral-openapi --path '\\path\\to\\ruleset\\folder' + ``` diff --git a/Commands/apic/api-analysis/_list.md b/Commands/apic/api-analysis/_list.md new file mode 100644 index 000000000..bb41bb0f1 --- /dev/null +++ b/Commands/apic/api-analysis/_list.md @@ -0,0 +1,16 @@ +# [Command] _apic api-analysis list_ + +List API analyzer configurations. + +## Versions + +### [2024-12-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.xml) **Preview** + + + +#### examples + +- List all API Analysis rule configs for the service + ```bash + apic api-analysis list -g contoso-resources -n contoso + ``` diff --git a/Commands/apic/api-analysis/_show.md b/Commands/apic/api-analysis/_show.md new file mode 100644 index 000000000..b53edca92 --- /dev/null +++ b/Commands/apic/api-analysis/_show.md @@ -0,0 +1,16 @@ +# [Command] _apic api-analysis show_ + +Get details of the API analyzer configuration. + +## Versions + +### [2024-12-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.xml) **Preview** + + + +#### examples + +- Show details of an API Analysis rule config + ```bash + apic api-analysis show -g contoso-resources -n contoso -c spectral-openapi + ``` diff --git a/Commands/apic/api-analysis/_update.md b/Commands/apic/api-analysis/_update.md new file mode 100644 index 000000000..ddf2b1617 --- /dev/null +++ b/Commands/apic/api-analysis/_update.md @@ -0,0 +1,16 @@ +# [Command] _apic api-analysis update_ + +Update new or updates existing API analyzer configuration. + +## Versions + +### [2024-12-15-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.xml) **Preview** + + + +#### examples + +- Update an API Analysis rule config + ```bash + apic api-analysis update -g contoso-resources -n contoso -c spectral-openapi + ``` diff --git a/Commands/apic/api-analysis/readme.md b/Commands/apic/api-analysis/readme.md new file mode 100644 index 000000000..40e323665 --- /dev/null +++ b/Commands/apic/api-analysis/readme.md @@ -0,0 +1,26 @@ +# [Group] _apic api-analysis_ + +Manage Azure API Center service api analysis features + +## Commands + +- [create](/Commands/apic/api-analysis/_create.md) +: Create new or updates existing API analyzer configuration. + +- [delete](/Commands/apic/api-analysis/_delete.md) +: Delete deletes API analyzer configuration. + +- [export-ruleset](/Commands/apic/api-analysis/_export-ruleset.md) +: Exports the API analyzer ruleset. + +- [import-ruleset](/Commands/apic/api-analysis/_import-ruleset.md) +: Imports the API analyzer ruleset. + +- [list](/Commands/apic/api-analysis/_list.md) +: List API analyzer configurations. + +- [show](/Commands/apic/api-analysis/_show.md) +: Get details of the API analyzer configuration. + +- [update](/Commands/apic/api-analysis/_update.md) +: Update new or updates existing API analyzer configuration. diff --git a/Commands/apic/readme.md b/Commands/apic/readme.md index aa69947a4..b45125ee6 100644 --- a/Commands/apic/readme.md +++ b/Commands/apic/readme.md @@ -7,6 +7,9 @@ Manage Azure API Center services - [api](/Commands/apic/api/readme.md) : Commands to manage APIs in API Center +- [api-analysis](/Commands/apic/api-analysis/readme.md) +: Manage Azure API Center service api analysis features + - [environment](/Commands/apic/environment/readme.md) : Commands to manage environments in API Center diff --git a/Commands/tree.json b/Commands/tree.json index 484deb069..42589750f 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -5957,6 +5957,234 @@ "api" ] }, + "api-analysis": { + "commands": { + "create": { + "help": { + "short": "Create new or updates existing API analyzer configuration." + }, + "names": [ + "apic", + "api-analysis", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "apic api-analysis create -g contoso-resources -n contoso -c spectral-openapi" + ], + "name": "Create an API Analysis rule config" + } + ], + "name": "2024-12-15-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", + "plane": "mgmt-plane", + "version": "2024-12-15-preview" + } + ], + "stage": "Preview" + } + ] + }, + "delete": { + "help": { + "short": "Delete deletes API analyzer configuration." + }, + "names": [ + "apic", + "api-analysis", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "apic api-analysis delete -g contoso-resources -n contoso -c spectral-openapi" + ], + "name": "Delete an API Analysis rule config" + } + ], + "name": "2024-12-15-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", + "plane": "mgmt-plane", + "version": "2024-12-15-preview" + } + ], + "stage": "Preview" + } + ] + }, + "export-ruleset": { + "help": { + "short": "Exports the API analyzer ruleset." + }, + "names": [ + "apic", + "api-analysis", + "export-ruleset" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "apic api-analysis export-ruleset -g contoso-resources -n contoso -c spectral-openapi --path '\\\\path\\\\for\\\\output\\\\files'" + ], + "name": "Export an API Analysis ruleset" + } + ], + "name": "2024-12-15-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}/exportruleset", + "plane": "mgmt-plane", + "version": "2024-12-15-preview" + } + ], + "stage": "Preview" + } + ] + }, + "import-ruleset": { + "help": { + "short": "Imports the API analyzer ruleset." + }, + "names": [ + "apic", + "api-analysis", + "import-ruleset" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "apic api-analysis import-ruleset -g contoso-resources -n contoso -c spectral-openapi --path '\\\\path\\\\to\\\\ruleset\\\\folder'" + ], + "name": "Import an API Analysis ruleset" + } + ], + "name": "2024-12-15-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}/importruleset", + "plane": "mgmt-plane", + "version": "2024-12-15-preview" + } + ], + "stage": "Preview" + } + ] + }, + "list": { + "help": { + "short": "List API analyzer configurations." + }, + "names": [ + "apic", + "api-analysis", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "apic api-analysis list -g contoso-resources -n contoso" + ], + "name": "List all API Analysis rule configs for the service" + } + ], + "name": "2024-12-15-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs", + "plane": "mgmt-plane", + "version": "2024-12-15-preview" + } + ], + "stage": "Preview" + } + ] + }, + "show": { + "help": { + "short": "Get details of the API analyzer configuration." + }, + "names": [ + "apic", + "api-analysis", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "apic api-analysis show -g contoso-resources -n contoso -c spectral-openapi" + ], + "name": "Show details of an API Analysis rule config" + } + ], + "name": "2024-12-15-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", + "plane": "mgmt-plane", + "version": "2024-12-15-preview" + } + ], + "stage": "Preview" + } + ] + }, + "update": { + "help": { + "short": "Update new or updates existing API analyzer configuration." + }, + "names": [ + "apic", + "api-analysis", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "apic api-analysis update -g contoso-resources -n contoso -c spectral-openapi" + ], + "name": "Update an API Analysis rule config" + } + ], + "name": "2024-12-15-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", + "plane": "mgmt-plane", + "version": "2024-12-15-preview" + } + ], + "stage": "Preview" + } + ] + } + }, + "help": { + "short": "Manage Azure API Center service api analysis features" + }, + "names": [ + "apic", + "api-analysis" + ] + }, "environment": { "commands": { "check-exists": { diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9/2024-12-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9/2024-12-15-preview.json new file mode 100644 index 000000000..a1cf2112e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9/2024-12-15-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL2FuYWx5emVyQ29uZmlncy97YW5hbHl6ZXJDb25maWdOYW1lfQ==/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "apic api-analysis", "commands": [{"name": "create", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL2FuYWx5emVyQ29uZmlncy97YW5hbHl6ZXJDb25maWdOYW1lfQ==/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["n", "name", "analyzer-config-name"], "required": true, "idPart": "name", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 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"}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.analyzerType", "options": ["analyzer-type"], "group": "Properties", "help": {"short": "The type of API analyzer."}, "enum": {"items": [{"name": "spectral", "value": "spectral"}]}}]}], "operations": [{"operationId": "AnalyzerConfigs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/analyzerConfigs/{analyzerConfigName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "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": "analyzerType", "arg": "$resource.properties.analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}], "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}], "confirmation": ""}, {"name": "delete", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL2FuYWx5emVyQ29uZmlncy97YW5hbHl6ZXJDb25maWdOYW1lfQ==/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["n", "name", "analyzer-config-name"], "required": true, "idPart": "name", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 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"}]}], "operations": [{"operationId": "AnalyzerConfigs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/analyzerConfigs/{analyzerConfigName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "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": "show", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL2FuYWx5emVyQ29uZmlncy97YW5hbHl6ZXJDb25maWdOYW1lfQ==/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["n", "name", "analyzer-config-name"], "required": true, "idPart": "name", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 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"}]}], "operations": [{"operationId": "AnalyzerConfigs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/analyzerConfigs/{analyzerConfigName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}], "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}], "confirmation": ""}, {"name": "update", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL2FuYWx5emVyQ29uZmlncy97YW5hbHl6ZXJDb25maWdOYW1lfQ==/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["n", "name", "analyzer-config-name"], "required": true, "idPart": "name", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 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"}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.analyzerType", "options": ["analyzer-type"], "group": "Properties", "help": {"short": "The type of API analyzer."}, "enum": {"items": [{"name": "spectral", "value": "spectral"}]}}]}], "operations": [{"operationId": "AnalyzerConfigs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/analyzerConfigs/{analyzerConfigName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}], "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": "AnalyzerConfig_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": "analyzerType", "arg": "$resource.properties.analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "AnalyzerConfigs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/analyzerConfigs/{analyzerConfigName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@AnalyzerConfig_read"}}}}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9/2024-12-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9/2024-12-15-preview.xml new file mode 100644 index 000000000..54d599d01 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9/2024-12-15-preview.xml @@ -0,0 +1,408 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + +
+ + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9L2V4cG9ydHJ1bGVzZXQ=/2024-12-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9L2V4cG9ydHJ1bGVzZXQ=/2024-12-15-preview.json new file mode 100644 index 000000000..44c18ead4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9L2V4cG9ydHJ1bGVzZXQ=/2024-12-15-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/analyzerconfigs/{}/exportruleset", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL2FuYWx5emVyQ29uZmlncy97YW5hbHl6ZXJDb25maWdOYW1lfS9leHBvcnRSdWxlc2V0/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "apic api-analysis", "commands": [{"name": "export-ruleset", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/analyzerconfigs/{}/exportruleset", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL2FuYWx5emVyQ29uZmlncy97YW5hbHl6ZXJDb25maWdOYW1lfS9leHBvcnRSdWxlc2V0/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["analyzer-config-name"], "required": true, "idPart": "name", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 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"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "AnalyzerConfigs_ExportRuleset", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/analyzerConfigs/{analyzerConfigName}/exportRuleset", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "format", "enum": {"items": [{"value": "inline-json"}, {"value": "inline-yaml"}, {"value": "inline-zip"}, {"value": "link-zip"}]}}, {"type": "string", "name": "value"}]}}}}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9L2V4cG9ydHJ1bGVzZXQ=/2024-12-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9L2V4cG9ydHJ1bGVzZXQ=/2024-12-15-preview.xml new file mode 100644 index 000000000..5a6c75bc2 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9L2V4cG9ydHJ1bGVzZXQ=/2024-12-15-preview.xml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9L2ltcG9ydHJ1bGVzZXQ=/2024-12-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9L2ltcG9ydHJ1bGVzZXQ=/2024-12-15-preview.json new file mode 100644 index 000000000..aab35f628 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9L2ltcG9ydHJ1bGVzZXQ=/2024-12-15-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/analyzerconfigs/{}/importruleset", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL2FuYWx5emVyQ29uZmlncy97YW5hbHl6ZXJDb25maWdOYW1lfS9pbXBvcnRSdWxlc2V0/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "apic api-analysis", "commands": [{"name": "import-ruleset", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/analyzerconfigs/{}/importruleset", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL2FuYWx5emVyQ29uZmlncy97YW5hbHl6ZXJDb25maWdOYW1lfS9pbXBvcnRSdWxlc2V0/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["analyzer-config-name"], "required": true, "idPart": "name", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 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"}]}, {"name": "Body", "args": [{"type": "string", "var": "$body.format", "options": ["format"], "group": "Body", "help": {"short": "Format of the ruleset source."}, "enum": {"items": [{"name": "inline-json", "value": "inline-json"}, {"name": "inline-yaml", "value": "inline-yaml"}, {"name": "inline-zip", "value": "inline-zip"}, {"name": "link-zip", "value": "link-zip"}]}}, {"type": "string", "var": "$body.value", "options": ["value"], "group": "Body", "help": {"short": "Value of the ruleset source."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "AnalyzerConfigs_ImportRuleset", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/analyzerConfigs/{analyzerConfigName}/importRuleset", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "required": true, "props": [{"type": "string", "name": "format", "arg": "$body.format", "enum": {"items": [{"value": "inline-json"}, {"value": "inline-yaml"}, {"value": "inline-zip"}, {"value": "link-zip"}]}}, {"type": "string", "name": "value", "arg": "$body.value"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "dateTime", "name": "endTime"}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"readOnly": true, "type": "object", "name": "info"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "code"}, {"readOnly": true, "type": "array<@ErrorDetail_read>", "name": "details", "item": {"type": "@ErrorDetail_read"}, "identifiers": ["target", "message"]}, {"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "string", "name": "target"}], "cls": "ErrorDetail_read"}, {"type": "ResourceId", "name": "id"}, {"type": "string", "name": "name"}, {"type": "array<@OperationStatusResult_read>", "name": "operations", "item": {"type": "@OperationStatusResult_read"}}, {"type": "float", "name": "percentComplete", "format": {"maximum": 100.0, "minimum": 0.0}}, {"readOnly": true, "type": "ResourceId", "name": "resourceId"}, {"type": "dateTime", "name": "startTime"}, {"type": "string", "name": "status", "required": true}], "cls": "OperationStatusResult_read"}}}}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9L2ltcG9ydHJ1bGVzZXQ=/2024-12-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9L2ltcG9ydHJ1bGVzZXQ=/2024-12-15-preview.xml new file mode 100644 index 000000000..2e665322e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvYW5hbHl6ZXJjb25maWdzL3t9L2ltcG9ydHJ1bGVzZXQ=/2024-12-15-preview.xml @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.json new file mode 100644 index 000000000..b34509f41 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdz/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "apic api-analysis", "commands": [{"name": "list", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdz/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "AnalyzerConfigs_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}], "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"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.xml new file mode 100644 index 000000000..1f4a146b7 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.xml @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.json new file mode 100644 index 000000000..aafae4154 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "apic api-analysis", "commands": [{"name": "show", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "AnalyzerConfigs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}], "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}], "confirmation": ""}, {"name": "delete", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "AnalyzerConfigs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "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": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.analyzerType", "options": ["analyzer-type"], "group": "Properties", "help": {"short": "The type of API analyzer."}, "enum": {"items": [{"name": "spectral", "value": "spectral"}]}}]}], "operations": [{"operationId": "AnalyzerConfigs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "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": "analyzerType", "arg": "$resource.properties.analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}], "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}], "confirmation": ""}, {"name": "update", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.analyzerType", "options": ["analyzer-type"], "group": "Properties", "help": {"short": "The type of API analyzer."}, "enum": {"items": [{"name": "spectral", "value": "spectral"}]}}]}], "operations": [{"operationId": "AnalyzerConfigs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}], "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": "AnalyzerConfig_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": "analyzerType", "arg": "$resource.properties.analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "AnalyzerConfigs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@AnalyzerConfig_read"}}}}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.xml new file mode 100644 index 000000000..8dcebc7c7 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.xml @@ -0,0 +1,470 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + +
+ + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30vZXhwb3J0cnVsZXNldA==/2024-12-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30vZXhwb3J0cnVsZXNldA==/2024-12-15-preview.json new file mode 100644 index 000000000..19665edf6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30vZXhwb3J0cnVsZXNldA==/2024-12-15-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}/exportruleset", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9L2V4cG9ydFJ1bGVzZXQ=/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "apic api-analysis", "commands": [{"name": "export-ruleset", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}/exportruleset", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9L2V4cG9ydFJ1bGVzZXQ=/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "AnalyzerConfigs_ExportRuleset", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}/exportRuleset", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "format", "enum": {"items": [{"value": "inline-json"}, {"value": "inline-yaml"}, {"value": "inline-zip"}, {"value": "link-zip"}]}}, {"type": "string", "name": "value"}]}}}}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30vZXhwb3J0cnVsZXNldA==/2024-12-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30vZXhwb3J0cnVsZXNldA==/2024-12-15-preview.xml new file mode 100644 index 000000000..19dc0e39a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30vZXhwb3J0cnVsZXNldA==/2024-12-15-preview.xml @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30vaW1wb3J0cnVsZXNldA==/2024-12-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30vaW1wb3J0cnVsZXNldA==/2024-12-15-preview.json new file mode 100644 index 000000000..e566a08a6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30vaW1wb3J0cnVsZXNldA==/2024-12-15-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}/importruleset", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9L2ltcG9ydFJ1bGVzZXQ=/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "apic api-analysis", "commands": [{"name": "import-ruleset", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}/importruleset", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9L2ltcG9ydFJ1bGVzZXQ=/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Body", "args": [{"type": "string", "var": "$body.format", "options": ["format"], "group": "Body", "help": {"short": "Format of the ruleset source."}, "enum": {"items": [{"name": "inline-json", "value": "inline-json"}, {"name": "inline-yaml", "value": "inline-yaml"}, {"name": "inline-zip", "value": "inline-zip"}, {"name": "link-zip", "value": "link-zip"}]}}, {"type": "string", "var": "$body.value", "options": ["value"], "group": "Body", "help": {"short": "Value of the ruleset source."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "AnalyzerConfigs_ImportRuleset", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}/importRuleset", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "required": true, "props": [{"type": "string", "name": "format", "arg": "$body.format", "enum": {"items": [{"value": "inline-json"}, {"value": "inline-yaml"}, {"value": "inline-zip"}, {"value": "link-zip"}]}}, {"type": "string", "name": "value", "arg": "$body.value"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "dateTime", "name": "endTime"}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"readOnly": true, "type": "object", "name": "info"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "code"}, {"readOnly": true, "type": "array<@ErrorDetail_read>", "name": "details", "item": {"type": "@ErrorDetail_read"}, "identifiers": ["target", "message"]}, {"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "string", "name": "target"}], "cls": "ErrorDetail_read"}, {"type": "ResourceId", "name": "id"}, {"type": "string", "name": "name"}, {"type": "array<@OperationStatusResult_read>", "name": "operations", "item": {"type": "@OperationStatusResult_read"}}, {"type": "float", "name": "percentComplete", "format": {"maximum": 100.0, "minimum": 0.0}}, {"readOnly": true, "type": "ResourceId", "name": "resourceId"}, {"type": "dateTime", "name": "startTime"}, {"type": "string", "name": "status", "required": true}], "cls": "OperationStatusResult_read"}}}}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30vaW1wb3J0cnVsZXNldA==/2024-12-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30vaW1wb3J0cnVsZXNldA==/2024-12-15-preview.xml new file mode 100644 index 000000000..fb9c4db87 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30vaW1wb3J0cnVsZXNldA==/2024-12-15-preview.xml @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + +
+
+ +
+
+
From 808561b0516c2413a04f4be3bed6d93ea1e583f3 Mon Sep 17 00:00:00 2001 From: frankqianms Date: Wed, 22 Jan 2025 10:43:03 +0800 Subject: [PATCH 3/8] feat: add filter property in api-analysis create --- .../2024-12-15-preview.json | 2 +- .../2024-12-15-preview.xml | 192 ++++++++++++++++++ 2 files changed, 193 insertions(+), 1 deletion(-) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.json index aafae4154..87b7e20b7 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "apic api-analysis", "commands": [{"name": "show", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "AnalyzerConfigs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}], "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}], "confirmation": ""}, {"name": "delete", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "AnalyzerConfigs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "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": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.analyzerType", "options": ["analyzer-type"], "group": "Properties", "help": {"short": "The type of API analyzer."}, "enum": {"items": [{"name": "spectral", "value": "spectral"}]}}]}], "operations": [{"operationId": "AnalyzerConfigs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "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": "analyzerType", "arg": "$resource.properties.analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}], "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}], "confirmation": ""}, {"name": "update", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.analyzerType", "options": ["analyzer-type"], "group": "Properties", "help": {"short": "The type of API analyzer."}, "enum": {"items": [{"name": "spectral", "value": "spectral"}]}}]}], "operations": [{"operationId": "AnalyzerConfigs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}], "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": "AnalyzerConfig_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": "analyzerType", "arg": "$resource.properties.analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "AnalyzerConfigs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@AnalyzerConfig_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "apic api-analysis", "commands": [{"name": "show", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "AnalyzerConfigs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "filter", "props": [{"type": "array<@AnalyzerFilterCondition_read>", "name": "apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array<@AnalyzerFilterCondition_read>", "name": "apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array", "name": "apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "required": true}, {"type": "object", "name": "value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_read"}}]}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}, {"type": "string", "name": "title", "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}], "confirmation": ""}, {"name": "delete", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "AnalyzerConfigs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "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": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.analyzerType", "options": ["analyzer-type"], "group": "Properties", "help": {"short": "The type of API analyzer."}, "enum": {"items": [{"name": "spectral", "value": "spectral"}]}}, {"type": "string", "var": "$resource.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of the analyzer configuration."}}, {"type": "object", "var": "$resource.properties.filter", "options": ["filter"], "group": "Properties", "help": {"short": "The API analyzer filter."}, "args": [{"type": "array<@AnalyzerFilterCondition_create>", "var": "$resource.properties.filter.apiDefinitions", "options": ["api-definitions"], "required": true, "help": {"short": "Api definition filter conditions."}, "item": {"type": "@AnalyzerFilterCondition_create"}}, {"type": "array<@AnalyzerFilterCondition_create>", "var": "$resource.properties.filter.apiVersions", "options": ["api-versions"], "required": true, "help": {"short": "APi version filter conditions."}, "item": {"type": "@AnalyzerFilterCondition_create"}}, {"type": "array", "var": "$resource.properties.filter.apis", "options": ["apis"], "required": true, "help": {"short": "API filter conditions."}, "item": {"type": "object", "args": [{"type": "string", "var": "@AnalyzerFilterCondition_create.operator", "options": ["operator"], "required": true, "help": {"short": "The operator to use for the filter, e.g. \"equals\"."}, "enum": {"items": [{"name": "contains", "value": "contains"}, {"name": "equals", "value": "equals"}]}}, {"type": "string", "var": "@AnalyzerFilterCondition_create.property", "options": ["property"], "required": true, "help": {"short": "The property to filter on, e.g. \"lifecycleStage\"."}}, {"type": "object", "var": "@AnalyzerFilterCondition_create.value", "options": ["value"], "required": true, "help": {"short": "The value to filter on, e.g. \"production\"."}, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_create"}}]}, {"type": "string", "var": "$resource.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "The title of the analyzer configuration, e.g. \"Spectral (OpenAPI)\"."}}]}], "operations": [{"operationId": "AnalyzerConfigs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "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": "analyzerType", "arg": "$resource.properties.analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description", "arg": "$resource.properties.description"}, {"type": "object", "name": "filter", "arg": "$resource.properties.filter", "props": [{"type": "array<@AnalyzerFilterCondition_create>", "name": "apiDefinitions", "arg": "$resource.properties.filter.apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_create"}}, {"type": "array<@AnalyzerFilterCondition_create>", "name": "apiVersions", "arg": "$resource.properties.filter.apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_create"}}, {"type": "array", "name": "apis", "arg": "$resource.properties.filter.apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "arg": "@AnalyzerFilterCondition_create.operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "arg": "@AnalyzerFilterCondition_create.property", "required": true}, {"type": "object", "name": "value", "arg": "@AnalyzerFilterCondition_create.value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_create"}}]}, {"type": "string", "name": "title", "arg": "$resource.properties.title", "required": true}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "filter", "props": [{"type": "array<@AnalyzerFilterCondition_read>", "name": "apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array<@AnalyzerFilterCondition_read>", "name": "apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array", "name": "apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "required": true}, {"type": "object", "name": "value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_read"}}]}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}, {"type": "string", "name": "title", "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}], "confirmation": ""}, {"name": "update", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.analyzerType", "options": ["analyzer-type"], "group": "Properties", "help": {"short": "The type of API analyzer."}, "enum": {"items": [{"name": "spectral", "value": "spectral"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of the analyzer configuration."}}, {"nullable": true, "type": "object", "var": "$resource.properties.filter", "options": ["filter"], "group": "Properties", "help": {"short": "The API analyzer filter."}, "args": [{"type": "array<@AnalyzerFilterCondition_update>", "var": "$resource.properties.filter.apiDefinitions", "options": ["api-definitions"], "help": {"short": "Api definition filter conditions."}, "item": {"nullable": true, "type": "@AnalyzerFilterCondition_update"}}, {"type": "array<@AnalyzerFilterCondition_update>", "var": "$resource.properties.filter.apiVersions", "options": ["api-versions"], "help": {"short": "APi version filter conditions."}, "item": {"nullable": true, "type": "@AnalyzerFilterCondition_update"}}, {"type": "array", "var": "$resource.properties.filter.apis", "options": ["apis"], "help": {"short": "API filter conditions."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "@AnalyzerFilterCondition_update.operator", "options": ["operator"], "help": {"short": "The operator to use for the filter, e.g. \"equals\"."}, "enum": {"items": [{"name": "contains", "value": "contains"}, {"name": "equals", "value": "equals"}]}}, {"type": "string", "var": "@AnalyzerFilterCondition_update.property", "options": ["property"], "help": {"short": "The property to filter on, e.g. \"lifecycleStage\"."}}, {"type": "object", "var": "@AnalyzerFilterCondition_update.value", "options": ["value"], "help": {"short": "The value to filter on, e.g. \"production\"."}, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_update"}}]}, {"type": "string", "var": "$resource.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "The title of the analyzer configuration, e.g. \"Spectral (OpenAPI)\"."}}]}], "operations": [{"operationId": "AnalyzerConfigs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "filter", "props": [{"type": "array<@AnalyzerFilterCondition_read>", "name": "apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array<@AnalyzerFilterCondition_read>", "name": "apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array", "name": "apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "required": true}, {"type": "object", "name": "value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_read"}}]}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}, {"type": "string", "name": "title", "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": "AnalyzerConfig_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": "analyzerType", "arg": "$resource.properties.analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description", "arg": "$resource.properties.description"}, {"type": "object", "name": "filter", "arg": "$resource.properties.filter", "props": [{"type": "array<@AnalyzerFilterCondition_update>", "name": "apiDefinitions", "arg": "$resource.properties.filter.apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_update"}}, {"type": "array<@AnalyzerFilterCondition_update>", "name": "apiVersions", "arg": "$resource.properties.filter.apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_update"}}, {"type": "array", "name": "apis", "arg": "$resource.properties.filter.apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "arg": "@AnalyzerFilterCondition_update.operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "arg": "@AnalyzerFilterCondition_update.property", "required": true}, {"type": "object", "name": "value", "arg": "@AnalyzerFilterCondition_update.value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_update"}}]}, {"type": "string", "name": "title", "arg": "$resource.properties.title", "required": true}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "AnalyzerConfigs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@AnalyzerConfig_read"}}}}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.xml index 8dcebc7c7..4e3e3cb5b 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.xml @@ -62,6 +62,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -69,6 +92,7 @@ + @@ -188,6 +212,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -222,6 +282,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -244,6 +328,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -251,6 +358,7 @@ + @@ -315,6 +423,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -358,6 +502,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -365,6 +532,7 @@ + @@ -412,6 +580,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + From 884be0377f801858576c1bebb04861f3e22f72f6 Mon Sep 17 00:00:00 2001 From: frankqianms Date: Mon, 24 Feb 2025 17:31:43 +0800 Subject: [PATCH 4/8] refactor: set default analyzer-type in aaz --- .../2024-12-15-preview.json | 2 +- .../2024-12-15-preview.xml | 24 +++++++++++++++++++ .../2024-12-15-preview.json | 2 +- .../2024-12-15-preview.xml | 2 ++ 4 files changed, 28 insertions(+), 2 deletions(-) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.json index b34509f41..14b05d8ec 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdz/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "apic api-analysis", "commands": [{"name": "list", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdz/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "AnalyzerConfigs_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}], "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"}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdz/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "apic api-analysis", "commands": [{"name": "list", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdz/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "AnalyzerConfigs_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "filter", "props": [{"type": "array<@AnalyzerFilterCondition_read>", "name": "apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array<@AnalyzerFilterCondition_read>", "name": "apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array", "name": "apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "required": true}, {"type": "object", "name": "value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_read"}}]}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}, {"type": "string", "name": "title", "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"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.xml index 1f4a146b7..85ab22707 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.xml @@ -59,6 +59,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -66,6 +89,7 @@ + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.json index 87b7e20b7..3740bc427 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "apic api-analysis", "commands": [{"name": "show", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "AnalyzerConfigs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "filter", "props": [{"type": "array<@AnalyzerFilterCondition_read>", "name": "apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array<@AnalyzerFilterCondition_read>", "name": "apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array", "name": "apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "required": true}, {"type": "object", "name": "value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_read"}}]}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}, {"type": "string", "name": "title", "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}], "confirmation": ""}, {"name": "delete", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "AnalyzerConfigs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "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": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.analyzerType", "options": ["analyzer-type"], "group": "Properties", "help": {"short": "The type of API analyzer."}, "enum": {"items": [{"name": "spectral", "value": "spectral"}]}}, {"type": "string", "var": "$resource.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of the analyzer configuration."}}, {"type": "object", "var": "$resource.properties.filter", "options": ["filter"], "group": "Properties", "help": {"short": "The API analyzer filter."}, "args": [{"type": "array<@AnalyzerFilterCondition_create>", "var": "$resource.properties.filter.apiDefinitions", "options": ["api-definitions"], "required": true, "help": {"short": "Api definition filter conditions."}, "item": {"type": "@AnalyzerFilterCondition_create"}}, {"type": "array<@AnalyzerFilterCondition_create>", "var": "$resource.properties.filter.apiVersions", "options": ["api-versions"], "required": true, "help": {"short": "APi version filter conditions."}, "item": {"type": "@AnalyzerFilterCondition_create"}}, {"type": "array", "var": "$resource.properties.filter.apis", "options": ["apis"], "required": true, "help": {"short": "API filter conditions."}, "item": {"type": "object", "args": [{"type": "string", "var": "@AnalyzerFilterCondition_create.operator", "options": ["operator"], "required": true, "help": {"short": "The operator to use for the filter, e.g. \"equals\"."}, "enum": {"items": [{"name": "contains", "value": "contains"}, {"name": "equals", "value": "equals"}]}}, {"type": "string", "var": "@AnalyzerFilterCondition_create.property", "options": ["property"], "required": true, "help": {"short": "The property to filter on, e.g. \"lifecycleStage\"."}}, {"type": "object", "var": "@AnalyzerFilterCondition_create.value", "options": ["value"], "required": true, "help": {"short": "The value to filter on, e.g. \"production\"."}, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_create"}}]}, {"type": "string", "var": "$resource.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "The title of the analyzer configuration, e.g. \"Spectral (OpenAPI)\"."}}]}], "operations": [{"operationId": "AnalyzerConfigs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "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": "analyzerType", "arg": "$resource.properties.analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description", "arg": "$resource.properties.description"}, {"type": "object", "name": "filter", "arg": "$resource.properties.filter", "props": [{"type": "array<@AnalyzerFilterCondition_create>", "name": "apiDefinitions", "arg": "$resource.properties.filter.apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_create"}}, {"type": "array<@AnalyzerFilterCondition_create>", "name": "apiVersions", "arg": "$resource.properties.filter.apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_create"}}, {"type": "array", "name": "apis", "arg": "$resource.properties.filter.apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "arg": "@AnalyzerFilterCondition_create.operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "arg": "@AnalyzerFilterCondition_create.property", "required": true}, {"type": "object", "name": "value", "arg": "@AnalyzerFilterCondition_create.value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_create"}}]}, {"type": "string", "name": "title", "arg": "$resource.properties.title", "required": true}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "filter", "props": [{"type": "array<@AnalyzerFilterCondition_read>", "name": "apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array<@AnalyzerFilterCondition_read>", "name": "apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array", "name": "apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "required": true}, {"type": "object", "name": "value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_read"}}]}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}, {"type": "string", "name": "title", "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}], "confirmation": ""}, {"name": "update", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.analyzerType", "options": ["analyzer-type"], "group": "Properties", "help": {"short": "The type of API analyzer."}, "enum": {"items": [{"name": "spectral", "value": "spectral"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of the analyzer configuration."}}, {"nullable": true, "type": "object", "var": "$resource.properties.filter", "options": ["filter"], "group": "Properties", "help": {"short": "The API analyzer filter."}, "args": [{"type": "array<@AnalyzerFilterCondition_update>", "var": "$resource.properties.filter.apiDefinitions", "options": ["api-definitions"], "help": {"short": "Api definition filter conditions."}, "item": {"nullable": true, "type": "@AnalyzerFilterCondition_update"}}, {"type": "array<@AnalyzerFilterCondition_update>", "var": "$resource.properties.filter.apiVersions", "options": ["api-versions"], "help": {"short": "APi version filter conditions."}, "item": {"nullable": true, "type": "@AnalyzerFilterCondition_update"}}, {"type": "array", "var": "$resource.properties.filter.apis", "options": ["apis"], "help": {"short": "API filter conditions."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "@AnalyzerFilterCondition_update.operator", "options": ["operator"], "help": {"short": "The operator to use for the filter, e.g. \"equals\"."}, "enum": {"items": [{"name": "contains", "value": "contains"}, {"name": "equals", "value": "equals"}]}}, {"type": "string", "var": "@AnalyzerFilterCondition_update.property", "options": ["property"], "help": {"short": "The property to filter on, e.g. \"lifecycleStage\"."}}, {"type": "object", "var": "@AnalyzerFilterCondition_update.value", "options": ["value"], "help": {"short": "The value to filter on, e.g. \"production\"."}, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_update"}}]}, {"type": "string", "var": "$resource.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "The title of the analyzer configuration, e.g. \"Spectral (OpenAPI)\"."}}]}], "operations": [{"operationId": "AnalyzerConfigs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "filter", "props": [{"type": "array<@AnalyzerFilterCondition_read>", "name": "apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array<@AnalyzerFilterCondition_read>", "name": "apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array", "name": "apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "required": true}, {"type": "object", "name": "value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_read"}}]}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}, {"type": "string", "name": "title", "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": "AnalyzerConfig_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": "analyzerType", "arg": "$resource.properties.analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description", "arg": "$resource.properties.description"}, {"type": "object", "name": "filter", "arg": "$resource.properties.filter", "props": [{"type": "array<@AnalyzerFilterCondition_update>", "name": "apiDefinitions", "arg": "$resource.properties.filter.apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_update"}}, {"type": "array<@AnalyzerFilterCondition_update>", "name": "apiVersions", "arg": "$resource.properties.filter.apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_update"}}, {"type": "array", "name": "apis", "arg": "$resource.properties.filter.apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "arg": "@AnalyzerFilterCondition_update.operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "arg": "@AnalyzerFilterCondition_update.property", "required": true}, {"type": "object", "name": "value", "arg": "@AnalyzerFilterCondition_update.value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_update"}}]}, {"type": "string", "name": "title", "arg": "$resource.properties.title", "required": true}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "AnalyzerConfigs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@AnalyzerConfig_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "apic api-analysis", "commands": [{"name": "show", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "AnalyzerConfigs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "filter", "props": [{"type": "array<@AnalyzerFilterCondition_read>", "name": "apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array<@AnalyzerFilterCondition_read>", "name": "apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array", "name": "apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "required": true}, {"type": "object", "name": "value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_read"}}]}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}, {"type": "string", "name": "title", "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}], "confirmation": ""}, {"name": "delete", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "AnalyzerConfigs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "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": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.analyzerType", "options": ["analyzer-type"], "group": "Properties", "help": {"short": "The type of API analyzer."}, "default": {"value": "spectral"}, "enum": {"items": [{"name": "spectral", "value": "spectral"}]}}, {"type": "string", "var": "$resource.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of the analyzer configuration."}}, {"type": "object", "var": "$resource.properties.filter", "options": ["filter"], "group": "Properties", "help": {"short": "The API analyzer filter."}, "args": [{"type": "array<@AnalyzerFilterCondition_create>", "var": "$resource.properties.filter.apiDefinitions", "options": ["api-definitions"], "required": true, "help": {"short": "Api definition filter conditions."}, "item": {"type": "@AnalyzerFilterCondition_create"}}, {"type": "array<@AnalyzerFilterCondition_create>", "var": "$resource.properties.filter.apiVersions", "options": ["api-versions"], "required": true, "help": {"short": "APi version filter conditions."}, "item": {"type": "@AnalyzerFilterCondition_create"}}, {"type": "array", "var": "$resource.properties.filter.apis", "options": ["apis"], "required": true, "help": {"short": "API filter conditions."}, "item": {"type": "object", "args": [{"type": "string", "var": "@AnalyzerFilterCondition_create.operator", "options": ["operator"], "required": true, "help": {"short": "The operator to use for the filter, e.g. \"equals\"."}, "enum": {"items": [{"name": "contains", "value": "contains"}, {"name": "equals", "value": "equals"}]}}, {"type": "string", "var": "@AnalyzerFilterCondition_create.property", "options": ["property"], "required": true, "help": {"short": "The property to filter on, e.g. \"lifecycleStage\"."}}, {"type": "object", "var": "@AnalyzerFilterCondition_create.value", "options": ["value"], "required": true, "help": {"short": "The value to filter on, e.g. \"production\"."}, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_create"}}]}, {"type": "string", "var": "$resource.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "The title of the analyzer configuration, e.g. \"Spectral (OpenAPI)\"."}}]}], "operations": [{"operationId": "AnalyzerConfigs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "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": "analyzerType", "arg": "$resource.properties.analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description", "arg": "$resource.properties.description"}, {"type": "object", "name": "filter", "arg": "$resource.properties.filter", "props": [{"type": "array<@AnalyzerFilterCondition_create>", "name": "apiDefinitions", "arg": "$resource.properties.filter.apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_create"}}, {"type": "array<@AnalyzerFilterCondition_create>", "name": "apiVersions", "arg": "$resource.properties.filter.apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_create"}}, {"type": "array", "name": "apis", "arg": "$resource.properties.filter.apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "arg": "@AnalyzerFilterCondition_create.operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "arg": "@AnalyzerFilterCondition_create.property", "required": true}, {"type": "object", "name": "value", "arg": "@AnalyzerFilterCondition_create.value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_create"}}]}, {"type": "string", "name": "title", "arg": "$resource.properties.title", "required": true}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "filter", "props": [{"type": "array<@AnalyzerFilterCondition_read>", "name": "apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array<@AnalyzerFilterCondition_read>", "name": "apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array", "name": "apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "required": true}, {"type": "object", "name": "value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_read"}}]}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}, {"type": "string", "name": "title", "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}], "confirmation": ""}, {"name": "update", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.analyzerType", "options": ["analyzer-type"], "group": "Properties", "help": {"short": "The type of API analyzer."}, "default": {"value": "spectral"}, "enum": {"items": [{"name": "spectral", "value": "spectral"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of the analyzer configuration."}}, {"nullable": true, "type": "object", "var": "$resource.properties.filter", "options": ["filter"], "group": "Properties", "help": {"short": "The API analyzer filter."}, "args": [{"type": "array<@AnalyzerFilterCondition_update>", "var": "$resource.properties.filter.apiDefinitions", "options": ["api-definitions"], "help": {"short": "Api definition filter conditions."}, "item": {"nullable": true, "type": "@AnalyzerFilterCondition_update"}}, {"type": "array<@AnalyzerFilterCondition_update>", "var": "$resource.properties.filter.apiVersions", "options": ["api-versions"], "help": {"short": "APi version filter conditions."}, "item": {"nullable": true, "type": "@AnalyzerFilterCondition_update"}}, {"type": "array", "var": "$resource.properties.filter.apis", "options": ["apis"], "help": {"short": "API filter conditions."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "@AnalyzerFilterCondition_update.operator", "options": ["operator"], "help": {"short": "The operator to use for the filter, e.g. \"equals\"."}, "enum": {"items": [{"name": "contains", "value": "contains"}, {"name": "equals", "value": "equals"}]}}, {"type": "string", "var": "@AnalyzerFilterCondition_update.property", "options": ["property"], "help": {"short": "The property to filter on, e.g. \"lifecycleStage\"."}}, {"type": "object", "var": "@AnalyzerFilterCondition_update.value", "options": ["value"], "help": {"short": "The value to filter on, e.g. \"production\"."}, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_update"}}]}, {"type": "string", "var": "$resource.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "The title of the analyzer configuration, e.g. \"Spectral (OpenAPI)\"."}}]}], "operations": [{"operationId": "AnalyzerConfigs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "filter", "props": [{"type": "array<@AnalyzerFilterCondition_read>", "name": "apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array<@AnalyzerFilterCondition_read>", "name": "apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array", "name": "apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "required": true}, {"type": "object", "name": "value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_read"}}]}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}, {"type": "string", "name": "title", "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": "AnalyzerConfig_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": "analyzerType", "arg": "$resource.properties.analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description", "arg": "$resource.properties.description"}, {"type": "object", "name": "filter", "arg": "$resource.properties.filter", "props": [{"type": "array<@AnalyzerFilterCondition_update>", "name": "apiDefinitions", "arg": "$resource.properties.filter.apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_update"}}, {"type": "array<@AnalyzerFilterCondition_update>", "name": "apiVersions", "arg": "$resource.properties.filter.apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_update"}}, {"type": "array", "name": "apis", "arg": "$resource.properties.filter.apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "arg": "@AnalyzerFilterCondition_update.operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "arg": "@AnalyzerFilterCondition_update.property", "required": true}, {"type": "object", "name": "value", "arg": "@AnalyzerFilterCondition_update.value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_update"}}]}, {"type": "string", "name": "title", "arg": "$resource.properties.title", "required": true}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "AnalyzerConfigs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@AnalyzerConfig_read"}}}}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.xml index 4e3e3cb5b..12a3ab3e3 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.xml @@ -208,6 +208,7 @@ + @@ -419,6 +420,7 @@ + From aec10627e9eeab30022f3112ce1ac3842bf0300e Mon Sep 17 00:00:00 2001 From: frankqianms Date: Tue, 25 Feb 2025 16:09:44 +0800 Subject: [PATCH 5/8] refactor: remove preview tag for some integration commands --- Commands/apic/integration/_delete.md | 2 +- Commands/apic/integration/_head.md | 2 +- Commands/apic/integration/_list.md | 2 +- Commands/apic/integration/_show.md | 2 +- Commands/tree.json | 12 ++++------- .../2024-12-01-preview.json | 2 +- .../2024-12-01-preview.xml | 4 +--- .../2024-12-01-preview.json | 2 +- .../2024-12-01-preview.xml | 20 +++++-------------- 9 files changed, 16 insertions(+), 32 deletions(-) diff --git a/Commands/apic/integration/_delete.md b/Commands/apic/integration/_delete.md index 66484d0b6..49495cdb0 100644 --- a/Commands/apic/integration/_delete.md +++ b/Commands/apic/integration/_delete.md @@ -8,6 +8,6 @@ Delete specified API source. -### [2024-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2VzL3t9/2024-12-01-preview.xml) **Preview** +### [2024-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2VzL3t9/2024-12-01-preview.xml) **Stable** diff --git a/Commands/apic/integration/_head.md b/Commands/apic/integration/_head.md index a856a01db..080429ce0 100644 --- a/Commands/apic/integration/_head.md +++ b/Commands/apic/integration/_head.md @@ -8,6 +8,6 @@ Checks if specified API source exists. -### [2024-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2VzL3t9/2024-12-01-preview.xml) **Preview** +### [2024-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2VzL3t9/2024-12-01-preview.xml) **Stable** diff --git a/Commands/apic/integration/_list.md b/Commands/apic/integration/_list.md index 38054f935..eef635b21 100644 --- a/Commands/apic/integration/_list.md +++ b/Commands/apic/integration/_list.md @@ -8,6 +8,6 @@ List a collection of API sources. -### [2024-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2Vz/2024-12-01-preview.xml) **Preview** +### [2024-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2Vz/2024-12-01-preview.xml) **Stable** diff --git a/Commands/apic/integration/_show.md b/Commands/apic/integration/_show.md index 8ef420d58..97bb73564 100644 --- a/Commands/apic/integration/_show.md +++ b/Commands/apic/integration/_show.md @@ -8,6 +8,6 @@ Get details of the API source. -### [2024-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2VzL3t9/2024-12-01-preview.xml) **Preview** +### [2024-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2VzL3t9/2024-12-01-preview.xml) **Stable** diff --git a/Commands/tree.json b/Commands/tree.json index db0e92a76..36074ff82 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -7680,8 +7680,7 @@ "plane": "mgmt-plane", "version": "2024-12-01-preview" } - ], - "stage": "Preview" + ] } ] }, @@ -7714,8 +7713,7 @@ "plane": "mgmt-plane", "version": "2024-12-01-preview" } - ], - "stage": "Preview" + ] } ] }, @@ -7748,8 +7746,7 @@ "plane": "mgmt-plane", "version": "2024-12-01-preview" } - ], - "stage": "Preview" + ] } ] }, @@ -7782,8 +7779,7 @@ "plane": "mgmt-plane", "version": "2024-12-01-preview" } - ], - "stage": "Preview" + ] } ] }, diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2Vz/2024-12-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2Vz/2024-12-01-preview.json index 65c81b2fa..c63255e60 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2Vz/2024-12-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2Vz/2024-12-01-preview.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apisources", "version": "2024-12-01-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpU291cmNlcw==/V/MjAyNC0xMi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "apic integration", "commands": [{"name": "list", "version": "2024-12-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apisources", "version": "2024-12-01-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpU291cmNlcw==/V/MjAyNC0xMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of Azure API Center resource group. You can configure the default group using `az configure --defaults group=`."}}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "ApiSources_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apiSources", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apiSources/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "amazonApiGatewaySource", "props": [{"type": "string", "name": "accessKey", "required": true}, {"type": "ResourceId", "name": "msiResourceId"}, {"type": "string", "name": "regionName", "required": true}, {"type": "string", "name": "secretAccessKey", "required": true}]}, {"type": "string", "name": "apiSourceType", "required": true, "enum": {"items": [{"value": "AmazonApiGateway"}, {"value": "AzureApiManagement"}]}}, {"type": "object", "name": "azureApiManagementSource", "props": [{"type": "ResourceId", "name": "msiResourceId"}, {"type": "ResourceId", "name": "resourceId", "required": true}]}, {"default": {"value": "ondemand"}, "type": "string", "name": "importSpecification", "enum": {"items": [{"value": "always"}, {"value": "never"}, {"value": "ondemand"}]}}, {"readOnly": true, "type": "object", "name": "linkState", "props": [{"type": "dateTime", "name": "lastUpdatedOn", "required": true}, {"type": "string", "name": "message"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "deleting"}, {"value": "error"}, {"value": "initializing"}, {"value": "syncing"}]}}]}, {"type": "ResourceId", "name": "targetEnvironmentId"}, {"type": "string", "name": "targetLifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}], "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"}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apisources", "version": "2024-12-01-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpU291cmNlcw==/V/MjAyNC0xMi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "apic integration", "commands": [{"name": "list", "version": "2024-12-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apisources", "version": "2024-12-01-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpU291cmNlcw==/V/MjAyNC0xMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "ApiSources_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apiSources", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apiSources/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "amazonApiGatewaySource", "props": [{"type": "string", "name": "accessKey", "required": true}, {"type": "ResourceId", "name": "msiResourceId"}, {"type": "string", "name": "regionName", "required": true}, {"type": "string", "name": "secretAccessKey", "required": true}]}, {"type": "string", "name": "apiSourceType", "required": true, "enum": {"items": [{"value": "AmazonApiGateway"}, {"value": "AzureApiManagement"}]}}, {"type": "object", "name": "azureApiManagementSource", "props": [{"type": "ResourceId", "name": "msiResourceId"}, {"type": "ResourceId", "name": "resourceId", "required": true}]}, {"default": {"value": "ondemand"}, "type": "string", "name": "importSpecification", "enum": {"items": [{"value": "always"}, {"value": "never"}, {"value": "ondemand"}]}}, {"readOnly": true, "type": "object", "name": "linkState", "props": [{"type": "dateTime", "name": "lastUpdatedOn", "required": true}, {"type": "string", "name": "message"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "deleting"}, {"value": "error"}, {"value": "initializing"}, {"value": "syncing"}]}}]}, {"type": "ResourceId", "name": "targetEnvironmentId"}, {"type": "string", "name": "targetLifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}], "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"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2Vz/2024-12-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2Vz/2024-12-01-preview.xml index 777abb11c..78815d59f 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2Vz/2024-12-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2Vz/2024-12-01-preview.xml @@ -5,9 +5,7 @@ - - - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2VzL3t9/2024-12-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2VzL3t9/2024-12-01-preview.json index 83db940c7..b169d0d89 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2VzL3t9/2024-12-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2VzL3t9/2024-12-01-preview.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apisources/{}", "version": "2024-12-01-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpU291cmNlcy97YXBpU291cmNlTmFtZX0=/V/MjAyNC0xMi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "apic integration", "commands": [{"name": "show", "version": "2024-12-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apisources/{}", "version": "2024-12-01-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpU291cmNlcy97YXBpU291cmNlTmFtZX0=/V/MjAyNC0xMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiSourceName", "options": ["i", "integration-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the integration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of Azure API Center resource group. You can configure the default group using `az configure --defaults group=`."}}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "ApiSources_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apiSources/{apiSourceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiSourceName", "arg": "$Path.apiSourceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apiSources/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "amazonApiGatewaySource", "props": [{"type": "string", "name": "accessKey", "required": true}, {"type": "ResourceId", "name": "msiResourceId"}, {"type": "string", "name": "regionName", "required": true}, {"type": "string", "name": "secretAccessKey", "required": true}]}, {"type": "string", "name": "apiSourceType", "required": true, "enum": {"items": [{"value": "AmazonApiGateway"}, {"value": "AzureApiManagement"}]}}, {"type": "object", "name": "azureApiManagementSource", "props": [{"type": "ResourceId", "name": "msiResourceId"}, {"type": "ResourceId", "name": "resourceId", "required": true}]}, {"default": {"value": "ondemand"}, "type": "string", "name": "importSpecification", "enum": {"items": [{"value": "always"}, {"value": "never"}, {"value": "ondemand"}]}}, {"readOnly": true, "type": "object", "name": "linkState", "props": [{"type": "dateTime", "name": "lastUpdatedOn", "required": true}, {"type": "string", "name": "message"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "deleting"}, {"value": "error"}, {"value": "initializing"}, {"value": "syncing"}]}}]}, {"type": "ResourceId", "name": "targetEnvironmentId"}, {"type": "string", "name": "targetLifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}], "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}], "confirmation": ""}, {"name": "delete", "version": "2024-12-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apisources/{}", "version": "2024-12-01-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpU291cmNlcy97YXBpU291cmNlTmFtZX0=/V/MjAyNC0xMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiSourceName", "options": ["i", "integration-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the integration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of Azure API Center resource group. You can configure the default group using `az configure --defaults group=`."}}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "ApiSources_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apiSources/{apiSourceName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "apiSourceName", "arg": "$Path.apiSourceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-01-preview"}, "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": "2024-12-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apisources/{}", "version": "2024-12-01-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpU291cmNlcy97YXBpU291cmNlTmFtZX0=/V/MjAyNC0xMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiSourceName", "options": ["i", "integration-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the integration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of Azure API Center resource group. You can configure the default group using `az configure --defaults group=`."}}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.amazonApiGatewaySource", "options": ["amazon-api-gateway-source"], "group": "Properties", "help": {"short": "API source configuration for Amazon API Gateway."}, "args": [{"type": "string", "var": "$resource.properties.amazonApiGatewaySource.accessKey", "options": ["access-key"], "required": true, "help": {"short": "Amazon API Gateway Access Key. Must be an Azure Key Vault secret reference."}}, {"type": "ResourceId", "var": "$resource.properties.amazonApiGatewaySource.msiResourceId", "options": ["msi-resource-id"], "help": {"short": "(Optional) The resource ID of the managed identity that has access to the Azure Key Vault secrets."}}, {"type": "string", "var": "$resource.properties.amazonApiGatewaySource.regionName", "options": ["region-name"], "required": true, "help": {"short": "Amazon API Gateway Region (ex. us-east-2)."}}, {"type": "string", "var": "$resource.properties.amazonApiGatewaySource.secretAccessKey", "options": ["secret-access-key"], "required": true, "help": {"short": "Amazon API Gateway Secret Access Key. Must be an Azure Key Vault secret reference."}}]}, {"type": "string", "var": "$resource.properties.apiSourceType", "options": ["api-source-type"], "group": "Properties", "help": {"short": "API source type"}, "enum": {"items": [{"name": "AmazonApiGateway", "value": "AmazonApiGateway"}, {"name": "AzureApiManagement", "value": "AzureApiManagement"}]}}, {"type": "object", "var": "$resource.properties.azureApiManagementSource", "options": ["azure-api-management-source"], "group": "Properties", "help": {"short": "API source configuration for Azure API Management."}, "args": [{"type": "ResourceId", "var": "$resource.properties.azureApiManagementSource.msiResourceId", "options": ["msi-resource-id"], "help": {"short": "(Optional) The resource ID of the managed identity that has access to the API Management instance."}}, {"type": "ResourceId", "var": "$resource.properties.azureApiManagementSource.resourceId", "options": ["apim-resource-id"], "required": true, "group": "", "help": {"short": "API Management service resource ID."}}]}, {"type": "string", "var": "$resource.properties.importSpecification", "options": ["import-specification"], "group": "Properties", "help": {"short": "Indicates if the specification should be imported along with metadata."}, "default": {"value": "always"}, "enum": {"items": [{"name": "always", "value": "always"}, {"name": "never", "value": "never"}, {"name": "ondemand", "value": "ondemand"}]}}, {"type": "ResourceId", "var": "$resource.properties.targetEnvironmentId", "options": ["target-environment-id"], "group": "Properties", "help": {"short": "The target environment resource ID."}}, {"type": "string", "var": "$resource.properties.targetLifecycleStage", "options": ["target-lifecycle-stage"], "group": "Properties", "help": {"short": "The target lifecycle stage."}, "enum": {"items": [{"name": "deprecated", "value": "deprecated"}, {"name": "design", "value": "design"}, {"name": "development", "value": "development"}, {"name": "preview", "value": "preview"}, {"name": "production", "value": "production"}, {"name": "retired", "value": "retired"}, {"name": "testing", "value": "testing"}]}}]}], "operations": [{"operationId": "ApiSources_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apiSources/{apiSourceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiSourceName", "arg": "$Path.apiSourceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-01-preview"}, "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": "object", "name": "amazonApiGatewaySource", "arg": "$resource.properties.amazonApiGatewaySource", "props": [{"type": "string", "name": "accessKey", "arg": "$resource.properties.amazonApiGatewaySource.accessKey", "required": true}, {"type": "ResourceId", "name": "msiResourceId", "arg": "$resource.properties.amazonApiGatewaySource.msiResourceId"}, {"type": "string", "name": "regionName", "arg": "$resource.properties.amazonApiGatewaySource.regionName", "required": true}, {"type": "string", "name": "secretAccessKey", "arg": "$resource.properties.amazonApiGatewaySource.secretAccessKey", "required": true}]}, {"type": "string", "name": "apiSourceType", "arg": "$resource.properties.apiSourceType", "required": true, "enum": {"items": [{"value": "AmazonApiGateway"}, {"value": "AzureApiManagement"}]}}, {"type": "object", "name": "azureApiManagementSource", "arg": "$resource.properties.azureApiManagementSource", "props": [{"type": "ResourceId", "name": "msiResourceId", "arg": "$resource.properties.azureApiManagementSource.msiResourceId"}, {"type": "ResourceId", "name": "resourceId", "arg": "$resource.properties.azureApiManagementSource.resourceId", "required": true}]}, {"default": {"value": "ondemand"}, "type": "string", "name": "importSpecification", "arg": "$resource.properties.importSpecification", "enum": {"items": [{"value": "always"}, {"value": "never"}, {"value": "ondemand"}]}}, {"type": "ResourceId", "name": "targetEnvironmentId", "arg": "$resource.properties.targetEnvironmentId"}, {"type": "string", "name": "targetLifecycleStage", "arg": "$resource.properties.targetLifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apiSources/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "amazonApiGatewaySource", "props": [{"type": "string", "name": "accessKey", "required": true}, {"type": "ResourceId", "name": "msiResourceId"}, {"type": "string", "name": "regionName", "required": true}, {"type": "string", "name": "secretAccessKey", "required": true}]}, {"type": "string", "name": "apiSourceType", "required": true, "enum": {"items": [{"value": "AmazonApiGateway"}, {"value": "AzureApiManagement"}]}}, {"type": "object", "name": "azureApiManagementSource", "props": [{"type": "ResourceId", "name": "msiResourceId"}, {"type": "ResourceId", "name": "resourceId", "required": true}]}, {"default": {"value": "ondemand"}, "type": "string", "name": "importSpecification", "enum": {"items": [{"value": "always"}, {"value": "never"}, {"value": "ondemand"}]}}, {"readOnly": true, "type": "object", "name": "linkState", "props": [{"type": "dateTime", "name": "lastUpdatedOn", "required": true}, {"type": "string", "name": "message"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "deleting"}, {"value": "error"}, {"value": "initializing"}, {"value": "syncing"}]}}]}, {"type": "ResourceId", "name": "targetEnvironmentId"}, {"type": "string", "name": "targetLifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}], "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}], "confirmation": ""}, {"name": "head", "version": "2024-12-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apisources/{}", "version": "2024-12-01-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpU291cmNlcy97YXBpU291cmNlTmFtZX0=/V/MjAyNC0xMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiSourceName", "options": ["i", "integration-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the integration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of Azure API Center resource group. You can configure the default group using `az configure --defaults group=`."}}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "ApiSources_Head", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apiSources/{apiSourceName}", "request": {"method": "head", "path": {"params": [{"type": "string", "name": "apiSourceName", "arg": "$Path.apiSourceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "update", "version": "2024-12-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apisources/{}", "version": "2024-12-01-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpU291cmNlcy97YXBpU291cmNlTmFtZX0=/V/MjAyNC0xMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiSourceName", "options": ["i", "integration-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the integration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of Azure API Center resource group. You can configure the default group using `az configure --defaults group=`."}}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$resource.properties.amazonApiGatewaySource", "options": ["amazon-api-gateway-source"], "group": "Properties", "help": {"short": "API source configuration for Amazon API Gateway."}, "args": [{"type": "string", "var": "$resource.properties.amazonApiGatewaySource.accessKey", "options": ["access-key"], "help": {"short": "Amazon API Gateway Access Key. Must be an Azure Key Vault secret reference."}}, {"nullable": true, "type": "ResourceId", "var": "$resource.properties.amazonApiGatewaySource.msiResourceId", "options": ["msi-resource-id"], "help": {"short": "(Optional) The resource ID of the managed identity that has access to the Azure Key Vault secrets."}}, {"type": "string", "var": "$resource.properties.amazonApiGatewaySource.regionName", "options": ["region-name"], "help": {"short": "Amazon API Gateway Region (ex. us-east-2)."}}, {"type": "string", "var": "$resource.properties.amazonApiGatewaySource.secretAccessKey", "options": ["secret-access-key"], "help": {"short": "Amazon API Gateway Secret Access Key. Must be an Azure Key Vault secret reference."}}]}, {"type": "string", "var": "$resource.properties.apiSourceType", "options": ["api-source-type"], "group": "Properties", "help": {"short": "API source type"}, "enum": {"items": [{"name": "AmazonApiGateway", "value": "AmazonApiGateway"}, {"name": "AzureApiManagement", "value": "AzureApiManagement"}]}}, {"nullable": true, "type": "object", "var": "$resource.properties.azureApiManagementSource", "options": ["azure-api-management-source"], "group": "Properties", "help": {"short": "API source configuration for Azure API Management."}, "args": [{"nullable": true, "type": "ResourceId", "var": "$resource.properties.azureApiManagementSource.msiResourceId", "options": ["msi-resource-id"], "help": {"short": "(Optional) The resource ID of the managed identity that has access to the API Management instance."}}, {"type": "ResourceId", "var": "$resource.properties.azureApiManagementSource.resourceId", "options": ["resource-id"], "help": {"short": "API Management service resource ID."}}]}, {"nullable": true, "type": "string", "var": "$resource.properties.importSpecification", "options": ["import-specification"], "group": "Properties", "help": {"short": "Indicates if the specification should be imported along with metadata."}, "enum": {"items": [{"name": "always", "value": "always"}, {"name": "never", "value": "never"}, {"name": "ondemand", "value": "ondemand"}]}}, {"nullable": true, "type": "ResourceId", "var": "$resource.properties.targetEnvironmentId", "options": ["target-environment-id"], "group": "Properties", "help": {"short": "The target environment resource ID."}}, {"nullable": true, "type": "string", "var": "$resource.properties.targetLifecycleStage", "options": ["target-lifecycle-stage"], "group": "Properties", "help": {"short": "The target lifecycle stage."}, "enum": {"items": [{"name": "deprecated", "value": "deprecated"}, {"name": "design", "value": "design"}, {"name": "development", "value": "development"}, {"name": "preview", "value": "preview"}, {"name": "production", "value": "production"}, {"name": "retired", "value": "retired"}, {"name": "testing", "value": "testing"}]}}]}], "operations": [{"operationId": "ApiSources_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apiSources/{apiSourceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiSourceName", "arg": "$Path.apiSourceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apiSources/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "amazonApiGatewaySource", "props": [{"type": "string", "name": "accessKey", "required": true}, {"type": "ResourceId", "name": "msiResourceId"}, {"type": "string", "name": "regionName", "required": true}, {"type": "string", "name": "secretAccessKey", "required": true}]}, {"type": "string", "name": "apiSourceType", "required": true, "enum": {"items": [{"value": "AmazonApiGateway"}, {"value": "AzureApiManagement"}]}}, {"type": "object", "name": "azureApiManagementSource", "props": [{"type": "ResourceId", "name": "msiResourceId"}, {"type": "ResourceId", "name": "resourceId", "required": true}]}, {"default": {"value": "ondemand"}, "type": "string", "name": "importSpecification", "enum": {"items": [{"value": "always"}, {"value": "never"}, {"value": "ondemand"}]}}, {"readOnly": true, "type": "object", "name": "linkState", "props": [{"type": "dateTime", "name": "lastUpdatedOn", "required": true}, {"type": "string", "name": "message"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "deleting"}, {"value": "error"}, {"value": "initializing"}, {"value": "syncing"}]}}]}, {"type": "ResourceId", "name": "targetEnvironmentId"}, {"type": "string", "name": "targetLifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}], "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": "ApiSource_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": "object", "name": "amazonApiGatewaySource", "arg": "$resource.properties.amazonApiGatewaySource", "props": [{"type": "string", "name": "accessKey", "arg": "$resource.properties.amazonApiGatewaySource.accessKey", "required": true}, {"type": "ResourceId", "name": "msiResourceId", "arg": "$resource.properties.amazonApiGatewaySource.msiResourceId"}, {"type": "string", "name": "regionName", "arg": "$resource.properties.amazonApiGatewaySource.regionName", "required": true}, {"type": "string", "name": "secretAccessKey", "arg": "$resource.properties.amazonApiGatewaySource.secretAccessKey", "required": true}]}, {"type": "string", "name": "apiSourceType", "arg": "$resource.properties.apiSourceType", "required": true, "enum": {"items": [{"value": "AmazonApiGateway"}, {"value": "AzureApiManagement"}]}}, {"type": "object", "name": "azureApiManagementSource", "arg": "$resource.properties.azureApiManagementSource", "props": [{"type": "ResourceId", "name": "msiResourceId", "arg": "$resource.properties.azureApiManagementSource.msiResourceId"}, {"type": "ResourceId", "name": "resourceId", "arg": "$resource.properties.azureApiManagementSource.resourceId", "required": true}]}, {"default": {"value": "ondemand"}, "type": "string", "name": "importSpecification", "arg": "$resource.properties.importSpecification", "enum": {"items": [{"value": "always"}, {"value": "never"}, {"value": "ondemand"}]}}, {"type": "ResourceId", "name": "targetEnvironmentId", "arg": "$resource.properties.targetEnvironmentId"}, {"type": "string", "name": "targetLifecycleStage", "arg": "$resource.properties.targetLifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "ApiSources_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apiSources/{apiSourceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiSourceName", "arg": "$Path.apiSourceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@ApiSource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apisources/{}", "version": "2024-12-01-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpU291cmNlcy97YXBpU291cmNlTmFtZX0=/V/MjAyNC0xMi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "apic integration", "commands": [{"name": "show", "version": "2024-12-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apisources/{}", "version": "2024-12-01-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpU291cmNlcy97YXBpU291cmNlTmFtZX0=/V/MjAyNC0xMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiSourceName", "options": ["i", "integration-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the integration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "ApiSources_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apiSources/{apiSourceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiSourceName", "arg": "$Path.apiSourceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apiSources/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "amazonApiGatewaySource", "props": [{"type": "string", "name": "accessKey", "required": true}, {"type": "ResourceId", "name": "msiResourceId"}, {"type": "string", "name": "regionName", "required": true}, {"type": "string", "name": "secretAccessKey", "required": true}]}, {"type": "string", "name": "apiSourceType", "required": true, "enum": {"items": [{"value": "AmazonApiGateway"}, {"value": "AzureApiManagement"}]}}, {"type": "object", "name": "azureApiManagementSource", "props": [{"type": "ResourceId", "name": "msiResourceId"}, {"type": "ResourceId", "name": "resourceId", "required": true}]}, {"default": {"value": "ondemand"}, "type": "string", "name": "importSpecification", "enum": {"items": [{"value": "always"}, {"value": "never"}, {"value": "ondemand"}]}}, {"readOnly": true, "type": "object", "name": "linkState", "props": [{"type": "dateTime", "name": "lastUpdatedOn", "required": true}, {"type": "string", "name": "message"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "deleting"}, {"value": "error"}, {"value": "initializing"}, {"value": "syncing"}]}}]}, {"type": "ResourceId", "name": "targetEnvironmentId"}, {"type": "string", "name": "targetLifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}], "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}], "confirmation": ""}, {"name": "delete", "version": "2024-12-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apisources/{}", "version": "2024-12-01-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpU291cmNlcy97YXBpU291cmNlTmFtZX0=/V/MjAyNC0xMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiSourceName", "options": ["i", "integration-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the integration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "ApiSources_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apiSources/{apiSourceName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "apiSourceName", "arg": "$Path.apiSourceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-01-preview"}, "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": "2024-12-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apisources/{}", "version": "2024-12-01-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpU291cmNlcy97YXBpU291cmNlTmFtZX0=/V/MjAyNC0xMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiSourceName", "options": ["i", "integration-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the integration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.amazonApiGatewaySource", "options": ["amazon-api-gateway-source"], "group": "Properties", "help": {"short": "API source configuration for Amazon API Gateway."}, "args": [{"type": "string", "var": "$resource.properties.amazonApiGatewaySource.accessKey", "options": ["access-key"], "required": true, "help": {"short": "Amazon API Gateway Access Key. Must be an Azure Key Vault secret reference."}}, {"type": "ResourceId", "var": "$resource.properties.amazonApiGatewaySource.msiResourceId", "options": ["msi-resource-id"], "help": {"short": "(Optional) The resource ID of the managed identity that has access to the Azure Key Vault secrets."}}, {"type": "string", "var": "$resource.properties.amazonApiGatewaySource.regionName", "options": ["region-name"], "required": true, "help": {"short": "Amazon API Gateway Region (ex. us-east-2)."}}, {"type": "string", "var": "$resource.properties.amazonApiGatewaySource.secretAccessKey", "options": ["secret-access-key"], "required": true, "help": {"short": "Amazon API Gateway Secret Access Key. Must be an Azure Key Vault secret reference."}}]}, {"type": "string", "var": "$resource.properties.apiSourceType", "options": ["api-source-type"], "group": "Properties", "help": {"short": "API source type"}, "enum": {"items": [{"name": "AmazonApiGateway", "value": "AmazonApiGateway"}, {"name": "AzureApiManagement", "value": "AzureApiManagement"}]}}, {"type": "object", "var": "$resource.properties.azureApiManagementSource", "options": ["azure-api-management-source"], "group": "Properties", "help": {"short": "API source configuration for Azure API Management."}, "args": [{"type": "ResourceId", "var": "$resource.properties.azureApiManagementSource.msiResourceId", "options": ["msi-resource-id"], "help": {"short": "(Optional) The resource ID of the managed identity that has access to the API Management instance."}}, {"type": "ResourceId", "var": "$resource.properties.azureApiManagementSource.resourceId", "options": ["apim-resource-id"], "required": true, "group": "", "help": {"short": "API Management service resource ID."}}]}, {"type": "string", "var": "$resource.properties.importSpecification", "options": ["import-specification"], "group": "Properties", "help": {"short": "Indicates if the specification should be imported along with metadata."}, "default": {"value": "always"}, "enum": {"items": [{"name": "always", "value": "always"}, {"name": "never", "value": "never"}, {"name": "ondemand", "value": "ondemand"}]}}, {"type": "ResourceId", "var": "$resource.properties.targetEnvironmentId", "options": ["target-environment-id"], "group": "Properties", "help": {"short": "The target environment resource ID."}}, {"type": "string", "var": "$resource.properties.targetLifecycleStage", "options": ["target-lifecycle-stage"], "group": "Properties", "help": {"short": "The target lifecycle stage."}, "enum": {"items": [{"name": "deprecated", "value": "deprecated"}, {"name": "design", "value": "design"}, {"name": "development", "value": "development"}, {"name": "preview", "value": "preview"}, {"name": "production", "value": "production"}, {"name": "retired", "value": "retired"}, {"name": "testing", "value": "testing"}]}}]}], "operations": [{"operationId": "ApiSources_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apiSources/{apiSourceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiSourceName", "arg": "$Path.apiSourceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-01-preview"}, "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": "object", "name": "amazonApiGatewaySource", "arg": "$resource.properties.amazonApiGatewaySource", "props": [{"type": "string", "name": "accessKey", "arg": "$resource.properties.amazonApiGatewaySource.accessKey", "required": true}, {"type": "ResourceId", "name": "msiResourceId", "arg": "$resource.properties.amazonApiGatewaySource.msiResourceId"}, {"type": "string", "name": "regionName", "arg": "$resource.properties.amazonApiGatewaySource.regionName", "required": true}, {"type": "string", "name": "secretAccessKey", "arg": "$resource.properties.amazonApiGatewaySource.secretAccessKey", "required": true}]}, {"type": "string", "name": "apiSourceType", "arg": "$resource.properties.apiSourceType", "required": true, "enum": {"items": [{"value": "AmazonApiGateway"}, {"value": "AzureApiManagement"}]}}, {"type": "object", "name": "azureApiManagementSource", "arg": "$resource.properties.azureApiManagementSource", "props": [{"type": "ResourceId", "name": "msiResourceId", "arg": "$resource.properties.azureApiManagementSource.msiResourceId"}, {"type": "ResourceId", "name": "resourceId", "arg": "$resource.properties.azureApiManagementSource.resourceId", "required": true}]}, {"default": {"value": "ondemand"}, "type": "string", "name": "importSpecification", "arg": "$resource.properties.importSpecification", "enum": {"items": [{"value": "always"}, {"value": "never"}, {"value": "ondemand"}]}}, {"type": "ResourceId", "name": "targetEnvironmentId", "arg": "$resource.properties.targetEnvironmentId"}, {"type": "string", "name": "targetLifecycleStage", "arg": "$resource.properties.targetLifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apiSources/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "amazonApiGatewaySource", "props": [{"type": "string", "name": "accessKey", "required": true}, {"type": "ResourceId", "name": "msiResourceId"}, {"type": "string", "name": "regionName", "required": true}, {"type": "string", "name": "secretAccessKey", "required": true}]}, {"type": "string", "name": "apiSourceType", "required": true, "enum": {"items": [{"value": "AmazonApiGateway"}, {"value": "AzureApiManagement"}]}}, {"type": "object", "name": "azureApiManagementSource", "props": [{"type": "ResourceId", "name": "msiResourceId"}, {"type": "ResourceId", "name": "resourceId", "required": true}]}, {"default": {"value": "ondemand"}, "type": "string", "name": "importSpecification", "enum": {"items": [{"value": "always"}, {"value": "never"}, {"value": "ondemand"}]}}, {"readOnly": true, "type": "object", "name": "linkState", "props": [{"type": "dateTime", "name": "lastUpdatedOn", "required": true}, {"type": "string", "name": "message"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "deleting"}, {"value": "error"}, {"value": "initializing"}, {"value": "syncing"}]}}]}, {"type": "ResourceId", "name": "targetEnvironmentId"}, {"type": "string", "name": "targetLifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}], "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}], "confirmation": ""}, {"name": "head", "version": "2024-12-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apisources/{}", "version": "2024-12-01-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpU291cmNlcy97YXBpU291cmNlTmFtZX0=/V/MjAyNC0xMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiSourceName", "options": ["i", "integration-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the integration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "ApiSources_Head", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apiSources/{apiSourceName}", "request": {"method": "head", "path": {"params": [{"type": "string", "name": "apiSourceName", "arg": "$Path.apiSourceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "update", "version": "2024-12-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/apisources/{}", "version": "2024-12-01-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYXBpU291cmNlcy97YXBpU291cmNlTmFtZX0=/V/MjAyNC0xMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.apiSourceName", "options": ["i", "integration-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the integration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$resource.properties.amazonApiGatewaySource", "options": ["amazon-api-gateway-source"], "group": "Properties", "help": {"short": "API source configuration for Amazon API Gateway."}, "args": [{"type": "string", "var": "$resource.properties.amazonApiGatewaySource.accessKey", "options": ["access-key"], "help": {"short": "Amazon API Gateway Access Key. Must be an Azure Key Vault secret reference."}}, {"nullable": true, "type": "ResourceId", "var": "$resource.properties.amazonApiGatewaySource.msiResourceId", "options": ["msi-resource-id"], "help": {"short": "(Optional) The resource ID of the managed identity that has access to the Azure Key Vault secrets."}}, {"type": "string", "var": "$resource.properties.amazonApiGatewaySource.regionName", "options": ["region-name"], "help": {"short": "Amazon API Gateway Region (ex. us-east-2)."}}, {"type": "string", "var": "$resource.properties.amazonApiGatewaySource.secretAccessKey", "options": ["secret-access-key"], "help": {"short": "Amazon API Gateway Secret Access Key. Must be an Azure Key Vault secret reference."}}]}, {"type": "string", "var": "$resource.properties.apiSourceType", "options": ["api-source-type"], "group": "Properties", "help": {"short": "API source type"}, "enum": {"items": [{"name": "AmazonApiGateway", "value": "AmazonApiGateway"}, {"name": "AzureApiManagement", "value": "AzureApiManagement"}]}}, {"nullable": true, "type": "object", "var": "$resource.properties.azureApiManagementSource", "options": ["azure-api-management-source"], "group": "Properties", "help": {"short": "API source configuration for Azure API Management."}, "args": [{"nullable": true, "type": "ResourceId", "var": "$resource.properties.azureApiManagementSource.msiResourceId", "options": ["msi-resource-id"], "help": {"short": "(Optional) The resource ID of the managed identity that has access to the API Management instance."}}, {"type": "ResourceId", "var": "$resource.properties.azureApiManagementSource.resourceId", "options": ["resource-id"], "help": {"short": "API Management service resource ID."}}]}, {"nullable": true, "type": "string", "var": "$resource.properties.importSpecification", "options": ["import-specification"], "group": "Properties", "help": {"short": "Indicates if the specification should be imported along with metadata."}, "enum": {"items": [{"name": "always", "value": "always"}, {"name": "never", "value": "never"}, {"name": "ondemand", "value": "ondemand"}]}}, {"nullable": true, "type": "ResourceId", "var": "$resource.properties.targetEnvironmentId", "options": ["target-environment-id"], "group": "Properties", "help": {"short": "The target environment resource ID."}}, {"nullable": true, "type": "string", "var": "$resource.properties.targetLifecycleStage", "options": ["target-lifecycle-stage"], "group": "Properties", "help": {"short": "The target lifecycle stage."}, "enum": {"items": [{"name": "deprecated", "value": "deprecated"}, {"name": "design", "value": "design"}, {"name": "development", "value": "development"}, {"name": "preview", "value": "preview"}, {"name": "production", "value": "production"}, {"name": "retired", "value": "retired"}, {"name": "testing", "value": "testing"}]}}]}], "operations": [{"operationId": "ApiSources_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apiSources/{apiSourceName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "apiSourceName", "arg": "$Path.apiSourceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/apiSources/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "amazonApiGatewaySource", "props": [{"type": "string", "name": "accessKey", "required": true}, {"type": "ResourceId", "name": "msiResourceId"}, {"type": "string", "name": "regionName", "required": true}, {"type": "string", "name": "secretAccessKey", "required": true}]}, {"type": "string", "name": "apiSourceType", "required": true, "enum": {"items": [{"value": "AmazonApiGateway"}, {"value": "AzureApiManagement"}]}}, {"type": "object", "name": "azureApiManagementSource", "props": [{"type": "ResourceId", "name": "msiResourceId"}, {"type": "ResourceId", "name": "resourceId", "required": true}]}, {"default": {"value": "ondemand"}, "type": "string", "name": "importSpecification", "enum": {"items": [{"value": "always"}, {"value": "never"}, {"value": "ondemand"}]}}, {"readOnly": true, "type": "object", "name": "linkState", "props": [{"type": "dateTime", "name": "lastUpdatedOn", "required": true}, {"type": "string", "name": "message"}, {"type": "string", "name": "state", "enum": {"items": [{"value": "deleting"}, {"value": "error"}, {"value": "initializing"}, {"value": "syncing"}]}}]}, {"type": "ResourceId", "name": "targetEnvironmentId"}, {"type": "string", "name": "targetLifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}], "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": "ApiSource_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": "object", "name": "amazonApiGatewaySource", "arg": "$resource.properties.amazonApiGatewaySource", "props": [{"type": "string", "name": "accessKey", "arg": "$resource.properties.amazonApiGatewaySource.accessKey", "required": true}, {"type": "ResourceId", "name": "msiResourceId", "arg": "$resource.properties.amazonApiGatewaySource.msiResourceId"}, {"type": "string", "name": "regionName", "arg": "$resource.properties.amazonApiGatewaySource.regionName", "required": true}, {"type": "string", "name": "secretAccessKey", "arg": "$resource.properties.amazonApiGatewaySource.secretAccessKey", "required": true}]}, {"type": "string", "name": "apiSourceType", "arg": "$resource.properties.apiSourceType", "required": true, "enum": {"items": [{"value": "AmazonApiGateway"}, {"value": "AzureApiManagement"}]}}, {"type": "object", "name": "azureApiManagementSource", "arg": "$resource.properties.azureApiManagementSource", "props": [{"type": "ResourceId", "name": "msiResourceId", "arg": "$resource.properties.azureApiManagementSource.msiResourceId"}, {"type": "ResourceId", "name": "resourceId", "arg": "$resource.properties.azureApiManagementSource.resourceId", "required": true}]}, {"default": {"value": "ondemand"}, "type": "string", "name": "importSpecification", "arg": "$resource.properties.importSpecification", "enum": {"items": [{"value": "always"}, {"value": "never"}, {"value": "ondemand"}]}}, {"type": "ResourceId", "name": "targetEnvironmentId", "arg": "$resource.properties.targetEnvironmentId"}, {"type": "string", "name": "targetLifecycleStage", "arg": "$resource.properties.targetLifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "ApiSources_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apiSources/{apiSourceName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "apiSourceName", "arg": "$Path.apiSourceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@ApiSource_read"}}}}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2VzL3t9/2024-12-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2VzL3t9/2024-12-01-preview.xml index 18ce8ed12..294ffc924 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2VzL3t9/2024-12-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2VzL3t9/2024-12-01-preview.xml @@ -9,9 +9,7 @@ - - - + @@ -153,9 +151,7 @@ - - - + @@ -210,9 +206,7 @@ - - - + @@ -455,9 +449,7 @@ - - - + @@ -511,9 +503,7 @@ - - - + From 8dd5975d374c61124db2030873dbddc23872657a Mon Sep 17 00:00:00 2001 From: frankqianms Date: Fri, 7 Mar 2025 10:48:25 +0800 Subject: [PATCH 6/8] chore: update spec for filter param --- .../2024-12-15-preview.json | 2 +- .../2024-12-15-preview.xml | 11 +-- .../2024-12-15-preview.json | 2 +- .../2024-12-15-preview.xml | 85 ++----------------- 4 files changed, 10 insertions(+), 90 deletions(-) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.json index 14b05d8ec..212088329 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdz/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "apic api-analysis", "commands": [{"name": "list", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdz/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "AnalyzerConfigs_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "filter", "props": [{"type": "array<@AnalyzerFilterCondition_read>", "name": "apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array<@AnalyzerFilterCondition_read>", "name": "apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array", "name": "apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "required": true}, {"type": "object", "name": "value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_read"}}]}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}, {"type": "string", "name": "title", "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"}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdz/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "apic api-analysis", "commands": [{"name": "list", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdz/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "var": "$Query.filter", "options": ["filter"], "help": {"short": "OData filter parameter."}}]}], "operations": [{"operationId": "AnalyzerConfigs_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$filter", "arg": "$Query.filter"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "filter", "props": [{"type": "array<@AnalyzerFilterCondition_read>", "name": "apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array<@AnalyzerFilterCondition_read>", "name": "apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array", "name": "apis", "required": true, "item": {"type": "object", "additionalProps": {"anyType": true}, "cls": "AnalyzerFilterCondition_read"}}]}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}, {"type": "string", "name": "title", "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"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.xml index 85ab22707..1189dcced 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3M=/2024-12-15-preview.xml @@ -69,16 +69,7 @@ - - - - - - - - - - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.json index 3740bc427..338533e44 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "apic api-analysis", "commands": [{"name": "show", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "AnalyzerConfigs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "filter", "props": [{"type": "array<@AnalyzerFilterCondition_read>", "name": "apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array<@AnalyzerFilterCondition_read>", "name": "apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array", "name": "apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "required": true}, {"type": "object", "name": "value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_read"}}]}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}, {"type": "string", "name": "title", "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}], "confirmation": ""}, {"name": "delete", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "AnalyzerConfigs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "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": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.analyzerType", "options": ["analyzer-type"], "group": "Properties", "help": {"short": "The type of API analyzer."}, "default": {"value": "spectral"}, "enum": {"items": [{"name": "spectral", "value": "spectral"}]}}, {"type": "string", "var": "$resource.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of the analyzer configuration."}}, {"type": "object", "var": "$resource.properties.filter", "options": ["filter"], "group": "Properties", "help": {"short": "The API analyzer filter."}, "args": [{"type": "array<@AnalyzerFilterCondition_create>", "var": "$resource.properties.filter.apiDefinitions", "options": ["api-definitions"], "required": true, "help": {"short": "Api definition filter conditions."}, "item": {"type": "@AnalyzerFilterCondition_create"}}, {"type": "array<@AnalyzerFilterCondition_create>", "var": "$resource.properties.filter.apiVersions", "options": ["api-versions"], "required": true, "help": {"short": "APi version filter conditions."}, "item": {"type": "@AnalyzerFilterCondition_create"}}, {"type": "array", "var": "$resource.properties.filter.apis", "options": ["apis"], "required": true, "help": {"short": "API filter conditions."}, "item": {"type": "object", "args": [{"type": "string", "var": "@AnalyzerFilterCondition_create.operator", "options": ["operator"], "required": true, "help": {"short": "The operator to use for the filter, e.g. \"equals\"."}, "enum": {"items": [{"name": "contains", "value": "contains"}, {"name": "equals", "value": "equals"}]}}, {"type": "string", "var": "@AnalyzerFilterCondition_create.property", "options": ["property"], "required": true, "help": {"short": "The property to filter on, e.g. \"lifecycleStage\"."}}, {"type": "object", "var": "@AnalyzerFilterCondition_create.value", "options": ["value"], "required": true, "help": {"short": "The value to filter on, e.g. \"production\"."}, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_create"}}]}, {"type": "string", "var": "$resource.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "The title of the analyzer configuration, e.g. \"Spectral (OpenAPI)\"."}}]}], "operations": [{"operationId": "AnalyzerConfigs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "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": "analyzerType", "arg": "$resource.properties.analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description", "arg": "$resource.properties.description"}, {"type": "object", "name": "filter", "arg": "$resource.properties.filter", "props": [{"type": "array<@AnalyzerFilterCondition_create>", "name": "apiDefinitions", "arg": "$resource.properties.filter.apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_create"}}, {"type": "array<@AnalyzerFilterCondition_create>", "name": "apiVersions", "arg": "$resource.properties.filter.apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_create"}}, {"type": "array", "name": "apis", "arg": "$resource.properties.filter.apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "arg": "@AnalyzerFilterCondition_create.operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "arg": "@AnalyzerFilterCondition_create.property", "required": true}, {"type": "object", "name": "value", "arg": "@AnalyzerFilterCondition_create.value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_create"}}]}, {"type": "string", "name": "title", "arg": "$resource.properties.title", "required": true}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "filter", "props": [{"type": "array<@AnalyzerFilterCondition_read>", "name": "apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array<@AnalyzerFilterCondition_read>", "name": "apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array", "name": "apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "required": true}, {"type": "object", "name": "value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_read"}}]}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}, {"type": "string", "name": "title", "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}], "confirmation": ""}, {"name": "update", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.analyzerType", "options": ["analyzer-type"], "group": "Properties", "help": {"short": "The type of API analyzer."}, "default": {"value": "spectral"}, "enum": {"items": [{"name": "spectral", "value": "spectral"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of the analyzer configuration."}}, {"nullable": true, "type": "object", "var": "$resource.properties.filter", "options": ["filter"], "group": "Properties", "help": {"short": "The API analyzer filter."}, "args": [{"type": "array<@AnalyzerFilterCondition_update>", "var": "$resource.properties.filter.apiDefinitions", "options": ["api-definitions"], "help": {"short": "Api definition filter conditions."}, "item": {"nullable": true, "type": "@AnalyzerFilterCondition_update"}}, {"type": "array<@AnalyzerFilterCondition_update>", "var": "$resource.properties.filter.apiVersions", "options": ["api-versions"], "help": {"short": "APi version filter conditions."}, "item": {"nullable": true, "type": "@AnalyzerFilterCondition_update"}}, {"type": "array", "var": "$resource.properties.filter.apis", "options": ["apis"], "help": {"short": "API filter conditions."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "@AnalyzerFilterCondition_update.operator", "options": ["operator"], "help": {"short": "The operator to use for the filter, e.g. \"equals\"."}, "enum": {"items": [{"name": "contains", "value": "contains"}, {"name": "equals", "value": "equals"}]}}, {"type": "string", "var": "@AnalyzerFilterCondition_update.property", "options": ["property"], "help": {"short": "The property to filter on, e.g. \"lifecycleStage\"."}}, {"type": "object", "var": "@AnalyzerFilterCondition_update.value", "options": ["value"], "help": {"short": "The value to filter on, e.g. \"production\"."}, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_update"}}]}, {"type": "string", "var": "$resource.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "The title of the analyzer configuration, e.g. \"Spectral (OpenAPI)\"."}}]}], "operations": [{"operationId": "AnalyzerConfigs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "filter", "props": [{"type": "array<@AnalyzerFilterCondition_read>", "name": "apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array<@AnalyzerFilterCondition_read>", "name": "apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array", "name": "apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "required": true}, {"type": "object", "name": "value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_read"}}]}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}, {"type": "string", "name": "title", "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": "AnalyzerConfig_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": "analyzerType", "arg": "$resource.properties.analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description", "arg": "$resource.properties.description"}, {"type": "object", "name": "filter", "arg": "$resource.properties.filter", "props": [{"type": "array<@AnalyzerFilterCondition_update>", "name": "apiDefinitions", "arg": "$resource.properties.filter.apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_update"}}, {"type": "array<@AnalyzerFilterCondition_update>", "name": "apiVersions", "arg": "$resource.properties.filter.apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_update"}}, {"type": "array", "name": "apis", "arg": "$resource.properties.filter.apis", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "operator", "arg": "@AnalyzerFilterCondition_update.operator", "required": true, "enum": {"items": [{"value": "contains"}, {"value": "equals"}]}}, {"type": "string", "name": "property", "arg": "@AnalyzerFilterCondition_update.property", "required": true}, {"type": "object", "name": "value", "arg": "@AnalyzerFilterCondition_update.value", "required": true, "additionalProps": {"anyType": true}}], "cls": "AnalyzerFilterCondition_update"}}]}, {"type": "string", "name": "title", "arg": "$resource.properties.title", "required": true}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "AnalyzerConfigs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@AnalyzerConfig_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "apic api-analysis", "commands": [{"name": "show", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "AnalyzerConfigs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "filter", "props": [{"type": "array<@AnalyzerFilterCondition_read>", "name": "apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array<@AnalyzerFilterCondition_read>", "name": "apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array", "name": "apis", "required": true, "item": {"type": "object", "additionalProps": {"anyType": true}, "cls": "AnalyzerFilterCondition_read"}}]}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}, {"type": "string", "name": "title", "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}], "confirmation": ""}, {"name": "delete", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}], "operations": [{"operationId": "AnalyzerConfigs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "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": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.analyzerType", "options": ["analyzer-type"], "group": "Properties", "help": {"short": "The type of API analyzer."}, "default": {"value": "spectral"}, "enum": {"items": [{"name": "spectral", "value": "spectral"}]}}, {"type": "string", "var": "$resource.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of the analyzer configuration."}}, {"type": "object", "var": "$resource.properties.filter", "options": ["filter"], "group": "Properties", "help": {"short": "The API analyzer filter."}, "args": [{"type": "array<@AnalyzerFilterCondition_create>", "var": "$resource.properties.filter.apiDefinitions", "options": ["api-definitions"], "required": true, "help": {"short": "Api definition filter conditions."}, "item": {"type": "@AnalyzerFilterCondition_create"}}, {"type": "array<@AnalyzerFilterCondition_create>", "var": "$resource.properties.filter.apiVersions", "options": ["api-versions"], "required": true, "help": {"short": "APi version filter conditions."}, "item": {"type": "@AnalyzerFilterCondition_create"}}, {"type": "array", "var": "$resource.properties.filter.apis", "options": ["apis"], "required": true, "help": {"short": "API filter conditions."}, "item": {"type": "object", "additionalProps": {"anyType": true}, "cls": "AnalyzerFilterCondition_create"}}]}, {"type": "string", "var": "$resource.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "The title of the analyzer configuration, e.g. \"Spectral (OpenAPI)\"."}}]}], "operations": [{"operationId": "AnalyzerConfigs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "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": "analyzerType", "arg": "$resource.properties.analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description", "arg": "$resource.properties.description"}, {"type": "object", "name": "filter", "arg": "$resource.properties.filter", "props": [{"type": "array<@AnalyzerFilterCondition_create>", "name": "apiDefinitions", "arg": "$resource.properties.filter.apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_create"}}, {"type": "array<@AnalyzerFilterCondition_create>", "name": "apiVersions", "arg": "$resource.properties.filter.apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_create"}}, {"type": "array", "name": "apis", "arg": "$resource.properties.filter.apis", "required": true, "item": {"type": "object", "additionalProps": {"anyType": true}, "cls": "AnalyzerFilterCondition_create"}}]}, {"type": "string", "name": "title", "arg": "$resource.properties.title", "required": true}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "filter", "props": [{"type": "array<@AnalyzerFilterCondition_read>", "name": "apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array<@AnalyzerFilterCondition_read>", "name": "apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array", "name": "apis", "required": true, "item": {"type": "object", "additionalProps": {"anyType": true}, "cls": "AnalyzerFilterCondition_read"}}]}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}, {"type": "string", "name": "title", "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}], "confirmation": ""}, {"name": "update", "version": "2024-12-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/analyzerconfigs/{}", "version": "2024-12-15-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vYW5hbHl6ZXJDb25maWdzL3thbmFseXplckNvbmZpZ05hbWV9/V/MjAyNC0xMi0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.analyzerConfigName", "options": ["c", "config-name", "analyzer-config-name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "The name of the configuration."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.analyzerType", "options": ["analyzer-type"], "group": "Properties", "help": {"short": "The type of API analyzer."}, "default": {"value": "spectral"}, "enum": {"items": [{"name": "spectral", "value": "spectral"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.description", "options": ["description"], "group": "Properties", "help": {"short": "The description of the analyzer configuration."}}, {"nullable": true, "type": "object", "var": "$resource.properties.filter", "options": ["filter"], "group": "Properties", "help": {"short": "The API analyzer filter."}, "args": [{"type": "array<@AnalyzerFilterCondition_update>", "var": "$resource.properties.filter.apiDefinitions", "options": ["api-definitions"], "help": {"short": "Api definition filter conditions."}, "item": {"nullable": true, "type": "@AnalyzerFilterCondition_update"}}, {"type": "array<@AnalyzerFilterCondition_update>", "var": "$resource.properties.filter.apiVersions", "options": ["api-versions"], "help": {"short": "APi version filter conditions."}, "item": {"nullable": true, "type": "@AnalyzerFilterCondition_update"}}, {"type": "array", "var": "$resource.properties.filter.apis", "options": ["apis"], "help": {"short": "API filter conditions."}, "item": {"nullable": true, "type": "object", "additionalProps": {"anyType": true}, "cls": "AnalyzerFilterCondition_update"}}]}, {"type": "string", "var": "$resource.properties.title", "options": ["title"], "group": "Properties", "help": {"short": "The title of the analyzer configuration, e.g. \"Spectral (OpenAPI)\"."}}]}], "operations": [{"operationId": "AnalyzerConfigs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.ApiCenter/services/{}/workspaces/{}/analyzerConfigs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description"}, {"type": "object", "name": "filter", "props": [{"type": "array<@AnalyzerFilterCondition_read>", "name": "apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array<@AnalyzerFilterCondition_read>", "name": "apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_read"}}, {"type": "array", "name": "apis", "required": true, "item": {"type": "object", "additionalProps": {"anyType": true}, "cls": "AnalyzerFilterCondition_read"}}]}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "active"}, {"value": "inactive"}, {"value": "suspended"}]}}, {"type": "string", "name": "title", "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": "AnalyzerConfig_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": "analyzerType", "arg": "$resource.properties.analyzerType", "required": true, "enum": {"items": [{"value": "spectral"}]}}, {"type": "string", "name": "description", "arg": "$resource.properties.description"}, {"type": "object", "name": "filter", "arg": "$resource.properties.filter", "props": [{"type": "array<@AnalyzerFilterCondition_update>", "name": "apiDefinitions", "arg": "$resource.properties.filter.apiDefinitions", "required": true, "item": {"type": "@AnalyzerFilterCondition_update"}}, {"type": "array<@AnalyzerFilterCondition_update>", "name": "apiVersions", "arg": "$resource.properties.filter.apiVersions", "required": true, "item": {"type": "@AnalyzerFilterCondition_update"}}, {"type": "array", "name": "apis", "arg": "$resource.properties.filter.apis", "required": true, "item": {"type": "object", "additionalProps": {"anyType": true}, "cls": "AnalyzerFilterCondition_update"}}]}, {"type": "string", "name": "title", "arg": "$resource.properties.title", "required": true}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "AnalyzerConfigs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/analyzerConfigs/{analyzerConfigName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "analyzerConfigName", "arg": "$Path.analyzerConfigName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@AnalyzerConfig_read"}}}}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.xml index 12a3ab3e3..c3a45b8b5 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hbmFseXplcmNvbmZpZ3Mve30=/2024-12-15-preview.xml @@ -72,16 +72,7 @@ - - - - - - - - - - + @@ -229,20 +220,7 @@ - - - - - - - - - - - - - - + @@ -293,16 +271,7 @@ - - - - - - - - - - + @@ -339,16 +308,7 @@ - - - - - - - - - - + @@ -441,20 +401,7 @@ - - - - - - - - - - - - - - + @@ -514,16 +461,7 @@ - - - - - - - - - - + @@ -592,16 +530,7 @@ - - - - - - - - - - + From c1ba4a00d4340226a9ea75bb24c5c21f534dbfc9 Mon Sep 17 00:00:00 2001 From: frankqianms Date: Wed, 12 Mar 2025 15:43:29 +0800 Subject: [PATCH 7/8] fix: regenerate according to new spec --- .../2024-12-01-preview.json | 2 +- .../2024-12-01-preview.xml | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9pbXBvcnRhcGlzb3VyY2U=/2024-12-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9pbXBvcnRhcGlzb3VyY2U=/2024-12-01-preview.json index db05da18d..14fb34434 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9pbXBvcnRhcGlzb3VyY2U=/2024-12-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9pbXBvcnRhcGlzb3VyY2U=/2024-12-01-preview.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/importapisource", "version": "2024-12-01-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vaW1wb3J0QXBpU291cmNl/V/MjAyNC0xMi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "apic", "commands": [{"name": "import", "version": "2024-12-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/importapisource", "version": "2024-12-01-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vaW1wb3J0QXBpU291cmNl/V/MjAyNC0xMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "object", "var": "$body.amazonApiGatewaySource", "options": ["amazon-api-gateway-source"], "group": "", "help": {"short": "API source configuration for Amazon API Gateway."}, "args": [{"type": "string", "var": "$body.amazonApiGatewaySource.accessKey", "options": ["access-key"], "required": true, "help": {"short": "Amazon API Gateway Access Key. Must be an Azure Key Vault secret reference."}}, {"type": "ResourceId", "var": "$body.amazonApiGatewaySource.msiResourceId", "options": ["msi-resource-id"], "help": {"short": "(Optional) The resource ID of the managed identity that has access to the Azure Key Vault secrets."}}, {"type": "string", "var": "$body.amazonApiGatewaySource.regionName", "options": ["region-name"], "required": true, "help": {"short": "Amazon API Gateway Region (ex. us-east-2)."}}, {"type": "string", "var": "$body.amazonApiGatewaySource.secretAccessKey", "options": ["secret-access-key"], "required": true, "help": {"short": "Amazon API Gateway Secret Access Key. Must be an Azure Key Vault secret reference."}}]}, {"type": "string", "var": "$body.apiSourceType", "options": ["api-source-type"], "required": true, "group": "", "help": {"short": "API source type"}, "enum": {"items": [{"name": "AmazonApiGateway", "value": "AmazonApiGateway"}, {"name": "AzureApiManagement", "value": "AzureApiManagement"}]}}, {"type": "object", "var": "$body.azureApiManagementSource", "options": ["azure-api-management-source"], "group": "", "help": {"short": "API source configuration for Azure API Management."}, "args": [{"type": "ResourceId", "var": "$body.azureApiManagementSource.msiResourceId", "options": ["msi-resource-id"], "help": {"short": "(Optional) The resource ID of the managed identity that has access to the API Management instance."}}, {"type": "ResourceId", "var": "$body.azureApiManagementSource.resourceId", "options": ["resource-id"], "required": true, "help": {"short": "API Management service resource ID."}}]}, {"type": "string", "var": "$body.importSpecification", "options": ["import-specification"], "group": "", "help": {"short": "Indicates if the specification should be imported along with metadata."}, "default": {"value": "always"}, "enum": {"items": [{"name": "always", "value": "always"}, {"name": "never", "value": "never"}, {"name": "ondemand", "value": "ondemand"}]}}, {"type": "ResourceId", "var": "$body.targetEnvironmentId", "options": ["target-environment-id"], "group": "", "help": {"short": "The target environment resource ID."}}, {"type": "string", "var": "$body.targetLifecycleStage", "options": ["target-lifecycle-stage"], "group": "", "help": {"short": "The target lifecycle stage."}, "enum": {"items": [{"name": "deprecated", "value": "deprecated"}, {"name": "design", "value": "design"}, {"name": "development", "value": "development"}, {"name": "preview", "value": "preview"}, {"name": "production", "value": "production"}, {"name": "retired", "value": "retired"}, {"name": "testing", "value": "testing"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Workspaces_ImportApiSource", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/importApiSource", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "required": true, "props": [{"type": "object", "name": "amazonApiGatewaySource", "arg": "$body.amazonApiGatewaySource", "props": [{"type": "string", "name": "accessKey", "arg": "$body.amazonApiGatewaySource.accessKey", "required": true}, {"type": "ResourceId", "name": "msiResourceId", "arg": "$body.amazonApiGatewaySource.msiResourceId"}, {"type": "string", "name": "regionName", "arg": "$body.amazonApiGatewaySource.regionName", "required": true}, {"type": "string", "name": "secretAccessKey", "arg": "$body.amazonApiGatewaySource.secretAccessKey", "required": true}]}, {"type": "string", "name": "apiSourceType", "arg": "$body.apiSourceType", "required": true, "enum": {"items": [{"value": "AmazonApiGateway"}, {"value": "AzureApiManagement"}]}}, {"type": "object", "name": "azureApiManagementSource", "arg": "$body.azureApiManagementSource", "props": [{"type": "ResourceId", "name": "msiResourceId", "arg": "$body.azureApiManagementSource.msiResourceId"}, {"type": "ResourceId", "name": "resourceId", "arg": "$body.azureApiManagementSource.resourceId", "required": true}]}, {"default": {"value": "ondemand"}, "type": "string", "name": "importSpecification", "arg": "$body.importSpecification", "enum": {"items": [{"value": "always"}, {"value": "never"}, {"value": "ondemand"}]}}, {"type": "ResourceId", "name": "targetEnvironmentId", "arg": "$body.targetEnvironmentId"}, {"type": "string", "name": "targetLifecycleStage", "arg": "$body.targetLifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "dateTime", "name": "endTime"}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"readOnly": true, "type": "object", "name": "info"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "code"}, {"readOnly": true, "type": "array<@ErrorDetail_read>", "name": "details", "item": {"type": "@ErrorDetail_read"}, "identifiers": ["target", "message"]}, {"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "string", "name": "target"}], "cls": "ErrorDetail_read"}, {"type": "ResourceId", "name": "id"}, {"type": "string", "name": "name"}, {"type": "array<@OperationStatusResult_read>", "name": "operations", "item": {"type": "@OperationStatusResult_read"}}, {"type": "float", "name": "percentComplete", "format": {"maximum": 100.0, "minimum": 0.0}}, {"readOnly": true, "type": "ResourceId", "name": "resourceId"}, {"type": "dateTime", "name": "startTime"}, {"type": "string", "name": "status", "required": true}], "cls": "OperationStatusResult_read"}}}}, {"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 +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/importapisource", "version": "2024-12-01-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vaW1wb3J0QXBpU291cmNl/V/MjAyNC0xMi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "apic", "commands": [{"name": "import", "version": "2024-12-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.apicenter/services/{}/workspaces/{}/importapisource", "version": "2024-12-01-preview", "swagger": "mgmt-plane/apicenter/ResourceProviders/Microsoft.ApiCenter/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpQ2VudGVyL3NlcnZpY2VzL3tzZXJ2aWNlTmFtZX0vd29ya3NwYWNlcy97d29ya3NwYWNlTmFtZX0vaW1wb3J0QXBpU291cmNl/V/MjAyNC0xMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.serviceName", "options": ["n", "service-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of Azure API Center service."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["workspace-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the workspace."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "object", "var": "$body.amazonApiGatewaySource", "options": ["amazon-api-gateway-source"], "group": "", "help": {"short": "API source configuration for Amazon API Gateway."}, "args": [{"type": "string", "var": "$body.amazonApiGatewaySource.accessKey", "options": ["access-key"], "required": true, "help": {"short": "Amazon API Gateway Access Key. Must be an Azure Key Vault secret reference."}}, {"type": "ResourceId", "var": "$body.amazonApiGatewaySource.msiResourceId", "options": ["msi-resource-id"], "help": {"short": "(Optional) The resource ID of the managed identity that has access to the Azure Key Vault secrets."}}, {"type": "string", "var": "$body.amazonApiGatewaySource.regionName", "options": ["region-name"], "required": true, "help": {"short": "Amazon API Gateway Region (ex. us-east-2)."}}, {"type": "string", "var": "$body.amazonApiGatewaySource.secretAccessKey", "options": ["secret-access-key"], "required": true, "help": {"short": "Amazon API Gateway Secret Access Key. Must be an Azure Key Vault secret reference."}}]}, {"type": "string", "var": "$body.apiSourceType", "options": ["api-source-type"], "required": true, "group": "", "help": {"short": "API source type"}, "enum": {"items": [{"name": "AmazonApiGateway", "value": "AmazonApiGateway"}, {"name": "AzureApiManagement", "value": "AzureApiManagement"}]}}, {"type": "object", "var": "$body.azureApiManagementSource", "options": ["azure-api-management-source"], "group": "", "help": {"short": "API source configuration for Azure API Management."}, "args": [{"type": "ResourceId", "var": "$body.azureApiManagementSource.msiResourceId", "options": ["msi-resource-id"], "help": {"short": "(Optional) The resource ID of the managed identity that has access to the API Management instance."}}, {"type": "array", "var": "$body.azureApiManagementSource.sourceResourceIds", "options": ["source-resource-ids"], "required": true, "help": {"short": "An entity the metadata schema is requested for."}, "item": {"type": "string"}}]}, {"type": "string", "var": "$body.importSpecification", "options": ["import-specification"], "group": "", "help": {"short": "Indicates if the specification should be imported along with metadata."}, "default": {"value": "always"}, "enum": {"items": [{"name": "always", "value": "always"}, {"name": "never", "value": "never"}, {"name": "ondemand", "value": "ondemand"}]}}, {"type": "ResourceId", "var": "$body.targetEnvironmentId", "options": ["target-environment-id"], "group": "", "help": {"short": "The target environment resource ID."}}, {"type": "string", "var": "$body.targetLifecycleStage", "options": ["target-lifecycle-stage"], "group": "", "help": {"short": "The target lifecycle stage."}, "enum": {"items": [{"name": "deprecated", "value": "deprecated"}, {"name": "design", "value": "design"}, {"name": "development", "value": "development"}, {"name": "preview", "value": "preview"}, {"name": "production", "value": "production"}, {"name": "retired", "value": "retired"}, {"name": "testing", "value": "testing"}]}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Workspaces_ImportApiSource", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/importApiSource", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "serviceName", "arg": "$Path.serviceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,90}$", "maxLength": 90, "minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-12-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "required": true, "props": [{"type": "object", "name": "amazonApiGatewaySource", "arg": "$body.amazonApiGatewaySource", "props": [{"type": "string", "name": "accessKey", "arg": "$body.amazonApiGatewaySource.accessKey", "required": true}, {"type": "ResourceId", "name": "msiResourceId", "arg": "$body.amazonApiGatewaySource.msiResourceId"}, {"type": "string", "name": "regionName", "arg": "$body.amazonApiGatewaySource.regionName", "required": true}, {"type": "string", "name": "secretAccessKey", "arg": "$body.amazonApiGatewaySource.secretAccessKey", "required": true}]}, {"type": "string", "name": "apiSourceType", "arg": "$body.apiSourceType", "required": true, "enum": {"items": [{"value": "AmazonApiGateway"}, {"value": "AzureApiManagement"}]}}, {"type": "object", "name": "azureApiManagementSource", "arg": "$body.azureApiManagementSource", "props": [{"type": "ResourceId", "name": "msiResourceId", "arg": "$body.azureApiManagementSource.msiResourceId"}, {"type": "array", "name": "sourceResourceIds", "arg": "$body.azureApiManagementSource.sourceResourceIds", "required": true, "item": {"type": "string"}}]}, {"default": {"value": "ondemand"}, "type": "string", "name": "importSpecification", "arg": "$body.importSpecification", "enum": {"items": [{"value": "always"}, {"value": "never"}, {"value": "ondemand"}]}}, {"type": "ResourceId", "name": "targetEnvironmentId", "arg": "$body.targetEnvironmentId"}, {"type": "string", "name": "targetLifecycleStage", "arg": "$body.targetLifecycleStage", "enum": {"items": [{"value": "deprecated"}, {"value": "design"}, {"value": "development"}, {"value": "preview"}, {"value": "production"}, {"value": "retired"}, {"value": "testing"}]}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "dateTime", "name": "endTime"}, {"type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"readOnly": true, "type": "object", "name": "info"}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "code"}, {"readOnly": true, "type": "array<@ErrorDetail_read>", "name": "details", "item": {"type": "@ErrorDetail_read"}, "identifiers": ["target", "message"]}, {"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "string", "name": "target"}], "cls": "ErrorDetail_read"}, {"type": "ResourceId", "name": "id"}, {"type": "string", "name": "name"}, {"type": "array<@OperationStatusResult_read>", "name": "operations", "item": {"type": "@OperationStatusResult_read"}}, {"type": "float", "name": "percentComplete", "format": {"maximum": 100.0, "minimum": 0.0}}, {"readOnly": true, "type": "ResourceId", "name": "resourceId"}, {"type": "dateTime", "name": "startTime"}, {"type": "string", "name": "status", "required": true}], "cls": "OperationStatusResult_read"}}}}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9pbXBvcnRhcGlzb3VyY2U=/2024-12-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9pbXBvcnRhcGlzb3VyY2U=/2024-12-01-preview.xml index e1e32b9be..7dc70cb15 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9pbXBvcnRhcGlzb3VyY2U=/2024-12-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9pbXBvcnRhcGlzb3VyY2U=/2024-12-01-preview.xml @@ -42,8 +42,9 @@ - - + + + @@ -110,7 +111,9 @@ - + + + From ac6dc193f850a9f2f89d0c07d3d9f0a8d1132e71 Mon Sep 17 00:00:00 2001 From: frankqianms Date: Tue, 5 Aug 2025 12:16:26 +0800 Subject: [PATCH 8/8] fix: remove preview tag of integrate cmds --- Commands/apic/integration/_create.md | 2 +- Commands/apic/integration/_update.md | 2 +- Commands/tree.json | 6 ++---- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Commands/apic/integration/_create.md b/Commands/apic/integration/_create.md index b26700f3e..7b7eed3ed 100644 --- a/Commands/apic/integration/_create.md +++ b/Commands/apic/integration/_create.md @@ -8,6 +8,6 @@ Create new or updates existing API source. -### [2024-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2VzL3t9/2024-12-01-preview.xml) **Preview** +### [2024-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2VzL3t9/2024-12-01-preview.xml) **Stable** diff --git a/Commands/apic/integration/_update.md b/Commands/apic/integration/_update.md index 29a52c8b2..5cc3d5994 100644 --- a/Commands/apic/integration/_update.md +++ b/Commands/apic/integration/_update.md @@ -8,6 +8,6 @@ Update new or updates existing API source. -### [2024-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2VzL3t9/2024-12-01-preview.xml) **Preview** +### [2024-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hcGljZW50ZXIvc2VydmljZXMve30vd29ya3NwYWNlcy97fS9hcGlzb3VyY2VzL3t9/2024-12-01-preview.xml) **Stable** diff --git a/Commands/tree.json b/Commands/tree.json index 36074ff82..4b092302d 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -7646,8 +7646,7 @@ "plane": "mgmt-plane", "version": "2024-12-01-preview" } - ], - "stage": "Preview" + ] } ] }, @@ -7812,8 +7811,7 @@ "plane": "mgmt-plane", "version": "2024-12-01-preview" } - ], - "stage": "Preview" + ] } ] }