This commit is contained in:
Jeremy Angel 2024-08-21 14:18:36 -07:00
Родитель 9ec7dff01f
Коммит 210e33a0e6
16 изменённых файлов: 50 добавлений и 46 удалений

Просмотреть файл

@ -1,23 +0,0 @@
# [Group] _grafana managed-private-endpoint_
Commands to manage managed private endpoints.
## Commands
- [create](/Commands/grafana/managed-private-endpoint/_create.md)
: Create a managed private endpoint.
- [delete](/Commands/grafana/managed-private-endpoint/_delete.md)
: Delete a managed private endpoint.
- [list](/Commands/grafana/managed-private-endpoint/_list.md)
: List all managed private endpoints.
- [refresh](/Commands/grafana/managed-private-endpoint/_refresh.md)
: Refresh and sync managed private endpoints to latest state.
- [show](/Commands/grafana/managed-private-endpoint/_show.md)
: Get a specific managed private endpoint.
- [update](/Commands/grafana/managed-private-endpoint/_update.md)
: Update a managed private endpoint for a grafana resource.

Просмотреть файл

@ -1,4 +1,4 @@
# [Command] _grafana managed-private-endpoint create_
# [Command] _grafana mpe create_
Create a managed private endpoint.
@ -12,5 +12,5 @@ Create a managed private endpoint.
- connect to an Azure SQL Server by resource ID
```bash
grafana managed-private-endpoint create -n MyManagedPrivateEndpoint -g MyResourceGroup --workspace-name MyGrafana --group-ids sqlServer --private-link-resource-id /subscriptions/3a7edf7d-1488-4017-a908-111111111111/resourceGroups/MyResourceGroup/providers/Microsoft.Sql/servers/MySQLServer
grafana mpe create -n MyManagedPrivateEndpoint -g MyResourceGroup --workspace-name MyGrafana --group-ids sqlServer --private-link-resource-id /subscriptions/3a7edf7d-1488-4017-a908-111111111111/resourceGroups/MyResourceGroup/providers/Microsoft.Sql/servers/MySQLServer
```

Просмотреть файл

@ -1,4 +1,4 @@
# [Command] _grafana managed-private-endpoint delete_
# [Command] _grafana mpe delete_
Delete a managed private endpoint.

Просмотреть файл

@ -1,4 +1,4 @@
# [Command] _grafana managed-private-endpoint list_
# [Command] _grafana mpe list_
List all managed private endpoints.

Просмотреть файл

@ -1,4 +1,4 @@
# [Command] _grafana managed-private-endpoint refresh_
# [Command] _grafana mpe refresh_
Refresh and sync managed private endpoints to latest state.

Просмотреть файл

@ -1,4 +1,4 @@
# [Command] _grafana managed-private-endpoint show_
# [Command] _grafana mpe show_
Get a specific managed private endpoint.

Просмотреть файл

@ -1,4 +1,4 @@
# [Command] _grafana managed-private-endpoint update_
# [Command] _grafana mpe update_
Update a managed private endpoint for a grafana resource.

Просмотреть файл

@ -0,0 +1,23 @@
# [Group] _grafana mpe_
Commands to manage managed private endpoints.
## Commands
- [create](/Commands/grafana/mpe/_create.md)
: Create a managed private endpoint.
- [delete](/Commands/grafana/mpe/_delete.md)
: Delete a managed private endpoint.
- [list](/Commands/grafana/mpe/_list.md)
: List all managed private endpoints.
- [refresh](/Commands/grafana/mpe/_refresh.md)
: Refresh and sync managed private endpoints to latest state.
- [show](/Commands/grafana/mpe/_show.md)
: Get a specific managed private endpoint.
- [update](/Commands/grafana/mpe/_update.md)
: Update a managed private endpoint for a grafana resource.

Просмотреть файл

@ -4,7 +4,7 @@ Commands to manage Azure Managed Grafana resources.
## Subgroups
- [managed-private-endpoint](/Commands/grafana/managed-private-endpoint/readme.md)
- [mpe](/Commands/grafana/mpe/readme.md)
: Commands to manage managed private endpoints.
- [private-endpoint-connection](/Commands/grafana/private-endpoint-connection/readme.md)

Просмотреть файл

@ -48102,7 +48102,7 @@
},
"grafana": {
"commandGroups": {
"managed-private-endpoint": {
"mpe": {
"commands": {
"create": {
"help": {
@ -48110,7 +48110,7 @@
},
"names": [
"grafana",
"managed-private-endpoint",
"mpe",
"create"
],
"versions": [
@ -48118,7 +48118,7 @@
"examples": [
{
"commands": [
"grafana managed-private-endpoint create -n MyManagedPrivateEndpoint -g MyResourceGroup --workspace-name MyGrafana --group-ids sqlServer --private-link-resource-id /subscriptions/3a7edf7d-1488-4017-a908-111111111111/resourceGroups/MyResourceGroup/providers/Microsoft.Sql/servers/MySQLServer"
"grafana mpe create -n MyManagedPrivateEndpoint -g MyResourceGroup --workspace-name MyGrafana --group-ids sqlServer --private-link-resource-id /subscriptions/3a7edf7d-1488-4017-a908-111111111111/resourceGroups/MyResourceGroup/providers/Microsoft.Sql/servers/MySQLServer"
],
"name": "connect to an Azure SQL Server by resource ID"
}
@ -48140,7 +48140,7 @@
},
"names": [
"grafana",
"managed-private-endpoint",
"mpe",
"delete"
],
"versions": [
@ -48162,7 +48162,7 @@
},
"names": [
"grafana",
"managed-private-endpoint",
"mpe",
"list"
],
"versions": [
@ -48184,7 +48184,7 @@
},
"names": [
"grafana",
"managed-private-endpoint",
"mpe",
"refresh"
],
"versions": [
@ -48206,7 +48206,7 @@
},
"names": [
"grafana",
"managed-private-endpoint",
"mpe",
"show"
],
"versions": [
@ -48228,7 +48228,7 @@
},
"names": [
"grafana",
"managed-private-endpoint",
"mpe",
"update"
],
"versions": [
@ -48250,7 +48250,7 @@
},
"names": [
"grafana",
"managed-private-endpoint"
"mpe"
]
},
"private-endpoint-connection": {
@ -48381,6 +48381,7 @@
"grafana",
"private-endpoint-connection"
]
}
},
"commands": {
"create": {
@ -48517,6 +48518,9 @@
}
},
"help": {
"lines": [
"For optimized experience, not all data plane APIs, documented at https://grafana.com/docs/grafana/latest/http_api/, are exposed. On coverage gap, please reach out to ad4g@microsoft.com"
],
"short": "Commands to manage Azure Managed Grafana resources."
},
"names": [

Просмотреть файл

@ -1 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/managedprivateendpoints", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9L21hbmFnZWRQcml2YXRlRW5kcG9pbnRz/V/MjAyMy0wOS0wMQ=="}], "commandGroups": [{"name": "grafana managed-private-endpoint", "commands": [{"name": "list", "version": "2023-09-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/managedprivateendpoints", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9L21hbmFnZWRQcml2YXRlRW5kcG9pbnRz/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": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "The workspace name of Azure Managed Grafana."}}]}], "operations": [{"operationId": "ManagedPrivateEndpoints_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/managedPrivateEndpoints", "request": {"method": "get", "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": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}/managedPrivateEndpoints/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "object", "name": "connectionState", "props": [{"readOnly": true, "type": "string", "name": "description"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Disconnected"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"type": "array<string>", "name": "groupIds", "item": {"type": "string"}}, {"type": "string", "name": "privateLinkResourceId"}, {"type": "string", "name": "privateLinkResourceRegion"}, {"readOnly": true, "type": "string", "name": "privateLinkServicePrivateIP"}, {"type": "string", "name": "privateLinkServiceUrl"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "requestMessage"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]}
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/managedprivateendpoints", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9L21hbmFnZWRQcml2YXRlRW5kcG9pbnRz/V/MjAyMy0wOS0wMQ=="}], "commandGroups": [{"name": "grafana mpe", "commands": [{"name": "list", "version": "2023-09-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/managedprivateendpoints", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9L21hbmFnZWRQcml2YXRlRW5kcG9pbnRz/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": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "The workspace name of Azure Managed Grafana."}}]}], "operations": [{"operationId": "ManagedPrivateEndpoints_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/managedPrivateEndpoints", "request": {"method": "get", "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": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Dashboard/grafana/{}/managedPrivateEndpoints/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "object", "name": "connectionState", "props": [{"readOnly": true, "type": "string", "name": "description"}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Approved"}, {"value": "Disconnected"}, {"value": "Pending"}, {"value": "Rejected"}]}}]}, {"type": "array<string>", "name": "groupIds", "item": {"type": "string"}}, {"type": "string", "name": "privateLinkResourceId"}, {"type": "string", "name": "privateLinkResourceRegion"}, {"readOnly": true, "type": "string", "name": "privateLinkServicePrivateIP"}, {"type": "string", "name": "privateLinkServiceUrl"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "NotSpecified"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "requestMessage"}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]}

Просмотреть файл

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/managedprivateendpoints" version="2023-09-01" swagger="mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9L21hbmFnZWRQcml2YXRlRW5kcG9pbnRz/V/MjAyMy0wOS0wMQ=="/>
<commandGroup name="grafana managed-private-endpoint">
<commandGroup name="grafana mpe">
<command name="list" version="2023-09-01" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/managedprivateendpoints" version="2023-09-01" swagger="mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9L21hbmFnZWRQcml2YXRlRW5kcG9pbnRz/V/MjAyMy0wOS0wMQ=="/>
<argGroup name="">

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/managedprivateendpoints/{}" version="2023-09-01" swagger="mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9L21hbmFnZWRQcml2YXRlRW5kcG9pbnRzL3ttYW5hZ2VkUHJpdmF0ZUVuZHBvaW50TmFtZX0=/V/MjAyMy0wOS0wMQ=="/>
<commandGroup name="grafana managed-private-endpoint">
<commandGroup name="grafana mpe">
<command name="show" version="2023-09-01" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/managedprivateendpoints/{}" version="2023-09-01" swagger="mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9L21hbmFnZWRQcml2YXRlRW5kcG9pbnRzL3ttYW5hZ2VkUHJpdmF0ZUVuZHBvaW50TmFtZX0=/V/MjAyMy0wOS0wMQ=="/>
<argGroup name="">

Просмотреть файл

@ -1 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/refreshmanagedprivateendpoints", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9L3JlZnJlc2hNYW5hZ2VkUHJpdmF0ZUVuZHBvaW50cw==/V/MjAyMy0wOS0wMQ=="}], "commandGroups": [{"name": "grafana managed-private-endpoint", "commands": [{"name": "refresh", "version": "2023-09-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/refreshmanagedprivateendpoints", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9L3JlZnJlc2hNYW5hZ2VkUHJpdmF0ZUVuZHBvaW50cw==/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": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "The workspace name of Azure Managed Grafana."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "ManagedPrivateEndpoints_Refresh", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/refreshManagedPrivateEndpoints", "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]}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}]}]}
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/refreshmanagedprivateendpoints", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9L3JlZnJlc2hNYW5hZ2VkUHJpdmF0ZUVuZHBvaW50cw==/V/MjAyMy0wOS0wMQ=="}], "commandGroups": [{"name": "grafana mpe", "commands": [{"name": "refresh", "version": "2023-09-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/refreshmanagedprivateendpoints", "version": "2023-09-01", "swagger": "mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9L3JlZnJlc2hNYW5hZ2VkUHJpdmF0ZUVuZHBvaW50cw==/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": ["workspace-name"], "required": true, "idPart": "name", "help": {"short": "The workspace name of Azure Managed Grafana."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "ManagedPrivateEndpoints_Refresh", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/refreshManagedPrivateEndpoints", "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]}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}]}]}

Просмотреть файл

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/refreshmanagedprivateendpoints" version="2023-09-01" swagger="mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9L3JlZnJlc2hNYW5hZ2VkUHJpdmF0ZUVuZHBvaW50cw==/V/MjAyMy0wOS0wMQ=="/>
<commandGroup name="grafana managed-private-endpoint">
<commandGroup name="grafana mpe">
<command name="refresh" version="2023-09-01" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/refreshmanagedprivateendpoints" version="2023-09-01" swagger="mgmt-plane/dashboard/ResourceProviders/Microsoft.Dashboard/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRGFzaGJvYXJkL2dyYWZhbmEve3dvcmtzcGFjZU5hbWV9L3JlZnJlc2hNYW5hZ2VkUHJpdmF0ZUVuZHBvaW50cw==/V/MjAyMy0wOS0wMQ=="/>
<argGroup name="">