-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release azure managed grafana microsoft.dashboard preview/2023 10 01 …
…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
1 parent
b5ed1a6
commit ecf1283
Showing
28 changed files
with
3,799 additions
and
1 deletion.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
...nager/Microsoft.Dashboard/preview/2023-10-01-preview/examples/EnterpriseDetails_Post.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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" | ||
} | ||
} | ||
} | ||
} | ||
} |
194 changes: 194 additions & 0 deletions
194
...ource-manager/Microsoft.Dashboard/preview/2023-10-01-preview/examples/Grafana_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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" | ||
} | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...ource-manager/Microsoft.Dashboard/preview/2023-10-01-preview/examples/Grafana_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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": {} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...icrosoft.Dashboard/preview/2023-10-01-preview/examples/Grafana_FetchAvailablePlugins.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
80 changes: 80 additions & 0 deletions
80
...resource-manager/Microsoft.Dashboard/preview/2023-10-01-preview/examples/Grafana_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.