From b1db90575c3d44aa33a95083b41e5cb41be11138 Mon Sep 17 00:00:00 2001 From: yjsong11 <127800738+yjsong11@users.noreply.github.com> Date: Thu, 19 Oct 2023 11:27:39 -0700 Subject: [PATCH 1/4] Adds base for updating Microsoft.Dashboard from version preview/2022-10-01-preview to version 2023-09-01 --- .../examples/EnterpriseDetails_Post.json | 30 + .../2023-09-01/examples/Grafana_Create.json | 176 ++ .../2023-09-01/examples/Grafana_Delete.json | 17 + .../Grafana_FetchAvailablePlugins.json | 24 + .../2023-09-01/examples/Grafana_Get.json | 74 + .../2023-09-01/examples/Grafana_List.json | 69 + .../examples/Grafana_ListByResourceGroup.json | 69 + .../2023-09-01/examples/Grafana_Update.json | 168 ++ .../ManagedPrivateEndpoints_Create.json | 78 + .../ManagedPrivateEndpoints_Delete.json | 18 + .../examples/ManagedPrivateEndpoints_Get.json | 40 + .../ManagedPrivateEndpoints_List.json | 56 + .../ManagedPrivateEndpoints_Patch.json | 73 + .../ManagedPrivateEndpoints_Refresh.json | 16 + .../2023-09-01/examples/Operations_List.json | 25 + .../PrivateEndpointConnections_Approve.json | 43 + .../PrivateEndpointConnections_Delete.json | 17 + .../PrivateEndpointConnections_Get.json | 32 + .../PrivateEndpointConnections_List.json | 36 + .../examples/PrivateLinkResources_Get.json | 27 + .../examples/PrivateLinkResources_List.json | 31 + .../stable/2023-09-01/grafana.json | 2011 +++++++++++++++++ 22 files changed, 3130 insertions(+) create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/EnterpriseDetails_Post.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Create.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Delete.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_FetchAvailablePlugins.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Get.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_List.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_ListByResourceGroup.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Update.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Create.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Delete.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Get.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_List.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Patch.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Refresh.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Operations_List.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Approve.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Delete.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Get.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_List.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_Get.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_List.json create mode 100644 specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/grafana.json diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/EnterpriseDetails_Post.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/EnterpriseDetails_Post.json new file mode 100644 index 000000000000..575a351efec9 --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/EnterpriseDetails_Post.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "myWorkspace" + }, + "responses": { + "200": { + "body": { + "saasSubscriptionDetails": { + "planId": "amg_globalplan", + "offerId": "amg_test", + "publisherId": "isvtestuklegacy", + "term": { + "termUnit": "P1M", + "startDate": "2022-10-04T00:00:00Z", + "endDate": "2022-11-03T00:00:00Z" + } + }, + "marketplaceTrialQuota": { + "availablePromotion": "None", + "grafanaResourceId": "/subscriptions/e1e3b30d-e7ec-4e25-8587-db037bcb9a4d/resourcegroups/amg-local-script-test-rg/providers/microsoft.dashboard/grafana/eus2-enterprise-1001-07", + "trialStartAt": "2022-10-04T01:06:00.447Z", + "trialEndAt": "2022-11-03T01:06:00.447Z" + } + } + } + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Create.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Create.json new file mode 100644 index 000000000000..8c338f6a6be0 --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Create.json @@ -0,0 +1,176 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "myWorkspace", + "requestBodyParameters": { + "sku": { + "name": "Standard" + }, + "properties": { + "publicNetworkAccess": "Enabled", + "zoneRedundancy": "Enabled", + "apiKey": "Enabled", + "deterministicOutboundIP": "Enabled", + "grafanaConfigurations": { + "smtp": { + "enabled": true, + "host": "smtp.sendemail.com:587", + "user": "username", + "password": "", + "fromAddress": "test@sendemail.com", + "fromName": "emailsender", + "startTLSPolicy": "OpportunisticStartTLS", + "skipVerify": true + } + }, + "grafanaIntegrations": { + "azureMonitorWorkspaceIntegrations": [ + { + "azureMonitorWorkspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace" + } + ] + }, + "enterpriseConfigurations": { + "marketplacePlanId": "myPlanId", + "marketplaceAutoRenew": "Enabled" + }, + "grafanaPlugins": { + "sample-plugin-id": {} + }, + "grafanaMajorVersion": "9" + }, + "identity": { + "type": "SystemAssigned" + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/grafana/myWorkspace", + "name": "myWorkspace", + "type": "Microsoft.Dashboard/grafana", + "sku": { + "name": "Standard" + }, + "properties": { + "provisioningState": "Succeeded", + "grafanaVersion": "9.4.5", + "endpoint": "https://myworkspace-abcdefghijklmnop.wus.grafana.azure.com", + "zoneRedundancy": "Enabled", + "apiKey": "Enabled", + "deterministicOutboundIP": "Enabled", + "outboundIPs": [ + "192.168.0.1", + "192.168.0.2" + ], + "publicNetworkAccess": "Enabled", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "grafanaConfigurations": { + "smtp": { + "enabled": true, + "host": "smtp.sendemail.com:587", + "user": "username", + "fromAddress": "test@sendemail.com", + "fromName": "emailsender", + "startTLSPolicy": "OpportunisticStartTLS", + "skipVerify": true + } + }, + "grafanaIntegrations": { + "azureMonitorWorkspaceIntegrations": [ + { + "azureMonitorWorkspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace" + } + ] + }, + "enterpriseConfigurations": { + "marketplacePlanId": "myPlanId", + "marketplaceAutoRenew": "Enabled" + }, + "grafanaPlugins": { + "sample-plugin-id": { + "pluginId": "sample-plugin-id" + } + }, + "grafanaMajorVersion": "9" + }, + "identity": { + "type": "SystemAssigned" + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2020-02-03T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2022-10-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/grafana/myWorkspace", + "name": "myWorkspace", + "type": "Microsoft.Dashboard/grafana", + "sku": { + "name": "Standard" + }, + "properties": { + "provisioningState": "Accepted", + "grafanaVersion": "9.4.5", + "endpoint": "https://myworkspace-abcdefghijklmnop.wus.grafana.azure.com", + "zoneRedundancy": "Enabled", + "apiKey": "Enabled", + "deterministicOutboundIP": "Enabled", + "publicNetworkAccess": "Enabled", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "grafanaConfigurations": { + "smtp": { + "enabled": true, + "host": "smtp.sendemail.com:587", + "user": "username", + "fromAddress": "test@sendemail.com", + "fromName": "emailsender", + "startTLSPolicy": "OpportunisticStartTLS", + "skipVerify": true + } + }, + "grafanaIntegrations": { + "azureMonitorWorkspaceIntegrations": [ + { + "azureMonitorWorkspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace" + } + ] + }, + "grafanaMajorVersion": "9" + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2020-02-03T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" + } + } + } + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Delete.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Delete.json new file mode 100644 index 000000000000..b62a02af072e --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Delete.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "myWorkspace" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2022-10-01-preview" + } + }, + "204": {} + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_FetchAvailablePlugins.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_FetchAvailablePlugins.json new file mode 100644 index 000000000000..c57b75c642de --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_FetchAvailablePlugins.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "myWorkspace" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Plugin A", + "pluginId": "plugin-a" + }, + { + "name": "Plugin B", + "pluginId": "plugin-b" + } + ] + } + } + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Get.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Get.json new file mode 100644 index 000000000000..7a161a509e63 --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Get.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "myWorkspace" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/grafana/myWorkspace", + "name": "myWorkspace", + "type": "Microsoft.Dashboard/grafana", + "sku": { + "name": "Standard" + }, + "properties": { + "provisioningState": "Succeeded", + "grafanaVersion": "9.4.5", + "endpoint": "https://myworkspace-abcdefghijklmnop.wus.grafana.azure.com", + "zoneRedundancy": "Enabled", + "apiKey": "Enabled", + "deterministicOutboundIP": "Enabled", + "outboundIPs": [ + "192.168.0.1", + "192.168.0.2" + ], + "publicNetworkAccess": "Enabled", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "grafanaConfigurations": { + "smtp": { + "enabled": true, + "host": "smtp.sendemail.com:587", + "user": "username", + "fromAddress": "test@sendemail.com", + "fromName": "emailsender", + "startTLSPolicy": "OpportunisticStartTLS", + "skipVerify": true + } + }, + "grafanaIntegrations": { + "azureMonitorWorkspaceIntegrations": [ + { + "azureMonitorWorkspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace" + } + ] + }, + "enterpriseConfigurations": { + "marketplacePlanId": "myPlanId", + "marketplaceAutoRenew": "Enabled" + }, + "grafanaPlugins": { + "sample-plugin-id": { + "pluginId": "sample-plugin-id" + } + }, + "grafanaMajorVersion": "9" + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2020-02-03T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" + } + } + } + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_List.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_List.json new file mode 100644 index 000000000000..0ce9f0b698c3 --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_List.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/grafana/myWorkspace", + "name": "myWorkspace", + "type": "Microsoft.Dashboard/grafana", + "sku": { + "name": "Standard" + }, + "properties": { + "provisioningState": "Succeeded", + "grafanaVersion": "9.4.5", + "endpoint": "https://myworkspace-abcdefghijklmnop.wus.grafana.azure.com", + "zoneRedundancy": "Enabled", + "apiKey": "Enabled", + "deterministicOutboundIP": "Enabled", + "outboundIPs": [ + "192.168.0.1", + "192.168.0.2" + ], + "publicNetworkAccess": "Enabled", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "grafanaConfigurations": { + "smtp": { + "enabled": true, + "host": "smtp.sendemail.com:587", + "user": "username", + "fromAddress": "test@sendemail.com", + "fromName": "emailsender", + "startTLSPolicy": "OpportunisticStartTLS", + "skipVerify": true + } + }, + "grafanaIntegrations": { + "azureMonitorWorkspaceIntegrations": [ + { + "azureMonitorWorkspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace" + } + ] + }, + "enterpriseConfigurations": { + "marketplacePlanId": "myPlanId", + "marketplaceAutoRenew": "Enabled" + }, + "grafanaPlugins": { + "sample-plugin-id": { + "pluginId": "sample-plugin-id" + } + }, + "grafanaMajorVersion": "9" + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US" + } + ] + } + } + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_ListByResourceGroup.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_ListByResourceGroup.json new file mode 100644 index 000000000000..0ce9f0b698c3 --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_ListByResourceGroup.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/grafana/myWorkspace", + "name": "myWorkspace", + "type": "Microsoft.Dashboard/grafana", + "sku": { + "name": "Standard" + }, + "properties": { + "provisioningState": "Succeeded", + "grafanaVersion": "9.4.5", + "endpoint": "https://myworkspace-abcdefghijklmnop.wus.grafana.azure.com", + "zoneRedundancy": "Enabled", + "apiKey": "Enabled", + "deterministicOutboundIP": "Enabled", + "outboundIPs": [ + "192.168.0.1", + "192.168.0.2" + ], + "publicNetworkAccess": "Enabled", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "grafanaConfigurations": { + "smtp": { + "enabled": true, + "host": "smtp.sendemail.com:587", + "user": "username", + "fromAddress": "test@sendemail.com", + "fromName": "emailsender", + "startTLSPolicy": "OpportunisticStartTLS", + "skipVerify": true + } + }, + "grafanaIntegrations": { + "azureMonitorWorkspaceIntegrations": [ + { + "azureMonitorWorkspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace" + } + ] + }, + "enterpriseConfigurations": { + "marketplacePlanId": "myPlanId", + "marketplaceAutoRenew": "Enabled" + }, + "grafanaPlugins": { + "sample-plugin-id": { + "pluginId": "sample-plugin-id" + } + }, + "grafanaMajorVersion": "9" + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US" + } + ] + } + } + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Update.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Update.json new file mode 100644 index 000000000000..594693db8bfa --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Update.json @@ -0,0 +1,168 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "myWorkspace", + "requestBodyParameters": { + "tags": { + "Environment": "Dev 2" + }, + "sku": { + "name": "Standard" + }, + "properties": { + "apiKey": "Enabled", + "deterministicOutboundIP": "Enabled", + "grafanaConfigurations": { + "smtp": { + "enabled": true, + "host": "smtp.sendemail.com:587", + "user": "username", + "password": "", + "fromAddress": "test@sendemail.com", + "fromName": "emailsender", + "startTLSPolicy": "OpportunisticStartTLS", + "skipVerify": true + } + }, + "grafanaIntegrations": { + "azureMonitorWorkspaceIntegrations": [ + { + "azureMonitorWorkspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace" + } + ] + }, + "enterpriseConfigurations": { + "marketplacePlanId": "myPlanId", + "marketplaceAutoRenew": "Enabled" + }, + "grafanaPlugins": { + "sample-plugin-id": {} + }, + "grafanaMajorVersion": "9" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/grafana/myWorkspace", + "name": "myWorkspace", + "type": "Microsoft.Dashboard/grafana", + "sku": { + "name": "Standard" + }, + "properties": { + "provisioningState": "Succeeded", + "grafanaVersion": "9.4.5", + "endpoint": "https://myworkspace-abcdefghijklmnop.wus.grafana.azure.com", + "zoneRedundancy": "Enabled", + "apiKey": "Enabled", + "deterministicOutboundIP": "Enabled", + "outboundIPs": [ + "192.168.0.1", + "192.168.0.2" + ], + "publicNetworkAccess": "Enabled", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "grafanaConfigurations": { + "smtp": { + "enabled": true, + "host": "smtp.sendemail.com:587", + "user": "username", + "fromAddress": "test@sendemail.com", + "fromName": "emailsender", + "startTLSPolicy": "OpportunisticStartTLS", + "skipVerify": true + } + }, + "grafanaIntegrations": { + "azureMonitorWorkspaceIntegrations": [ + { + "azureMonitorWorkspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace" + } + ] + }, + "enterpriseConfigurations": { + "marketplacePlanId": "myPlanId", + "marketplaceAutoRenew": "Enabled" + }, + "grafanaPlugins": { + "sample-plugin-id": { + "pluginId": "sample-plugin-id" + } + }, + "grafanaMajorVersion": "9" + }, + "tags": { + "Environment": "Dev 2" + }, + "location": "West US" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2022-10-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/grafana/myWorkspace", + "name": "myWorkspace", + "type": "Microsoft.Dashboard/grafana", + "sku": { + "name": "Standard" + }, + "properties": { + "provisioningState": "Accepted", + "grafanaVersion": "9.4.5", + "endpoint": "https://myworkspace-abcdefghijklmnop.wus.grafana.azure.com", + "zoneRedundancy": "Enabled", + "apiKey": "Enabled", + "deterministicOutboundIP": "Enabled", + "publicNetworkAccess": "Enabled", + "autoGeneratedDomainNameLabelScope": "TenantReuse", + "grafanaConfigurations": { + "smtp": { + "enabled": true, + "host": "smtp.sendemail.com:587", + "user": "username", + "fromAddress": "test@sendemail.com", + "fromName": "emailsender", + "startTLSPolicy": "OpportunisticStartTLS", + "skipVerify": true + } + }, + "grafanaIntegrations": { + "azureMonitorWorkspaceIntegrations": [ + { + "azureMonitorWorkspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.monitor/accounts/myAzureMonitorWorkspace" + } + ] + }, + "enterpriseConfigurations": { + "marketplacePlanId": "myPlanId", + "marketplaceAutoRenew": "Enabled" + }, + "grafanaPlugins": { + "sample-plugin-id": { + "pluginId": "sample-plugin-id" + } + }, + "grafanaMajorVersion": "9" + }, + "tags": { + "Environment": "Dev 2" + }, + "location": "West US", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2020-02-03T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" + } + } + } + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Create.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Create.json new file mode 100644 index 000000000000..6983e057f685 --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Create.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "myWorkspace", + "managedPrivateEndpointName": "myMPEName", + "requestBodyParameters": { + "properties": { + "privateLinkResourceId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-000000000000/resourceGroups/xx-rg/providers/Microsoft.Kusto/Clusters/sampleKustoResource", + "privateLinkResourceRegion": "West US", + "groupIds": [ + "grafana" + ], + "requestMessage": "Example Request Message", + "privateLinkServiceUrl": "my-self-hosted-influxdb.westus.mydomain.com" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/managedPrivateEndpoints/myPrivateEndpointName", + "name": "myMPEName", + "type": "Microsoft.Dashboard/grafana/managedPrivateEndpoint", + "properties": { + "provisioningState": "Succeeded", + "privateLinkResourceId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-000000000000/resourceGroups/xx-rg/providers/Microsoft.Kusto/Clusters/sampleKustoResource", + "privateLinkResourceRegion": "West US", + "groupIds": [ + "grafana" + ], + "requestMessage": "Example Request Message", + "privateLinkServiceUrl": "my-self-hosted-influxdb.westus.mydomain.com" + }, + "location": "West US", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2020-02-03T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2022-10-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/managedPrivateEndpoints/myPrivateEndpointName", + "name": "myMPEName", + "type": "Microsoft.Dashboard/grafana/managedPrivateEndpoint", + "properties": { + "provisioningState": "Accepted", + "privateLinkResourceId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-000000000000/resourceGroups/xx-rg/providers/Microsoft.Kusto/Clusters/sampleKustoResource", + "privateLinkResourceRegion": "West US", + "groupIds": [ + "grafana" + ], + "requestMessage": "Example Request Message", + "privateLinkServiceUrl": "my-self-hosted-influxdb.westus.mydomain.com" + }, + "location": "West US", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2020-02-03T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" + } + } + } + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Delete.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Delete.json new file mode 100644 index 000000000000..3facbe8188bf --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "myWorkspace", + "managedPrivateEndpointName": "myMPEName" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2022-10-01-preview" + } + }, + "204": {} + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Get.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Get.json new file mode 100644 index 000000000000..523b28928087 --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Get.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "myWorkspace", + "managedPrivateEndpointName": "myMPEName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/managedPrivateEndpoints/myPrivateEndpointName", + "name": "myMPEName", + "type": "Microsoft.Dashboard/grafana/managedPrivateEndpoint", + "properties": { + "provisioningState": "Succeeded", + "privateLinkResourceId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-000000000000/resourceGroups/xx-rg/providers/Microsoft.Kusto/Clusters/sampleKustoResource", + "privateLinkResourceRegion": "West US", + "groupIds": [ + "grafana" + ], + "requestMessage": "Example Request Message", + "connectionState": { + "status": "Approved", + "description": "Auto-Approved" + } + }, + "location": "West US", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2020-02-03T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" + } + } + } + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_List.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_List.json new file mode 100644 index 000000000000..f9bf49d3c4c8 --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_List.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "myWorkspace" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/managedPrivateEndpoints/myPrivateEndpointName", + "name": "myMPEName", + "type": "Microsoft.Dashboard/grafana/managedPrivateEndpoint", + "properties": { + "provisioningState": "Succeeded", + "privateLinkResourceId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-000000000000/resourceGroups/xx-rg/providers/Microsoft.Kusto/Clusters/sampleKustoResource1", + "privateLinkResourceRegion": "West US", + "groupIds": [ + "grafana" + ], + "requestMessage": "Example Request Message", + "connectionState": { + "status": "Approved", + "description": "Auto-Approved" + }, + "privateLinkServiceUrl": "my-self-hosted-influxdb.westus.mydomain.com", + "privateLinkServicePrivateIP": "10.0.0.5" + }, + "location": "West US" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/managedPrivateEndpoints/myPrivateEndpointName2", + "name": "myMPEName2", + "type": "Microsoft.Dashboard/grafana/managedPrivateEndpoint", + "properties": { + "provisioningState": "Succeeded", + "privateLinkResourceId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-000000000000/resourceGroups/xx-rg/providers/Microsoft.Kusto/Clusters/sampleKustoResource2", + "privateLinkResourceRegion": "West US", + "groupIds": [ + "grafana" + ], + "requestMessage": "Example Request Message 2", + "connectionState": { + "status": "Rejected", + "description": "Example Reject Reason" + } + }, + "location": "West US" + } + ] + } + } + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Patch.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Patch.json new file mode 100644 index 000000000000..c30959a9d923 --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Patch.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "myWorkspace", + "managedPrivateEndpointName": "myMPEName", + "requestBodyParameters": { + "tags": { + "Environment": "Dev 2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/managedPrivateEndpoints/myPrivateEndpointName", + "name": "myMPEName", + "type": "Microsoft.Dashboard/grafana/managedPrivateEndpoint", + "properties": { + "provisioningState": "Succeeded", + "privateLinkResourceId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-000000000000/resourceGroups/xx-rg/providers/Microsoft.Kusto/Clusters/sampleKustoResource", + "privateLinkResourceRegion": "West US", + "groupIds": [ + "grafana" + ], + "requestMessage": "Example Request Message", + "privateLinkServiceUrl": "my-self-hosted-influxdb.westus.mydomain.com", + "privateLinkServicePrivateIP": "10.0.0.5" + }, + "location": "West US", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2020-02-03T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2022-10-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/managedPrivateEndpoints/myPrivateEndpointName", + "name": "myMPEName", + "type": "Microsoft.Dashboard/grafana/managedPrivateEndpoint", + "properties": { + "provisioningState": "Accepted", + "privateLinkResourceId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-000000000000/resourceGroups/xx-rg/providers/Microsoft.Kusto/Clusters/sampleKustoResource", + "privateLinkResourceRegion": "West US", + "groupIds": [ + "grafana" + ], + "requestMessage": "Example Request Message", + "privateLinkServiceUrl": "my-self-hosted-influxdb.westus.mydomain.com", + "privateLinkServicePrivateIP": "10.0.0.5" + }, + "location": "West US", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2020-02-03T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" + } + } + } + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Refresh.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Refresh.json new file mode 100644 index 000000000000..5999abb5b525 --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Refresh.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "myWorkspace" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2022-10-01-preview" + } + } + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Operations_List.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Operations_List.json new file mode 100644 index 000000000000..d93f7ca084ed --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Operations_List.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Dashboard/grafana/write", + "display": { + "provider": "Microsoft.Dashboard", + "resource": "grafana", + "operation": "write", + "description": "Write grafana workspace resource" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Approve.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Approve.json new file mode 100644 index 000000000000..180ee1300457 --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Approve.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "myWorkspace", + "privateEndpointConnectionName": "myConnection", + "privateEndpointConnection": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "test" + } + } + } + }, + "responses": { + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2022-10-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.Dashboard/grafana/privateEndpointConnections", + "properties": { + "provisioningState": "Accepted", + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Network/privateEndpoint/myEndpoint" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "test", + "actionsRequired": "None" + }, + "groupIds": [ + "grafana" + ] + } + } + } + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Delete.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Delete.json new file mode 100644 index 000000000000..f14733eb3e10 --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Delete.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "myWorkspace", + "privateEndpointConnectionName": "myConnection" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2022-10-01-preview" + } + }, + "204": {} + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Get.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Get.json new file mode 100644 index 000000000000..ee5b0f73b1bf --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Get.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "myWorkspace", + "privateEndpointConnectionName": "myConnection" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.Dashboard/grafana/privateEndpointConnections", + "properties": { + "provisioningState": "Accepted", + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Network/privateEndpoint/myEndpoint" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "string", + "actionsRequired": "None" + }, + "groupIds": [ + "grafana" + ] + } + } + } + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_List.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_List.json new file mode 100644 index 000000000000..0ab7edaa8ac2 --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_List.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "myWorkspace" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.Dashboard/grafana/privateEndpointConnections", + "properties": { + "provisioningState": "Accepted", + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Network/privateEndpoint/myEndpoint" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "string", + "actionsRequired": "None" + }, + "groupIds": [ + "grafana" + ] + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_Get.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_Get.json new file mode 100644 index 000000000000..3347d0598aec --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_Get.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "myWorkspace", + "privateLinkResourceName": "grafana" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/privateLinkResources/grafana", + "name": "grafana", + "type": "Microsoft.Dashboard/grafana/PrivateLinkResources", + "properties": { + "groupId": "grafana", + "requiredMembers": [ + "grafana" + ], + "requiredZoneNames": [ + "grafana-test.azure.com" + ] + } + } + } + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_List.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_List.json new file mode 100644 index 000000000000..578769611656 --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_List.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "myWorkspace" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/privateLinkResources/grafana", + "name": "grafana", + "type": "Microsoft.Dashboard/grafana/PrivateLinkResources", + "properties": { + "groupId": "grafana", + "requiredMembers": [ + "grafana" + ], + "requiredZoneNames": [ + "grafana-test.azure.com" + ] + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/grafana.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/grafana.json new file mode 100644 index 000000000000..cbcb050a3e06 --- /dev/null +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/grafana.json @@ -0,0 +1,2011 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft.Dashboard", + "description": "The Microsoft.Dashboard Rest API spec.", + "version": "2022-10-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/providers/Microsoft.Dashboard/operations": { + "get": { + "tags": [ + "GrafanaResource" + ], + "summary": "List all available API operations provided by Microsoft.Dashboard.", + "operationId": "Operations_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. Return all available API operations provided by Microsoft.Dashboard.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Dashboard/grafana": { + "get": { + "tags": [ + "GrafanaResource" + ], + "summary": "List all resources of workspaces for Grafana under the specified subscription.", + "operationId": "Grafana_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. Return all resources of workspaces for Grafana under the specified subscription.", + "schema": { + "$ref": "#/definitions/ManagedGrafanaListResponse" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Grafana_List": { + "$ref": "./examples/Grafana_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana": { + "get": { + "tags": [ + "GrafanaResource" + ], + "summary": "List all resources of workspaces for Grafana under the specified resource group.", + "operationId": "Grafana_ListByResourceGroup", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. Return all resources of workspaces for Grafana under the given resource group.", + "schema": { + "$ref": "#/definitions/ManagedGrafanaListResponse" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Grafana_ListByResourceGroup": { + "$ref": "./examples/Grafana_ListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}": { + "get": { + "tags": [ + "GrafanaResource" + ], + "summary": "Get the properties of a specific workspace for Grafana resource.", + "operationId": "Grafana_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. Return the properties of the required workspace for Grafana resource.", + "schema": { + "$ref": "#/definitions/ManagedGrafana" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Grafana_Get": { + "$ref": "./examples/Grafana_Get.json" + } + } + }, + "put": { + "tags": [ + "GrafanaResource" + ], + "summary": "Create or update a workspace for Grafana resource. This API is idempotent, so user can either create a new grafana or update an existing grafana.", + "operationId": "Grafana_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "requestBodyParameters", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedGrafana" + } + } + ], + "responses": { + "200": { + "description": "OK. Successfully create a workspace for Grafana resource.", + "schema": { + "$ref": "#/definitions/ManagedGrafana" + } + }, + "201": { + "description": "Created. The operation was successfully started and will complete asynchronously.", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation URI for long running operation.", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ManagedGrafana" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Grafana_Create": { + "$ref": "./examples/Grafana_Create.json" + } + } + }, + "patch": { + "tags": [ + "GrafanaResource" + ], + "summary": "Update a workspace for Grafana resource.", + "operationId": "Grafana_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "requestBodyParameters", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedGrafanaUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "OK. Successfully update the workspace for Grafana resource.", + "schema": { + "$ref": "#/definitions/ManagedGrafana" + } + }, + "202": { + "description": "Accepted. The operation was successfully started and will complete asynchronously.", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation URI for long running operation.", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ManagedGrafana" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Grafana_Update": { + "$ref": "./examples/Grafana_Update.json" + } + } + }, + "delete": { + "tags": [ + "GrafanaResource" + ], + "summary": "Delete a workspace for Grafana resource.", + "operationId": "Grafana_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The workspace for Grafana resource is deleted." + }, + "202": { + "description": "Accepted. The operation is accepted and will be completed asynchronously.", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation URI for long running operation.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Grafana_Delete": { + "$ref": "./examples/Grafana_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "PrivateEndpointConnection" + ], + "summary": "Get private endpoint connections.", + "operationId": "PrivateEndpointConnections_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. Return the list of the private endpoint connections for Grafana resource.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnections_Get": { + "$ref": "./examples/PrivateEndpointConnections_Get.json" + } + } + }, + "put": { + "tags": [ + "PrivateEndpointConnection" + ], + "summary": "Manual approve private endpoint connection", + "operationId": "PrivateEndpointConnections_Approve", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + ], + "responses": { + "201": { + "description": "Created. The operation was successfully started and will complete asynchronously.", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation URI for long running operation.", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "PrivateEndpointConnections_Approve": { + "$ref": "./examples/PrivateEndpointConnections_Approve.json" + } + } + }, + "delete": { + "tags": [ + "PrivateEndpointConnection" + ], + "summary": "Delete private endpoint connection", + "operationId": "PrivateEndpointConnections_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + } + ], + "responses": { + "202": { + "description": "Accepted. The operation is accepted and will be completed asynchronously.", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation URI for long running operation.", + "type": "string" + } + } + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "PrivateEndpointConnections_Delete": { + "$ref": "./examples/PrivateEndpointConnections_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnection" + ], + "summary": "Get private endpoint connection", + "operationId": "PrivateEndpointConnections_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. Return the list of the private endpoint connections for Grafana resource.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "PrivateEndpointConnections_List": { + "$ref": "./examples/PrivateEndpointConnections_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateLinkResources": { + "get": { + "tags": [ + "PrivateLinkResource" + ], + "summary": "List all private link resources information for this grafana resource", + "operationId": "PrivateLinkResources_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. Return the list of the private link resources for Grafana resource.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "PrivateLinkResources_List": { + "$ref": "./examples/PrivateLinkResources_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateLinkResources/{privateLinkResourceName}": { + "get": { + "tags": [ + "PrivateLinkResource" + ], + "summary": "Get specific private link resource information for this grafana resource", + "operationId": "PrivateLinkResources_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "path", + "name": "privateLinkResourceName", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK. Return the properties of the required private link resource for Grafana resource.", + "schema": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkResources_Get": { + "$ref": "./examples/PrivateLinkResources_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/checkEnterpriseDetails": { + "post": { + "tags": [ + "GrafanaResource" + ], + "summary": "Retrieve enterprise add-on details information", + "operationId": "Grafana_CheckEnterpriseDetails", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. Successfully retrieve the enterprise details information of a workspace for a Grafana resource.", + "schema": { + "$ref": "#/definitions/EnterpriseDetails" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnterpriseDetails_Post": { + "$ref": "./examples/EnterpriseDetails_Post.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/fetchAvailablePlugins": { + "post": { + "tags": [ + "GrafanaPlugin" + ], + "operationId": "Grafana_FetchAvailablePlugins", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/GrafanaAvailablePluginListResponse" + } + }, + "default": { + "description": "Default error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Grafana_FetchAvailablePlugins": { + "$ref": "./examples/Grafana_FetchAvailablePlugins.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/managedPrivateEndpoints": { + "get": { + "summary": "List all managed private endpoints of a grafana resource.", + "tags": [ + "ManagedPrivateEndpoints" + ], + "operationId": "ManagedPrivateEndpoints_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. Returns the list of managed private endpoints.", + "schema": { + "$ref": "#/definitions/ManagedPrivateEndpointModelListResponse" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ManagedPrivateEndpoint_List": { + "$ref": "./examples/ManagedPrivateEndpoints_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/refreshManagedPrivateEndpoints": { + "post": { + "summary": "Refresh and sync managed private endpoints of a grafana resource to latest state.", + "tags": [ + "ManagedPrivateEndpoints" + ], + "operationId": "ManagedPrivateEndpoints_Refresh", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. Returns the list of managed private endpoints." + }, + "202": { + "description": "Accepted. The operation is accepted and will be completed asynchronously.", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation URI for long running operation.", + "type": "string" + } + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "ManagedPrivateEndpoint_Refresh": { + "$ref": "./examples/ManagedPrivateEndpoints_Refresh.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/managedPrivateEndpoints/{managedPrivateEndpointName}": { + "get": { + "summary": "Get a specific managed private endpoint of a grafana resource.", + "tags": [ + "ManagedPrivateEndpoints" + ], + "operationId": "ManagedPrivateEndpoints_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ManagedPrivateEndpointNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. Return the properties of the managed private endpoint resource.", + "schema": { + "$ref": "#/definitions/ManagedPrivateEndpointModel" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ManagedPrivateEndpoint_Get": { + "$ref": "./examples/ManagedPrivateEndpoints_Get.json" + } + } + }, + "put": { + "summary": "Create or update a managed private endpoint for a grafana resource.", + "tags": [ + "ManagedPrivateEndpoints" + ], + "operationId": "ManagedPrivateEndpoints_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ManagedPrivateEndpointNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "description": "The managed private endpoint to be created or updated.", + "in": "body", + "name": "requestBodyParameters", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedPrivateEndpointModel" + } + } + ], + "responses": { + "200": { + "description": "OK. Successfully created a managed private endpoint for Grafana resource.", + "schema": { + "$ref": "#/definitions/ManagedPrivateEndpointModel" + } + }, + "201": { + "description": "Created. The operation was successfully started and will complete asynchronously.", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation URI for long running operation.", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ManagedPrivateEndpointModel" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + }, + "x-ms-examples": { + "ManagedPrivateEndpoint_Create": { + "$ref": "./examples/ManagedPrivateEndpoints_Create.json" + } + } + }, + "patch": { + "summary": "Update a managed private endpoint for an existing grafana resource.", + "tags": [ + "ManagedPrivateEndpoints" + ], + "operationId": "ManagedPrivateEndpoints_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ManagedPrivateEndpointNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "description": "Properties that can be updated to an existing managed private endpoint.", + "in": "body", + "name": "requestBodyParameters", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedPrivateEndpointUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "OK. Successfully update the managed private endpoint for Grafana resource.", + "schema": { + "$ref": "#/definitions/ManagedPrivateEndpointModel" + } + }, + "202": { + "description": "Accepted. The operation was successfully started and will complete asynchronously.", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation URI for long running operation.", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/ManagedPrivateEndpointModel" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "ManagedPrivateEndpoint_Create": { + "$ref": "./examples/ManagedPrivateEndpoints_Patch.json" + } + } + }, + "delete": { + "summary": "Delete a managed private endpoint for a grafana resource.", + "tags": [ + "ManagedPrivateEndpoints" + ], + "operationId": "ManagedPrivateEndpoints_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ManagedPrivateEndpointNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The managed private endpoint is deleted." + }, + "202": { + "description": "Accepted. The operation is accepted and will be completed asynchronously.", + "headers": { + "Azure-AsyncOperation": { + "description": "Operation URI for long running operation.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "ManagedPrivateEndpoint_Delete": { + "$ref": "./examples/ManagedPrivateEndpoints_Delete.json" + } + } + } + } + }, + "definitions": { + "ManagedGrafana": { + "type": "object", + "description": "The grafana resource type.", + "x-ms-azure-resource": true, + "properties": { + "id": { + "description": "ARM id of the grafana resource", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the grafana resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The type of the grafana resource.", + "type": "string", + "readOnly": true + }, + "sku": { + "description": "The Sku of the grafana resource.", + "$ref": "#/definitions/ResourceSku" + }, + "properties": { + "description": "Properties specific to the grafana resource.", + "$ref": "#/definitions/ManagedGrafanaProperties" + }, + "identity": { + "description": "The managed identity of the grafana resource.", + "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity" + }, + "systemData": { + "description": "The system meta data relating to this grafana resource.", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "The tags for grafana resource." + }, + "location": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "The geo-location where the grafana resource lives" + } + } + }, + "ManagedGrafanaListResponse": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedGrafana" + } + }, + "nextLink": { + "type": "string" + } + } + }, + "ManagedGrafanaProperties": { + "type": "object", + "description": "Properties specific to the grafana resource.", + "properties": { + "provisioningState": { + "description": "Provisioning state of the resource.", + "$ref": "#/definitions/ProvisioningState" + }, + "grafanaVersion": { + "description": "The Grafana software version.", + "type": "string", + "readOnly": true + }, + "endpoint": { + "description": "The endpoint of the Grafana instance.", + "type": "string", + "readOnly": true + }, + "publicNetworkAccess": { + "description": "Indicate the state for enable or disable traffic over the public interface.", + "$ref": "#/definitions/PublicNetworkAccess" + }, + "zoneRedundancy": { + "description": "The zone redundancy setting of the Grafana instance.", + "$ref": "#/definitions/ZoneRedundancy" + }, + "apiKey": { + "description": "The api key setting of the Grafana instance.", + "$ref": "#/definitions/ApiKey" + }, + "deterministicOutboundIP": { + "description": "Whether a Grafana instance uses deterministic outbound IPs.", + "$ref": "#/definitions/DeterministicOutboundIP" + }, + "outboundIPs": { + "description": "List of outbound IPs if deterministicOutboundIP is enabled.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "privateEndpointConnections": { + "description": "The private endpoint connections of the Grafana instance.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "readOnly": true + }, + "autoGeneratedDomainNameLabelScope": { + "description": "Scope for dns deterministic name hash calculation.", + "$ref": "#/definitions/AutoGeneratedDomainNameLabelScope" + }, + "grafanaIntegrations": { + "$ref": "#/definitions/GrafanaIntegrations" + }, + "enterpriseConfigurations": { + "$ref": "#/definitions/EnterpriseConfigurations" + }, + "grafanaConfigurations": { + "$ref": "#/definitions/GrafanaConfigurations" + }, + "grafanaPlugins": { + "description": "Installed plugin list of the Grafana instance. Key is plugin id, value is plugin definition.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/GrafanaPlugin" + } + }, + "grafanaMajorVersion": { + "description": "The major Grafana software version to target.", + "type": "string" + } + } + }, + "ManagedGrafanaUpdateParameters": { + "type": "object", + "description": "The parameters for a PATCH request to a grafana resource.", + "properties": { + "sku": { + "$ref": "#/definitions/ResourceSku" + }, + "identity": { + "description": "The managed identity of the grafana resource.", + "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity" + }, + "tags": { + "type": "object", + "description": "The new tags of the grafana resource.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "description": "Properties specific to the managed grafana resource.", + "$ref": "#/definitions/ManagedGrafanaPropertiesUpdateParameters" + } + } + }, + "ManagedGrafanaPropertiesUpdateParameters": { + "type": "object", + "description": "The properties parameters for a PATCH request to a grafana resource.", + "properties": { + "zoneRedundancy": { + "description": "The zone redundancy setting of the Grafana instance.", + "$ref": "#/definitions/ZoneRedundancy" + }, + "apiKey": { + "description": "The api key setting of the Grafana instance.", + "$ref": "#/definitions/ApiKey" + }, + "deterministicOutboundIP": { + "description": "Whether a Grafana instance uses deterministic outbound IPs.", + "$ref": "#/definitions/DeterministicOutboundIP" + }, + "publicNetworkAccess": { + "description": "Indicate the state for enable or disable traffic over the public interface.", + "$ref": "#/definitions/PublicNetworkAccess" + }, + "grafanaIntegrations": { + "$ref": "#/definitions/GrafanaIntegrations" + }, + "enterpriseConfigurations": { + "$ref": "#/definitions/EnterpriseConfigurations" + }, + "grafanaConfigurations": { + "$ref": "#/definitions/GrafanaConfigurations" + }, + "grafanaPlugins": { + "type": "object", + "description": "Update of Grafana plugin. Key is plugin id, value is plugin definition. If plugin definition is null, plugin with given plugin id will be removed. Otherwise, given plugin will be installed.", + "additionalProperties": { + "$ref": "#/definitions/GrafanaPlugin" + } + }, + "grafanaMajorVersion": { + "description": "The major Grafana software version to target.", + "type": "string" + } + } + }, + "ProvisioningState": { + "enum": [ + "Accepted", + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled", + "Deleted", + "NotSpecified" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "modelAsString": true, + "name": "ProvisioningState" + } + }, + "ResourceSku": { + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "type": "string" + } + } + }, + "ZoneRedundancy": { + "enum": [ + "Disabled", + "Enabled" + ], + "default": "Disabled", + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "ZoneRedundancy" + } + }, + "ApiKey": { + "enum": [ + "Disabled", + "Enabled" + ], + "default": "Disabled", + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "ApiKey" + } + }, + "DeterministicOutboundIP": { + "enum": [ + "Disabled", + "Enabled" + ], + "default": "Disabled", + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "DeterministicOutboundIP" + } + }, + "PublicNetworkAccess": { + "description": "Indicate the state for enable or disable traffic over the public interface.", + "enum": [ + "Enabled", + "Disabled" + ], + "default": "Enabled", + "type": "string", + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + } + }, + "AutoGeneratedDomainNameLabelScope": { + "description": "Scope for dns deterministic name hash calculation", + "enum": [ + "TenantReuse" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "AutoGeneratedDomainNameLabelScope" + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "GrafanaConfigurations": { + "description": "Server configurations of a Grafana instance", + "type": "object", + "properties": { + "smtp": { + "$ref": "#/definitions/Smtp" + } + } + }, + "Smtp": { + "description": "Email server settings.\r\nhttps://grafana.com/docs/grafana/v9.0/setup-grafana/configure-grafana/#smtp", + "type": "object", + "properties": { + "enabled": { + "description": "Enable this to allow Grafana to send email. Default is false", + "type": "boolean", + "default": false + }, + "host": { + "description": "SMTP server hostname with port, e.g. test.email.net:587", + "type": "string" + }, + "user": { + "description": "User of SMTP auth", + "type": "string" + }, + "password": { + "description": "Password of SMTP auth. If the password contains # or ;, then you have to wrap it with triple quotes", + "type": "string", + "x-ms-secret": true + }, + "fromAddress": { + "description": "Address used when sending out emails\r\nhttps://pkg.go.dev/net/mail#Address", + "type": "string" + }, + "fromName": { + "description": "Name to be used when sending out emails. Default is \"Azure Managed Grafana Notification\"\r\nhttps://pkg.go.dev/net/mail#Address", + "type": "string" + }, + "startTLSPolicy": { + "$ref": "#/definitions/StartTLSPolicy" + }, + "skipVerify": { + "description": "Verify SSL for SMTP server. Default is false\r\nhttps://pkg.go.dev/crypto/tls#Config", + "type": "boolean" + } + } + }, + "StartTLSPolicy": { + "description": "The StartTLSPolicy setting of the SMTP configuration\r\nhttps://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy", + "enum": [ + "OpportunisticStartTLS", + "MandatoryStartTLS", + "NoStartTLS" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "StartTLSPolicy" + } + }, + "GrafanaIntegrations": { + "description": "GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios.", + "type": "object", + "properties": { + "azureMonitorWorkspaceIntegrations": { + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/AzureMonitorWorkspaceIntegration" + } + } + } + }, + "AzureMonitorWorkspaceIntegration": { + "description": "Integrations for Azure Monitor Workspace.", + "type": "object", + "properties": { + "azureMonitorWorkspaceResourceId": { + "description": "The resource Id of the connected Azure Monitor Workspace.", + "type": "string" + } + } + }, + "PrivateEndpointConnection": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "x-ms-client-flatten": true, + "description": "Resource properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "description": "The Private Endpoint Connection resource." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateEndpoint", + "description": "The resource of private end point." + }, + "privateLinkServiceConnectionState": { + "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "groupIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The private endpoint connection group ids." + }, + "provisioningState": { + "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateEndpointConnectionProvisioningState", + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Array of private endpoint connections", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results (if there are any).", + "readOnly": true + } + }, + "description": "List of private endpoint connection associated with the specified storage account" + }, + "PrivateLinkResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "description": "A private link resource" + }, + "PrivateLinkResourceProperties": { + "type": "object", + "properties": { + "provisioningState": { + "description": "Provisioning state of the resource.", + "$ref": "#/definitions/ProvisioningState" + }, + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The private link resource Private link DNS zone name." + } + }, + "description": "Properties of a private link resource." + }, + "PrivateLinkResourceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results (if there are any).", + "readOnly": true + } + }, + "description": "A list of private link resources" + }, + "EnterpriseConfigurations": { + "description": "Enterprise settings of a Grafana instance", + "type": "object", + "properties": { + "marketplacePlanId": { + "description": "The Plan Id of the Azure Marketplace subscription for the Enterprise plugins", + "type": "string" + }, + "marketplaceAutoRenew": { + "$ref": "#/definitions/MarketplaceAutoRenew" + } + } + }, + "MarketplaceAutoRenew": { + "description": "The AutoRenew setting of the Enterprise subscription", + "enum": [ + "Disabled", + "Enabled" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "MarketplaceAutoRenew" + } + }, + "EnterpriseDetails": { + "description": "Enterprise details of a Grafana instance", + "type": "object", + "properties": { + "saasSubscriptionDetails": { + "$ref": "#/definitions/SaasSubscriptionDetails" + }, + "marketplaceTrialQuota": { + "$ref": "#/definitions/MarketplaceTrialQuota" + } + } + }, + "GrafanaPlugin": { + "description": "Plugin of Grafana", + "type": "object", + "properties": { + "pluginId": { + "description": "Grafana plugin id", + "type": "string", + "readOnly": true + } + } + }, + "GrafanaAvailablePlugin": { + "description": "Available plugins of grafana", + "type": "object", + "properties": { + "pluginId": { + "description": "Grafana plugin id", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Grafana plugin display name", + "type": "string", + "readOnly": true + } + } + }, + "GrafanaAvailablePluginListResponse": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/GrafanaAvailablePlugin" + }, + "x-ms-identifiers": [ + "pluginId" + ] + }, + "nextLink": { + "type": "string" + } + } + }, + "SaasSubscriptionDetails": { + "description": "SaaS subscription details of a Grafana instance", + "type": "object", + "properties": { + "planId": { + "description": "The plan Id of the SaaS subscription.", + "type": "string" + }, + "offerId": { + "description": "The offer Id of the SaaS subscription.", + "type": "string" + }, + "publisherId": { + "description": "The publisher Id of the SaaS subscription.", + "type": "string" + }, + "term": { + "description": "The billing term of the SaaS Subscription.", + "$ref": "#/definitions/SubscriptionTerm" + } + } + }, + "SubscriptionTerm": { + "description": "The current billing term of the SaaS Subscription.", + "type": "object", + "properties": { + "termUnit": { + "description": "The unit of the billing term.", + "type": "string" + }, + "startDate": { + "description": "The date and time in UTC of when the billing term starts.", + "type": "string", + "format": "date-time" + }, + "endDate": { + "description": "The date and time in UTC of when the billing term ends.", + "type": "string", + "format": "date-time" + } + } + }, + "MarketplaceTrialQuota": { + "description": "The allocation details of the per subscription free trial slot of the subscription.", + "type": "object", + "properties": { + "availablePromotion": { + "description": "Available enterprise promotion for the subscription", + "$ref": "#/definitions/AvailablePromotion" + }, + "grafanaResourceId": { + "description": "Resource Id of the Grafana resource which is doing the trial.", + "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Dashboard/grafana" + } + ] + } + }, + "trialStartAt": { + "description": "The date and time in UTC of when the trial starts.", + "type": "string", + "format": "date-time" + }, + "trialEndAt": { + "description": "The date and time in UTC of when the trial ends.", + "type": "string", + "format": "date-time" + } + } + }, + "AvailablePromotion": { + "enum": [ + "None", + "FreeTrial" + ], + "type": "string", + "default": "None", + "x-ms-enum": { + "modelAsString": true, + "name": "AvailablePromotion" + } + }, + "ManagedPrivateEndpointModel": { + "type": "object", + "description": "The managed private endpoint resource type.", + "x-ms-azure-resource": true, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/ManagedPrivateEndpointModelProperties" + } + } + }, + "ManagedPrivateEndpointModelProperties": { + "type": "object", + "description": "Properties specific to the managed private endpoint.", + "properties": { + "provisioningState": { + "description": "Provisioning state of the resource.", + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + }, + "privateLinkResourceId": { + "description": "The ARM resource ID of the resource for which the managed private endpoint is pointing to.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "privateLinkResourceRegion": { + "description": "The region of the resource to which the managed private endpoint is pointing to.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "groupIds": { + "description": "The group Ids of the managed private endpoint.", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "requestMessage": { + "description": "User input request message of the managed private endpoint.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "connectionState": { + "$ref": "#/definitions/ManagedPrivateEndpointConnectionState", + "readOnly": true + }, + "privateLinkServiceUrl": { + "description": "The URL of the data store behind the private link service. It would be the URL in the Grafana data source configuration page without the protocol and port.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "privateLinkServicePrivateIP": { + "description": "The private IP of private endpoint after approval. This property is empty before connection is approved.", + "type": "string", + "readOnly": true + } + } + }, + "ManagedPrivateEndpointModelListResponse": { + "description": "The list of managed private endpoints of a grafana resource", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedPrivateEndpointModel" + } + }, + "nextLink": { + "type": "string" + } + } + }, + "ManagedPrivateEndpointConnectionState": { + "description": "The state of managed private endpoint connection.", + "type": "object", + "properties": { + "status": { + "$ref": "#/definitions/ManagedPrivateEndpointConnectionStatus", + "readOnly": true + }, + "description": { + "description": "Gets or sets the reason for approval/rejection of the connection.", + "type": "string", + "readOnly": true + } + } + }, + "ManagedPrivateEndpointConnectionStatus": { + "description": "The approval/rejection status of managed private endpoint connection.", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "ManagedPrivateEndpointConnectionStatus" + } + }, + "ManagedPrivateEndpointUpdateParameters": { + "description": "The parameters for a PATCH request to a managed private endpoint.", + "type": "object", + "properties": { + "tags": { + "description": "The new tags of the managed private endpoint.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "description": "Azure Active Directory OAuth2 Flow" + } + }, + "parameters": { + "WorkspaceNameParameter": { + "in": "path", + "name": "workspaceName", + "description": "The workspace name of Azure Managed Grafana.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "PrivateEndpointConnectionNameParameter": { + "in": "path", + "name": "privateEndpointConnectionName", + "description": "The private endpoint connection name of Azure Managed Grafana.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ManagedPrivateEndpointNameParameter": { + "in": "path", + "name": "managedPrivateEndpointName", + "description": "The managed private endpoint name of Azure Managed Grafana.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} From f727675a5fdd2e12a7eee1ecbd7d2ef48c927c55 Mon Sep 17 00:00:00 2001 From: yjsong11 <127800738+yjsong11@users.noreply.github.com> Date: Thu, 19 Oct 2023 11:27:43 -0700 Subject: [PATCH 2/4] Updates readme --- .../dashboard/resource-manager/readme.md | 20 ++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/specification/dashboard/resource-manager/readme.md b/specification/dashboard/resource-manager/readme.md index dccb6d55f624..7a889723c456 100644 --- a/specification/dashboard/resource-manager/readme.md +++ b/specification/dashboard/resource-manager/readme.md @@ -5,7 +5,9 @@ This is the AutoRest configuration file for Dashboard. --- + ## Getting Started + To build the SDK for Dashboard, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -15,17 +17,29 @@ To see additional help and options, run: > `autorest --help` --- + ## Configuration + ### Basic Information + These are the global settings for the Dashboard API. -```yaml +``` yaml title: DashboardManagementClient openapi-type: arm openapi-subtype: rpaas -tag: package-2022-10-01-preview +tag: package-2023-09 ``` + +### Tag: package-2023-09 + +These settings apply only when `--tag=package-2023-09` is specified on the command line. + +```yaml $(tag) == 'package-2023-09' +input-file: + - Microsoft.Dashboard/stable/2023-09-01/grafana.json +``` ### Tag: package-2022-10-01-preview These settings apply only when `--tag=package-2022-10-01-preview` is specified on the command line. @@ -39,7 +53,7 @@ input-file: These settings apply only when `--tag=package-2022-08-01` is specified on the command line. -```yaml $(tag) == 'package-2022-08-01' +``` yaml $(tag) == 'package-2022-08-01' input-file: - Microsoft.Dashboard/stable/2022-08-01/grafana.json ``` From bdb1e3860a86289a07c6917df7e1d6cb012ed065 Mon Sep 17 00:00:00 2001 From: yjsong11 <127800738+yjsong11@users.noreply.github.com> Date: Thu, 19 Oct 2023 11:27:46 -0700 Subject: [PATCH 3/4] Updates API version in new specs and examples --- .../stable/2023-09-01/examples/EnterpriseDetails_Post.json | 2 +- .../stable/2023-09-01/examples/Grafana_Create.json | 4 ++-- .../stable/2023-09-01/examples/Grafana_Delete.json | 4 ++-- .../2023-09-01/examples/Grafana_FetchAvailablePlugins.json | 2 +- .../stable/2023-09-01/examples/Grafana_Get.json | 2 +- .../stable/2023-09-01/examples/Grafana_List.json | 2 +- .../2023-09-01/examples/Grafana_ListByResourceGroup.json | 2 +- .../stable/2023-09-01/examples/Grafana_Update.json | 4 ++-- .../2023-09-01/examples/ManagedPrivateEndpoints_Create.json | 4 ++-- .../2023-09-01/examples/ManagedPrivateEndpoints_Delete.json | 4 ++-- .../2023-09-01/examples/ManagedPrivateEndpoints_Get.json | 2 +- .../2023-09-01/examples/ManagedPrivateEndpoints_List.json | 2 +- .../2023-09-01/examples/ManagedPrivateEndpoints_Patch.json | 4 ++-- .../2023-09-01/examples/ManagedPrivateEndpoints_Refresh.json | 4 ++-- .../stable/2023-09-01/examples/Operations_List.json | 2 +- .../examples/PrivateEndpointConnections_Approve.json | 4 ++-- .../examples/PrivateEndpointConnections_Delete.json | 4 ++-- .../2023-09-01/examples/PrivateEndpointConnections_Get.json | 2 +- .../2023-09-01/examples/PrivateEndpointConnections_List.json | 2 +- .../stable/2023-09-01/examples/PrivateLinkResources_Get.json | 2 +- .../stable/2023-09-01/examples/PrivateLinkResources_List.json | 2 +- .../Microsoft.Dashboard/stable/2023-09-01/grafana.json | 2 +- 22 files changed, 31 insertions(+), 31 deletions(-) diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/EnterpriseDetails_Post.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/EnterpriseDetails_Post.json index 575a351efec9..dddb24ad5e1f 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/EnterpriseDetails_Post.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/EnterpriseDetails_Post.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "myWorkspace" diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Create.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Create.json index 8c338f6a6be0..aa07b41e5d71 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Create.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Create.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "myWorkspace", @@ -120,7 +120,7 @@ }, "201": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2022-10-01-preview" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2023-09-01" }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/grafana/myWorkspace", diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Delete.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Delete.json index b62a02af072e..4eb43a955e2c 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Delete.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "myWorkspace" @@ -9,7 +9,7 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2022-10-01-preview" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2023-09-01" } }, "204": {} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_FetchAvailablePlugins.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_FetchAvailablePlugins.json index c57b75c642de..a58ff6f82ede 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_FetchAvailablePlugins.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_FetchAvailablePlugins.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "myWorkspace" diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Get.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Get.json index 7a161a509e63..54c45376bca0 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Get.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "myWorkspace" diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_List.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_List.json index 0ce9f0b698c3..0e7e682145d1 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_List.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup" }, diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_ListByResourceGroup.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_ListByResourceGroup.json index 0ce9f0b698c3..0e7e682145d1 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_ListByResourceGroup.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_ListByResourceGroup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup" }, diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Update.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Update.json index 594693db8bfa..0e91393468cf 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Update.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Update.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "myWorkspace", @@ -103,7 +103,7 @@ }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2022-10-01-preview" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2023-09-01" }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/grafana/myWorkspace", diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Create.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Create.json index 6983e057f685..93bad50fb80d 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Create.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Create.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "myWorkspace", @@ -47,7 +47,7 @@ }, "201": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2022-10-01-preview" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2023-09-01" }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/managedPrivateEndpoints/myPrivateEndpointName", diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Delete.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Delete.json index 3facbe8188bf..67081eae3e89 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Delete.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "myWorkspace", @@ -10,7 +10,7 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2022-10-01-preview" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2023-09-01" } }, "204": {} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Get.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Get.json index 523b28928087..44de5d07c4bd 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Get.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "myWorkspace", diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_List.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_List.json index f9bf49d3c4c8..94b57c6c5342 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_List.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "myWorkspace" diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Patch.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Patch.json index c30959a9d923..3706db6b03ce 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Patch.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Patch.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "myWorkspace", @@ -41,7 +41,7 @@ }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2022-10-01-preview" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2023-09-01" }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/managedPrivateEndpoints/myPrivateEndpointName", diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Refresh.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Refresh.json index 5999abb5b525..102f356033c3 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Refresh.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Refresh.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "myWorkspace" @@ -9,7 +9,7 @@ "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2022-10-01-preview" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2023-09-01" } } } diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Operations_List.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Operations_List.json index d93f7ca084ed..f012c1fd2c70 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Operations_List.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Operations_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Approve.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Approve.json index 180ee1300457..881a5fedd8c8 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Approve.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Approve.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "myWorkspace", @@ -17,7 +17,7 @@ "responses": { "201": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2022-10-01-preview" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2023-09-01" }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/privateEndpointConnections/myConnection", diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Delete.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Delete.json index f14733eb3e10..5fa33929b31c 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Delete.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Delete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "myWorkspace", @@ -9,7 +9,7 @@ "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2022-10-01-preview" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2023-09-01" } }, "204": {} diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Get.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Get.json index ee5b0f73b1bf..e8498978f143 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Get.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "myWorkspace", diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_List.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_List.json index 0ab7edaa8ac2..12664a06dfa7 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_List.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "myWorkspace" diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_Get.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_Get.json index 3347d0598aec..dfaa8eeff9fd 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_Get.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_Get.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "myWorkspace", diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_List.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_List.json index 578769611656..5e19c3685093 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_List.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-10-01-preview", + "api-version": "2023-09-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "myWorkspace" diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/grafana.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/grafana.json index cbcb050a3e06..9fe3f6eb9462 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/grafana.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/grafana.json @@ -3,7 +3,7 @@ "info": { "title": "Microsoft.Dashboard", "description": "The Microsoft.Dashboard Rest API spec.", - "version": "2022-10-01-preview" + "version": "2023-09-01" }, "host": "management.azure.com", "schemes": [ From 04c8aefe9907f0a8ab5c30608ceedbc49955caa1 Mon Sep 17 00:00:00 2001 From: Younjin Song Date: Fri, 20 Oct 2023 10:40:56 -0700 Subject: [PATCH 4/4] minor fixes --- .../Microsoft.Dashboard/stable/2023-09-01/grafana.json | 2 +- specification/dashboard/resource-manager/readme.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/grafana.json b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/grafana.json index 9fe3f6eb9462..b09efa0fc96e 100644 --- a/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/grafana.json +++ b/specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/grafana.json @@ -1081,7 +1081,7 @@ "final-state-via": "azure-async-operation" }, "x-ms-examples": { - "ManagedPrivateEndpoint_Create": { + "ManagedPrivateEndpoints_Patch": { "$ref": "./examples/ManagedPrivateEndpoints_Patch.json" } } diff --git a/specification/dashboard/resource-manager/readme.md b/specification/dashboard/resource-manager/readme.md index 7a889723c456..ac84657b7651 100644 --- a/specification/dashboard/resource-manager/readme.md +++ b/specification/dashboard/resource-manager/readme.md @@ -28,15 +28,15 @@ These are the global settings for the Dashboard API. title: DashboardManagementClient openapi-type: arm openapi-subtype: rpaas -tag: package-2023-09 +tag: package-2023-09-01 ``` -### Tag: package-2023-09 +### Tag: package-2023-09-01 -These settings apply only when `--tag=package-2023-09` is specified on the command line. +These settings apply only when `--tag=package-2023-09-01` is specified on the command line. -```yaml $(tag) == 'package-2023-09' +```yaml $(tag) == 'package-2023-09-01' input-file: - Microsoft.Dashboard/stable/2023-09-01/grafana.json ```