-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ae05baa
commit 5bc7957
Showing
9 changed files
with
101 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# [Command] _grafana list-available-plugin_ | ||
|
||
list all the available plugins | ||
|
||
## Versions | ||
|
||
### [2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9mZXRjaGF2YWlsYWJsZXBsdWdpbnM=/2023-09-01.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/fetchavailableplugins 2023-09-01 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYQ==/2023-09-01.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...yY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fQ==/2023-09-01.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...zL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9mZXRjaGF2YWlsYWJsZXBsdWdpbnM=/2023-09-01.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/fetchavailableplugins", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9L2ZldGNoQXZhaWxhYmxlUGx1Z2lucw==/V/MjAyMy0wOS0wMQ=="}], "commandGroups": [{"name": "grafana", "commands": [{"name": "list-available-plugin", "version": "2023-09-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/fetchavailableplugins", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9L2ZldGNoQXZhaWxhYmxlUGx1Z2lucw==/V/MjAyMy0wOS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workspaceName", "options": ["n", "name", "workspace-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The workspace name of Azure Managed Grafana."}}]}], "operations": [{"operationId": "Grafana_FetchAvailablePlugins", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/fetchAvailablePlugins", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "workspaceName", "arg": "$Path.workspaceName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-09-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "pluginId"}]}, "identifiers": ["pluginId"]}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} |
60 changes: 60 additions & 0 deletions
60
...JzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9mZXRjaGF2YWlsYWJsZXBsdWdpbnM=/2023-09-01.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<CodeGen plane="mgmt-plane"> | ||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/fetchavailableplugins" version="2023-09-01" swagger="mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9L2ZldGNoQXZhaWxhYmxlUGx1Z2lucw==/V/MjAyMy0wOS0wMQ=="/> | ||
<commandGroup name="grafana"> | ||
<command name="list-available-plugin" version="2023-09-01" confirmation=""> | ||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/fetchavailableplugins" version="2023-09-01" swagger="mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9L2ZldGNoQXZhaWxhYmxlUGx1Z2lucw==/V/MjAyMy0wOS0wMQ=="/> | ||
<argGroup name=""> | ||
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/> | ||
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/> | ||
<arg type="string" var="$Path.workspaceName" options="workspace-name name n" required="True" group="" idPart="name"> | ||
<help short="The workspace name of Azure Managed Grafana."/> | ||
</arg> | ||
</argGroup> | ||
<operation operationId="Grafana_FetchAvailablePlugins"> | ||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/fetchAvailablePlugins"> | ||
<request method="post"> | ||
<path> | ||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"> | ||
<format maxLength="90" minLength="1"/> | ||
</param> | ||
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"> | ||
<format minLength="1"/> | ||
</param> | ||
<param type="string" name="workspaceName" arg="$Path.workspaceName" required="True"/> | ||
</path> | ||
<query> | ||
<const readOnly="True" const="True" type="string" name="api-version" required="True"> | ||
<default value=""2023-09-01""/> | ||
<format minLength="1"/> | ||
</const> | ||
</query> | ||
</request> | ||
<response statusCode="200"> | ||
<body> | ||
<json var="$Instance"> | ||
<schema type="object"> | ||
<prop type="string" name="nextLink"/> | ||
<prop type="array<object>" name="value" identifiers="pluginId"> | ||
<item type="object"> | ||
<prop readOnly="True" type="string" name="name"/> | ||
<prop readOnly="True" type="string" name="pluginId"/> | ||
</item> | ||
</prop> | ||
</schema> | ||
</json> | ||
</body> | ||
</response> | ||
<response isError="True"> | ||
<body> | ||
<json> | ||
<schema type="@MgmtErrorFormat"/> | ||
</json> | ||
</body> | ||
</response> | ||
</http> | ||
</operation> | ||
<output type="object" ref="$Instance" clientFlatten="True"/> | ||
</command> | ||
</commandGroup> | ||
</CodeGen> |