Skip to content

Commit

Permalink
Release azure managed grafana microsoft.dashboard preview/2023 10 01 …
Browse files Browse the repository at this point in the history
…preview (#31155)

* Copy files from stable/2023-09-01

Copied the files in a separate commit.
This allows reviewers to easily diff subsequent changes against the previous spec.

* Update version to preview/2023-10-01-preview

Updated the API version from stable/2023-09-01 to preview/2023-10-01-preview.

* Added tag for 2023-10-01-preview in readme file

* changes for 2023-10-01-preview

* fix prettier

* Descriptions

* change description

* fix rid

* fix id

* prettier

* fix readme

* fix readme

* fix readme

---------

Co-authored-by: Younjin Song <[email protected]>
Co-authored-by: kevin-tong-msft <[email protected]>
  • Loading branch information
3 people authored Oct 28, 2024
1 parent b5ed1a6 commit ecf1283
Show file tree
Hide file tree
Showing 28 changed files with 3,799 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"api-version": "2023-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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
{
"parameters": {
"api-version": "2023-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": "<password>",
"fromAddress": "[email protected]",
"fromName": "emailsender",
"startTLSPolicy": "OpportunisticStartTLS",
"skipVerify": true
},
"snapshots": {
"externalEnabled": true
},
"users": {
"viewersCanEdit": 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": "[email protected]",
"fromName": "emailsender",
"startTLSPolicy": "OpportunisticStartTLS",
"skipVerify": true
},
"snapshots": {
"externalEnabled": true
},
"users": {
"viewersCanEdit": 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=2023-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": "[email protected]",
"fromName": "emailsender",
"startTLSPolicy": "OpportunisticStartTLS",
"skipVerify": true
},
"snapshots": {
"externalEnabled": true
},
"users": {
"viewersCanEdit": 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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"api-version": "2023-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=2023-10-01-preview"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"api-version": "2023-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"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"parameters": {
"api-version": "2023-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": "[email protected]",
"fromName": "emailsender",
"startTLSPolicy": "OpportunisticStartTLS",
"skipVerify": true
},
"snapshots": {
"externalEnabled": true
},
"users": {
"viewersCanEdit": 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"
}
}
}
}
}
Loading

0 comments on commit ecf1283

Please sign in to comment.